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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov esi, dword [eax]
push esi
call fcn.00483ffa
mov dword [esp + 0x50], eax
inc eax
add esp, 4
cmp eax, 8
jb 0x4a0754
xor ecx, ecx
mov dword [esp + 0x50], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481eb8
mov ecx, dword [esp + 0x50]
add esp, 4
lea edx, [ecx + ecx + 2]
push edx
push esi
push eax
mov dword [esp + 0x54], eax
call fcn.00482590
add esp, 0xc
push 4
call fcn.00481eb8
add esp, 4
test eax, eax
je 0x4a075e
mov dword [eax], 1
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x164], 0
mov dword [esp + 0x54], eax
je 0x4a085c
cmp dword [eax], 1
jg 0x4a0765
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call dword [fcn.0047d5ec]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x160]
test esi, esi
jne 0x4a07f2
mov esi, dword [eax + 0x158]
test esi, esi
je 0x4a085c
mov dword [esp + 0x24], esi
lea ebx, [ebx]
mov edx, dword [esi + 4]
cmp edx, dword [esp + 0x4c]
jne 0x47a983
test edx, edx
jbe 0x479b6b
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
jmp 0x479b50
mov si, word [eax]
cmp si, word [ecx]
jne 0x47a97f
add eax, 2
add ecx, 2
sub edx, 1
jne 0x479b50
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
add dword [eax], 0xffffffff
jne 0x479b8e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00482579
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call fcn.00482579
add esp, 4
test esi, esi
je 0x4a0865
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [edi]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + eax*4]
movsx ecx, word [edx + 0xa]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 0x16c]
inc eax
mov dword [edi], eax
mov esi, dword [ebx + 4]
mov dword [esp + 0xc4], ecx
xor ecx, ecx
mov edx, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov esi, dword [esi + eax*4]
cmp word [esi + 8], 0x47
mov dword [esp + 0x48], 0x482174
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
jne 0x4a07c0
inc eax
mov dword [esp + 0x1c], ecx
xor esi, esi
mov dword [esp + 0x5c], eax
mov dword [edi], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + eax*4]
movsx ecx, word [ecx + 8]
cmp ecx, 0x47
jge 0x479c26
inc eax
jmp 0x479c12
sub ecx, 0x47
je 0x4a08c3
sub ecx, edx
jne 0x4a0899
test esi, esi
jne 0x4a08bc
lea ecx, [eax + 1]
mov dword [edi], ecx
mov ecx, dword [esp + 0x68]
cmp ecx, dword [0x4a043c]
mov dword [esp + 0x2c], eax
jg 0x4a08c9
cmp ecx, esi
jle 0x4a08c9
shl ecx, 4
add ecx, dword [0x4a0470]
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x44], esi
mov dword [esp + 0x6c], esi
jle 0x47a9f9
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], 3
jmp 0x479c9d
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x5c], eax
jae 0x47a9f9
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 4]
inc dword [esp + 0x6c]
lea eax, [eax + ebx*4]
mov ebx, dword [eax]
cmp word [ebx + 8], 0
je 0x4a08d2
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, ebx
jne 0x4a0a0a
cmp edx, 8
je 0x4a0a1d
cmp edx, 0xa
je 0x4a0a42
cmp edx, 5
je 0x4a0a59
cmp edx, 0xb
je 0x4a0a67
cmp edx, 0xc
je 0x4a0a89
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], ebx
cmp esi, eax
je 0x47a997
push 0x10
call fcn.00481eb8
add esp, 4
test eax, eax
je 0x4a0c8d
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
cmp eax, 1
jne 0x4a0aa0
mov edx, dword [esp + 0x30]
mov dword [ebx], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 8]
mov dword [eax + esi*4], ebx
mov eax, dword [eax + esi*4]
mov ebx, dword [esp + 0x2c]
inc esi
push ebx
push eax
lea eax, [esp + 0x64]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x60], esi
call fcn.00478e70
test eax, eax
jne 0x4a2406
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax*4 + 4]
inc eax
cmp word [edx + 8], 0x41
je 0x4a0c94
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x5c]
cmp edx, ebx
je 0x479de6
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edx*4]
cmp word [ecx + 8], 0x40
jne 0x4a0cdb
lea ecx, [edx + 1]
cmp ecx, ebx
je 0x4a0cdb
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax*4]
cmp word [edx + 8], 0x40
jne 0x479dd7
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x44]
jl 0x479c91
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
cmp edx, dword [esp + 0x74]
jl 0x4a23f9
cmp edx, dword [esp + 0x44]
jg 0x4a23f9
cmp dword [esp + 0x5c], eax
jne 0x4a23f9
xor eax, eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
cmp byte [0x4a042d], al
jne 0x4a0cf0
push 8
call fcn.00481eb8
add esp, 4
test eax, eax
je 0x4a0d04
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov ecx, dword [0x4a0428]
test ecx, ecx
jne 0x4a0d0b
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x6c]
mov dword [0x4a0428], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
inc dword [0x4a0424]
cmp ecx, eax
jne 0x4a0d13
mov ecx, 1
cmp dword [esp + 0x44], ecx
jl 0x47a313
mov dword [esp + 0x18], ecx
xor edi, edi
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov word [esp + 0x9a], cx
mov ecx, dword [edx + 4]
or eax, 0xffffffff
mov dword [esp + 0x78], 0x480130
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x74], edi
mov ebx, dword [ecx + esi*4]
lea edx, [ecx + esi*4]
mov word [esp + 0x98], ax
xor eax, eax
mov dword [esp + 0x20], eax
cmp word [ebx + 8], di
je 0x4a0d6e
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x6c]
jg 0x4a0df1
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + ebx*4]
or eax, 0x200
mov ebx, eax
lea eax, [esi*4]
mov dword [esp + 0x70], eax
mov eax, dword [eax + ecx]
mov ecx, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
cmp dword [0x4a0424], edi
je 0x4a0eb6
cmp byte [0x4a042d], 0
jne 0x4a0ecf
mov esi, dword [0x4a0428]
mov dword [esp + 0x2c], esi
cmp dword [esi], edi
je 0x47a020
test byte [0x4a0904], 1
mov byte [esp + 0xf], 0
je 0x4a0edc
mov eax, 0x4a08e4
mov dword [0x4a0900], edi
mov dword [0x4a08fc], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [esi]
cmp eax, edi
je 0x4a0eff
mov edx, dword [ecx + 4]
cmp edx, edi
je 0x4a0f58
cmp eax, edx
jb 0x4a0f78
cmp eax, edi
jbe 0x4a0f69
mov ecx, dword [ecx]
mov edx, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
lea ecx, [ecx]
mov si, word [eax]
cmp si, word [ecx]
jne 0x479fb8
add eax, 2
add ecx, 2
sub edx, 1
jne 0x479fa0
jmp 0x4a0f65
mov dx, si
mov esi, dword [esp + 0x2c]
cmp dx, word [ecx]
jb 0x4a0f70
mov eax, 1
cmp eax, edi
jl 0x4a0f08
jle 0x4a0fd1
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
cmp eax, edi
jne 0x4a0f8a
cmp byte [esp + 0xf], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x64]
mov dword [edx + 0x1c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x18], ecx
mov eax, dword [esi]
mov ecx, dword [0x4a0900]
mov dword [eax + 0x18], ecx
mov edx, dword [esi]
mov eax, dword [0x4a08fc]
mov dword [edx + 0x1c], eax
jne 0x4a0fdb
and ebx, 0xff00
push 0x20
mov dword [esp + 0x20], ebx
call fcn.00481eb8
add esp, 4
cmp eax, edi
je 0x4a1000
mov esi, eax
xor ecx, ecx
mov eax, 8
mov dword [esi + 8], eax
mov edx, 2
mul edx
seto cl
mov dword [esi + 4], edi
neg ecx
or ecx, eax
push ecx
call fcn.00481eb8
add esp, 4
xor ecx, ecx
mov dword [esi], eax
push 4
mov word [eax], cx
call fcn.00481eb8
add esp, 4
cmp eax, edi
je 0x4a0ff9
mov dword [eax], 1
mov dword [esi + 0xc], eax
mov ebx, esi
mov eax, dword [esp + 0x20]
cmp ebx, eax
je 0x47a0c6
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 4], ecx
cmp dword [eax], 1
jg 0x4a1007
lea eax, [ecx + 1]
cmp dword [ebx + 8], eax
jb 0x4a103f
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
lea eax, [edx + edx + 2]
mov edx, dword [ecx]
push eax
mov eax, dword [ebx]
push edx
push eax
call fcn.00482590
add esp, 0xc
mov ecx, dword [esp + 0x1c]
push 0x10
mov dword [ebx + 0x10], ecx
call fcn.00481eb8
add esp, 4
cmp eax, edi
je 0x4a1220
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
dec eax
mov dword [esp + 0x1c], esi
mov dword [esi + 0xc], edi
cmp eax, 0xb
ja 0x47a133
jmp dword [eax*4 + 0x40ae7c]
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], edi
mov esi, dword [eax]
cmp esi, edi
je 0x47a9ee
test byte [0x4a0904], 1
je 0x4a1227
mov dword [0x4a0900], edi
mov dword [0x4a08fc], edi
mov dword [esp + 0x20], 0x4a08e4
mov dword [esp + 0x64], 0x4a08e4
lea esp, [esp]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4a124a
mov edx, dword [esi + 4]
cmp edx, edi
je 0x4a12b1
cmp eax, edx
jb 0x4a12d1
cmp eax, edi
jbe 0x4a12c0
mov ecx, dword [esi]
mov edx, eax
mov eax, dword [ebx]
lea esp, [esp]
mov di, word [eax]
cmp di, word [ecx]
jne 0x47a1c8
add eax, 2
add ecx, 2
sub edx, 1
jne 0x47a1b0
jmp 0x4a12be
mov ax, word [eax]
xor edi, edi
cmp ax, word [ecx]
jb 0x4a12c7
mov eax, 1
cmp eax, edi
jl 0x4a1253
jle 0x47a1f6
lea eax, [esi + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
cmp eax, edi
jne 0x4a12df
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x64]
mov dword [edx + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x18], eax
mov edx, dword [0x4a0900]
mov dword [esi + 0x18], edx
mov eax, dword [0x4a08fc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4a132a
mov edx, dword [esi + 4]
cmp edx, edi
je 0x4a1344
cmp eax, edx
jb 0x4a1364
cmp eax, edi
jbe 0x4a1353
mov ecx, dword [esi]
mov edx, eax
mov eax, dword [ebx]
mov di, word [eax]
cmp di, word [ecx]
jne 0x47a25f
add eax, 2
add ecx, 2
sub edx, 1
jne 0x47a247
jmp 0x4a1351
mov dx, word [eax]
cmp dx, word [ecx]
jb 0x4a135a
mov eax, 1
xor edi, edi
cmp eax, edi
jl 0x4a1333
jle 0x4a1372
mov ecx, dword [0x4a08fc]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x18], esi
mov dword [esi + 0x1c], edi
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax + 4]
cmp word [edx + 8], 0x41
je 0x4a1379
add dword [esp + 0x14], 2
mov ax, word [esp + 0x98]
inc dword [esp + 0x24]
cmp ax, 0x30
jge 0x4a13ad
mov dword [esp + 0x78], 0x480130
cmp dword [esp + 0x80], edi
ja 0x4a13d1
mov ecx, dword [esp + 0x7c]
push ecx
mov dword [esp + 0x84], edi
call fcn.00482579
mov eax, dword [esp + 0x1c]
inc eax
add esp, 4
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
jle 0x479e85
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
xor eax, eax
lea ecx, [eax + 1]
lea ebx, [edi + 0x14c]
mov dword [edi + 0x16c], edx
cmp byte [ebx + 9], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x70], ebx
jne 0x4a1431
push 0x30
call fcn.00481eb8
xor edx, edx
add esp, 4
cmp eax, edx
je 0x4a1478
mov dword [eax + 8], 1
mov dword [eax + 0xc], edx
mov dword [eax], edx
mov byte [eax + 0x10], dl
mov dword [eax + 0x14], edx
mov byte [eax + 0x18], dl
mov dword [eax + 0x1c], edx
mov byte [eax + 0x20], dl
mov ecx, dword [ebx + 4]
cmp ecx, edx
je 0x4a147f
mov dword [eax + 0x28], ecx
mov dword [ebx + 4], eax
inc dword [ebx]
mov eax, dword [edi + 0x190]
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x94]
lea esi, [edi + 0x190]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x8c]
inc ecx
cmp eax, 0x1268
mov dword [esp + 0x28], edx
mov dword [esp + 0x64], ecx
jge 0x4a1487
inc eax
mov dword [esp + 0x24], esi
mov dword [edi + 0x8c], eax
cmp eax, 1
je 0x4a14a0
cmp byte [edi + 0x9c], 0
mov byte [edi + 0x168], 0
jne 0x47a3ed
jmp 0x47a3e0
cmp byte [edi + 0x168], 0
je 0x47a822
mov eax, dword [edi + 0x8c]
mov byte [edi + 0x168], 0
cmp eax, 1
je 0x4a1dfc
dec eax
mov dword [edi + 0x8c], eax
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp eax, dword [esi]
jb 0x4a1de8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov dword [edx + 0x94], eax
cmp byte [ebx + 9], 0
jne 0x4a1e88
mov eax, dword [ebx + 4]
cmp byte [eax + 0x10], 0
je 0x4a20c8
cmp byte [ebx + 9], 0
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
jne 0x4a1e93
mov edi, dword [ebx + 4]
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x47a4e4
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4a1e9e
mov eax, dword [esi + 8]
cmp eax, 8
je 0x4a1eb0
cmp eax, 0xa
je 0x4a1ed1
cmp eax, 5
je 0x4a1ee6
cmp eax, 0xb
je 0x4a1ef2
cmp eax, 0xc
je 0x4a1f10
mov dword [esi + 8], 1
mov dword [esi], 0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
cmp eax, 4
jne 0x4a1f25
push 0x10
call fcn.00481eb8
add esp, 4
test eax, eax
je 0x4a20c1
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
inc dword [ecx]
mov dword [esi + 0xc], eax
cmp byte [ebx + 9], 0
jne 0x4a20e8
mov eax, dword [ebx + 4]
cmp byte [eax + 0x18], 0
jne 0x4a20f3
cmp byte [ebx + 9], 0
mov eax, dword [ebx + 4]
jne 0x4a2109
cmp byte [eax + 0x20], 0
jne 0x4a2111
cmp byte [ebx + 9], 0
jne 0x4a2127
cmp byte [ebx + 8], 0
jne 0x4a2147
mov esi, dword [ebx + 4]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x68], edx
test esi, esi
je 0x47a5a2
mov edi, dword [esi + 0xc]
test edi, edi
je 0x47a55c
mov eax, dword [edi + 0xc]
dec dword [eax]
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x4a2150
push edi
call fcn.00482579
add esp, 4
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
cmp eax, 8
je 0x4a216c
cmp eax, 0xa
je 0x4a218d
cmp eax, 5
je 0x4a21a2
cmp eax, 0xb
je 0x4a21ae
cmp eax, 0xc
je 0x4a21cc
push esi
mov dword [esi + 8], 1
mov dword [esi], 0
call fcn.00482579
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [ebx + 4], ecx
mov byte [ebx + 9], 0
dec dword [ebx]
cmp byte [ebx + 9], 0
jne 0x4a21e1
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xfc]
mov dword [eax + 0x14], ecx
cmp byte [ebx + 9], 0
jne 0x4a21ec
mov eax, dword [ebx + 4]
mov byte [eax + 0x18], 0
cmp byte [ebx + 9], 0
mov eax, dword [ebx + 4]
jne 0x4a21f7
mov ecx, dword [esp + 0x104]
mov dword [eax + 0x1c], ecx
cmp byte [ebx + 9], 0
jne 0x4a21ff
mov ebx, dword [ebx + 4]
mov byte [ebx + 0x20], 0
cmp byte [0x4a042d], 0
jne 0x4a220a
mov ecx, dword [0x4a0428]
cmp byte [0x4a042c], 0
jne 0x4a222c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, ecx
test esi, esi
je 0x47a6fe
mov eax, dword [esi + 0x18]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], edi
test eax, eax
je 0x47a643
push eax
call fcn.004786f0
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4a2238
cmp byte [esi + 0x10], 0
jne 0x47a6cd
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x47a6cd
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x47a683
mov eax, dword [edi + 0xc]
dec dword [eax]
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x4a2245
push edi
call fcn.00482579
add esp, 4
mov dword [ebx + 0xc], 0
mov eax, dword [ebx + 8]
cmp eax, 8
je 0x4a2261
cmp eax, 0xa
je 0x4a2282
cmp eax, 5
je 0x4a2297
cmp eax, 0xb
je 0x4a22a3
cmp eax, 0xc
je 0x4a22c1
push ebx
mov dword [ebx + 8], 1
mov dword [ebx], 0
call fcn.00482579
mov edi, dword [esp + 0x6c]
add esp, 4
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
jne 0x47a6f1
mov edx, dword [esi]
push edx
call fcn.00482579
mov eax, dword [esi + 0xc]
add esp, 4
push eax
call fcn.00482579
add esp, 4
push esi
call fcn.00482579
mov ebx, dword [esp + 0x74]
add esp, 4
push edi
call fcn.00482579
add esp, 4
mov dword [0x4a0428], ebx
mov byte [0x4a042d], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x10]
mov esi, 1
sub dword [0x4a0424], esi
xor ebx, ebx
mov dword [edx + 0x16c], ecx
cmp eax, ebx
jne 0x4a22d6
mov eax, dword [esp + 0x38]
cmp eax, 8
je 0x4a22e5
cmp eax, 0xa
je 0x4a230a
cmp eax, 5
je 0x4a2321
cmp eax, 0xb
je 0x4a232f
cmp eax, 0xc
je 0x4a2351
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x50], ebx
jbe 0x47a801
mov ecx, dword [esp + 0x4c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x47a7fa
mov edi, dword [esi + 0xc]
test edi, edi
je 0x47a7b4
mov eax, dword [edi + 0xc]
dec dword [eax]
mov edx, dword [edi + 0xc]
cmp dword [edx], 0
je 0x4a2368
push edi
call fcn.00482579
add esp, 4
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
cmp eax, 8
je 0x4a2384
cmp eax, 0xa
je 0x4a23a5
cmp eax, 5
je 0x4a23ba
cmp eax, 0xb
je 0x4a23c6
cmp eax, 0xc
je 0x4a23e4
push esi
mov dword [esi + 8], 1
mov dword [esi], 0
call fcn.00482579
add esp, 4
inc ebx
cmp ebx, dword [esp + 0x50]
jb 0x47a781
mov eax, dword [esp + 0x4c]
push eax
call fcn.00482579
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [0x48e8c9], 0
jne 0x47a872
cmp byte [0x49f348], 0
jne 0x4a14e1
mov esi, dword [0x47d534]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0xb0]
push ecx
call esi
test eax, eax
jne 0x47aa02
cmp byte [0x48e8ca], 1
je 0x4a1509
cmp dword [edi + 0x98], 1
je 0x4a1dda
cmp dword [0x49f41c], 0
jne 0x4a1526
cmp byte [0x48e8d0], 1
je 0x4a15da
cmp byte [edi + 0x3bc], 0
jne 0x4a15f4
cmp byte [0x49f31c], 0
jne 0x4a1680
push edi
call fcn.0047b120
cmp al, 1
je 0x47a96d
cmp byte [0x49faf8], 0
jne 0x4a18e5
mov eax, dword [edi + 0x98]
cmp eax, 7
je 0x4a1976
cmp eax, 8
je 0x4a19dc
cmp eax, 9
je 0x4a19dc
cmp eax, 2
je 0x4a1b5a
cmp eax, 3
je 0x4a1b5a
cmp eax, 4
je 0x4a1b5a
cmp eax, 5
je 0x4a1b5a
cmp eax, 6
je 0x4a1b5a
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x94], ecx
mov eax, ecx
inc ecx
cmp eax, dword [0x4a043c]
mov dword [esp + 0x64], ecx
jg 0x4a1c55
test eax, eax
jle 0x4a1c55
shl eax, 4
add eax, dword [0x4a0470]
test eax, eax
je 0x4a1c55
mov esi, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
mov edx, dword [ecx]
movsx eax, word [edx + 8]
test eax, eax
jne 0x4a1c64
lea eax, [esp + 0x64]
push eax
push esi
mov eax, edi
call fcn.00478800
cmp byte [edi + 0x9c], 0
je 0x47a3e0
jmp 0x47a3ed
mov esi, dword [esp + 0x24]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x479b30
jmp 0x4a085c
add eax, eax
cmp eax, 4
jae 0x47a9a3
mov eax, 4
xor ecx, ecx
mov dword [esp + 0x54], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481eb8
mov ecx, dword [esp + 0x50]
mov ebx, eax
add esp, 4
lea eax, [esi*4]
push eax
push ecx
push ebx
call fcn.00482590
mov edx, dword [esp + 0x58]
add esp, 0xc
push edx
call fcn.00482579
add esp, 4
mov dword [esp + 0x4c], ebx
jmp 0x479d19
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], edi
jmp 0x47a293
mov edi, dword [esp + 0x10]
jmp 0x479dea
cmp dword [esp + 0xa4], 0x12
je 0x4a14f3
lea edx, [esp + 0xa0]
push edx
mov ecx, 0x49f310
call fcn.0047dd50
test eax, eax
jne 0x47aa60
lea eax, [esp + 0xa0]
push eax
mov ebx, 0x49f310
call fcn.0047dd70
test eax, eax
jne 0x47aa58
lea ecx, [esp + 0xa0]
push ecx
call dword [0x47d6f4]
lea edx, [esp + 0xa0]
push edx
call dword [0x47d6ec]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x70]
push 1
push 0
push 0
push 0
lea eax, [esp + 0xb0]
push eax
call esi
test eax, eax
je 0x47a858
jmp 0x47aa02
mov eax, 8
jmp 0x479a8c
xor eax, eax
jmp 0x479ad8
mov eax, dword [esp + 0x54]
dec dword [eax]
lea esi, [esp + 0x48]
call fcn.0047f790
mov edx, dword [esp + 0x4c]
inc edx
push edx
call fcn.004a703a
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x50], esi
neg ecx
or ecx, eax
push ecx
call fcn.00481eb8
mov edx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x50]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edx
push esi
call fcn.00482590
add esp, 0xc
mov dword [esp + 0x48], esi
jmp 0x479af6
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
push edx
push 0x6f
push eax
jmp 0x4a2401
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edx + eax*4]
movsx edx, word [ecx + 0xa]
mov eax, dword [esp + 0x10]
push edx
push 0xb0
push eax
jmp 0x4a2401
mov eax, dword [eax + 0x164]
sub eax, 1
js 0x4a085c
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + eax*4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
call fcn.00477af0
test eax, eax
jge 0x4a0843
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x44], eax
jmp 0x4a0852
jle 0x4a087a
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x18], edx
jle 0x4a080d
lea ecx, [esp + 0x48]
call fcn.0047bff0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
push edx
push edi
push ebx
push eax
call 0x4db373
jmp 0x47a810
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x18], eax
jg 0x4a085c
mov ecx, dword [esp + 0x24]
mov esi, dword [esi + ecx*4]
lea ecx, [esp + 0x48]
call fcn.0047bff0
jmp 0x479b8e
sub ecx, 0x37
jne 0x479c23
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edx*4 - 4]
movsx edx, word [ecx + 0xa]
mov eax, dword [esp + 0x10]
push edx
push 0x6f
push eax
jmp 0x4a2401
dec esi
inc eax
jmp 0x479c12
inc esi
jmp 0x479c23
mov dword [esp + 0x60], esi
jmp 0x479c6d
xor cl, cl
mov dword [esp + 0x20], 0
mov ebx, dword [eax]
mov ebx, dword [ebx]
cmp ebx, 0x23
jne 0x4a08f0
mov cl, 1
jmp 0x4a0901
cmp ebx, 0x1e
jne 0x4a0c9c
mov dword [esp + 0x20], 0x100
mov ebx, dword [eax + 4]
inc dword [esp + 0x14]
add eax, 4
cmp word [ebx + 8], 0
je 0x4a08dc
test cl, cl
je 0x479cc6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x5c]
mov edx, dword [edx + eax*4]
cmp word [edx + 8], 0x33
jne 0x4a0ca8
mov ebx, dword [edx]
lea eax, [esp + 0x24]
push eax
xor ecx, ecx
lea edi, [esp + 0x20]
call fcn.0047e420
test al, al
je 0x4a0cbd
test dword [esp + 0x1c], 0x100
je 0x4a0968
test dword [esp + 0x20], 0x100
je 0x4a07d1
mov ecx, dword [esp + 0x24]
mov edi, 1
add dword [esp + 0x5c], edi
add dword [esp + 0x14], edi
cmp dword [ecx + 8], 5
jne 0x4a09d1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x5c]
mov edx, dword [edx + eax*4]
cmp word [edx + 8], 0x4e
jne 0x4a09d1
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x28]
push eax
push edx
lea eax, [esp + 0x68]
call fcn.0047be10
test eax, eax
je 0x4a09d1
lea esi, [esp + 0x30]
call fcn.0047b920
lea ecx, [esp + 0x48]
call fcn.004819c0
mov eax, edi
jmp 0x47a810
lea esi, [esp + 0x30]
call fcn.0047b920
mov eax, dword [esp + 0x24]
push esi
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x40], 6
mov dword [esp + 0x38], eax
call 0x4dbcb7
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
jmp 0x479d96
push eax
call 0x4b71c6
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
jmp 0x479cd4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x479d01
push eax
call dword [0x47d42c]
mov eax, dword [esp + 0x30]
push eax
call fcn.00482579
add esp, 4
jmp 0x479d01
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x479d01
push eax
call 0x4b4eb1
jmp 0x479d01
lea eax, [esp + 0x30]
call fcn.0047f550
jmp 0x479d01
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
push edx
call fcn.00482579
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.00482579
add esp, 4
jmp 0x479d01
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x479d01
push eax
call 0x4c411a
jmp 0x479d01
dec eax
cmp eax, 0xb
ja 0x4a0b57
jmp dword [eax*4 + 0x432824]
mov esi, dword [esp + 0x50]
jmp 0x479d4a
xor ebx, ebx
jmp 0x479d4a
add eax, 2
jmp 0x479d92
push 0xffffffffffffffff
push 0x91
jmp 0x4a2400
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
movsx eax, word [edx + 0xa]
push eax
push 0x91
jmp 0x4a2400
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edx + eax*4]
movsx edx, word [ecx + 0xa]
mov eax, dword [esp + 0x10]
push edx
push 0x79
push eax
jmp 0x4a2401
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx*4]
movsx edx, word [ecx + 0xa]
push edx
push 0x6f
jmp 0x4a2400
mov ecx, dword [0x4a0428]
mov dword [ecx], eax
mov byte [0x4a042d], 0
jmp 0x479e5e
xor eax, eax
jmp 0x479e42
mov dword [eax + 4], ecx
jmp 0x479e53
mov esi, ecx
mov ecx, dword [ecx + 0x18]
cmp ecx, eax
je 0x4a0d2c
push ecx
lea ecx, [esp + 0x1c]
call fcn.004786f0
xor eax, eax
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
je 0x4a0d41
push ecx
lea ecx, [esp + 0x1c]
call fcn.004786f0
cmp byte [esi + 0x10], 0
jne 0x4a0d5d
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a0d5d
push 1
call fcn.0047f4b0
push esi
call 0x4b71c6
mov edx, dword [esp + 0x6c]
xor eax, eax
jmp 0x479e70
mov byte [esp + 0xf], 0
mov ebx, dword [edx]
mov ebx, dword [ebx]
cmp ebx, 0x23
jne 0x4a0d8a
mov byte [esp + 0xf], 1
jmp 0x4a0d9f
cmp ebx, 0x1e
jne 0x4a0da3
mov dword [esp + 0x20], 0x100
mov eax, dword [esp + 0x20]
inc esi
add edx, 4
mov ebx, dword [edx]
cmp word [ebx + 8], di
je 0x4a0d73
cmp byte [esp + 0xf], 0
mov dword [esp + 0x14], esi
je 0x479ed9
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov edx, dword [edx + ebx*4]
mov ecx, dword [ecx + esi*4]
or eax, 0x200
push eax
push edx
call fcn.004a6827
push eax
mov eax, dword [ecx]
push eax
call 0x4c7b8a
test al, al
je 0x4a13f7
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x47a2b4
lea ebx, [esp + 0x78]
call fcn.0047e4a0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], 0
mov esi, dword [ecx + esi*4 + 8]
movzx eax, word [esi + 8]
cmp ax, 0x4a
je 0x4a0e2b
cmp ax, 0x49
je 0x4a0e2b
push esi
jmp 0x4a0e45
push esi
lea edi, [esp + 0x7c]
call fcn.0047c940
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4 + 0xc]
push edx
lea edi, [esp + 0x7c]
call fcn.0047c940
mov edi, 0x7f
lea esi, [esp + 0x90]
call fcn.0047d110
push esi
lea edi, [esp + 0x7c]
call fcn.0047c940
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x7c]
push edx
push edi
call fcn.00478e70
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x20]
add eax, eax
add eax, eax
mov esi, dword [eax + edx]
mov edi, dword [esi]
mov dword [esp + 0x70], eax
or ecx, 0x200
mov eax, 1
lea edx, [esp + 0x30]
call fcn.0047e050
xor edi, edi
jmp 0x47a295
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push ebx
push edx
mov esi, 0x4a0420
call fcn.00477bc0
jmp 0x47a295
mov eax, dword [0x4a0428]
mov esi, dword [eax + 4]
jmp 0x479f30
or dword [0x4a0904], 1
push 0x4a08e4
call 0x4bb746
push 0x42978f
call fcn.004846a4
add esp, 4
jmp 0x479f4e
cmp dword [ecx + 4], edi
je 0x479f78
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
cmp ecx, edi
je 0x479fe8
mov eax, dword [esp + 0x20]
call fcn.00477940
test al, al
je 0x4a0f43
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x18], edx
mov ecx, dword [esi]
mov dword [eax + 0x1c], ecx
mov dword [esi], eax
cmp dword [eax + 0x18], edi
je 0x479fe8
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
mov dword [esi], ecx
jmp 0x479f63
cmp eax, edi
jne 0x479fdb
jmp 0x479f83
mov esi, dword [esp + 0x2c]
xor eax, eax
jmp 0x479fcd
or eax, 0xffffffff
jmp 0x479fcd
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov eax, dword [eax]
call fcn.00477800
jmp 0x479fcd
mov ecx, dword [esp + 0x20]
call fcn.00477940
test al, al
je 0x4a0fb8
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
mov edx, dword [esi]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x1c], ecx
mov edx, dword [esi]
mov dword [eax + 0x18], edx
mov dword [esi], eax
cmp dword [eax + 0x1c], edi
je 0x479fe8
mov eax, dword [esi]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esi], edx
jmp 0x479f67
mov byte [esp + 0xf], 1
jmp 0x479fe8
mov esi, dword [esi]
cmp esi, edi
je 0x47a020
mov ecx, dword [esp + 0x28]
mov ebx, dword [esi + 0x14]
push ecx
call fcn.00477e90
xor edi, edi
jmp 0x47a295
xor eax, eax
jmp 0x47a081
xor ebx, ebx
jmp 0x47a086
dec dword [eax]
mov esi, ebx
call fcn.0047f790
mov edx, dword [ebx + 4]
inc edx
push edx
call fcn.004a703a
xor ecx, ecx
mov dword [ebx + 8], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481eb8
add esp, 4
mov dword [ebx], eax
xor edi, edi
jmp 0x47a0ac
push eax
mov esi, ecx
call fcn.004a703a
mov dword [ebx + 8], eax
mov eax, dword [ebx]
cmp eax, edi
je 0x4a105d
push eax
call fcn.00482579
add esp, 4
mov eax, dword [ebx + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481eb8
xor ecx, ecx
mov dword [ebx], eax
add esp, 4
mov word [eax + esi*2], cx
xor edi, edi
jmp 0x47a0ac
xor ecx, ecx
jmp 0x47a139
or dword [0x4a0904], 1
push 0x4a08e4
call 0x4bb746
push 0x42978f
call fcn.004846a4
add esp, 4
jmp 0x47a15d
cmp dword [esi + 4], edi
je 0x47a18b
lea eax, [esi + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
cmp eax, edi
je 0x47a1f6
mov dword [esp + 0x28], eax
mov ecx, eax
mov eax, ebx
call fcn.00477940
test al, al
je 0x4a129b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
mov dword [eax + 0x1c], esi
mov esi, eax
cmp dword [eax + 0x18], edi
je 0x47a1f6
add eax, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x18], esi
mov dword [esp + 0x20], esi
mov esi, dword [ecx]
jmp 0x47a180
cmp eax, edi
jne 0x47a1e5
jmp 0x47a196
xor edi, edi
xor eax, eax
jmp 0x47a1db
mov eax, 0xffffffff
jmp 0x47a1db
mov ecx, dword [esi]
mov eax, dword [ebx]
call fcn.00477800
jmp 0x47a1db
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.00477940
test al, al
je 0x4a1314
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
mov dword [eax + 0x18], esi
mov esi, eax
cmp dword [eax + 0x1c], edi
je 0x47a1f6
add eax, 0x1c
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x1c], esi
mov dword [esp + 0x64], esi
mov esi, dword [eax]
jmp 0x47a180
cmp dword [esi + 4], edi
je 0x47a226
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov dword [esi + 0x18], edi
jmp 0x47a28f
cmp eax, edi
jne 0x47a280
jmp 0x47a231
xor edi, edi
xor eax, eax
jmp 0x47a272
or eax, 0xffffffff
xor edi, edi
jmp 0x47a272
mov ecx, dword [esi]
mov eax, dword [ebx]
call fcn.00477800
jmp 0x47a272
mov ebx, esi
jmp 0x47a28f
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4 + 8]
movzx eax, word [edx + 8]
cmp ax, 0x4a
je 0x4a13a3
cmp ax, 0x49
je 0x4a13a3
add dword [esp + 0x14], 4
jmp 0x47a2b4
add dword [esp + 0x14], 5
jmp 0x47a2b4
cmp ax, 0x3f
jg 0x47a2ca
mov eax, dword [esp + 0x90]
cmp eax, edi
je 0x47a2ca
push eax
call 0x4b71c6
jmp 0x47a2ca
xor esi, esi
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + esi*4]
cmp eax, edi
je 0x4a13e8
push eax
call 0x4bd0a7
inc esi
cmp esi, dword [esp + 0x80]
jb 0x4a13d3
jmp 0x47a2df
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
movsx eax, word [edx + 0xa]
mov ecx, dword [esp + 0x10]
push eax
push 0x79
push ecx
call 0x4c35d8
lea edx, [esp + 0x90]
push edx
call 0x4bb758
lea ecx, [esp + 0x78]
call fcn.00470ec0
jmp 0x4a2406
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf0], ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
mov byte [esp + 0x100], 0
mov byte [esp + 0x108], 0
mov byte [esp + 0x110], 0
call 0x4df156
mov byte [ebx + 9], 0
jmp 0x47a37b
xor eax, eax
jmp 0x47a36a
mov dword [eax + 0x28], edx
jmp 0x47a378
push 0xffffffffffffffff
push 0x9a
push edi
mov byte [0x48e8c8], 0
call 0x4c35d8
jmp 0x47a40e
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x74]
push edx
push edi
mov edi, 0x484a44
call fcn.004710a0
cmp al, 1
jne 0x4a14d8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
push 1
inc eax
push eax
call 0x4eb71e
mov edi, dword [esp + 0x10]
jmp 0x47a3c5
cmp dword [edi + 0x98], 0
je 0x47a872
jmp 0x47a838
mov byte [edi + 0x9c], 1
mov dword [edi + 0x98], 1
jmp 0x47a858
mov byte [0x48e8d0], 0
mov byte [0x48e8ca], 0
mov dword [edi + 0x98], 1
jmp 0x47a865
mov ecx, dword [0x49f420]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
call fcn.004a5f6f
mov eax, dword [edi + 0x1d4]
xor esi, esi
test eax, eax
jbe 0x4a156e
mov ecx, dword [edi + 0x1d0]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x4a1566
mov edx, dword [edx]
mov edx, dword [edx]
cmp edx, dword [esp + 0x18]
je 0x4a156e
inc esi
add ecx, 4
cmp esi, eax
jb 0x4a154d
cmp esi, eax
je 0x47a87f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edi + 0x1d0]
lea edx, [esp + 0x138]
push edx
mov edx, dword [ecx + esi*4]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx]
push edi
mov edi, dword [eax + 8]
call fcn.004710a0
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x1d0]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx]
inc dword [esp + 0x1c]
add eax, 0x18
push eax
lea esi, [edi + 0x170]
call fcn.0047ea30
mov ecx, dword [esp + 0x1c]
push 0
push 1
push ecx
push edi
call 0x4e9e71
jmp 0x47a96d
cmp byte [0x48e8c9], 0
jne 0x47a88c
push 0xa
call dword [fcn.0047d158]
jmp 0x47a96d
cmp byte [edi + 0x3bd], 1
je 0x47a899
call dword [0x47d758]
mov edx, dword [edi + 0x3c0]
mov ecx, eax
sub ecx, edx
cmp eax, edx
jae 0x4a161a
dec ecx
cmp ecx, dword [edi + 0x3c4]
jb 0x47a899
mov dword [edi + 0x3c0], eax
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x74]
push edx
push edi
mov edi, dword [edi + 0x3ac]
call fcn.004710a0
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x10]
push 0
inc eax
push 1
push eax
push edi
mov dword [esp + 0x78], eax
mov byte [edi + 0x3bd], 1
call 0x4e9e71
mov byte [edi + 0x3bd], 0
jmp 0x47a96d
cmp byte [edi + 0x3c8], 1
je 0x47a8a6
cmp byte [0x49f348], 1
je 0x47a8a6
lea eax, [esp + 0xa0]
push eax
call 0x4bb02e
lea ecx, [esp + 0xa0]
push ecx
push 0x49f310
call 0x4c673c
test al, al
je 0x4a18d0
lea edx, [esp + 0xa4]
push edx
call fcn.004a6fd7
test al, al
jne 0x4a16a7
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.004710a0
test al, al
je 0x4a16a7
xor eax, eax
mov edi, 1
lea esi, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.0047b920
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x80], edi
mov edi, 0x484a8c
lea esi, [esp + 0x13c]
mov dword [esp + 0x78], edx
call fcn.0047c890
mov eax, 2
lea ecx, [eax - 1]
lea edx, [esp + 0x78]
mov edi, esi
call fcn.0047e050
mov ecx, esi
call fcn.0047bff0
lea esi, [esp + 0x78]
call fcn.0047b920
mov eax, dword [esp + 0xb4]
mov edi, 0x484aa4
lea esi, [esp + 0x14c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x78], eax
call fcn.0047c890
mov eax, 2
lea ecx, [eax - 1]
lea edx, [esp + 0x78]
mov edi, esi
call fcn.0047e050
mov ecx, esi
call fcn.0047bff0
lea esi, [esp + 0x78]
call fcn.0047b920
mov ecx, dword [esp + 0xb8]
mov edi, 0x484ac4
lea esi, [esp + 0x15c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x78], ecx
call fcn.0047c890
mov eax, 2
lea ecx, [eax - 1]
lea edx, [esp + 0x78]
mov edi, esi
call fcn.0047e050
mov ecx, esi
call fcn.0047bff0
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
push 0
push 1
inc edx
push edx
push esi
mov byte [esi + 0x3c8], 1
call 0x4e9e71
mov byte [esi + 0x3c8], 0
lea esi, [esp + 0x78]
jmp 0x4a18b6
xor eax, eax
mov edi, 1
lea esi, [esp + 0x90]
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], eax
call fcn.0047b920
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x98], edi
mov edi, 0x484ae4
lea esi, [esp + 0x16c]
mov dword [esp + 0x90], edx
call fcn.0047c890
mov eax, 2
lea ecx, [eax - 1]
lea edx, [esp + 0x90]
mov edi, esi
call fcn.0047e050
mov ecx, esi
call fcn.0047bff0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x10]
push 0
push 1
inc eax
push eax
push esi
mov byte [esi + 0x3c9], 1
call 0x4e9e71
mov byte [esi + 0x3c9], 0
lea esi, [esp + 0x90]
call fcn.0047b920
lea ecx, [esp + 0xa4]
call fcn.0047bff0
mov edi, dword [esp + 0x10]
jmp 0x47a96d
lea ecx, [esp + 0xa4]
call fcn.0047bff0
mov edi, dword [esp + 0x10]
jmp 0x47a8a6
cmp byte [edi + 0x3c9], 1
je 0x47a8c1
lea eax, [esp + 0xa0]
push eax
call 0x4bb02e
lea ecx, [esp + 0xa0]
push ecx
push 0x49fa58
call 0x4bcb8d
test al, al
je 0x4a1961
lea edx, [esp + 0xa4]
push edx
call fcn.004a6fd7
test al, al
jne 0x4a18ff
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x6c]
push eax
push ecx
call fcn.004710a0
test al, al
je 0x4a18ff
jmp 0x4a1822
lea ecx, [esp + 0xa4]
call fcn.0047bff0
mov edi, dword [esp + 0x10]
jmp 0x47a8c1
mov ecx, dword [edi + 0x3a4]
push 0xa
push ecx
call dword [0x47d2d8]
mov dword [esp + 0x74], eax
cmp eax, 0x102
je 0x47a96d
mov eax, dword [edi + 0x3a4]
lea edx, [esp + 0x74]
push edx
push eax
call dword [0x47d234]
mov ecx, dword [edi + 0x3a4]
push ecx
call dword [0x47d2e8]
mov edx, dword [esp + 0x74]
push edx
jmp 0x4a19bf
push 0
mov eax, edi
call fcn.0047e310
mov byte [edi + 0x168], 1
mov dword [edi + 0x98], 0
jmp 0x47a96d
push 0xa
call dword [fcn.0047d158]
xor esi, esi
cmp dword [edi + 0x39c], esi
je 0x4a1a51
call dword [0x47d758]
mov ecx, dword [edi + 0x3a0]
cmp eax, ecx
jae 0x4a1a0e
sub eax, ecx
dec eax
jmp 0x4a1a10
sub eax, ecx
cmp eax, dword [edi + 0x39c]
jb 0x4a1a51
mov eax, dword [edi + 0x3a8]
cmp eax, esi
je 0x4a1a37
push eax
call dword [0x47d2e8]
mov dword [edi + 0x3a8], esi
push esi
mov eax, edi
call fcn.0047e310
mov byte [edi + 0x168], 1
mov dword [edi + 0x98], esi
jmp 0x47a96d
cmp dword [edi + 0x98], 8
mov eax, dword [edi + 0x38c]
lea ecx, [esp + 0xf]
push ecx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x17], 0
push eax
jne 0x4a1aff
call 0x4b4a28
add esp, 0xc
test al, al
jne 0x4a1a91
push 0xffffffffffffffff
push 0x88
push edi
call 0x4c35d8
cmp byte [esp + 0xf], 1
jne 0x47a96d
xor esi, esi
mov eax, dword [edi + 0x3a8]
mov dword [esp + 0x44], 0xcccccccc
cmp eax, esi
je 0x4a1ad3
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [0x47d234]
mov edx, dword [edi + 0x3a8]
push edx
call dword [0x47d2e8]
mov dword [edi + 0x3a8], esi
mov eax, dword [esp + 0x44]
push esi
push eax
mov eax, edi
call fcn.0047b8e0
mov ecx, dword [edi + 0x2f4]
push ecx
mov byte [edi + 0x168], 1
mov dword [edi + 0x98], esi
call dword [fcn.0047d158]
jmp 0x47a96d
call 0x4b4a28
add esp, 0xc
test al, al
jne 0x4a1b1c
push 0xffffffffffffffff
push 0x88
push edi
call 0x4c35d8
cmp dword [edi + 0x3a8], esi
jne 0x4a1b4a
cmp byte [esp + 0xf], 0
je 0x4a1a9e
mov eax, dword [esp + 0x6c]
push eax
push esi
push 0x400
call dword [0x47d178]
mov dword [edi + 0x3a8], eax
cmp byte [esp + 0xf], 0
jne 0x47a96d
jmp 0x4a1a9c
push 0xa
call dword [fcn.0047d158]
cmp dword [edi + 0x2f0], 0
je 0x4a1bab
call dword [0x47d758]
mov ecx, dword [edi + 0x2f8]
cmp eax, ecx
jae 0x4a1b8b
sub eax, ecx
dec eax
jmp 0x4a1b8d
sub eax, ecx
cmp eax, dword [edi + 0x2f0]
jb 0x4a1bab
cmp dword [edi + 0x98], 2
je 0x4a19c6
jmp 0x4a19bd
mov eax, dword [edi + 0x98]
add eax, 0xfffffffd
cmp eax, 3
ja 0x47a96d
jmp dword [eax*4 + 0x432854]
mov dword [edi + 0x98], 1
jmp 0x47a96d
dec eax
cmp eax, 0x7e
ja 0x4a1dc8
movzx eax, byte [eax + 0x43287c]
jmp dword [eax*4 + 0x432864]
movsx edx, word [edx + 0xa]
push edx
push 0x6a
push edi
call 0x4c35d8
jmp 0x47a96d
push 0
mov eax, edi
call fcn.0047e310
jmp 0x47a3ed
mov edi, esi
call fcn.0047c3f0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi]
jb 0x4a1de8
jmp 0x47a41a
mov eax, edi
call fcn.00481780
call fcn.00470c50
call fcn.00481760
cmp byte [edi + 0x9c], 1
je 0x47a40a
push edi
call fcn.00471060
push 0
call dword [0x47d6e8]
mov ecx, dword [0x48e908]
push ecx
call dword [0x47d5dc]
mov esi, dword [0x47d6e4]
push 0
push 0
push 0
lea edx, [esp + 0x188]
push edx
call esi
test eax, eax
jle 0x47a40a
lea eax, [esp + 0x17c]
push eax
call dword [0x47d6f4]
lea ecx, [esp + 0x17c]
push ecx
call dword [0x47d6ec]
push 0
push 0
push 0
lea edx, [esp + 0x188]
push edx
call esi
test eax, eax
jg 0x4a1e53
jmp 0x47a40a
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x28]
jmp 0x47a435
mov eax, dword [ebx + 4]
mov edi, dword [eax + 0x28]
jmp 0x47a452
push eax
call 0x4b71c6
mov dword [esi + 0xc], 0
jmp 0x47a468
mov ecx, dword [esi]
test ecx, ecx
je 0x47a474
push ecx
call dword [0x47d42c]
mov ecx, dword [esi]
push ecx
call fcn.00482579
add esp, 4
jmp 0x47a498
mov eax, dword [esi]
test eax, eax
je 0x47a498
push eax
call 0x4b4eb1
jmp 0x47a498
mov eax, esi
call fcn.0047f550
jmp 0x47a498
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call fcn.00482579
mov ecx, dword [esi]
add esp, 4
push ecx
call fcn.00482579
add esp, 4
jmp 0x47a498
mov eax, dword [esi]
test eax, eax
je 0x47a498
push eax
call 0x4c411a
jmp 0x47a498
dec eax
cmp eax, 0xb
ja 0x47a4e4
jmp dword [eax*4 + 0x4328fc]
xor eax, eax
jmp 0x47a4e1
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov byte [eax], 0
call fcn.0047b920
mov dword [esi + 8], 1
mov dword [esi], 0
jmp 0x47a4e4
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x28]
jmp 0x47a4f1
mov eax, ebx
call fcn.0047b8d0
mov edx, dword [eax + 0x14]
mov dword [esp + 0xfc], edx
jmp 0x47a4fb
mov eax, dword [eax + 0x28]
jmp 0x47a508
mov eax, ebx
call fcn.0047b8d0
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x104], ecx
jmp 0x47a512
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x28]
test eax, eax
je 0x4a213b
push eax
call 0x4d4fcc
mov dword [ebx + 4], esi
mov byte [ebx + 9], 0
jmp 0x47a51c
mov byte [ebx + 9], 1
jmp 0x47a5ad
mov ecx, dword [edi]
push ecx
call fcn.00482579
mov edx, dword [edi + 0xc]
add esp, 4
push edx
call fcn.00482579
add esp, 4
jmp 0x47a54c
mov ecx, dword [esi]
test ecx, ecx
je 0x47a568
push ecx
call dword [0x47d42c]
mov eax, dword [esi]
push eax
call fcn.00482579
add esp, 4
jmp 0x47a58c
mov eax, dword [esi]
test eax, eax
je 0x47a58c
push eax
call 0x4b4eb1
jmp 0x47a58c
mov eax, esi
call fcn.0047f550
jmp 0x47a58c
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push edx
call fcn.00482579
mov eax, dword [esi]
add esp, 4
push eax
call fcn.00482579
add esp, 4
jmp 0x47a58c
mov eax, dword [esi]
test eax, eax
je 0x47a58c
push eax
call 0x4c411a
jmp 0x47a58c
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x28]
jmp 0x47a5bc
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x28]
jmp 0x47a5d3
mov eax, dword [eax + 0x28]
jmp 0x47a5e4
mov edx, dword [ebx + 4]
mov ebx, dword [edx + 0x28]
jmp 0x47a5fb
mov eax, dword [0x4a0428]
mov esi, dword [eax + 4]
push eax
call 0x4d781d
mov ecx, esi
mov dword [0x4a0428], ecx
mov byte [0x4a042d], 0
jmp 0x47a612
mov byte [0x4a042d], 1
jmp 0x47a714
push eax
mov ecx, edi
call fcn.004786f0
jmp 0x47a64e
mov ecx, dword [edi]
push ecx
call fcn.00482579
mov edx, dword [edi + 0xc]
add esp, 4
push edx
call fcn.00482579
add esp, 4
jmp 0x47a673
mov ecx, dword [ebx]
test ecx, ecx
je 0x47a68f
push ecx
call dword [0x47d42c]
mov eax, dword [ebx]
push eax
call fcn.00482579
add esp, 4
jmp 0x47a6b3
mov eax, dword [ebx]
test eax, eax
je 0x47a6b3
push eax
call 0x4b4eb1
jmp 0x47a6b3
mov eax, ebx
call fcn.0047f550
jmp 0x47a6b3
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push edx
call fcn.00482579
mov eax, dword [ebx]
add esp, 4
push eax
call fcn.00482579
add esp, 4
jmp 0x47a6b3
mov eax, dword [ebx]
test eax, eax
je 0x47a6b3
push eax
call 0x4c411a
jmp 0x47a6b3
push eax
call 0x4b71c6
mov dword [esp + 0x3c], ebx
jmp 0x47a73e
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x47a76f
push eax
call dword [0x47d42c]
mov eax, dword [esp + 0x30]
push eax
call fcn.00482579
add esp, 4
jmp 0x47a76f
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x47a76f
push eax
call 0x4b4eb1
jmp 0x47a76f
lea eax, [esp + 0x30]
call fcn.0047f550
jmp 0x47a76f
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
push edx
call fcn.00482579
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.00482579
add esp, 4
jmp 0x47a76f
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x47a76f
push eax
call 0x4c411a
jmp 0x47a76f
mov eax, dword [edi]
push eax
call fcn.00482579
mov ecx, dword [edi + 0xc]
add esp, 4
push ecx
call fcn.00482579
add esp, 4
jmp 0x47a7a4
mov ecx, dword [esi]
test ecx, ecx
je 0x47a7c0
push ecx
call dword [0x47d42c]
mov edx, dword [esi]
push edx
call fcn.00482579
add esp, 4
jmp 0x47a7e4
mov eax, dword [esi]
test eax, eax
je 0x47a7e4
push eax
call 0x4b4eb1
jmp 0x47a7e4
mov eax, esi
call fcn.0047f550
jmp 0x47a7e4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
call fcn.00482579
mov edx, dword [esi]
add esp, 4
push edx
call fcn.00482579
add esp, 4
jmp 0x47a7e4
mov eax, dword [esi]
test eax, eax
je 0x47a7e4
push eax
call 0x4c411a
jmp 0x47a7e4
mov ecx, dword [esp + 0x70]
push ecx
push 0x70
push edi
call 0x4c35d8
lea esi, [esp + 0x30]
call fcn.0047b920
lea ecx, [esp + 0x48]
call fcn.004819c0
mov eax, 1
jmp 0x47a810