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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x521811
sub esp, 0xa8
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
cmp eax, 0x3e8
jge 0x5217e1
mov dword [esp + 0x18], eax
lea ecx, [0x5cda20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00434f20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
lea ebx, [0x5cda20]
mov dword [esp], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.00434f20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x88]
mov ebx, eax
xor eax, eax
call fcn.004485c8
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], ecx
lea edx, [0x5cda20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00434f20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea ebx, [0x5cda20]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00434f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x68]
mov ebx, eax
xor eax, eax
call fcn.004485c8
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx + 4]
lea edx, [0x5c3d60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00434f20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
lea edi, [esp + 0x48]
mov ebx, eax
xor eax, eax
call fcn.004485c8
lea eax, [0x522920]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x88]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
cmp ecx, ebx
jb 0x5217a1
jb 0x521765
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
lea ecx, [0x5cc8a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00434f20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], edx
jmp 0x521639
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
cmp ebx, ebp
jae 0x5216c0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0xa4]
cmp esi, ebx
jae 0x5217fc
mov ebx, dword [ebp + esi*4]
lea ebp, [esi + 1]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov ebx, dword [ebp]
mov edx, ebp
call ebx
movzx eax, byte [esp + 0x10]
test al, al
jne 0x52162d
mov eax, dword [0x78d254]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [0x78d254]
cmp eax, ecx
je 0x521750
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
xor ecx, ecx
jmp 0x5216e1
inc ecx
mov eax, dword [esp + 0x34]
cmp ecx, eax
jge 0x521750
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jae 0x5217f5
mov ebx, dword [esp + 0xac]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [ecx + ecx*2]
mov edi, dword [esp + 0x38]
mov edx, dword [edi + esi*4]
mov eax, dword [edi + esi*4 + 4]
mov esi, dword [edi + esi*4 + 8]
cmp ecx, ebx
jae 0x5217f5
lea ebx, [ecx + ecx*8]
mov dword [ebp + ebx*4 + 0x10], eax
mov dword [ebp + ebx*4 + 0x14], esi
lea eax, [ebp + ebx*4 + 0xc]
mov esi, dword [0x79e7b0]
test esi, esi
jne 0x521736
mov dword [ebp + ebx*4 + 0xc], edx
jmp 0x5216dc
mov dword [esp + 0x28], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040d8c0
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
jmp 0x5216dc
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb0], eax
add esp, 0xa8
ret
mov ebx, dword [esp + 0xa0]
mov dword [ebp + ecx*4], ebx
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0xa0]
cmp esi, ebx
jae 0x521803
mov dword [ebp + esi*4], ecx
mov ecx, dword [esp + 0xa0]
inc ecx
mov dword [esp + 0xa0], ecx
jmp 0x5215f3
mov esi, dword [ebp + ecx*4]
mov edi, dword [esp + 0xa0]
cmp esi, edi
jae 0x5217dd
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
cmp esi, edi
jae 0x52180a
mov eax, dword [eax + esi*4]
cmp eax, ecx
sete al
test al, al
jne 0x5215f3
cmp ecx, ebx
mov eax, dword [esp + 0x38]
jmp 0x5215ed
xor eax, eax
jmp 0x5217ca
mov eax, dword [0x78d254]
mov dword [esp + 0xb0], eax
add esp, 0xa8
ret
call fcn.00424360
ud2
call fcn.00424360
ud2
call fcn.00424360
ud2
call fcn.00424360
ud2
call fcn.00446b60
jmp fcn.005213b0