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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov dword [esp + 0x44], ecx
mov ecx, edx
mov dword [esp + 0x40], edx
call fcn.0047e3ee
mov dword [esp + 0x48], eax
lea ecx, [eax + edx*8]
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x48], ecx
mov dword [esp], eax
je 0x47e94b
mov edx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
or eax, esi
je 0x47e982
mov edi, ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ecx - 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ecx - 4]
mov dword [esp + 4], edi
or eax, esi
mov dword [esp + 0x14], ecx
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov dword [esp + 0xc], ebx
sete byte [esp + 8]
or eax, edi
or edx, ecx
mov ebx, ecx
or edx, eax
sete al
bsr ecx, esi
or al, byte [esp + 8]
xor ecx, 0x1f
mov byte [esp + 8], al
bsr eax, dword [ebp + 8]
xor eax, 0x1f
add eax, 0x20
test esi, esi
cmovne eax, ecx
bsr ecx, ebx
bsr edx, edi
mov ebx, dword [esp + 0x14]
xor ecx, 0x1f
add eax, 0x40
xor edx, 0x1f
add ecx, 0x20
test edi, edi
cmovne ecx, edx
bsr edx, dword [esp + 0xc]
bsr esi, ebx
xor esi, 0x1f
xor edx, 0x1f
add edx, 0x20
test ebx, ebx
cmovne edx, esi
mov esi, dword [esp]
add edx, 0x40
or esi, edi
mov esi, 0
cmovne edx, ecx
sub eax, edx
mov edx, 0
mov edi, eax
mov eax, 0
sbb eax, eax
sbb edx, edx
sbb esi, esi
push 0x7f
pop ecx
cmp ecx, edi
mov ecx, 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
sbb ecx, eax
mov ecx, 0
mov eax, 0
sbb ecx, edx
mov ecx, 0
sbb ecx, esi
setb cl
or cl, byte [esp + 8]
mov ecx, ebx
mov ebx, dword [esp + 0xc]
cmovne ecx, eax
cmovne ebx, eax
jne 0x47e910
mov eax, dword [esp + 0x10]
mov edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
xor eax, 0x7f
or ecx, esi
or eax, edx
or ecx, eax
mov ecx, edi
je 0x47e910
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov eax, dword [esp]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 4]
and dword [esp + 0x8c], 0
and dword [esp + 0x88], 0
and dword [esp + 0x84], 0
and dword [esp + 0x80], 0
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
mov edi, ecx
xor al, 0x7f
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
neg al
mov cl, ch
movsx eax, al
mov esi, dword [esp + eax + 0x98]
mov ebx, dword [esp + eax + 0x9c]
shld ebx, esi, cl
shl esi, cl
not cl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], esi
mov esi, dword [esp + eax + 0x94]
mov ebx, dword [esp + eax + 0x90]
mov eax, esi
shr eax, 1
shr eax, cl
mov cl, ch
shld esi, ebx, cl
shl ebx, cl
mov dword [esp + 0x28], esi
xor esi, esi
add edi, 1
mov ecx, ebx
adc dword [esp + 0x1c], esi
mov ebx, edi
mov edi, dword [esp + 0x18]
adc edx, esi
adc edi, esi
jae 0x47e74a
mov dword [esp], 0
mov dword [esp + 4], 0
jmp 0x47e8fb
or dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov esi, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 4]
and dword [esp + 0x7c], 0
and dword [esp + 0x78], 0
and dword [esp + 0x74], 0
and dword [esp + 0x70], 0
mov dword [esp + 0x6c], eax
mov eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ebx
mov ch, bl
shr al, 3
and ch, 7
and al, 0xf
mov cl, ch
movzx eax, al
mov ebx, dword [esp + eax + 0x6c]
mov dword [esp + 0x18], edi
mov esi, dword [esp + eax + 0x68]
mov edi, esi
add esi, esi
shrd edi, ebx, cl
mov dword [esp + 0x30], edi
mov edx, dword [esp + eax + 0x64]
mov edi, edx
shr edi, cl
not cl
shl esi, cl
mov cl, ch
or esi, edi
shr ebx, cl
mov edi, 0
mov dword [esp + 0x34], esi
mov esi, dword [esp + eax + 0x60]
mov eax, ebx
mov dword [esp], 0
mov dword [esp + 4], 0
shrd esi, edx, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x2c], esi
mov esi, 0
add ecx, 0xffffffff
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x20]
adc edx, 0xffffffff
adc edi, 0xffffffff
mov dword [esp + 0x58], edx
adc esi, 0xffffffff
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
shld eax, edx, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
shld edx, eax, 1
shld eax, ebx, 1
shld ebx, esi, 1
shld esi, edi, 1
or esi, dword [esp]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
shld edi, esi, 1
shld esi, ecx, 1
add ecx, ecx
or ecx, dword [esp + 4]
or edi, dword [esp]
or esi, dword [esp]
cmp dword [esp + 0x5c], ebx
mov dword [esp], 0
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
sbb ecx, eax
mov ecx, dword [esp + 0x54]
sbb ecx, edx
mov ecx, dword [esp + 0x50]
sbb ecx, dword [esp + 8]
sar ecx, 0x1f
mov esi, ecx
mov edi, ecx
and ecx, dword [ebp + 8]
and edi, dword [ebp + 0xc]
and esi, 1
mov dword [esp + 4], esi
sub ebx, ecx
mov ecx, dword [esp + 0x1c]
sbb eax, edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x38]
sbb edx, 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
sbb dword [esp + 8], 0
add edx, 0xffffffff
adc ecx, 0xffffffff
mov dword [esp + 0x10], edx
adc ebx, 0xffffffff
mov dword [esp + 0x1c], ecx
adc eax, 0xffffffff
or edx, ebx
mov dword [esp + 0x38], ebx
or ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
or edx, ecx
mov ecx, dword [esp + 0x20]
jne 0x47e819
mov eax, dword [esp + 0x28]
shld eax, ecx, 1
add ecx, ecx
or ecx, dword [esp + 4]
or eax, dword [esp]
mov ebx, ecx
mov ecx, eax
mov edi, dword [ebp + 8]
mov eax, ebx
mov esi, dword [esp + 0x14]
mul edi
mov dword [esp], eax
mov eax, ecx
imul ecx, edi
mov edi, dword [esp + 0xc]
add ecx, edx
mov edx, ebx
imul edx, dword [ebp + 0xc]
add edx, ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff8
sub edi, dword [esp]
mov dword [ecx + 4], eax
mov dword [ecx], ebx
sbb esi, edx
mov eax, edi
mov ebx, esi
jmp 0x47e55c
push 0xa
pop ecx
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xa0]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov esi, edx
call fcn.0047e0f8
push 0xa
pop ecx
mov eax, dword [esp + 0x44]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x2c], ebx
mov ecx, dword [esp]
mov dword [eax + 0x28], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x19
pop edx
mov ecx, str.attempt_to_divide_by_zero
push 0x643498
call fcn.0043a9e0