Function at 0x1001d380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a73d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
push 0x28
call dword [0x100dafac]
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x1001d3db
xorps xmm0, xmm0
movq qword [esi], xmm0
movq qword [esi + 8], xmm0
movq qword [esi + 0x10], xmm0
movq qword [esi + 0x18], xmm0
movq qword [esi + 0x20], xmm0
mov dword [esi + 0xc], 6
cmp dword [0x100db104], 0x10
mov ecx, 0x100db0f0
cmovae ecx, dword [0x100db0f0]
call fcn.10027990
mov edx, dword [0x100dd410]
push eax
mov ecx, esi
call fcn.10027860
add esp, 4
cmp dword [0x100db224], 0x10
mov ecx, 0x100db210
cmovae ecx, dword [0x100db210]
call fcn.10027990
mov edx, dword [0x100dd3f8]
push eax
mov ecx, esi
call fcn.10027860
mov ecx, dword [0x100dd628]
add esp, 4
call fcn.10027990
mov edx, dword [0x100dd704]
push eax
mov ecx, esi
call fcn.10027860
add esp, 4
lea ecx, [esp + 0x28]
call fcn.10033150
mov edx, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1bc], 0
call fcn.10033340
cmp dword [eax + 0x14], 0x10
jb 0x1001d470
mov eax, dword [eax]
mov ecx, eax
call fcn.10027990
mov edx, dword [0x100dd4a8]
push eax
mov ecx, esi
call fcn.10027860
add esp, 4
cmp dword [esp + 0x20], 0x10
jb 0x1001d49b
push dword [esp + 0xc]
call fcn.100852d7
add esp, 4
mov dword [esp + 0x1bc], 0xffffffff
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jb 0x1001d4ce
push dword [esp + 0x28]
call fcn.100852d7
add esp, 4
cmp byte [0x100dcf03], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
je 0x1001d52e
push 0x28
call dword [0x100dafac]
add esp, 4
test eax, eax
je 0x1001d51d
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
movq qword [eax + 0x10], xmm0
movq qword [eax + 0x18], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0xc], 1
mov edx, dword [0x100dd4a4]
push eax
mov ecx, esi
call fcn.10027860
add esp, 4
push 0x98
lea eax, [esp + 0x118]
push 0
push eax
call fcn.10088b00
mov eax, dword [0x100ddb58]
add esp, 0xc
mov dword [esp + 0x110], 0x9c
test al, 1
jne 0x1001d56d
or eax, 1
mov dword [0x100ddb58], eax
call fcn.1003e7a0
mov dword [0x100ddb10], eax
jmp 0x1001d572
mov eax, dword [0x100ddb10]
lea ecx, [esp + 0x110]
push ecx
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x114]
movzx edi, word [esp + 0x1a4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x44], eax
call fcn.1003f500
mov esi, dword [sym.imp.USER32.dll_IsCharAlphaA]
push 0x61
mov bl, al
call esi
push 0x61
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
push 0x61
call esi
sub esp, 8
lea ecx, [esp + 0x80]
call fcn.100059e0
push edi
push ecx
push dword [esp + 0x4c]
mov eax, str._x86_
push ecx
push dword [esp + 0x50]
mov esi, str._x64_
push ecx
test bl, bl
mov edx, 0x100be598
lea ecx, [esp + 0x90]
mov dword [esp + 0x1d4], 1
cmove esi, eax
call fcn.10007e30
add esp, 4
mov ecx, eax
call fcn.10021e20
mov edx, 0x100be594
mov ecx, eax
call fcn.10007e30
add esp, 4
mov ecx, eax
call fcn.10021e20
mov edx, 0x100be590
mov ecx, eax
call fcn.10007e30
add esp, 4
mov ecx, eax
call fcn.10021e20
mov edx, 0x100be58c
mov ecx, eax
call fcn.10007e30
mov edx, esi
mov ecx, eax
call fcn.10007e30
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x7c]
call fcn.10005aa0
cmp dword [eax + 0x14], 0x10
jb 0x1001d664
mov eax, dword [eax]
mov ecx, eax
call fcn.10027990
mov ebx, dword [esp + 0x24]
push eax
mov edx, 0x100be59c
mov ecx, ebx
call fcn.10027860
add esp, 4
cmp dword [esp + 0x20], 0x10
jb 0x1001d692
push dword [esp + 0xc]
call fcn.100852d7
add esp, 4
cmp dword [0x100db1ac], 0x10
mov ecx, 0x100db198
cmovae ecx, dword [0x100db198]
call fcn.10027990
push eax
mov edx, str.ag_source
mov ecx, ebx
call fcn.10027860
add esp, 4
cmp dword [0x100db0d4], 0x10
mov ecx, 0x100db0c0
cmovae ecx, dword [0x100db0c0]
call fcn.10027990
push eax
mov edx, str.ag_campaign
mov ecx, ebx
call fcn.10027860
add esp, 4
cmp dword [0x100db044], 0x10
mov ecx, 0x100db030
cmovae ecx, dword [0x100db030]
call fcn.10027990
push eax
mov edx, str.ag_medium
mov ecx, ebx
call fcn.10027860
add esp, 4
cmp dword [0x100db11c], 0x10
mov ecx, 0x100db108
cmovae ecx, dword [0x100db108]
call fcn.10027990
push eax
mov edx, str.ag_term
mov ecx, ebx
call fcn.10027860
add esp, 4
cmp dword [0x100db254], 0x10
mov ecx, 0x100db240
cmovae ecx, dword [0x100db240]
call fcn.10027990
push eax
mov edx, str.ag_action
mov ecx, ebx
call fcn.10027860
add esp, 4
cmp dword [0x100db14c], 0x10
mov ecx, 0x100db138
cmovae ecx, dword [0x100db138]
call fcn.10027990
push eax
mov edx, str.ag_label
mov ecx, ebx
call fcn.10027860
add esp, 4
xor esi, esi
call fcn.10012670
test eax, eax
je 0x1001d7d0
push 0x28
mov esi, 1
call dword [0x100dafac]
add esp, 4
test eax, eax
je 0x1001d7bf
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
movq qword [eax + 0x10], xmm0
movq qword [eax + 0x18], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0xc], esi
mov edx, dword [0x100dd684]
push eax
mov ecx, ebx
call fcn.10027860
add esp, 4
call fcn.10012860
test eax, eax
je 0x1001d81c
push 0x28
inc esi
call dword [0x100dafac]
add esp, 4
test eax, eax
je 0x1001d80b
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
movq qword [eax + 0x10], xmm0
movq qword [eax + 0x18], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0xc], 1
mov edx, dword [0x100dd68c]
push eax
mov ecx, ebx
call fcn.10027860
add esp, 4
call fcn.10012770
test eax, eax
je 0x1001d868
push 0x28
inc esi
call dword [0x100dafac]
add esp, 4
test eax, eax
je 0x1001d857
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
movq qword [eax + 0x10], xmm0
movq qword [eax + 0x18], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0xc], 1
mov edx, dword [0x100dd674]
push eax
mov ecx, ebx
call fcn.10027860
add esp, 4
push 0x28
call dword [0x100dafac]
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1001d8af
xorps xmm0, xmm0
movq qword [ecx], xmm0
movq qword [ecx + 8], xmm0
movq qword [ecx + 0x10], xmm0
movq qword [ecx + 0x18], xmm0
movq qword [ecx + 0x20], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov dword [ecx + 0xc], 3
cvttsd2si eax, xmm0
movsd qword [ecx + 0x18], xmm0
mov dword [ecx + 0x14], eax
mov edx, dword [0x100dd5c8]
push ecx
mov ecx, ebx
call fcn.10027860
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x1bc], 2
mov edx, dword [0x100dd720]
mov dword [esp + 0x3c], 0xf
cmp byte [edx], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1001d901
xor ecx, ecx
jmp 0x1001d90f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d906
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.10004460
lea edx, [esp + 0x48]
lea ecx, [esp + 0x28]
mov byte [esp + 0x1bc], 3
call fcn.100319e0
cmp dword [esp + 0x3c], 0x10
movzx esi, al
jb 0x1001d945
push dword [esp + 0x28]
call fcn.100852d7
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test esi, esi
je 0x1001d982
cmp dword [esp + 0x5c], 0x10
lea ecx, [esp + 0x48]
cmovae ecx, dword [esp + 0x48]
call fcn.10027990
mov edx, dword [0x100dd514]
push eax
mov ecx, ebx
call fcn.10027860
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov byte [esp + 0x1bc], 4
mov edx, dword [0x100dd3ec]
mov dword [esp + 0x20], 0xf
cmp byte [edx], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jne 0x1001d9c3
xor ecx, ecx
jmp 0x1001d9d1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d9c8
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.10004460
lea edx, [esp + 0x60]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1bc], 5
call fcn.100319e0
mov byte [esp + 0x1bc], 4
cmp dword [esp + 0x20], 0x10
movzx esi, al
jb 0x1001da0f
push dword [esp + 0xc]
call fcn.100852d7
add esp, 4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
test esi, esi
je 0x1001da6a
push 0x28
call dword [0x100dafac]
add esp, 4
test eax, eax
je 0x1001da59
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
movq qword [eax + 0x10], xmm0
movq qword [eax + 0x18], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0xc], 1
mov edx, dword [0x100dd4b4]
push eax
mov ecx, ebx
call fcn.10027860
add esp, 4
push 1
xor edx, edx
mov ecx, ebx
call fcn.10026e70
sub esp, 0x14
mov edx, esp
mov esi, eax
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esi], 0
jne 0x1001da96
xor ecx, ecx
jmp 0x1001daa9
mov ecx, esi
lea edi, [ecx + 1]
jmp 0x1001daa0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001daa0
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.10004460
xor ecx, ecx
call fcn.1002bd20
mov ecx, dword [0x100dd5d4]
push 0x1388
push 1
mov edx, esi
call fcn.10016f90
add esp, 0x20
cmp dword [esp + 0x74], 0x10
mov esi, eax
jb 0x1001dae5
push dword [esp + 0x60]
call fcn.100852d7
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x1001db0d
push dword [esp + 0x48]
call fcn.100852d7
add esp, 4
mov dword [esp + 0x1bc], 0xffffffff
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x78], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x74], eax
lea ecx, [esp + 0x7c]
call fcn.10005ac0
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x78], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x74], eax
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xcc], vtable.std::ios_base.0
call fcn.10081506
mov ecx, dword [esp + 0x1b8]
add esp, 4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret