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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51f3ea
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x51f0eb
mov edx, dword [eax + 0x40]
test edx, edx
je 0x51f0eb
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [0x51f400]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x50]
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov esi, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea edx, [0x7ac9f8]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x84]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov edi, dword [esp + 0x88]
mov dword [esp + 0x24], edi
lea edi, [0x7322ad]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ecx
call fcn.00515bb0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
jmp 0x51f230
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x50]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x7ac9f8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebp
lea edx, [0x7322ad]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 4
mov edx, dword [esp + 0x64]
mov dword [esp + 0x30], edx
call fcn.00515bb0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
inc eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov eax, ebx
mov ebx, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
cmp ebx, 2
jge 0x51f33f
test edi, edi
je 0x51f25b
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x51f25b
mov ebx, dword [esp + 0x44]
xor ebx, ebx
mov byte [esp + 0x43], bl
mov ebx, dword [esp + 0x44]
jmp 0x51f34d
mov dword [esp + 0x60], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0051f470
movzx eax, byte [esp + 0xc]
test al, al
je 0x51f2a1
mov eax, dword [esp + 0x48]
lea ecx, [0x7ab21c]
mov ebx, dword [esp + 0x60]
lea esi, [0x7ab064]
lea edi, [0x7aaec8]
mov edx, 1
jmp 0x51f318
mov eax, dword [esp + 0x48]
lea ecx, [0x7ab21c]
cmp eax, ecx
jne 0x51f2bb
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
jmp 0x51f2c3
mov ebx, dword [esp + 0x60]
mov ebp, eax
mov edx, ebx
lea esi, [0x7ab064]
cmp ebp, esi
jne 0x51f2d3
mov ebp, dword [edx + 8]
mov edx, dword [edx + 0xc]
lea edi, [0x7aaec8]
cmp ebp, edi
je 0x51f2e1
xor edx, edx
jmp 0x51f318
mov dword [esp], ebp
mov dword [esp + 4], edx
lea eax, [0x7aa3f0]
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
lea ecx, [0x7ab21c]
mov ebx, dword [esp + 0x60]
lea esi, [0x7ab064]
lea edi, [0x7aaec8]
mov edx, eax
mov eax, dword [esp + 0x48]
mov ecx, eax
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov byte [esp + 0x43], dl
mov eax, dword [esp + 0x5c]
mov edx, ebx
mov ebx, dword [esp + 0x44]
jmp 0x51f34d
mov dword [esp + 0x4c], eax
xor eax, eax
mov byte [esp + 0x43], al
mov eax, dword [esp + 0x4c]
movzx ebx, byte [esp + 0x43]
test bl, bl
je 0x51f380
test ecx, ecx
jne 0x51f196
mov dword [esp], eax
call fcn.0050f100
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
jmp 0x51f196
test ecx, ecx
je 0x51f3a1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x70
ret
mov ecx, dword [0x9a37dc]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
call fcn.0051ea30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
call fcn.00467050
jmp fcn.0051f0a0