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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x51af71
sub esp, 0x9c
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b990
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b990
lea eax, [0x645440]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.0050b3d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51af56
xor ecx, ecx
mov dword [esp + 0x34], eax
cmp ecx, 0xffffffff
je 0x51af38
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.0050b190
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050b610
nop
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
je 0x51a94b
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp ebp, edx
jg 0x51aeae
mov edi, ebp
cmp edi, ebp
jge 0x51aea7
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
cmp esi, ebx
je 0x51a91b
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045b690
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x51ae96
mov eax, dword [esp + 0x58]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax]
mov byte [edx], cl
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.00513f70
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x8326a0]
test eax, eax
jne 0x51ae87
mov dword [ebx + 4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.0050b190
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea ecx, [0x645440]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 3
call fcn.00513f70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax]
mov byte [esp + 0x5c], cl
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
lea ebx, [esp + 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0050b990
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.0050b3d0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51ae6c
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x51ae4a
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b990
lea eax, [0x645440]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.0050b190
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0050b3d0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51ae2f
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x51ae0d
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.0050b3d0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51adf2
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x51add0
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b990
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 2
call fcn.00513f70
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x8326a0]
test eax, eax
jne 0x51adc1
mov dword [ebx + 4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.0050b3d0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51ada6
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x51ad84
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0050b610
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0050b610
nop
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 3
call fcn.00513f70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x51ad77
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0050b990
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0050b3d0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x51ad62
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x51ad43
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0050b990
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b190
mov eax, dword [esp + 0x4c]
jmp 0x51ad02
movzx ecx, byte [eax]
test cl, cl
je 0x51ad70
mov ecx, 0xffffffff
jmp 0x51acfd
mov ecx, 1
jmp 0x51acfd
lea edi, [ebx + 4]
call fcn.0045ace0
jmp 0x51acbf
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b190
mov eax, dword [esp + 0x50]
jmp 0x51ac36
movzx ecx, byte [eax]
test cl, cl
je 0x51adb7
mov ecx, 0xffffffff
jmp 0x51ac2d
mov ecx, 1
jmp 0x51ac2d
lea edi, [ebx + 4]
mov eax, edx
call fcn.0045ace0
jmp 0x51ac08
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b190
mov eax, dword [esp + 0x44]
jmp 0x51ab96
movzx ecx, byte [eax]
test cl, cl
je 0x51ae03
mov ecx, 0xffffffff
jmp 0x51ab8d
mov ecx, 1
jmp 0x51ab8d
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b190
mov eax, dword [esp + 0x44]
jmp 0x51ab68
movzx ecx, byte [eax]
test cl, cl
je 0x51ae40
mov ecx, 0xffffffff
jmp 0x51ab5f
mov ecx, 1
jmp 0x51ab5f
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b190
mov eax, dword [esp + 0x48]
jmp 0x51aad5
movzx ecx, byte [eax]
test cl, cl
je 0x51ae7d
mov ecx, 0xffffffff
jmp 0x51aacc
mov ecx, 1
jmp 0x51aacc
lea edi, [ebx + 4]
mov eax, edx
call fcn.0045ace0
jmp 0x51a9a0
lea edi, [edx + 4]
mov eax, dword [esp + 0x58]
call fcn.0045ace0
jmp 0x51a942
mov edi, ebp
jmp 0x51a8f8
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x51aefc
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00442930
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ebp, 1
mov edx, 1
jmp 0x51a8f0
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 8], eax
call fcn.00442930
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ebp, edi
mov edx, dword [esp + 0x2c]
jmp 0x51a8f0
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0050b190
jmp 0x51a875
movzx ecx, byte [eax]
test cl, cl
je 0x51af67
mov ecx, 0xffffffff
jmp 0x51a868
mov ecx, 1
jmp 0x51a868
call fcn.00459790
jmp fcn.0051a740