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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5206ee
sub esp, 0x74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x40]
mov ebp, dword [eax + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.004f52a0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 1
je 0x5203d7
cmp ebx, 2
je 0x51ffcd
cmp ebx, 3
jne 0x51ff9d
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x5c], eax
lea ebx, [0x6512e0]
mov dword [esp], ebx
call fcn.00409a20
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x64f600]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004fa000
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x51ff36
test eax, eax
je 0x51fd69
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2a
mov eax, dword [0x8a6100]
test eax, eax
jne 0x51fd5c
lea eax, [0x69234a]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x69234a]
call fcn.0044d090
jmp 0x51fd2e
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0051ebd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x51fecf
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
call fcn.004e8f40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x51fe68
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
lea eax, [0x6712a0]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x8a6100]
test ecx, ecx
jne 0x51fe3e
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
lea ecx, [0x669d00]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0044d090
lea edi, [ecx + 8]
mov eax, dword [esp + 0x50]
call fcn.0044d090
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x4c]
call fcn.0044d090
mov eax, ecx
jmp 0x51fe10
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2e
mov eax, dword [0x8a6100]
test eax, eax
jne 0x51fec2
lea eax, [0x6934cb]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x6934cb]
call fcn.0044d090
jmp 0x51fe94
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0x8a6100]
test eax, eax
jne 0x51ff29
lea eax, [0x68ed12]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x68ed12]
call fcn.0044d090
jmp 0x51fefb
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x35
mov eax, dword [0x8a6100]
test eax, eax
jne 0x51ff90
lea eax, [0x694dce]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x694dce]
call fcn.0044d090
jmp 0x51ff62
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x683140]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x625340]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004fa000
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ecx, ecx
jne 0x5203af
test edx, edx
je 0x52009d
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0x8a6100]
test eax, eax
jne 0x520090
lea eax, [0x6918a1]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x6918a1]
call fcn.0044d090
jmp 0x520062
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x58], eax
lea ebx, [0x65b900]
mov dword [esp], ebx
call fcn.00409a20
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
nop
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
lea ecx, [0x628ac0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004fa000
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x520387
test ecx, ecx
jne 0x520320
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
nop
mov edx, dword [ecx + 8]
test edx, edx
jne 0x520305
xor ecx, ecx
test ecx, ecx
jg 0x5201a2
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x24
mov eax, dword [0x8a6100]
test eax, eax
jne 0x520195
lea eax, [0x690482]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x690482]
call fcn.0044d090
jmp 0x520167
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
nop
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5202ea
xor edx, edx
test edx, edx
jle 0x52013b
mov edx, dword [ecx + 4]
nop
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5202cf
xor edx, edx
test edx, edx
jle 0x52013b
mov edx, dword [ecx + 8]
nop
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5202b4
xor edx, edx
test edx, edx
jle 0x52013b
lea eax, [0x6526a0]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [0x8a6100]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edi, dword [esp + 4]
test eax, eax
jne 0x5202a8
mov dword [edi], edx
mov edx, dword [0x8a6100]
mov eax, dword [ecx + 4]
test edx, edx
jne 0x520295
mov dword [edi + 4], eax
mov edx, dword [0x8a6100]
mov eax, dword [ecx + 8]
test edx, edx
jne 0x520285
mov dword [edi + 8], eax
mov ecx, dword [0x8a6100]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
test ecx, ecx
jne 0x520275
mov dword [edi + 0xc], eax
lea eax, [0x627fc0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0044d090
mov edi, edx
jmp 0x520247
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
call fcn.0044d090
mov edi, edx
jmp 0x520234
lea edx, [edi + 4]
mov ebx, edi
mov edi, edx
call fcn.0044d090
mov edi, ebx
jmp 0x520224
mov eax, edx
call fcn.0044d090
jmp 0x520214
movzx edx, byte [edx]
test dl, dl
je 0x5202c5
mov edx, 0xffffffff
jmp 0x5201e4
mov edx, 1
jmp 0x5201e4
movzx edx, byte [edx]
test dl, dl
je 0x5202e0
mov edx, 0xffffffff
jmp 0x5201cb
mov edx, 1
jmp 0x5201cb
movzx edx, byte [edx]
test dl, dl
je 0x5202fb
mov edx, 0xffffffff
jmp 0x5201b6
mov edx, 1
jmp 0x5201b6
movzx ecx, byte [ecx]
test cl, cl
je 0x520316
mov ecx, 0xffffffff
jmp 0x520137
mov ecx, 1
jmp 0x520137
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0x8a6100]
test eax, eax
jne 0x52037a
lea eax, [0x691879]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x691879]
call fcn.0044d090
jmp 0x52034c
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
nop
mov eax, dword [0x88fcf4]
mov ecx, dword [0x88fcf0]
mov edx, dword [0x88fcf8]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 0x34]
mov esi, dword [ebx + 0x38]
mov ebx, dword [ebx + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00401fe0
movzx eax, byte [esp + 0x18]
test al, al
je 0x520687
lea eax, [0x653180]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x628b80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004fa000
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ecx, ecx
jne 0x52065f
test edx, edx
jne 0x5205f8
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
nop
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5205dd
xor ecx, ecx
test ecx, ecx
jle 0x520576
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x520517
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x32
mov eax, dword [0x8a6100]
test eax, eax
jne 0x52050a
lea eax, [0x69447e]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x69447e]
call fcn.0044d090
jmp 0x5204dc
lea eax, [0x652820]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0x8a6100]
mov eax, dword [eax]
test ecx, ecx
jne 0x52056f
mov dword [edi], eax
lea eax, [0x645a20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
call fcn.0044d090
jmp 0x520541
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2a
mov eax, dword [0x8a6100]
test eax, eax
jne 0x5205d0
lea eax, [0x692320]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x692320]
call fcn.0044d090
jmp 0x5205a2
movzx ecx, byte [ecx]
test cl, cl
je 0x5205ee
mov ecx, 0xffffffff
jmp 0x5204a1
mov ecx, 1
jmp 0x5204a1
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0x8a6100]
test eax, eax
jne 0x520652
lea eax, [0x6918c9]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x6918c9]
call fcn.0044d090
jmp 0x520624
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
nop
lea eax, [0x64cca0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x25
mov eax, dword [0x8a6100]
test eax, eax
jne 0x5206e1
lea eax, [0x69098d]
mov dword [edi], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x6e5880]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x74
ret
lea eax, [0x69098d]
call fcn.0044d090
jmp 0x5206b3
call fcn.0044b940
jmp fcn.0051fc10