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

Disassembly:
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [ebp]
push dword [esp + 0x64]
call fcn.10052cc7
jmp 0x10052d11
mov word [eax + 4], si
jmp 0x100a3960
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + 0x18]
xor eax, eax
cmp dword [ecx + 0x1c], 1
push ecx
sete al
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [esp + 0x64]
jmp 0x10057d5a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x1001b89c
push eax
call dword [ecx]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax + 0x14]
call fcn.1001c9e1
test eax, eax
js 0x100582fd
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0xec]
test edx, edx
jne 0x100526b7
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10057d93
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esp + 0x18], 0
jmp 0x10057d93
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x1001b89c
xor edi, edi
push eax
mov dword [esp + 0x50], edi
call dword [ecx]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [eax + 0x14]
call fcn.1001ef2a
test eax, eax
js 0x100582fd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x34]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x100582fd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x1002b92c
push eax
call dword [ecx]
push edi
lea edx, [esp + 0x18]
push edx
test eax, eax
js 0x100527d5
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], edi
jmp 0x100527df
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
lea esi, [esp + 0x20]
push esi
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jmp 0x10057dfa
and dword [esp + 0x3c], 0
and dword [esp + 0x28], 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x18]
mov eax, dword [0x102390a8]
call dword [eax + 0x118]
push eax
call fcn.1000b028
cmp dword [esp + 0x3c], 0
je 0x10052718
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10052711
mov eax, dword [esi]
push esi
call dword [eax + 8]
and dword [esp + 0x10], 0
push 9
jmp 0x10052c59
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10052736
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10052732
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
cmp edi, 5
jne 0x10057d6e
and dword [esp + 0x34], 0
lea ecx, [esi - 1]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea edx, [esp + 0x38]
push edx
push ecx
push esi
mov dword [esp + 0x30], ecx
call dword [eax + 0x24]
mov ebx, eax
test ebx, ebx
js 0x100582fd
test byte [esp + 0x38], 2
jne 0x10052773
test byte [esp + 0x38], 1
jne 0x1005277a
mov ecx, dword [esp + 0x24]
dec ecx
jmp 0x10052747
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push dword [esp + 0x28]
push eax
call dword [ecx + 0x20]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push dword [esp + 0x4c]
push eax
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
jmp 0x10057d6e
mov ebx, 0x800a88d1
jmp 0x100582fd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov edx, dword [esp + 0x14]
xor eax, eax
cmp edx, dword [esp + 0x30]
setne al
mov dword [esp + 0x34], eax
test eax, eax
je 0x1005286c
mov esi, dword [esp + 0x58]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x1002b92c
push esi
mov dword [esp + 0x30], edi
call dword [eax]
push edi
test eax, eax
js 0x1005282e
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10052839
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 0x48]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
je 0x1005285e
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x5c]
add eax, 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1005286c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [esp + 0x14]
mov esi, dword [0x102390f8]
mov dword [esp + 0x58], esi
test esi, esi
je 0x100528c7
mov eax, dword [edx]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [eax + 0x1c]
test eax, eax
js 0x100582fd
mov edi, dword [esp + 0x40]
push 4
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x100528a2
xor edi, edi
mov dword [esp + 0x34], edi
jmp 0x100528a4
xor edi, edi
mov eax, dword [esp + 0x14]
push dword [esp + 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov esi, dword [esp + 0x58]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x58], esi
test esi, esi
je 0x100528c7
mov edx, dword [esp + 0x14]
jmp 0x1005287a
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10052995
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
xor edx, edx
push edx
push edx
push edx
lea edx, [esp + 0x6c]
push edx
push 0xffffffffffffffff
push eax
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ecx
mov esi, eax
call dword [edx + 8]
and dword [esp + 0x14], 0
test esi, esi
js 0x100582fd
mov eax, dword [esp + 0x60]
mov ecx, 0x10052cb0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10052941
test dx, dx
je 0x1005293b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10052941
add eax, 4
add ecx, 4
test dx, dx
jne 0x10052919
xor ecx, ecx
mov eax, ecx
jmp 0x10052948
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
push ecx
push 1
push ecx
push ecx
mov ecx, dword [esp + 0x48]
test eax, eax
lea eax, [esp + 0x38]
push eax
jne 0x10052966
push 0x10052cc0
call fcn.1015692e
jmp 0x1005296f
push dword [esp + 0x74]
call fcn.1001cd83
push dword [esp + 0x60]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x100582fd
mov ax, word [esp + 0x28]
mov word [esp + 0x3c], ax
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor esi, esi
push esi
push esi
push esi
lea edx, [esp + 0x6c]
push edx
push 0xffffffffffffffff
push eax
call dword [ecx + 0x30]
test eax, eax
js 0x100582fd
mov eax, dword [esp + 0x60]
push 0x5f
pop ecx
cmp word [eax], cx
jne 0x10052a0f
push ecx
pop ebp
mov esi, dword [eax - 4]
shr esi, 1
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x100529fc
mov ecx, dword [esp + 0x60]
add ecx, 2
push ecx
inc esi
push esi
push edi
call dword [sym.imp.msvcr100.dll_wcscpy_s]
push edi
push esi
push dword [esp + 0x74]
call dword [sym.imp.msvcr100.dll_wcscpy_s]
add esp, 0x18
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
cmp word [eax], bp
je 0x100529c1
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x34]
xor esi, esi
push esi
push 1
push esi
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
call fcn.1001cd83
push dword [esp + 0x60]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x100582fd
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax + 0x14]
call fcn.1001ca16
test eax, eax
js 0x100582fd
mov ax, word [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov word [esp + ecx*2 + 0x3c], ax
lea eax, [esp + 0x64]
push eax
test edi, edi
je 0x10052a7b
lea eax, [esp + 0x40]
push eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x50]
push eax
call fcn.100d94fa
jmp 0x10052a8a
movzx eax, word [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push eax
call fcn.100d6e54
test eax, eax
js 0x100582fd
movzx eax, word [esp + 0x64]
jmp 0x10057e04
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x1001b89c
push esi
call dword [eax]
mov ebx, eax
test ebx, ebx
js 0x10057dba
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 0x14]
call fcn.1001ef2a
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor edi, edi
push edi
push edi
push edi
lea edx, [esp + 0x70]
push edx
push 0xffffffffffffffff
push eax
call dword [ecx + 0x30]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov ecx, dword [esp + 0x58]
push edi
push 1
push edi
push edi
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x78]
call fcn.1001cd83
push dword [esp + 0x64]
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
call fcn.1001b87e
lea ecx, [esp + 0x60]
push ecx
push 1
push dword [esp + 0x64]
lea ecx, [eax + 8]
push dword [esp + 0x1c]
call fcn.1020271d
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
jmp 0x10057de7
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x68]
push edx
push eax
call dword [ecx + 0x48]
mov ebx, eax
test ebx, ebx
js 0x10052c19
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
js 0x10052c0f
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push dword [esp + 0x5c]
push eax
call dword [ecx + 0x18]
push dword [esp + 0x58]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ebx, ebx
js 0x10052bd7
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
jmp 0x10052c0f
lea edx, [esp + 0x48]
push edx
push 0x1002b91c
push eax
mov ebx, edi
call dword [ecx]
test eax, eax
js 0x10052c0f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10057ddf
push 2
jmp 0x10052c59
mov eax, dword [esp + 0x64]
and eax, 2
jne 0x10052c46
test byte [esp + 0x64], 0x10
jne 0x10052c46
mov ebx, 0x800a88d2
jmp 0x10052d0f
cmp ecx, 0x10
jne 0x10052d0f
test eax, eax
je 0x10052d0f
push 0x11
pop eax
mov word [ebp + 4], ax
jmp 0x100582fd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esp + 0x18], 0
jmp 0x10058309
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x54]
movzx ecx, word [ebp + 4]
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
mov ebx, edi
cmp eax, 0x1f
ja case.0x10052cfc.83
movzx eax, byte [eax + 0x10052c8f]
jmp dword [eax*4 + 0x10052c73]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x100a269e
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10
test byte [esp + 0x64], 2
jne 0x10052c28
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push dword [ebp]
push ecx
call dword [eax + 0x38]
mov ebx, eax
test ebx, ebx
js 0x10052d11
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x1002b92c
push eax
call dword [ecx]
test eax, eax
jns 0x100525af
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov edx, dword [esp + 0x50]
movzx eax, word [edx + 0x36]
mov edi, dword [edx + 0x28]
movzx esi, word [edx + 0x30]
and eax, 0x40
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x4c]
cmp edi, 8
je 0x100525d2
test byte [esp + 0x64], 4
jne 0x100526ce
cmp edi, 4
je 0x100c8713
cmp edi, 1
je 0x10057d93
cmp edi, 3
je 0x10057d93
cmp edi, 5
je 0x10057d93
cmp edi, 6
je 0x10057d93
test edi, edi
jne 0x100527cb
test byte [esp + 0x64], 1
jne 0x100582fd
test byte [esp + 0x64], 8
jne 0x1005262c
mov esi, dword [esp + 0x60]
cmp edi, 1
je 0x10052a9c
test edi, edi
jne 0x10057de7
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push ecx
xor edi, edi
push 0x1006e378
push esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], edi
call dword [eax]
test eax, eax
jns 0x10052b69
test ebx, ebx
js 0x100582fd
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x14]
push esi
call dword [eax + 0x20]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x20]
mov dword [ebp], eax
jmp 0x100582fd
mov eax, dword [ebp]
push 0x1d
pop esi
push dword [esp + 0x64]
xor ecx, ecx
cmp word [eax + 4], si
push dword [esp + 0x64]
sete cl
push eax
push dword [esp + 0x64]
mov dword [esp + 0x6c], ecx
call fcn.10052cc7
mov ebx, eax
test ebx, ebx
js 0x10052d11
cmp dword [esp + 0x5c], edi
je 0x100582fd
mov eax, dword [ebp]
push 9
pop ecx
cmp word [eax + 4], cx
jne 0x100582fd
jmp 0x100525a6
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10052c63
mov esi, dword [esp + 0x10]
test esi, esi
je case.0x10052cfc.68
mov eax, dword [esi]
push esi
call dword [eax + 8]
and dword [esp + 0x10], 0
jmp case.0x10052cfc.68
cmp dword [esp + 0x2c], 0
je 0x100a26af
push dword [esp + 0x2c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10052d0f
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x48]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp dword [eax + 0x14], edi
setne cl
add ecx, 2
mov word [ebp + 4], cx
jmp 0x100582fd
cmp dword [esp + 0x30], 0
je 0x10057d93
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push esi
call dword [eax + 0x20]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x24]
push esi
call dword [eax + 0x38]
mov ebx, eax
test ebx, ebx
js 0x100582fd
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x10057d93
mov dword [ebp], edi
jmp 0x10052d0f