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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x52e6b9
sub esp, 0xb0
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ebx, 0x6caa60
mov dword [esp], ebx
call fcn.004fbe50
mov eax, dword [esp + 0xb4]
mov dword [esp], 0x5c6ac0
mov ebx, dword [0x6caa78]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040b4e0
mov eax, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
mov byte [esp + 0x22], bl
mov ebp, dword [eax]
mov dword [esp + 0x80], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x84], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x88], ebp
mov ebx, 0x6caa60
mov dword [esp], ebx
call fcn.004fbec0
cmp byte [esp + 0x22], 0
je 0x52e224
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
call fcn.0052dd50
mov eax, dword [esp + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x52e25b
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, eax
add edx, ecx
movzx ecx, word [eax + 4]
movzx ebp, word [eax + 4]
movzx ebx, cx
mov ecx, ebx
movzx ebx, bp
cmp ebx, 0x10000
ja 0x52e6b2
cmp ecx, ebx
ja 0x52e6b2
cmp edx, 0
je 0x52e6ab
mov dword [esp + 0x74], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x52e36d
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52e6a4
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x38], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
call fcn.0052dc80
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x52e69a
xor eax, eax
cmp al, 0
jne 0x52e689
mov byte [esp + 0x23], 0
cmp byte [esp + 0x23], 0
je 0x52e4b0
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x88], ebx
mov ebx, 0x6caa60
mov dword [esp], ebx
call fcn.004fbfd0
mov eax, dword [0x6caa78]
xor ebx, ebx
cmp eax, ebx
jne 0x52e3fe
mov dword [esp], 0x5c6ac0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004082a0
mov ebx, dword [esp + 0x14]
cmp byte [0x6dbe18], 0
jne 0x52e49a
mov dword [0x6caa78], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x94], ebx
mov dword [esp], 0x5c6ac0
mov ebx, dword [0x6caa78]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x8c]
mov dword [esp + 0xc], ebx
call fcn.00408eb0
mov ebx, 0x6caa60
mov dword [esp], ebx
call fcn.004fc0a0
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc0], ebx
add esp, 0xb0
ret
mov ebp, 0x6caa78
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00410660
jmp 0x52e3fe
mov eax, dword [esp + 0xa8]
mov dword [esp], 0x5dc6a0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043d560
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x84], esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebx
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jge 0x52e611
mov ebx, eax
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x52e682
mov eax, dword [eax]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebp
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 4], eax
call fcn.0052dc80
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
movzx ebp, byte [eax]
mov ebx, ebp
and ebx, 1
cmp bl, 0
jne 0x52e678
xor eax, eax
cmp al, 0
je 0x52e5f9
mov ecx, dword [esp + 0x80]
mov eax, esi
mov ebx, esi
inc ebx
cmp ebx, edi
ja 0x52e633
mov esi, ebx
mov dword [esp + 0x84], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 0x10
add ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [ebx], ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [ebx + 0xc], ebp
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
jl 0x52e539
cmp esi, edi
ja 0x52e62c
cmp esi, esi
ja 0x52e62c
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jmp 0x52e3a2
call fcn.00429b80
ud2
mov dword [esp], 0x5dc6a0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, esi
inc esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x80], ecx
jmp 0x52e5d5
mov eax, 1
jmp 0x52e5b7
mov dword [eax], eax
jmp 0x52e548
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x28]
inc ecx
jmp 0x52e2e7
mov eax, 1
jmp 0x52e35f
mov dword [eax], eax
jmp 0x52e2fe
mov dword [edx], eax
jmp 0x52e291
call fcn.00429b80
ud2
call fcn.00452240
jmp fcn.0052e150