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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x180]
cmp eax, dword [ecx + 8]
jbe 0x47b47a
sub esp, 0x200
lea edi, [esp]
lea esi, [esp + 0x204]
call fcn.0045c65e
call fcn.0047c3e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1e0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x8c], ebp
mov esi, dword [esp + 0x228]
mov edi, dword [esp + 0x224]
mov esi, 0xffffffff
mov dword [esp + 0x38], esi
mov edi, 0xffffffff
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x78], edi
xor esi, esi
mov dword [esp + 0x84], esi
xor esi, esi
mov dword [esp + 0x3c], esi
xor esi, esi
mov dword [esp + 0x7c], esi
xor esi, esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x220]
mov dword [esp + 0xdc], esi
mov edi, dword [esp + 0x21c]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x218]
mov dword [esp + 0x1e8], eax
mov esi, dword [esp + 0x228]
mov edi, dword [esp + 0x224]
mov eax, dword [esp + 0xf0]
jmp 0x47977f
mov eax, ecx
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x1e0]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], edx
mov dword [esp + 0x1e8], esi
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x1d4]
test esi, esi
je 0x47aacc
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00477510
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1d4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test ebx, ebx
jne 0x4797d4
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
jmp 0x479888
mov esi, dword [esp + 0xd8]
lea edi, [ebx + esi]
mov dword [esp + 0xd4], edi
mov eax, dword [esp + 0xdc]
cmp eax, edi
jae 0x479843
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1dc], ebp
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1e8]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.00445cb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x1dc]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x1e8], eax
mov eax, ecx
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x1e8]
lea edx, [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0045c880
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
test edx, edx
je 0x47aae1
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0x1e4], esi
mov edi, ebp
mov ebp, dword [esp + 0x38]
test ebp, ebp
jge 0x47991c
test edx, 0x100
je 0x47991c
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov byte [esp + 8], 1
call fcn.0047d950
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
inc ebx
mov esi, dword [esp + 0x1e4]
mov edi, dword [esp + 0xcc]
mov ebp, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x80]
test ebp, ebp
jge 0x4799d3
test edx, 0x200
je 0x4799d3
nop
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x15180
call fcn.00456910
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x91a2b3c5
imul ecx
lea eax, [edx + ecx]
sar eax, 0xb
mov edx, ecx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0xe10
sub edx, ecx
mov ecx, eax
mov eax, 0x88888889
mov ebx, edx
imul edx
lea eax, [ebx + edx]
sar eax, 5
mov edx, ebx
sar ebx, 0x1f
sub eax, ebx
imul ebx, eax, 0x3c
sub edx, ebx
mov ebx, dword [esp + 0xd0]
mov esi, dword [esp + 0x1e4]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], edx
mov ebp, ecx
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x80], ebp
and edx, 0xffff
cmp edx, 0x109
jg 0x47a475
cmp edx, 0x103
jg 0x47a136
cmp edx, 0x23
jg 0x479fde
cmp edx, 0x17
je 0x479dbb
lea ecx, [edx - 0x18]
cmp ecx, 9
ja 0x479d40
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x479a93
mov edx, dword [esp + 0x60]
cmp edx, 0x18
je 0x479a3b
cmp edx, 0x1b
je 0x479a3b
cmp edx, 0x19
je 0x479a3b
cmp edx, 0x1a
je 0x479a3b
cmp edx, 0x1c
jne 0x479a97
lea edx, [ebx + 1]
cmp edi, edx
jae 0x479a8a
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x5a
jmp 0x479744
mov edx, dword [esp + 0x60]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov dword [esp + 0xdc], edx
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
test edx, edx
jge 0x479b1c
lea edx, [ebx + 1]
cmp edi, edx
jae 0x479b0b
mov dword [esp + 0xd8], ecx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2d
mov ebx, dword [esp + 0xdc]
sub ecx, ebx
neg eax
jmp 0x479b76
lea ecx, [ebx + 1]
cmp edi, ecx
jae 0x479b6c
mov dword [esp + 0x34], edx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2b
mov ebx, edx
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x88], eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004782f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x1b
je 0x479bdc
cmp ebp, 0x20
je 0x479bdc
cmp ebp, 0x1c
je 0x479bdc
cmp ebp, 0x21
jne 0x479c28
lea esi, [ecx + 1]
cmp edx, esi
jae 0x479c22
mov dword [esp + 0xc8], ecx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00445cb0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x60]
mov byte [ebx + ecx], 0x3a
jmp 0x479c2a
mov esi, ecx
cmp ebp, 0x1f
je 0x479c73
cmp ebp, 0x1a
je 0x479c73
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0xd8]
imul eax, eax, 0x3c
mov ecx, dword [esp + 0xdc]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.004782f0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x19
je 0x479cd3
cmp ebp, 0x1e
je 0x479cd3
cmp ebp, 0x21
je 0x479c8b
cmp ebp, 0x1c
jne 0x479d23
lea ecx, [esi + 1]
cmp edx, ecx
jae 0x479ccd
mov dword [esp + 0xc4], esi
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00445cb0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov esi, dword [esp + 0xc4]
mov byte [ebx + esi], 0x3a
jmp 0x479cd5
mov ecx, esi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x88]
mov ecx, 0x88888889
imul ecx
mov ebx, dword [esp + 0x88]
add edx, ebx
sar edx, 5
mov ebp, ebx
sar ebx, 0x1f
sub edx, ebx
imul edx, edx, 0x3c
sub ebp, edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.004782f0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edi, edx
mov edx, esi
mov esi, ebx
jmp 0x479744
cmp edx, 0x22
jge 0x479d4e
mov ecx, dword [esp + 0x5c]
jmp 0x47a926
mov eax, edi
lea edi, [esp + 0x1ec]
lea esi, [esp + 0x204]
call fcn.0045c65e
nop
mov ecx, dword [esp + 0x1ec]
mov edx, dword [esp + 0x1e4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
and ecx, 0x3fffffff
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00478510
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov edx, dword [esp + 0x74]
test edx, edx
je 0x479e5c
lea eax, [edx + ebx]
mov dword [esp + 0xdc], eax
cmp edi, eax
jae 0x479e08
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov dword [esp + 0xd8], edi
mov dword [esp + 0x1e8], esi
lea eax, [esi + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045c880
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x1e8]
jmp 0x479744
mov eax, 0x88888889
mov edx, dword [esp + 0x70]
imul edx
mov eax, ecx
mov ecx, dword [esp + 0x70]
add edx, ecx
sar edx, 5
mov dword [esp + 0xdc], edx
sar ecx, 0x1f
sub edx, ecx
test edx, edx
jge 0x479ee7
lea edx, [ebx + 1]
cmp edi, edx
jae 0x479ed8
mov dword [esp + 0xd8], ecx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2d
mov ebx, dword [esp + 0xdc]
sub ecx, ebx
jmp 0x479f41
lea ecx, [ebx + 1]
cmp edi, ecx
jae 0x479f37
mov dword [esp + 0x30], edx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2b
mov ebx, edx
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0xdc], ecx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004782f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0xd8]
imul ecx, ecx, 0x3c
mov edx, dword [esp + 0xdc]
sub edx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x101
jne 0x47a05e
mov edx, dword [esp + 0x78]
lea ebp, [edx - 1]
cmp ebp, 0xb
jbe 0x47a03b
mov ebp, edi
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.0045c17b
test edx, edx
sete cl
mov eax, edx
sar edx, 0x1f
test edx, edx
mov edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ecx, esi
test cl, cl
jne 0x47a029
mov ecx, eax
mov esi, 0x14
jmp 0x47b365
mov byte [esp + 0x10b], 0x30
mov ecx, 0x13
jmp 0x47b2b0
mov esi, dword [0x59178c]
mov edi, dword [0x591788]
cmp esi, ebp
jbe 0x47b2a7
lea ebp, [edi + edx*8 - 8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
jmp 0x47b1d3
cmp edx, 0x102
jne 0x47a0e3
mov edx, ebp
mov ebp, dword [esp + 0x78]
lea esi, [ebp - 1]
cmp esi, 0xb
ja 0x47a096
mov edi, dword [0x59178c]
mov ebx, dword [0x591788]
cmp edi, esi
jbe 0x47b1ca
lea ebx, [ebx + ebp*8 - 8]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x47afa2
mov esi, edi
lea edi, [esp + 0x10c]
xor eax, eax
call fcn.0045c17b
mov ecx, ebp
sar ebp, 0x1f
test ebp, ebp
mov eax, edx
sete dl
test ecx, ecx
mov edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x47a0d1
mov edx, ecx
mov esi, 0x14
jmp 0x47b0d9
mov byte [esp + 0x11f], 0x30
mov edx, 0x13
jmp 0x47af2b
cmp edx, 0x103
jne 0x47a926
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x106
jg 0x47a327
cmp edx, 0x104
je 0x47a2e0
cmp edx, 0x105
jne 0x47a21d
mov eax, dword [esp + 0x8c]
add eax, 0x15180
mov edx, dword [esp + 0x90]
adc edx, 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00456910
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [edx + ecx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
cmp eax, 6
jbe 0x47a1fc
mov dword [esp + 0xdc], eax
lea edi, [esp + 0x120]
xor eax, eax
call fcn.0045c17b
mov ecx, dword [esp + 0xdc]
mov edx, ecx
sar ecx, 0x1f
test ecx, ecx
sete bl
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x47a1ea
mov eax, 0x14
jmp 0x47ae45
mov byte [esp + 0x133], 0x30
mov eax, 0x13
jmp 0x47adc9
mov ecx, dword [0x59177c]
mov edx, dword [0x591778]
cmp ecx, eax
jbe 0x47adc4
lea eax, [edx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x47ad09
mov eax, dword [esp + 0x8c]
add eax, 0x15180
mov edx, dword [esp + 0x90]
adc edx, 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00456910
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [edx + ecx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
cmp eax, 6
ja 0x47a28d
mov ecx, dword [0x59177c]
mov ebx, dword [0x591778]
cmp ecx, eax
jbe 0x47ad04
lea eax, [ebx + eax*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x47ab5e
mov dword [esp + 0xdc], eax
lea edi, [esp + 0x134]
xor eax, eax
call fcn.0045c17b
mov ecx, dword [esp + 0xdc]
test ecx, ecx
sete dl
mov ebx, ecx
sar ecx, 0x1f
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x47a2ce
mov eax, 0x14
jmp 0x47ac29
mov byte [esp + 0x147], 0x30
mov eax, 0x13
jmp 0x47aafd
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x107
je 0x47a42b
cmp edx, 0x108
jne 0x47a3e1
mov edx, dword [esp + 0x84]
cmp edx, 0xa
jge 0x47a39e
lea eax, [ebx + 1]
cmp edi, eax
jae 0x47a398
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x20
mov ebx, eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x20d
jg 0x47a766
cmp edx, 0x113
jg 0x47a637
cmp edx, 0x10a
je 0x47a53b
cmp edx, 0x10b
je 0x47a4f4
cmp edx, 0x113
jne 0x47a926
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov edx, dword [esp + 0x3c]
cmp edx, 0x64
jge 0x47a5f4
lea eax, [ebx + 1]
cmp edi, eax
jae 0x47a592
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x20
cmp edx, 0xa
jge 0x47a5f2
lea ebx, [eax + 1]
cmp edi, ebx
jae 0x47a5ec
mov dword [esp + 0xc0], eax
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x80]
mov byte [esi + eax], 0x20
jmp 0x47a5f4
mov ebx, eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x114
je 0x47a701
cmp edx, 0x20c
je 0x47a6be
cmp edx, 0x20d
jne 0x47a926
mov eax, 0xaaaaaaab
imul ebp
add edx, ebp
sar edx, 3
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x47a67b
mov eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov edx, dword [esp + 0x38]
test edx, edx
jge 0x47a70b
neg edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, 0x51eb851f
mov ecx, edx
imul edx
sar edx, 5
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x210
jle 0x47a9c7
cmp edx, 0x212
jle 0x47a931
cmp edx, 0x215
jne 0x47a852
cmp ebp, 0xc
jl 0x47a7ed
lea edx, [ebx + 2]
cmp edi, edx
jae 0x47a7e5
mov dword [esp + 0xbc], edx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x4d50
jmp 0x47a849
lea edx, [ebx + 2]
cmp edi, edx
jae 0x47a843
mov dword [esp + 0xb8], edx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x4d41
mov ecx, dword [esp + 0x70]
jmp 0x479744
cmp edx, 0x216
jne 0x47a926
cmp ebp, 0xc
jl 0x47a8c1
lea edx, [ebx + 2]
cmp edi, edx
jae 0x47a8b9
mov dword [esp + 0xb4], edx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x6d70
jmp 0x47a91d
lea edx, [ebx + 2]
cmp edi, edx
jae 0x47a917
mov dword [esp + 0xb0], edx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x6d61
mov ecx, dword [esp + 0x70]
jmp 0x479744
mov ecx, dword [esp + 0x70]
mov edx, ebx
jmp 0x479744
cmp edx, 0x211
jne 0x47a980
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x20e
jne 0x47aa36
mov eax, 0xaaaaaaab
imul ebp
add edx, ebp
sar edx, 3
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x47a9f3
mov eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
cmp edx, 0x20f
jne 0x47aa85
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004782f0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x479744
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
mov dword [esp + 0x22c], esi
mov dword [esp + 0x230], ebx
mov dword [esp + 0x234], ebp
add esp, 0x200
ret
cmp eax, 0x14
ja 0x47ac11
lea ecx, [esp + 0x1a8]
mov dword [esp], ecx
lea ecx, [0x4e12bf]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
lea edx, [eax - 0x14]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0x134]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
lea eax, [0x506025]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00449000
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp eax, 3
jb 0x47ac05
mov eax, dword [esp + 0xd0]
lea ecx, [eax + 3]
mov edx, dword [esp + 0xcc]
cmp edx, ecx
jb 0x47ab85
mov esi, dword [esp + 0x1e4]
jmp 0x47abd7
mov dword [esp + 0xac], ecx
mov dword [esp + 0x1c8], ebx
lea ebx, [0x4ce8c0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x1c8]
mov edx, ebp
mov ebp, ebx
movzx ebx, word [ebx]
mov edi, ebx
movzx ebx, byte [ebp + 2]
mov word [esi + eax], di
mov byte [esi + eax + 2], bl
mov eax, dword [esp + 0x1d4]
mov ebp, dword [esp + 0x80]
mov edi, edx
mov edx, ecx
mov ecx, dword [esp + 0x70]
jmp 0x479744
mov ecx, 3
mov edx, eax
call fcn.0045c040
mov ecx, 0x14
call fcn.0045c080
lea ebp, [ecx + 0x30]
xchg ebp, eax
mov byte [esp + edx + 0x133], al
xchg ebp, eax
mov ecx, esi
test ecx, ecx
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or edx, ebp
test dl, dl
je 0x47aafd
mov dword [esp + 0x4c], eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ecx
shr edx, 3
mov dword [esp + 0xa8], edx
lea ebp, [edx + edx*4]
shl ebp, 1
sub ecx, ebp
mov eax, 0x19999999
mul ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
add eax, edi
lea ebp, [esi + esi*4]
lea edx, [ecx + ecx*2]
shl ebp, 1
mov ecx, ebx
sub ebx, ebp
lea edx, [ebx + edx*2]
mov ebx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov dword [esp + 0x9c], edx
mov ebp, ebx
add ebx, edx
mov eax, ebx
mov edx, 0xa
mul edx
sub ecx, eax
add esi, 0
mov edx, dword [esp + 0xa8]
adc edx, 0
mov esi, dword [esp + 0xa0]
add esi, edi
mov esi, dword [esp + 0xa4]
adc esi, edx
mov edx, dword [esp + 0x9c]
add ebp, edx
adc esi, 0
mov edx, dword [esp + 0x4c]
lea eax, [edx - 1]
cmp eax, 0x14
jb 0x47ac1b
mov ecx, 0x14
call fcn.0045c020
call fcn.0045c020
mov edx, dword [esp + 0xd0]
lea ebx, [eax + edx]
mov dword [esp + 0xdc], ebx
mov ebp, dword [esp + 0xcc]
cmp ebp, ebx
jb 0x47ad2e
mov esi, dword [esp + 0x1e4]
jmp 0x47ad78
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x68], eax
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1e4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x1e8], esi
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045c880
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x1e8]
jmp 0x479744
call fcn.0045c020
cmp eax, 0x14
ja 0x47ae2b
lea ecx, [esp + 0x188]
mov dword [esp], ecx
lea ecx, [0x4e12bf]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
lea edx, [eax - 0x14]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0x120]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
lea eax, [0x506025]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00449000
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x47ad09
mov ecx, 0x14
call fcn.0045c080
lea edi, [edx + 0x30]
xchg edi, eax
mov byte [esp + esi + 0x11f], al
xchg edi, eax
mov edx, ebx
mov ecx, ebp
test ecx, ecx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebx, ebp
test bl, bl
je 0x47adc9
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
mov eax, ecx
mov ebp, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ecx, edi
mov eax, 0x19999999
mov edi, edx
mul ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov eax, ebp
mul esi
shr edx, 3
mov eax, edx
add edx, 0
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 0xa4]
add ebx, edx
lea edx, [ecx + ecx*2]
mov ecx, edi
lea edi, [eax + eax*4]
shl edi, 1
sub esi, edi
lea edx, [esi + edx*2]
mov esi, eax
mov eax, ebp
mul edx
shr edx, 3
mov dword [esp + 0x9c], edx
mov edi, ebx
add ebx, edx
mov eax, 0xa
mul ebx
mov edx, dword [esp + 0x50]
sub edx, eax
add esi, 0
adc ecx, 0
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
add esi, ebp
mov ebp, dword [esp + 0xa8]
adc ebp, ecx
mov esi, dword [esp + 0x9c]
add edi, esi
adc ebp, 0
mov esi, dword [esp + 0x48]
lea eax, [esi - 1]
cmp eax, 0x14
jb 0x47ae35
mov ecx, 0x14
call fcn.0045c020
cmp edx, 0x14
ja 0x47b09f
lea eax, [esp + 0x168]
mov dword [esp], eax
lea eax, [0x4e0ca6]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
lea ecx, [edx - 0x14]
neg ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
lea ecx, [esp + edx + 0x10c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
lea ecx, [0x506025]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.00449000
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
cmp ebx, 3
jb 0x47b093
mov ebx, dword [esp + 0xd0]
lea edi, [ebx + 3]
mov eax, dword [esp + 0xcc]
cmp eax, edi
jb 0x47afde
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xe8]
jmp 0x47b046
mov dword [esp + 0x98], edi
mov dword [esp + 0x1d0], esi
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0x98]
mov dword [esp + 0x1e8], esi
mov eax, ebp
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x1d0]
movzx ebx, word [esi]
mov word [esp + 0x2a], bx
movzx ebx, byte [esi + 2]
mov esi, ebx
mov ebx, dword [esp + 0xd0]
movzx ecx, word [esp + 0x2a]
mov edx, dword [esp + 0x1e8]
mov word [edx + ebx], cx
xchg esi, eax
mov byte [edx + ebx + 2], al
xchg esi, eax
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, edi
mov edi, eax
mov esi, dword [esp + 0x1e8]
mov eax, dword [esp + 0x1d4]
jmp 0x479744
mov ecx, 3
mov edx, ebx
call fcn.0045c040
mov eax, edx
mov ecx, 0x14
call fcn.0045c080
add eax, 0x30
mov byte [esp + ebx + 0x10b], al
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0x78]
test ebp, ebp
sete dl
test ecx, ecx
xchg edi, ebx
seta bl
xchg edi, ebx
test ebp, ebp
seta bl
and edx, edi
or edx, ebx
test dl, dl
je 0x47b1a5
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], esi
mov eax, 0xcccccccd
mul ebp
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ebp, edi
mov eax, 0x19999999
mov edi, edx
mul ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
mov eax, edx
add edx, 0
mov ebx, dword [esp + 0xa4]
add ebx, edx
lea esi, [eax + eax*4]
lea ebp, [ebp + ebp*2]
shl esi, 1
sub ecx, esi
lea ebp, [ecx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 3
mov ebp, edx
add edx, ebx
mov dword [esp + 0xa0], edx
mov eax, 0xa
mul edx
mov edx, dword [esp + 0x58]
sub edx, eax
add ecx, 0
adc edi, 0
mov eax, edx
mov edx, dword [esp + 0xa4]
add edx, esi
mov edx, dword [esp + 0xa8]
adc edx, edi
add ebp, ebx
adc edx, 0
mov ebx, dword [esp + 0x44]
lea ebp, [ebx - 1]
cmp ebp, 0x14
jb 0x47b0ab
jmp 0x47b1be
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov edx, esi
jmp 0x47af2b
mov eax, ebp
mov ecx, 0x14
call fcn.0045c020
mov eax, esi
mov ecx, edi
call fcn.0045c020
lea edi, [ebp + ebx]
mov dword [esp + 0xdc], edi
mov eax, dword [esp + 0xcc]
cmp eax, edi
jb 0x47b207
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xe0]
jmp 0x47b25a
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x2c], ebp
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.00445cb0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x1e8], esi
mov eax, ebp
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x1cc]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x1e8]
lea edx, [ecx + ebx]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0045c880
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x1e8]
jmp 0x479744
mov eax, ebp
mov ecx, esi
call fcn.0045c020
cmp ecx, 0x14
ja 0x47b328
lea eax, [esp + 0x148]
mov dword [esp], eax
lea eax, [0x4e0ca6]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
lea edx, [ecx - 0x14]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and ecx, edx
lea ecx, [esp + ecx + 0xf8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
lea ecx, [0x506025]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.00449000
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0xd0]
jmp 0x47b1d3
mov eax, ecx
mov ecx, 0x14
call fcn.0045c080
add edx, 0x30
mov byte [esp + ebp + 0xf7], dl
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0x1e4]
mov edx, ebx
mov esi, eax
mov ebx, dword [esp + 0xd0]
mov eax, dword [esp + 0x94]
test eax, eax
xchg edi, ebx
seta bl
xchg edi, ebx
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta bl
and ebp, edi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47b451
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], esi
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul edx
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ebp, edi
mov eax, 0x19999999
mov edi, edx
mul ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov eax, edx
add edx, 0
mov dword [esp + 0xa0], edx
mov esi, dword [esp + 0xa4]
add esi, edx
lea ebp, [ebp + ebp*2]
lea edx, [eax + eax*4]
shl edx, 1
sub ebx, edx
lea edx, [ebx + ebp*2]
mov ebx, eax
mov eax, edx
mov ebp, 0xcccccccd
mul ebp
shr edx, 3
mov dword [esp + 0x9c], edx
add edx, esi
mov dword [esp + 0x94], edx
mov eax, 0xa
mul edx
mov edx, dword [esp + 0x54]
sub edx, eax
add ebx, 0
adc edi, 0
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
add ebx, ebp
mov ebx, dword [esp + 0xa8]
adc ebx, edi
mov ebp, dword [esp + 0x9c]
add ebp, esi
adc ebx, 0
mov ebp, dword [esp + 0x40]
lea eax, [ebp - 1]
cmp eax, 0x14
jb 0x47b334
jmp 0x47b46f
mov eax, ecx
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0x1e4]
mov ecx, esi
jmp 0x47b2b0
mov ecx, 0x14
call fcn.0045c020
nop
call fcn.0045ab60
jmp fcn.00479650