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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52153d
sub esp, 0x6c
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
cmp esi, edx
jne 0x52113f
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.00453f60
mov esi, dword [esp + 0x7c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x52113f
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x90], ebx
add esp, 0x6c
ret
mov ebx, dword [esp + 0x88]
cmp ebx, 0
je 0x521125
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call fcn.0051f790
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
cmp eax, 0
jne 0x521195
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
cmp edx, 0
jl 0x521536
cmp eax, edx
jl 0x521536
mov ebp, ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
imul eax, edx
mov dword [esp + 0x88], edx
add eax, ebp
mov ecx, eax
mov dword [esp], 0x5c5920
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ecx
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043d560
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
xor edx, edx
mov dword [esp + 0x20], edx
xor edi, edi
xor eax, eax
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x88]
cmp eax, ebp
jge 0x5213c0
mov ebp, edi
mov dword [esp + 0x28], edi
cmp esi, 0
jne 0x5214d9
cmp eax, 0
jle 0x521275
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x74]
cmp edi, eax
ja 0x5214d2
mov edx, eax
sub edx, edi
mov eax, dword [esp + 0x70]
cmp edx, 0
je 0x52124f
add eax, edi
mov dword [esp + 0x40], eax
mov dword [esp], eax
mov dword [esp + 0x44], edx
mov dword [esp + 4], edx
call fcn.00590500
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x28]
add ebp, eax
mov dword [esp + 0x30], edx
mov eax, edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
cmp eax, ecx
ja 0x5214cb
mov esi, ecx
sub esi, eax
sub edx, eax
mov ecx, dword [esp + 0x48]
cmp edx, 0
je 0x52129c
add ecx, eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov esi, ecx
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x74]
cmp ebp, ebx
ja 0x5214c4
cmp edi, ebp
ja 0x5214c4
mov edx, ebp
sub edx, edi
mov eax, dword [esp + 0x70]
cmp edx, 0
je 0x5212cd
add eax, edi
mov ebp, eax
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edx
cmp edx, eax
jge 0x5212f5
mov eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], esi
mov dword [esp], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00454a30
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add ebx, eax
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
cmp ebx, ecx
ja 0x5214bd
mov ebp, ecx
sub ebp, ebx
sub edx, ebx
mov ecx, dword [esp + 0x48]
cmp edx, 0
je 0x521340
add ecx, ebx
mov eax, edx
mov dword [esp + 0x54], ecx
mov esi, ecx
mov dword [esp + 0x58], ebp
mov edx, ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x64], edx
mov eax, edx
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jge 0x521374
mov eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], esi
mov dword [esp], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00454a30
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x28]
add edi, esi
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x88]
cmp eax, ebp
jl 0x52121c
mov dword [esp + 0x30], edx
mov eax, edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
cmp eax, ecx
ja 0x5214b6
mov ebp, ecx
sub ebp, eax
sub edx, eax
mov ecx, dword [esp + 0x48]
cmp edx, 0
je 0x5213e7
add ecx, eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], edx
mov ebp, ecx
mov eax, dword [esp + 0x74]
cmp edi, eax
ja 0x5214af
mov edx, eax
sub edx, edi
mov eax, dword [esp + 0x70]
cmp edx, 0
je 0x52140c
add eax, edi
mov ecx, eax
mov dword [esp + 0x60], ebp
mov esi, ebp
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ecx
mov ebp, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edx
cmp edx, eax
jge 0x521438
mov eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], esi
mov dword [esp], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00454a30
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x50]
cmp ecx, eax
ja 0x5214a8
mov edx, dword [esp + 0x48]
mov dword [esp], 0
mov dword [esp + 0x54], edx
mov dword [esp + 4], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc], eax
call fcn.004413a0
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x90], ebx
add esp, 0x6c
ret
call fcn.00429b80
ud2
call fcn.00429b80
ud2
call fcn.00429b80
ud2
call fcn.00429b80
ud2
call fcn.00429b80
ud2
call fcn.00429b80
ud2
call fcn.00429b80
ud2
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x74]
cmp edi, eax
ja 0x52152f
mov edx, eax
sub edx, edi
mov eax, dword [esp + 0x70]
cmp edx, 0
je 0x5214f8
add eax, edi
mov dword [esp + 0x40], eax
mov dword [esp], eax
mov dword [esp + 0x44], edx
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call fcn.005217d0
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
add ebp, ecx
jmp 0x521275
call fcn.00429b80
ud2
mov edx, eax
jmp 0x5211a6
call fcn.00452240
jmp fcn.005210c0