Function at 0x477cc0
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 0x479aea
sub esp, 0x200
lea edi, [esp]
lea esi, [esp + 0x204]
call fcn.0045fb5e
call fcn.0047d650
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1e0], 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 0x477def
mov eax, ecx
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x1e0]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], edx
mov dword [esp + 0x1e8], esi
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x1d4]
test esi, esi
je 0x47913c
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.004758f0
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 0x477e44
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
jmp 0x477ef8
mov esi, dword [esp + 0xd8]
lea edi, [ebx + esi]
mov dword [esp + 0xd4], edi
mov eax, dword [esp + 0xdc]
cmp eax, edi
jae 0x477eb3
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1dc], ebp
lea ecx, [0x547680]
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.00447650
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.0045fd70
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 0x479151
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 0x477f8c
test edx, 0x100
je 0x477f8c
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.0047ece0
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 0x478043
test edx, 0x200
je 0x478043
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.0045ab20
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 0x478ae5
cmp edx, 0x103
jg 0x4787a6
cmp edx, 0x23
jg 0x47864e
cmp edx, 0x17
je 0x47842b
lea ecx, [edx - 0x18]
cmp ecx, 9
ja 0x4783b0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x478103
mov edx, dword [esp + 0x60]
cmp edx, 0x18
je 0x4780ab
cmp edx, 0x1b
je 0x4780ab
cmp edx, 0x19
je 0x4780ab
cmp edx, 0x1a
je 0x4780ab
cmp edx, 0x1c
jne 0x478107
lea edx, [ebx + 1]
cmp edi, edx
jae 0x4780fa
lea eax, [0x547680]
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.00447650
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 0x477db4
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 0x47818c
lea edx, [ebx + 1]
cmp edi, edx
jae 0x47817b
mov dword [esp + 0xd8], ecx
lea eax, [0x547680]
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.00447650
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 0x4781e6
lea ecx, [ebx + 1]
cmp edi, ecx
jae 0x4781dc
mov dword [esp + 0x34], edx
lea eax, [0x547680]
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.00447650
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.004767e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x1b
je 0x47824c
cmp ebp, 0x20
je 0x47824c
cmp ebp, 0x1c
je 0x47824c
cmp ebp, 0x21
jne 0x478298
lea esi, [ecx + 1]
cmp edx, esi
jae 0x478292
mov dword [esp + 0xc8], ecx
lea eax, [0x547680]
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.00447650
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 0x47829a
mov esi, ecx
cmp ebp, 0x1f
je 0x4782e3
cmp ebp, 0x1a
je 0x4782e3
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.004767e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x19
je 0x478343
cmp ebp, 0x1e
je 0x478343
cmp ebp, 0x21
je 0x4782fb
cmp ebp, 0x1c
jne 0x478393
lea ecx, [esi + 1]
cmp edx, ecx
jae 0x47833d
mov dword [esp + 0xc4], esi
lea eax, [0x547680]
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.00447650
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 0x478345
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.004767e0
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 0x477db4
cmp edx, 0x22
jge 0x4783be
mov ecx, dword [esp + 0x5c]
jmp 0x478f96
mov eax, edi
lea edi, [esp + 0x1ec]
lea esi, [esp + 0x204]
call fcn.0045fb5e
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.00476bc0
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 0x477db4
mov edx, dword [esp + 0x74]
test edx, edx
je 0x4784cc
lea eax, [edx + ebx]
mov dword [esp + 0xdc], eax
cmp edi, eax
jae 0x478478
lea ecx, [0x547680]
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.00447650
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.0045fd70
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 0x477db4
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 0x478557
lea edx, [ebx + 1]
cmp edi, edx
jae 0x478548
mov dword [esp + 0xd8], ecx
lea eax, [0x547680]
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.00447650
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 0x4785b1
lea ecx, [ebx + 1]
cmp edi, ecx
jae 0x4785a7
mov dword [esp + 0x30], edx
lea eax, [0x547680]
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.00447650
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.004767e0
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.004767e0
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 0x477db4
cmp edx, 0x101
jne 0x4786ce
mov edx, dword [esp + 0x78]
lea ebp, [edx - 1]
cmp ebp, 0xb
jbe 0x4786ab
mov ebp, edi
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.0045f67b
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 0x478699
mov ecx, eax
mov esi, 0x14
jmp 0x4799d5
mov byte [esp + 0x10b], 0x30
mov ecx, 0x13
jmp 0x479920
mov esi, dword [0x6535cc]
mov edi, dword [0x6535c8]
cmp esi, ebp
jbe 0x479917
lea ebp, [edi + edx*8 - 8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
jmp 0x479843
cmp edx, 0x102
jne 0x478753
mov edx, ebp
mov ebp, dword [esp + 0x78]
lea esi, [ebp - 1]
cmp esi, 0xb
ja 0x478706
mov edi, dword [0x6535cc]
mov ebx, dword [0x6535c8]
cmp edi, esi
jbe 0x47983a
lea ebx, [ebx + ebp*8 - 8]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x479612
mov esi, edi
lea edi, [esp + 0x10c]
xor eax, eax
call fcn.0045f67b
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 0x478741
mov edx, ecx
mov esi, 0x14
jmp 0x479749
mov byte [esp + 0x11f], 0x30
mov edx, 0x13
jmp 0x47959b
cmp edx, 0x103
jne 0x478f96
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.004767e0
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 0x477db4
cmp edx, 0x106
jg 0x478997
cmp edx, 0x104
je 0x478950
cmp edx, 0x105
jne 0x47888d
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.0045ab20
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 0x47886c
mov dword [esp + 0xdc], eax
lea edi, [esp + 0x120]
xor eax, eax
call fcn.0045f67b
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 0x47885a
mov eax, 0x14
jmp 0x4794b5
mov byte [esp + 0x133], 0x30
mov eax, 0x13
jmp 0x479439
mov ecx, dword [0x6535bc]
mov edx, dword [0x6535b8]
cmp ecx, eax
jbe 0x479434
lea eax, [edx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x479379
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.0045ab20
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 0x4788fd
mov ecx, dword [0x6535bc]
mov ebx, dword [0x6535b8]
cmp ecx, eax
jbe 0x479374
lea eax, [ebx + eax*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4791ce
mov dword [esp + 0xdc], eax
lea edi, [esp + 0x134]
xor eax, eax
call fcn.0045f67b
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 0x47893e
mov eax, 0x14
jmp 0x479299
mov byte [esp + 0x147], 0x30
mov eax, 0x13
jmp 0x47916d
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.004767e0
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 0x477db4
cmp edx, 0x107
je 0x478a9b
cmp edx, 0x108
jne 0x478a51
mov edx, dword [esp + 0x84]
cmp edx, 0xa
jge 0x478a0e
lea eax, [ebx + 1]
cmp edi, eax
jae 0x478a08
lea ecx, [0x547680]
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.00447650
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.004767e0
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 0x477db4
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.004767e0
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 0x477db4
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.004767e0
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 0x477db4
cmp edx, 0x20d
jg 0x478dd6
cmp edx, 0x113
jg 0x478ca7
cmp edx, 0x10a
je 0x478bab
cmp edx, 0x10b
je 0x478b64
cmp edx, 0x113
jne 0x478f96
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.004767e0
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 0x477db4
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.004767e0
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 0x477db4
mov edx, dword [esp + 0x3c]
cmp edx, 0x64
jge 0x478c64
lea eax, [ebx + 1]
cmp edi, eax
jae 0x478c02
lea ecx, [0x547680]
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.00447650
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 0x478c62
lea ebx, [eax + 1]
cmp edi, ebx
jae 0x478c5c
mov dword [esp + 0xc0], eax
lea ecx, [0x547680]
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.00447650
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 0x478c64
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.004767e0
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 0x477db4
cmp edx, 0x114
je 0x478d71
cmp edx, 0x20c
je 0x478d2e
cmp edx, 0x20d
jne 0x478f96
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 0x478ceb
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.004767e0
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 0x477db4
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.004767e0
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 0x477db4
mov edx, dword [esp + 0x38]
test edx, edx
jge 0x478d7b
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.004767e0
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 0x477db4
cmp edx, 0x210
jle 0x479037
cmp edx, 0x212
jle 0x478fa1
cmp edx, 0x215
jne 0x478ec2
cmp ebp, 0xc
jl 0x478e5d
lea edx, [ebx + 2]
cmp edi, edx
jae 0x478e55
mov dword [esp + 0xbc], edx
lea eax, [0x547680]
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.00447650
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 0x478eb9
lea edx, [ebx + 2]
cmp edi, edx
jae 0x478eb3
mov dword [esp + 0xb8], edx
lea eax, [0x547680]
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.00447650
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 0x477db4
cmp edx, 0x216
jne 0x478f96
cmp ebp, 0xc
jl 0x478f31
lea edx, [ebx + 2]
cmp edi, edx
jae 0x478f29
mov dword [esp + 0xb4], edx
lea eax, [0x547680]
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.00447650
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 0x478f8d
lea edx, [ebx + 2]
cmp edi, edx
jae 0x478f87
mov dword [esp + 0xb0], edx
lea eax, [0x547680]
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.00447650
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 0x477db4
mov ecx, dword [esp + 0x70]
mov edx, ebx
jmp 0x477db4
cmp edx, 0x211
jne 0x478ff0
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.004767e0
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 0x477db4
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.004767e0
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 0x477db4
cmp edx, 0x20e
jne 0x4790a6
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 0x479063
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.004767e0
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 0x477db4
cmp edx, 0x20f
jne 0x4790f5
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.004767e0
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 0x477db4
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.004767e0
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 0x477db4
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 0x479281
lea ecx, [esp + 0x1a8]
mov dword [esp], ecx
lea ecx, [0x55d6e2]
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, [0x55c26b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0044cf40
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp eax, 3
jb 0x479275
mov eax, dword [esp + 0xd0]
lea ecx, [eax + 3]
mov edx, dword [esp + 0xcc]
cmp edx, ecx
jb 0x4791f5
mov esi, dword [esp + 0x1e4]
jmp 0x479247
mov dword [esp + 0xac], ecx
mov dword [esp + 0x1c8], ebx
lea ebx, [0x547680]
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.00447650
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 0x477db4
mov ecx, 3
mov edx, eax
call fcn.0045f4f0
mov ecx, 0x14
call fcn.0045f530
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 0x47916d
mov dword [esp + 0x44], 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 + 0x44]
lea eax, [edx - 1]
cmp eax, 0x14
jb 0x47928b
mov ecx, 0x14
call fcn.0045f4d0
call fcn.0045f4d0
mov edx, dword [esp + 0xd0]
lea ebx, [eax + edx]
mov dword [esp + 0xdc], ebx
mov ebp, dword [esp + 0xcc]
cmp ebp, ebx
jb 0x47939e
mov esi, dword [esp + 0x1e4]
jmp 0x4793e8
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x68], eax
lea eax, [0x547680]
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.00447650
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.0045fd70
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 0x477db4
call fcn.0045f4d0
cmp eax, 0x14
ja 0x47949b
lea ecx, [esp + 0x188]
mov dword [esp], ecx
lea ecx, [0x55d6e2]
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, [0x55c26b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0044cf40
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x479379
mov ecx, 0x14
call fcn.0045f530
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 0x479439
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], 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 + 0x40]
lea eax, [esi - 1]
cmp eax, 0x14
jb 0x4794a5
mov ecx, 0x14
call fcn.0045f4d0
cmp edx, 0x14
ja 0x47970f
lea eax, [esp + 0x168]
mov dword [esp], eax
lea eax, [0x55cfd0]
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, [0x55c26b]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.0044cf40
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 0x479703
mov ebx, dword [esp + 0xd0]
lea edi, [ebx + 3]
mov eax, dword [esp + 0xcc]
cmp eax, edi
jb 0x47964e
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xe8]
jmp 0x4796b6
mov dword [esp + 0x98], edi
mov dword [esp + 0x1d0], esi
lea ecx, [0x547680]
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.00447650
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 0x477db4
mov ecx, 3
mov edx, ebx
call fcn.0045f4f0
mov eax, edx
mov ecx, 0x14
call fcn.0045f530
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 0x479815
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], 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 + 0x4c]
lea ebp, [ebx - 1]
cmp ebp, 0x14
jb 0x47971b
jmp 0x47982e
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov edx, esi
jmp 0x47959b
mov eax, ebp
mov ecx, 0x14
call fcn.0045f4d0
mov eax, esi
mov ecx, edi
call fcn.0045f4d0
lea edi, [ebp + ebx]
mov dword [esp + 0xdc], edi
mov eax, dword [esp + 0xcc]
cmp eax, edi
jb 0x479877
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xe0]
jmp 0x4798ca
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x2c], ebp
lea ecx, [0x547680]
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.00447650
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.0045fd70
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 0x477db4
mov eax, ebp
mov ecx, esi
call fcn.0045f4d0
cmp ecx, 0x14
ja 0x479998
lea eax, [esp + 0x148]
mov dword [esp], eax
lea eax, [0x55cfd0]
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, [0x55c26b]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.0044cf40
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 0x479843
mov eax, ecx
mov ecx, 0x14
call fcn.0045f530
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 0x479ac1
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], 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 + 0x48]
lea eax, [ebp - 1]
cmp eax, 0x14
jb 0x4799a4
jmp 0x479adf
mov eax, ecx
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0x1e4]
mov ecx, esi
jmp 0x479920
mov ecx, 0x14
call fcn.0045f4d0
nop
call fcn.0045e080
jmp fcn.00477cc0