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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xbc]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov ebx, edi
shr ebx, 0x1f
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x30]
sar edx, 0x1f
shr ecx, 0x1f
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x34]
xor ebx, edx
mov dword [esp + 0x20], ebx
xor ecx, edx
sub dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
sbb dword [esp + 0x24], edx
mov edx, edi
sar edx, 0x1f
mov ecx, edx
mov ebx, edx
xor ecx, esi
xor ebx, edi
sub ecx, edx
sbb ebx, edx
mov edx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], ecx
call fcn.0053abb0
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov dword [esp + 0x2c], edx
or edx, ebp
je 0x53b90e
mov edx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.00567bf0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebp
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov edi, edx
mov edx, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0xc], edx
call fcn.00567bf0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x34], ebx
jl 0x53bc2e
jle 0x53bc20
mov ecx, dword [esp + 0x34]
or ecx, dword [esp + 0x30]
je 0x53bde5
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00567bf0
mov ebx, edx
mov ecx, eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jl 0x53bd15
jg 0x53b97c
cmp dword [esp + 0x38], ecx
jb 0x53bd15
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
adc edx, 0xffffffff
mov dword [esp + 0x4c], edx
or eax, edx
js 0x53bd15
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
imul edx, dword [esp + 0x40]
mov dword [esp + 0x6c], 1
imul eax, ebp
mov dword [esp + 0x68], 0
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mul ebp
mov ebp, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add edx, eax
mov eax, esi
mov dword [esp + 0x4c], edx
mov edx, edi
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x24]
or edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
je 0x53bcec
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00567bf0
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x60], ebp
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
imul eax, edi
mov dword [esp + 0x44], edx
imul edx, esi
lea ecx, [eax + edx]
mov eax, dword [esp + 0x40]
mul esi
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov edx, edi
sub ecx, dword [esp + 0x48]
sbb ebx, dword [esp + 0x4c]
imul edx, ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov ebx, ebp
sar ebx, 0x1f
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x64]
imul eax, esi
lea ecx, [eax + edx]
mov eax, ebp
mul esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
add edx, ecx
mov dword [esp + 0x4c], edx
mov ecx, eax
mov edx, eax
mov eax, dword [esp + 0x2c]
sar edx, 0x1f
mov ebx, edx
add ecx, dword [esp + 0x48]
mov edx, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
adc ebx, dword [esp + 0x4c]
sar edx, 0x1f
mov dword [esp + 0x54], edx
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
imul eax, esi
imul edx, edi
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
mul esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x3c]
jle 0x53bc83
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
shld ebx, ecx, 1
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
add ecx, ecx
imul edx, dword [esp + 0x30]
imul eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
lea ecx, [eax + edx]
mov eax, dword [esp + 0x30]
mul dword [esp + 0x2c]
add edx, ecx
test ebp, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jne 0x53bd92
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x53bbb4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x3c]
sub eax, dword [esp + 0x70]
sbb edx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00567bf0
cmp edi, edx
jae 0x53bdd0
mov eax, dword [esp + 0x24]
imul edi, dword [esp + 0x20]
imul eax, esi
add edi, eax
mov eax, dword [esp + 0x20]
mul esi
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add ebx, edi
add ecx, dword [esp + 0x58]
adc ebx, dword [esp + 0x5c]
imul eax, ecx
imul edx, ebx
lea edi, [edx + eax]
mov eax, dword [esp + 0x40]
mul ecx
mov ebx, edx
add ebx, edi
cmp ebx, dword [esp + 0x34]
jb 0x53bd0a
jbe 0x53bd00
mov ebp, dword [esp + 0x60]
xor eax, eax
imul ebp, esi
imul esi, dword [esp + 0x50]
add esi, dword [esp + 0x68]
add ebp, dword [esp + 0x6c]
mov dword [esp + 0x2c], esi
mov ebx, esi
jmp 0x53bc45
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x30], eax
ja 0x53b922
cmp edi, dword [esp + 0x3c]
jge 0x53bc71
mov edx, dword [esp + 0x30]
mov ebp, esi
mov eax, 1
mov dword [esp + 0x2c], edx
mov ebx, edx
mov edx, ebp
mov ecx, dword [esp + 0x7c]
neg edx
cmp dword [esp + 0x78], ecx
cmovne ebp, edx
mov edx, dword [esp + 0xa0]
mov dword [edx], ebp
mov edx, dword [esp + 0xa4]
mov dword [edx], ebx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
jg 0x53b922
cmp esi, dword [esp + 0x38]
ja 0x53b922
jmp 0x53bc34
jl 0x53bc96
cmp eax, dword [esp + 0x38]
lea esi, [esi]
ja 0x53bb11
cmp ebx, dword [esp + 0x3c]
jg 0x53bb11
jl 0x53bcac
cmp ecx, dword [esp + 0x38]
ja 0x53bb11
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x6c], ebp
mov ebp, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], esi
or edx, dword [esp + 0x20]
jne 0x53ba05
mov eax, 1
mov ebx, dword [esp + 0x2c]
jmp 0x53bc45
cmp eax, dword [esp + 0x30]
ja 0x53bc01
xor eax, eax
mov ebx, dword [esp + 0x2c]
jmp 0x53bc45
mov dword [esp + 0x30], 0
mov ebp, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov ebx, ecx
sar ebx, 0x1f
sub eax, ecx
sbb edx, ebx
mov ebx, ebp
sar ebx, 0x1f
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00567bf0
mov esi, eax
mov edi, edx
jmp 0x53bb67
ja 0x53bdda
cmp esi, eax
jbe 0x53bbb4
mov esi, eax
mov edi, edx
nop
jmp 0x53bbb4
mov dword [esp + 0x2c], 0
mov eax, 1
mov ebp, 1
mov ebx, dword [esp + 0x2c]
jmp 0x53bc45