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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51a84d
sub esp, 0x70
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
cmp edx, 0
jne 0x51a7bb
mov ecx, edi
mov eax, esi
cmp eax, 0
jne 0x51a40c
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
add esp, 0x70
ret
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], ecx
mov dword [esp], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
mov ebx, 0x5f6730
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fa80
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
jge 0x51a515
mov ebx, dword [esp + 0x28]
cmp ebx, 0
je 0x51a7b4
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
cmp ecx, 1
jne 0x51a6d4
mov dword [esp], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f672f
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.004535f0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x51a6d4
mov ebx, dword [esp + 0x28]
add ebx, 8
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
jl 0x51a48b
mov ebx, dword [esp + 0x50]
dec ebx
mov ebp, dword [esp + 0x50]
cmp ebx, ebp
jae 0x51a6cd
mov ebp, dword [esp + 0x4c]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 4]
cmp eax, 1
jne 0x51a690
mov dword [esp], edx
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
mov ebp, 0x5f672f
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.004535f0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x51a690
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x51a654
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov ebp, 0x5f6724
mov dword [ebx], ebp
mov dword [ebx + 4], 0
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov ebx, 0x5f6730
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.0051fb00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebx, 0x5f6730
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.005206d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], 0
mov ebx, 0x5f6730
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], ecx
call fcn.00440830
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x88], ebx
add esp, 0x70
ret
mov dword [esp], 0x5c4e00
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
jmp 0x51a594
mov dword [esp + 0x30], eax
cmp eax, 2
jne 0x51a5ab
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebp, 0x5f676b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x51a579
jmp 0x51a5ab
call fcn.004291a0
ud2
mov dword [esp + 0x48], ecx
cmp ecx, 2
jne 0x51a72f
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f676b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x51a72f
mov ebx, dword [esp + 0x5c]
cmp ebx, 0
jle 0x51a72a
mov eax, dword [esp + 0x5c]
dec eax
mov ebx, dword [esp + 0x60]
cmp eax, ebx
ja 0x51a723
mov dword [esp + 0x5c], eax
jmp 0x51a4f1
call fcn.00429210
ud2
jmp 0x51a4f1
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x51a77b
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x3c]
cmp byte [0x6dae38], 0
jne 0x51a76a
mov dword [ebx], ebp
jmp 0x51a4f1
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x51a4f1
mov dword [esp], 0x5c4e00
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
jmp 0x51a746
mov dword [ebx], eax
jmp 0x51a498
cmp edx, 0
jbe 0x51a846
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2f
xchg ebp, eax
je 0x51a83f
mov dword [esp], edi
mov dword [esp + 4], esi
mov ebx, 0x5f6730
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051f240
mov eax, dword [esp + 0x10]
inc eax
mov ebx, dword [esp + 0x78]
cmp eax, ebx
ja 0x51a838
mov ecx, dword [esp + 0x74]
mov dword [esp], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
call fcn.00440830
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x51a3f3
call fcn.00429210
ud2
mov eax, edx
jmp 0x51a3f3
call fcn.004291a0
ud2
call fcn.004518d0
jmp fcn.0051a3a0