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

Disassembly:
mov ecx, dword [0x5b6df8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x47a356
sub esp, 0xec
mov eax, dword [esp + 0xf8]
test eax, eax
sete dl
mov ebx, dword [esp + 0xf4]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x479b60
mov ecx, dword [esp + 0xfc]
test ecx, ecx
jg 0x4797a0
bsf edx, ebx
jne 0x4796ef
mov edx, 0x20
bsf ebp, eax
jne 0x4796f9
mov ebp, 0x20
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp ebx, 1
sbb edi, edi
xor edi, 0xffffffff
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
add edx, edi
cmp esi, edx
jg 0x4797a0
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
mov edx, ecx
mov ecx, esi
shr ebx, cl
mov dword [esp + 0xe8], ebx
mov ebp, eax
shr eax, cl
lea edi, [ecx - 0x20]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
shl ebp, cl
add edx, 0x20
neg edx
mov ecx, edx
mov ebx, dword [esp + 0xf8]
shr ebx, cl
cmp ecx, 0x20
sbb edx, edx
and ebx, edx
cmp edi, 0x20
sbb edx, edx
and ebp, edx
cmp esi, 0x20
sbb edx, edx
and eax, edx
mov esi, dword [esp + 0xe8]
and esi, edx
or esi, ebp
or ebx, esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 1
call fcn.0047a360
add esp, 0xec
ret
mov edx, dword [esp + 0x100]
mov ebp, dword [edx]
mov ecx, ebp
mov edi, 1
shl edi, cl
lea esi, [ecx - 0x20]
mov ecx, esi
mov edx, 1
shl edx, cl
neg ecx
mov ebx, 1
shr ebx, cl
cmp esi, 0x20
sbb esi, esi
and edx, esi
cmp ecx, 0x20
sbb esi, esi
and ebx, esi
or ebx, edx
cmp eax, ebx
setne dl
cmp ebp, 0x20
sbb ebx, ebx
and ebx, edi
mov esi, dword [esp + 0xf4]
cmp esi, ebx
setne bl
or ebx, edx
test bl, bl
je 0x479805
mov ecx, dword [esp + 0x100]
mov ebx, dword [esp + 0xfc]
jmp 0x47981d
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 8]
sub edx, ebp
inc edx
mov ebx, dword [esp + 0xfc]
cmp ebx, edx
jne 0x479885
mov edx, esi
shl esi, 1
mov dword [esp + 0xe8], esi
shl eax, 1
mov ebp, edx
shr edx, 0x1f
or edx, eax
mov dword [esp + 0xe4], edx
lea eax, [ebx - 1]
mov ebx, esi
add esi, 0xffffffff
mov edi, edx
adc edx, 0xffffffff
add ebx, 1
adc edi, 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x90], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
jmp 0x4798e8
mov edx, esi
shl esi, 2
mov dword [esp + 0xe8], esi
shl eax, 2
mov edi, edx
shr edi, 0x1e
or edi, eax
mov dword [esp + 0xe4], edi
lea eax, [ebx - 2]
mov ebx, esi
add esi, 0xffffffff
mov ebp, edi
adc ebp, 0xffffffff
add ebx, 2
adc edi, 0
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x90], eax
mov edx, ebp
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0x94], ebp
mov ebp, dword [esp + 0xf4]
mov eax, dword [esp + 0x98]
test eax, eax
je 0x479b1d
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
neg eax
imul eax, eax, 0x13441
sar eax, 0x12
mov dword [esp + 0x24], eax
lea ebp, [eax + 1]
mov dword [esp + 0x30], ebp
lea eax, [0x58c4e0]
cmp ecx, eax
jne 0x4799c3
mov dword [esp], esi
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0047a860
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x21], cl
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
call fcn.0047a860
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ebx
call fcn.0047a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x78]
xor esi, esi
mov edi, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 0x74], ebx
jmp 0x479a92
mov dword [esp], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.0047a970
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x21], cl
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], edi
call fcn.0047a970
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x14]
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], esi
call fcn.0047a970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x80]
test ecx, ecx
jge 0x47a33d
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x30]
cmp edi, 0x37
jle 0x479aba
xor edx, edx
xor edx, edx
mov byte [esp + 0x22], dl
xor edx, edx
mov byte [esp + 0x21], dl
xor edx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x24]
add esi, 0x19
cmp esi, 0x18
jae 0x479b11
mov byte [esp + 0x20], dl
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0x54], edi
mov esi, dword [esp + 0x4c]
test esi, esi
sete dl
mov ebp, dword [esp + 0x50]
test ebp, ebp
sete al
and eax, edx
test al, al
jne 0x47a129
mov eax, edi
jmp 0x47a071
movzx esi, byte [esp + 0x22]
movzx edi, byte [esp + 0x21]
jmp 0x479b7c
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], 1
call fcn.0047a360
add esp, 0xec
ret
mov eax, dword [esp + 0xf0]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add esp, 0xec
ret
mov byte [esp + 0x20], dl
xchg edi, eax
mov byte [esp + 0x21], al
xchg edi, eax
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
neg ecx
mov dword [esp + 0xe0], ecx
mov edi, 1
shl edi, cl
mov dword [esp + 0xe8], edi
shr ebx, cl
mov dword [esp + 0xe4], ebx
shr ebp, cl
mov dword [esp + 0xdc], ebp
mov esi, dword [esp + 0x6c]
add esi, 0x20
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ecx, esi
mov edx, 1
shl edx, cl
mov ebx, dword [esp + 0x80]
shr ebx, cl
mov ebp, dword [esp + 0x8c]
shr ebp, cl
mov dword [esp + 0xd8], ebp
mov ecx, dword [esp + 0xe0]
mov edi, dword [esp + 0x88]
shr edi, cl
mov dword [esp + 0xd4], edi
mov edi, dword [esp + 0x8c]
shr edi, cl
mov dword [esp + 0xd0], edi
lea edi, [ecx - 0x20]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
mov ebp, 1
shr ebp, cl
mov dword [esp + 0xcc], ebp
mov ebp, dword [esp + 0x80]
shl ebp, cl
mov dword [esp + 0xc8], ebp
mov ebp, dword [esp + 0x8c]
shl ebp, cl
mov dword [esp + 0xc4], ebp
mov ecx, esi
mov ebp, dword [esp + 0x74]
shr ebp, cl
mov dword [esp + 0xc0], ebp
mov ecx, edi
mov ebp, dword [esp + 0x74]
shl ebp, cl
mov dword [esp + 0xbc], ebp
mov ecx, dword [esp + 0xe0]
shr eax, cl
mov ebp, dword [esp + 0x74]
shr ebp, cl
cmp esi, 0x20
sbb esi, esi
and edx, esi
mov dword [esp + 0xb8], edx
and ebx, esi
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0xd8]
and ebx, esi
mov dword [esp + 0xd8], ebx
mov ebx, dword [esp + 0xc0]
and ebx, esi
cmp ecx, 0x20
sbb esi, esi
mov ecx, ebx
mov ebx, dword [esp + 0xe8]
and ebx, esi
mov edx, dword [esp + 0xdc]
and edx, esi
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0xd4]
and edx, esi
and eax, esi
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe4]
and eax, esi
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xd0]
and eax, esi
mov dword [esp + 0xd4], eax
and ebp, esi
mov dword [esp + 0xd0], ebp
mov esi, ebx
add ebx, 0xffffffff
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x88]
and eax, ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
and eax, ebx
cmp edi, 0x20
sbb edi, edi
mov ebx, dword [esp + 0xcc]
and ebx, edi
mov ebp, dword [esp + 0xb8]
or ebx, ebp
add esi, 0xffffffff
adc ebx, 0xffffffff
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0xc8]
and ebp, edi
mov esi, dword [esp + 0xe8]
or esi, ebp
mov ebp, dword [esp + 0xc4]
and ebp, edi
or edx, ebp
mov ebp, dword [esp + 0xbc]
and ebp, edi
mov edi, dword [esp + 0xdc]
or edi, ebp
mov ebp, dword [esp + 0xb4]
or ebp, esi
mov dword [esp + 0xe8], ebp
mov esi, dword [esp + 0xd8]
or esi, edx
mov dword [esp + 0x88], esi
mov edx, dword [esp + 0x8c]
and edx, ebx
mov dword [esp + 0x60], edx
or ecx, edi
mov edi, dword [esp + 0x74]
and edi, ebx
movzx ebp, byte [esp + 0x20]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x479dda
test edi, edi
xchg esi, ebx
seta bl
xchg esi, ebx
sete bl
test eax, eax
seta dl
and ebx, edx
or ebx, esi
xchg ebp, eax
test al, al
xchg ebp, eax
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x88]
mov ebp, ebx
mov ebx, dword [esp + 0xb0]
jmp 0x479ddf
mov ebp, 1
je 0x479e0d
test eax, eax
sete al
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
and eax, edi
test al, al
je 0x479e0d
mov eax, dword [esp + 0xf4]
test eax, 1
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, 1
jmp 0x479e14
mov eax, dword [esp + 0xf4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x479e23
mov ebp, dword [esp + 0xd0]
jmp 0x479e30
add ecx, 0xffffffff
mov ebp, dword [esp + 0xd0]
adc ebp, 0xffffffff
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ecx
movzx edi, byte [esp + 0x22]
xchg edi, eax
test al, al
xchg edi, eax
je 0x479eed
mov ebp, dword [esp + 0x6c]
inc ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov ecx, ebp
mov eax, 1
shl eax, cl
lea edi, [ecx - 0x20]
mov ecx, edi
mov ebx, 1
shl ebx, cl
neg ecx
mov esi, 1
shr esi, cl
cmp ebp, 0x20
sbb ebp, ebp
and eax, ebp
mov dword [esp + 0xdc], eax
mov ebp, dword [esp + 0x5c]
cmp eax, ebp
setb al
cmp edi, 0x20
sbb edi, edi
and ebx, edi
cmp ecx, 0x20
sbb edi, edi
and esi, edi
or ebx, esi
cmp ebx, edx
sete bl
xchg esi, ebx
setb bl
xchg esi, ebx
and eax, ebx
or eax, esi
test al, al
je 0x479ebc
mov eax, dword [esp + 0x88]
mov ecx, 1
jmp 0x479f68
mov eax, dword [esp + 0xdc]
cmp eax, ebp
sete al
and eax, ebx
test al, al
je 0x479ee2
mov eax, dword [esp + 0x88]
test eax, 1
setne cl
jmp 0x479f68
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x479f68
mov ebp, dword [esp + 0x6c]
inc ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov ecx, ebp
mov esi, dword [esp + 0x5c]
shr esi, cl
shr edx, cl
mov dword [esp + 0xdc], edx
lea eax, [ecx - 0x20]
mov dword [esp + 0xd8], eax
mov ecx, eax
mov edi, dword [esp + 0x60]
shr edi, cl
neg eax
mov ecx, eax
mov ebx, dword [esp + 0x60]
shl ebx, cl
mov edx, dword [esp + 0xd8]
cmp edx, 0x20
sbb edx, edx
and edi, edx
cmp eax, 0x20
sbb eax, eax
and ebx, eax
cmp ebp, 0x20
sbb eax, eax
and esi, eax
or ebx, esi
or edi, ebx
mov edx, dword [esp + 0xdc]
test eax, edx
sete cl
cmp edi, 1
sete al
and ecx, eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x21]
test bl, bl
je 0x479fc9
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
test esi, ebx
sete bl
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0xb0]
test edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ebx, esi
test bl, bl
je 0x479fc9
mov ebx, dword [esp + 0xf4]
test ebx, 1
sete bl
and ebx, 1
test bl, bl
je 0x479fc9
movzx ebx, byte [esp + 0x22]
test bl, bl
mov esi, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe8]
jmp 0x479fe6
mov ebx, dword [esp + 0xe8]
add ebx, 1
mov esi, dword [esp + 0xe4]
adc esi, 0
movzx edi, byte [esp + 0x22]
xchg edi, eax
test al, al
xchg edi, eax
je 0x479ffa
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
sete dl
and ebp, edx
jmp 0x479ffc
xor ebp, ebp
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
xchg ebp, eax
mov byte [esp + 0x1c], al
xchg ebp, eax
mov byte [esp + 0x1d], cl
call fcn.0047a360
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x24]
sub ecx, edx
dec ecx
mov dword [eax + 0x10], ecx
add esp, 0xec
ret
mov edx, dword [esp + 0x58]
lea edi, [edx - 1]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x80]
mov ebp, esi
mov esi, ecx
mov ecx, dword [esp + 0x6c]
test edi, edi
jle 0x47a127
mov dword [esp + 0x58], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], esi
mov eax, esi
mov ebx, 0xcccccccd
mul ebx
mov dword [esp + 0xe8], edx
mov eax, ebx
mul ebp
shr edx, 2
mov dword [esp + 0xe4], edx
lea eax, [edx + edx*4]
sub ebp, eax
mov eax, 0x33333333
mul ebp
mov edi, dword [esp + 0xe8]
shr edi, 2
lea ecx, [edi + edi*4]
sub esi, ecx
add ebp, esi
mov ecx, eax
mov eax, ebx
mov esi, edx
mul ebp
shr edx, 2
add edi, 0
mov ebp, dword [esp + 0xe4]
adc ebp, 0
add ecx, edi
adc esi, ebp
add ecx, edx
adc esi, 0
mov eax, ecx
mov edx, 5
mul edx
lea ebp, [esi + esi*4]
add edx, ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov edi, dword [esp + 0x48]
cmp edi, edx
setne dl
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47a057
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x54]
movzx eax, byte [esp + 0x21]
jmp 0x47a12e
mov edi, eax
mov eax, 1
mov byte [esp + 0x21], al
mov edx, dword [esp + 0x94]
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x90]
test esi, esi
sete bl
and ebx, ebp
test bl, bl
jne 0x47a222
mov ebx, edi
jmp 0x47a16e
dec edi
movzx eax, byte [esp + 0x21]
mov ebx, dword [esp + 0x54]
mov edx, esi
mov esi, ecx
mov ecx, dword [esp + 0x6c]
test edi, edi
jle 0x47a220
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], esi
mov eax, 0xcccccccd
mul esi
mov dword [esp + 0xe8], edx
mov eax, 0xcccccccd
mov ebp, dword [esp + 0x44]
mul ebp
shr edx, 2
mov dword [esp + 0xe4], edx
lea eax, [edx + edx*4]
sub ebp, eax
mov eax, 0x33333333
mul ebp
mov ebx, dword [esp + 0xe8]
shr ebx, 2
lea ecx, [ebx + ebx*4]
sub esi, ecx
add ebp, esi
mov ecx, eax
mov eax, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 2
add ebx, 0
mov ebp, dword [esp + 0xe4]
adc ebp, 0
add ecx, ebx
adc esi, ebp
add ecx, edx
adc esi, 0
mov eax, ecx
mov edx, 5
mul edx
lea ebx, [esi + esi*4]
add edx, ebx
mov ebx, dword [esp + 0x44]
cmp ebx, edx
setne dl
mov ebx, dword [esp + 0x38]
cmp eax, ebx
setne bl
or ebx, edx
test bl, bl
je 0x47a15c
movzx eax, byte [esp + 0x21]
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x54]
movzx edx, byte [esp + 0x22]
jmp 0x47a227
mov edi, ebx
mov edx, 1
mov ebx, dword [esp + 0x2c]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x28]
test esi, esi
sete cl
and ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x47a24b
mov byte [esp + 0x23], dl
jmp 0x47a27e
mov ecx, 1
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov esi, edx
movzx edi, byte [esp + 0x21]
mov edx, ecx
mov ecx, dword [esp + 0x6c]
jmp 0x479b7c
lea edi, [ecx - 1]
movzx eax, byte [esp + 0x21]
movzx edx, byte [esp + 0x23]
test edi, edi
jle 0x47a24b
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], esi
mov eax, 0xcccccccd
mul ebx
mov dword [esp + 0xe8], edx
mov eax, esi
mov ebp, 0xcccccccd
mul ebp
shr edx, 2
mov dword [esp + 0xe4], edx
lea eax, [edx + edx*4]
sub esi, eax
mov eax, edi
mov edi, dword [esp + 0xe8]
shr edi, 2
lea ecx, [edi + edi*4]
sub ebx, ecx
mov ecx, eax
mov eax, 0x33333333
mul ebx
mov dword [esp + 0xe8], edx
add ebx, esi
mov esi, eax
mov eax, ebp
mul ebx
shr edx, 2
mov eax, dword [esp + 0xe4]
add eax, 0
adc edi, 0
add eax, esi
mov ebx, dword [esp + 0xe8]
adc ebx, edi
add eax, edx
adc ebx, 0
mov edx, 5
mov esi, eax
mul edx
lea edi, [ebx + ebx*4]
add edx, edi
mov edi, dword [esp + 0x40]
cmp edi, edx
setne dl
mov edi, dword [esp + 0x34]
cmp eax, edi
xchg edi, ebx
setne bl
xchg edi, ebx
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x47a271
movzx eax, byte [esp + 0x21]
movzx edx, byte [esp + 0x23]
movzx ecx, byte [esp + 0x20]
jmp 0x47a250
lea eax, [0x4c89a0]
mov dword [esp], eax
lea eax, [0x50a708]
mov dword [esp + 4], eax
call fcn.00466c80
nop
call fcn.0046bcd0
jmp fcn.00479690