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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51c2a7
sub esp, 0x5c
mov eax, dword [esp + 0x60]
test byte [eax], al
movzx ecx, byte [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, eax
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov byte [esp + 0x13], al
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x60]
mov ebp, eax
jmp 0x51c12f
movzx ecx, byte [esp + 0x6c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, esi
mov esi, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x51c282
mov dword [esp + 0x18], edi
mov edi, dword [eax + 8]
cmp esi, edi
jge 0x51c185
test cl, cl
je 0x51c15b
cmp ebp, eax
jne 0x51c15b
mov edi, esi
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
movzx esi, byte [esp + 0x6c]
jmp 0x51c194
mov esi, ecx
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov ecx, 1
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
jmp 0x51c194
mov edi, esi
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
movzx esi, byte [esp + 0x6c]
test ebx, ebx
je 0x51c277
mov dword [esp + 0x54], ecx
mov esi, dword [eax + 0x18]
test esi, esi
je 0x51c1d6
movzx eax, byte [edx]
mov ecx, dword [esp + 0x60]
movzx eax, byte [ecx + eax + 0x28]
cmp dword [ecx + 0x24], eax
je 0x51c259
mov eax, dword [esi + eax*4]
dec ebx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
mov ebx, dword [esp + 0x18]
inc ebx
jmp 0x51c102
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
test esi, esi
je 0x51c229
cmp ebx, esi
jge 0x51c1e8
xor ecx, ecx
jmp 0x51c22b
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00402870
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x50]
jmp 0x51c22b
xor ecx, ecx
test cl, cl
je 0x51c268
mov ecx, dword [eax + 0x10]
mov esi, dword [esp + 0x18]
add esi, ecx
sub ebx, ecx
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
add edx, ebx
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x60]
mov ebx, esi
mov esi, dword [esp + 0x28]
jmp 0x51c102
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x13]
mov ecx, dword [esp + 0x54]
jmp 0x51c293
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x13]
mov ecx, dword [esp + 0x54]
jmp 0x51c293
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x13]
jmp 0x51c293
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x13]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], dl
add esp, 0x5c
ret
call fcn.0045e260
jmp fcn.0051c0b0