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

Disassembly:
sub esp, 0x24
mov eax, 1
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x40], 0
je 0x52b737
cmp byte [esi + 0x25], 0
je 0x52b737
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x3c]
mov ebp, dword [esi + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
jmp 0x52b546
mov eax, dword [esp + 0x14]
mov ebx, dword [esi + 0x38]
mov edx, dword [edi]
cmp ebx, edx
jne 0x52b572
test eax, eax
jne 0x52b572
mov ecx, dword [esp + 0x38]
push edi
push dword [esi + 0x2c]
mov dword [edi], eax
push dword [esi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov edx, dword [edi]
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0x74]
mov ecx, edi
mov eax, dword [esi + 0x78]
sub ecx, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
cmp ecx, eax
jbe 0x52b58a
lea edi, [eax + ebp]
sub edi, dword [esp + 0x20]
xor ecx, ecx
cmp byte [esi + 0x26], cl
je 0x52b5bc
mov ebp, dword [esi + 0x48]
sub ebp, dword [esi + 0x58]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x5c]
cmp ecx, eax
jb 0x52b5b8
ja 0x52b5ab
cmp edi, ebp
jb 0x52b5b8
cmp byte [esi + 0x24], cl
mov eax, 1
mov edi, ebp
cmovne ecx, eax
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x1c]
sub edx, ebx
push eax
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x60]
add eax, ebx
mov ebx, dword [esp + 0x2c]
push eax
lea edx, [edi + ebx]
call fcn.0054eff0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
mov eax, 0
mov dword [esi + 0x34], ecx
adc dword [esi + 0x54], 0
mov ecx, dword [esi + 0x78]
sub ecx, ebx
lea ebx, [esi + 0x58]
mov edx, ecx
add edx, dword [ebx]
mov dword [ebx], edx
adc eax, dword [ebx + 4]
cmp byte [esi + 0x26], 0
mov dword [ebx + 4], eax
je 0x52b62a
cmp eax, dword [esi + 0x4c]
jb 0x52b62a
ja 0x52b626
cmp edx, dword [esi + 0x48]
jb 0x52b62a
mov bh, 1
jmp 0x52b62c
xor bh, bh
cmp dword [esp + 0x20], 0
jne 0x52b658
cmp dword [esp + 0x18], 0
jne 0x52b63e
test ecx, ecx
je 0x52b658
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x52b658
test bh, bh
je 0x52b650
cmp eax, 3
jne 0x52b658
xor bl, bl
cmp ecx, edi
jb 0x52b693
jmp 0x52b65a
mov bl, 1
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x70]
sub eax, ebp
mov ecx, dword [esp + 0x3c]
add edx, ebp
push eax
call fcn.00414b07
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x10], ecx
cmp ecx, dword [esi + 0x74]
jne 0x52b687
xor ecx, ecx
mov dword [esi + 0x78], 0
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x52b737
test bl, bl
jne 0x52b6e4
mov edx, dword [esp + 0x40]
lea edi, [esi + 0x3c]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x52b546
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x58]
push ecx
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0xc]
lea edi, [esi + 0x3c]
test eax, eax
je 0x52b542
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
cmp dword [esp + 0x20], 0
jne 0x52b732
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x52b710
cmp byte [esi + 0x24], 0
je 0x52b724
cmp byte [esi + 0x26], 0
je 0x52b724
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x58]
jne 0x52b732
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x5c]
jmp 0x52b722
test bh, bh
je 0x52b732
cmp eax, 3
je 0x52b732
cmp byte [esi + 0x24], 0
je 0x52b724
cmp eax, 4
jne 0x52b732
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc