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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
mov ecx, 0xb
push esi
push edi
imul edi, dword [esp + 0x74], 0x2c
mov eax, dword [ebp + 0xa94]
lea ebx, [ecx - 1]
add edi, ebp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xa98]
mov dword [esp + 0x4c], eax
mov al, byte [edi + 0x10df8]
mov edx, dword [edi + 0x10e08]
mov byte [esp + 0x13], al
test al, al
je 0x479fb3
dec edx
cmp byte [edi + 0x10df9], 0
je 0x479f91
imul eax, dword [edi + 0x10dfc], 0x2c
cmp dword [edi + 0x10e00], 4
mov eax, dword [eax + ebp + 0x10df4]
jae 0x479f82
cmp eax, 7
mov esi, ecx
mov eax, 8
cmovl esi, eax
jmp 0x479f9b
cmp eax, 7
mov esi, ebx
mov eax, 7
cmovl esi, eax
jmp 0x479f9b
imul eax, edx, 0x2c
mov esi, dword [eax + ebp + 0x10df4]
cmp esi, 3
jg 0x479fa4
xor esi, esi
jmp 0x479fbd
cmp esi, 9
jg 0x479fae
sub esi, 3
jmp 0x479fbd
sub esi, 6
jmp 0x479fbd
imul eax, edx, 0x2c
mov esi, dword [eax + ebp + 0x10df4]
mov eax, dword [esp + 0x74]
dec eax
mov dword [esp + 0x14], esi
cmp edx, eax
jne 0x47a018
cmp dword [edi + 0x10e0c], 0
jne 0x479feb
xor eax, eax
cmp esi, 7
setge al
lea esi, [eax*2 + 9]
mov dword [esp + 0x14], esi
jmp 0x47a10e
cmp esi, 3
jg 0x479ffb
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x47a10e
cmp esi, 9
jg 0x47a00c
sub esi, 3
mov dword [esp + 0x14], esi
jmp 0x47a10e
sub esi, 6
mov dword [esp + 0x14], esi
jmp 0x47a10e
cmp byte [esp + 0x13], 0
je 0x47a047
cmp byte [edi + 0x10df9], 0
je 0x47a047
cmp dword [esp + 0x14], 7
mov eax, 8
mov edx, dword [edi + 0x10dfc]
mov esi, dword [edi + 0x10e00]
cmovl ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x47a076
mov esi, dword [edi + 0x10e0c]
cmp esi, 4
jae 0x47a065
cmp dword [esp + 0x14], 7
mov eax, 8
cmovl ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x47a076
cmp dword [esp + 0x14], 7
mov eax, 7
cmovl ebx, eax
mov dword [esp + 0x14], ebx
cmp esi, 4
jae 0x47a0e0
mov ecx, dword [esp + 0x64]
imul ebx, edx, 0xb
lea eax, [ebx + esi]
mov eax, dword [ebp + eax*4 + 0x10e10]
mov dword [ecx], eax
mov ecx, 1
cmp esi, ecx
jb 0x47a0bd
imul eax, edx, 0x2c
lea edx, [ebp + 0x10e10]
mov ebp, dword [esp + 0x64]
add edx, eax
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebp + ecx*4], eax
inc ecx
cmp ecx, esi
jbe 0x47a0a6
mov ebp, dword [esp + 0x60]
cmp ecx, 4
jae 0x47a10a
lea eax, [ebx + ecx]
mov ebx, dword [esp + 0x64]
lea edx, [eax*4 + 0x10e10]
add edx, ebp
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, 4
jb 0x47a0d0
jmp 0x47a10a
imul ecx, edx, 0x2c
lea eax, [esi - 4]
mov esi, dword [esp + 0x64]
mov dword [esi], eax
mov eax, dword [ecx + ebp + 0x10e10]
mov dword [esi + 4], eax
mov eax, dword [ecx + ebp + 0x10e14]
mov dword [esi + 8], eax
mov eax, dword [ecx + ebp + 0x10e18]
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x10df4], esi
mov ebx, dword [esp + 0x64]
mov eax, dword [ecx]
mov dword [edi + 0x10e10], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x10e14], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x10e18], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x68]
mov dword [edi + 0x10e1c], eax
mov eax, dword [esp + 0x74]
add eax, 0x623
imul eax, eax, 0x2c
mov dl, byte [ecx]
mov byte [esp + 0x12], dl
mov eax, dword [eax + ebp]
mov dword [esp + 0x24], eax
mov eax, ecx
sub eax, dword [ebx]
dec ecx
mov ebx, esi
mov dword [esp + 0x58], ecx
shl ebx, 4
mov dh, byte [eax - 1]
mov eax, dword [ebp + 0xaa0]
and eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
add eax, ebx
cmp dword [esp + 0x14], 7
mov dword [esp + 0x28], eax
mov byte [esp + 0x13], dh
movzx esi, word [ebp + eax*2 + 0x6aac]
movzx eax, dl
push eax
movzx eax, dh
push eax
setge al
movzx eax, al
push eax
movzx eax, byte [ecx]
push eax
push dword [esp + 0x80]
push ebp
call fcn.00479830
mov ecx, eax
add esp, 0x18
add ecx, dword [esp + 0x24]
mov eax, esi
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add eax, ecx
mov dword [esp + 0x20], eax
xor al, al
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x74]
add eax, 0x624
imul edx, eax, 0x2c
mov eax, esi
add edx, ebp
cmp ecx, dword [edx]
jae 0x47a219
mov eax, dword [esp + 0x74]
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10e34], eax
mov dword [edi + 0x10e38], 0xffffffff
mov byte [edi + 0x10e24], 0
movzx eax, word [ebp + ecx*2 + 0x6aac]
mov byte [esp + 0x11], 1
mov esi, dword [esp + 0x14]
movzx eax, ax
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
lea eax, [esi*2 + 0x6c2c]
add ecx, dword [esp + 0x24]
add eax, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
movzx eax, word [eax]
xor eax, 0x7f0
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add eax, ecx
mov cl, byte [esp + 0x12]
mov dword [esp + 0x2c], eax
mov ah, byte [esp + 0x13]
cmp ah, cl
jne 0x47a2d8
mov ebp, dword [esp + 0x74]
cmp dword [edi + 0x10e34], ebp
mov ebp, dword [esp + 0x60]
jae 0x47a281
cmp dword [edi + 0x10e38], 0
je 0x47a2d8
movzx eax, word [ebp + esi*2 + 0x6c44]
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
mov eax, dword [esp + 0x28]
add ecx, dword [esp + 0x2c]
movzx eax, word [ebp + eax*2 + 0x6c8c]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add eax, ecx
mov cl, byte [esp + 0x12]
cmp eax, dword [edx]
ja 0x47a2de
mov dword [edx], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0x10e34], eax
mov al, 1
mov dword [edi + 0x10e38], 0
mov byte [edi + 0x10e24], 0
jmp 0x47a2e2
mov al, byte [esp + 0x11]
jmp 0x47a2e6
mov al, byte [esp + 0x11]
mov ah, byte [esp + 0x13]
mov edi, dword [esp + 0x7c]
cmp edi, 2
jb 0x47ac57
mov edx, dword [esp + 0x78]
cmp edi, edx
cmovb edx, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], edx
test al, al
jne 0x47a497
cmp ah, cl
je 0x47a497
mov eax, dword [esp + 0x64]
mov ecx, edi
sub ecx, dword [eax]
mov eax, dword [esp + 0x78]
dec ecx
inc eax
cmp dword [esp + 0x7c], eax
cmovb eax, dword [esp + 0x7c]
push eax
push 1
push ecx
push edi
call fcn.0047aee0
mov dword [esp + 0x48], eax
add esp, 0x10
dec eax
mov dword [esp + 0x34], eax
cmp eax, 2
jb 0x47a493
cmp esi, 3
jg 0x47a368
mov ecx, 0x3556
mov dword [esp + 0x24], 0x6c44
mov edx, 0x6c2c
mov ebx, 0x3646
jmp 0x47a3a7
cmp esi, 9
jg 0x47a389
lea ecx, [ebx + 0x3526]
add ebx, 0x3616
lea edx, [esi*2 + 0x6c26]
lea eax, [esi*2 + 0x6c3e]
jmp 0x47a3a3
lea ecx, [ebx + 0x34f6]
add ebx, 0x35e6
lea edx, [esi*2 + 0x6c20]
lea eax, [esi*2 + 0x6c38]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x70]
inc esi
and esi, dword [ebp + 0xaa0]
lea eax, [ecx + esi]
movzx eax, word [ebp + eax*2]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
movzx eax, word [edx + ebp]
add ecx, dword [esp + 0x20]
xor eax, 0x7f0
mov edx, dword [esp + 0x38]
add edx, dword [esp + 0x74]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
cmp eax, edx
jae 0x47a41f
add eax, 0x623
mov ecx, edx
imul eax, eax, 0x2c
add eax, ebp
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
nop word [eax + eax]
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
sub ecx, 1
jne 0x47a410
lea eax, [ebx + esi]
movzx eax, word [ebp + eax*2]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
mov eax, dword [esp + 0x24]
movzx eax, word [eax + ebp]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add ecx, eax
imul eax, esi, 0x110
add eax, dword [esp + 0x34]
add ecx, dword [ebp + eax*4 + 0xbd54]
lea eax, [edx + 0x623]
add ecx, dword [esp + 0x30]
imul eax, eax, 0x2c
cmp ecx, dword [eax + ebp]
jae 0x47a493
mov dword [eax + ebp], ecx
mov eax, dword [esp + 0x74]
imul ecx, edx, 0x2c
add ecx, ebp
inc eax
mov dword [ecx + 0x10e08], eax
mov dword [ecx + 0x10e0c], 0
mov word [ecx + 0x10df8], 1
mov edx, dword [esp + 0x1c]
mov esi, 2
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
jmp 0x47a4b4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ecx, edi
sub ecx, dword [eax + ebx*4]
mov ax, word [edi]
dec ecx
mov dword [esp + 0x30], ecx
cmp ax, word [ecx]
jne 0x47a870
mov esi, 2
cmp edx, esi
jbe 0x47a51d
sub ecx, edi
nop dword [eax]
lea eax, [esi + edi]
mov edi, dword [eax]
sub edi, dword [ecx + eax]
jne 0x47a4f7
mov edi, dword [esp + 0x68]
add esi, 4
cmp esi, edx
jb 0x47a4e0
jmp 0x47a51d
movzx ecx, di
lea edx, [esi + 2]
test ecx, ecx
mov eax, edi
cmovne edx, esi
shr eax, 0x10
test ecx, ecx
cmovne eax, edi
lea ecx, [edx + 1]
test al, al
cmovne ecx, edx
mov edx, dword [esp + 0x1c]
cmp ecx, edx
cmovb edx, ecx
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
add edi, edx
cmp esi, edi
jae 0x47a54f
lea eax, [esi + 0x623]
mov dword [esp + 0x6c], edi
imul eax, eax, 0x2c
mov ecx, edi
add eax, ebp
sub ecx, esi
nop
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
sub ecx, 1
jne 0x47a540
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
test ebx, ebx
jne 0x47a58c
mov eax, dword [esp + 0x28]
movzx eax, word [ebp + eax*2 + 0x6c8c]
xor eax, 0x7f0
shr eax, 4
movzx esi, byte [eax + 0x4ba0d8]
movzx eax, word [ebp + ecx*2 + 0x6c44]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add esi, eax
jmp 0x47a5fe
movzx eax, word [ebp + ecx*2 + 0x6c44]
xor eax, 0x7f0
shr eax, 4
movzx esi, byte [eax + 0x4ba0d8]
cmp ebx, 1
jne 0x47a5be
movzx eax, word [ebp + ecx*2 + 0x6c5c]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add esi, eax
jmp 0x47a5fe
movzx ecx, word [ebp + ecx*2 + 0x6c74]
mov eax, 2
sub eax, ebx
shr ecx, 4
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, word [ebp + eax*2 + 0x6c5c]
movzx ecx, byte [ecx + 0x4ba0d8]
xor eax, 0x7f0
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add esi, eax
add esi, ecx
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 0x34], eax
imul eax, dword [esp + 0x3c], 0x110
mov dword [esp + 0x44], eax
add eax, edx
lea esi, [eax*4 + 0xbd54]
imul eax, edi, 0x2c
mov edi, dword [esp + 0x34]
add esi, ebp
add ebp, 0x10e0c
add eax, ebp
mov ebp, dword [esp + 0x74]
mov ecx, dword [esi]
add ecx, edi
cmp ecx, dword [eax - 8]
jae 0x47a647
mov dword [eax - 8], ecx
mov dword [eax - 4], ebp
mov dword [eax], ebx
mov byte [eax - 0x14], 0
dec edx
sub esi, 4
sub eax, 0x2c
cmp edx, 2
jae 0x47a632
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x60]
inc esi
mov edx, dword [esp + 0x68]
test ebx, ebx
mov ebx, dword [esp + 0x78]
mov eax, esi
cmovne eax, dword [esp + 0x18]
add ebx, esi
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x38], eax
cmovb ebx, dword [esp + 0x7c]
cmp esi, ebx
jae 0x47a6c4
mov ecx, dword [esp + 0x30]
sub ecx, edx
mov edi, dword [esi + edx]
lea eax, [esi + edx]
sub edi, dword [ecx + eax]
jne 0x47a69c
add esi, 4
cmp esi, ebx
jb 0x47a686
mov esi, ebx
jmp 0x47a6c4
movzx ecx, di
lea edx, [esi + 2]
test ecx, ecx
mov eax, edi
cmovne edx, esi
shr eax, 0x10
test ecx, ecx
mov esi, ebx
cmovne eax, edi
test al, al
lea ecx, [edx + 1]
cmovne ecx, edx
mov edx, dword [esp + 0x68]
cmp ecx, ebx
cmovb esi, ecx
mov ebx, dword [esp + 0x20]
or eax, 0xffffffff
sub eax, ebx
mov dword [esp + 0x48], esi
add esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
cmp esi, 2
jb 0x47a864
movzx eax, byte [ebx + edx]
mov edi, dword [esp + 0x70]
mov ebp, dword [ebp + 0xaa0]
add edi, ebx
push eax
mov eax, dword [esp + 0x34]
movzx eax, byte [ebx + eax]
push eax
movzx eax, byte [edx + ebx - 1]
push 1
push eax
push edi
push dword [esp + 0x74]
call fcn.00479830
mov ebx, eax
add esp, 0x18
cmp dword [esp + 0x14], 7
mov eax, 0x35d6
mov edx, 0x3606
mov ecx, ebp
cmovl edx, eax
and ecx, edi
mov edi, dword [esp + 0x60]
add edx, ecx
movzx ecx, word [edi + edx*2]
shr ecx, 4
mov edx, dword [esp + 0x48]
movzx eax, byte [ecx + 0x4ba0d8]
mov ecx, dword [esp + 0x20]
add ebx, eax
mov eax, dword [esp + 0x44]
add eax, ecx
inc ecx
add ebx, dword [edi + eax*4 + 0xbd54]
mov edi, dword [esp + 0x70]
add ebx, dword [esp + 0x34]
add edi, ecx
and edi, ebp
mov ebp, dword [esp + 0x60]
movzx eax, word [ebp + edi*2 + 0x6b4c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
movzx eax, word [ebp + 0x6c36]
add ecx, ebx
mov ebx, dword [esp + 0x74]
xor eax, 0x7f0
shr eax, 4
add edx, ebx
movzx eax, byte [eax + 0x4ba0d8]
add eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
cmp eax, edx
jae 0x47a7cf
add eax, 0x623
mov ecx, edx
imul eax, eax, 0x2c
add eax, ebp
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
nop
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
sub ecx, 1
jne 0x47a7c0
movzx eax, word [ebp + edi*2 + 0x6d2c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
movzx eax, word [ebp + 0x6c4e]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add ecx, eax
imul eax, edi, 0x110
mov edi, dword [esp + 0x68]
add eax, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], esi
add ecx, dword [ebp + eax*4 + 0xbd54]
lea eax, [edx + 0x623]
add ecx, dword [esp + 0x44]
imul eax, eax, 0x2c
cmp ecx, dword [eax + ebp]
jae 0x47a868
mov dword [eax + ebp], ecx
mov eax, dword [esp + 0x20]
imul ecx, edx, 0x2c
inc eax
add ecx, ebp
mov dword [esp + 0x18], esi
add eax, ebx
mov dword [ecx + 0x10dfc], ebx
mov ebx, dword [esp + 0x24]
mov dword [ecx + 0x10e08], eax
mov dword [ecx + 0x10e0c], 0
mov word [ecx + 0x10df8], 0x101
mov dword [ecx + 0x10e00], ebx
jmp 0x47a870
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, 4
jb 0x47a4b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
cmp edx, ecx
jbe 0x47a8ac
lea eax, [ebp + 0x204]
xor ebx, ebx
mov edx, ecx
cmp ecx, dword [eax]
jbe 0x47a8a0
lea eax, [eax + 8]
inc ebx
cmp ecx, dword [eax]
ja 0x47a898
mov dword [ebp + ebx*8 + 0x204], ecx
inc ebx
mov dword [esp + 0x40], ebx
cmp edx, esi
jb 0x47ac57
mov eax, dword [esp + 0x50]
add edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
movzx eax, word [eax]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add dword [esp + 0x54], eax
cmp ebx, edx
jae 0x47a8ff
lea eax, [ebx + 0x623]
mov dword [esp + 0x6c], edx
imul eax, eax, 0x2c
mov ecx, edx
add eax, ebp
sub ecx, ebx
nop dword [eax + eax]
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
sub ecx, 1
jne 0x47a8f0
xor edx, edx
lea eax, [ebp + 0x204]
mov dword [esp + 0x28], edx
cmp esi, dword [eax]
jbe 0x47a91c
nop
lea eax, [eax + 8]
inc edx
cmp esi, dword [eax]
ja 0x47a910
mov dword [esp + 0x28], edx
imul eax, dword [esp + 0x3c], 0x110
lea ecx, [edx*8 + 0x204]
mov edx, dword [esp + 0x18]
lea ebx, [esi + 1]
add ecx, ebp
mov dword [esp + 0x64], ecx
add eax, esi
lea eax, [eax*4 + 0x750c]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
add eax, esi
imul esi, eax, 0x2c
lea eax, [edi - 2]
mov dword [esp + 0x48], eax
lea eax, [edx - 2]
shl eax, 7
add edx, 0xfffffffe
mov dword [esp + 0x20], eax
add esi, 0x10e0c
add esi, ebp
shl edx, 6
mov ecx, dword [ecx + 4]
lea eax, [ebx - 1]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], eax
cmp eax, 6
jae 0x47a994
mov eax, dword [esp + 0x20]
jmp 0x47a99e
mov edx, 0xc0
mov eax, 0x180
cmp ecx, 0x80
jae 0x47a9b1
add eax, ecx
mov edx, dword [ebp + eax*4 + 0x105a0]
jmp 0x47aa08
mov eax, ecx
cmp ecx, 0x80000
jae 0x47a9cc
shr eax, 6
movzx eax, byte [eax + 0x4ba158]
add eax, 0x4074
jmp 0x47a9f4
cmp ecx, 0x80000000
jae 0x47a9e5
shr eax, 0x12
movzx eax, byte [eax + 0x4ba158]
add eax, 0x408c
jmp 0x47a9f4
shr eax, 0x1e
movzx eax, byte [eax + 0x4ba158]
add eax, 0x40a4
and ecx, 0xf
add eax, edx
mov edx, dword [ebp + ecx*4 + 0x10da8]
add edx, dword [ebp + eax*4]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, edx
add eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
cmp eax, dword [esi - 8]
jae 0x47aa30
mov dword [esi - 8], eax
mov eax, dword [esp + 0x74]
mov dword [esi - 4], eax
lea eax, [ecx + 4]
mov dword [esi], eax
mov byte [esi - 0x14], 0
mov edx, dword [esp + 0x64]
lea eax, [ebx - 1]
cmp eax, dword [edx]
jne 0x47ac39
mov esi, dword [esp + 0x60]
mov eax, edi
sub eax, ecx
mov edx, ebx
add ebx, dword [esp + 0x78]
dec eax
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x4c], eax
cmovb ebx, dword [esp + 0x7c]
cmp esi, ebx
jae 0x47aaa0
mov ecx, eax
sub ecx, edi
lea eax, [esi + edi]
mov edi, dword [eax]
sub edi, dword [eax + ecx]
jne 0x47aa7c
mov edi, dword [esp + 0x68]
add esi, 4
cmp esi, ebx
jb 0x47aa63
mov edx, ebx
jmp 0x47aaa0
movzx ecx, di
lea edx, [esi + 2]
test ecx, ecx
mov eax, edi
cmovne edx, esi
shr eax, 0x10
test ecx, ecx
cmovne eax, edi
lea ecx, [edx + 1]
test al, al
cmovne ecx, edx
mov edx, ebx
cmp ecx, ebx
cmovb edx, ecx
mov ebx, dword [esp + 0x60]
or eax, 0xffffffff
sub eax, dword [esp + 0x50]
mov dword [esp + 0x30], edx
add edx, eax
mov dword [esp + 0x50], edx
cmp edx, 2
jb 0x47ac15
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
mov edi, dword [ebp + 0xaa0]
dec ecx
add ecx, ebx
mov esi, edi
movzx eax, byte [eax + ebx]
and esi, ecx
push eax
mov eax, dword [esp + 0x50]
movzx eax, byte [ebx + eax - 1]
push eax
mov eax, dword [esp + 0x50]
push 1
movzx eax, byte [eax + ebx]
push eax
push ecx
push ebp
call fcn.00479830
add esp, 0x18
mov edx, 0x35c6
cmp dword [esp + 0x14], 7
mov ecx, 0x35f6
cmovl ecx, edx
add eax, dword [esp + 0x44]
add ecx, esi
inc esi
and esi, edi
movzx ecx, word [ebp + ecx*2]
shr ecx, 4
movzx edx, byte [ecx + 0x4ba0d8]
add edx, eax
movzx eax, word [ebp + esi*2 + 0x6b2c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
movzx eax, word [ebp + 0x6c34]
add ecx, edx
mov edx, dword [esp + 0x30]
xor eax, 0x7f0
add edx, dword [esp + 0x74]
shr eax, 4
movzx edi, byte [eax + 0x4ba0d8]
mov eax, dword [esp + 0x6c]
add edi, ecx
cmp eax, edx
jae 0x47ab8f
add eax, 0x623
mov ecx, edx
imul eax, eax, 0x2c
add eax, ebp
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
nop dword [eax + eax]
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
sub ecx, 1
jne 0x47ab80
movzx eax, word [ebp + esi*2 + 0x6d0c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x4ba0d8]
movzx eax, word [ebp + 0x6c4c]
shr eax, 4
movzx eax, byte [eax + 0x4ba0d8]
add ecx, eax
imul eax, esi, 0x110
add eax, dword [esp + 0x50]
add ecx, dword [ebp + eax*4 + 0xbd54]
lea eax, [edx + 0x623]
imul eax, eax, 0x2c
add ecx, edi
cmp ecx, dword [eax + ebp]
jae 0x47ac15
mov dword [eax + ebp], ecx
imul ecx, edx, 0x2c
mov edx, dword [esp + 0x74]
add ecx, ebp
lea eax, [edx + ebx]
mov dword [ecx + 0x10e0c], 0
mov dword [ecx + 0x10e08], eax
mov eax, dword [esp + 0x3c]
add eax, 4
mov word [ecx + 0x10df8], 0x101
mov dword [ecx + 0x10dfc], edx
mov dword [ecx + 0x10e00], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
inc edx
add ecx, 8
mov dword [esp + 0x28], edx
mov dword [esp + 0x64], ecx
cmp edx, dword [esp + 0x40]
je 0x47ac57
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
jmp 0x47ac3d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
add esi, 0x2c
add dword [esp + 0x24], 4
add edx, 0x40
sub dword [esp + 0x20], 0xffffff80
inc ebx
jmp 0x47a96f
mov eax, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c