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

Disassembly:
sub esp, 0x80
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0x32f0c]
cmp dword [ebp + 0x32f08], edx
push esi
je 0x47f385
mov esi, dword [esp + 0x90]
lea eax, [edx + edx*4 + 0x1e]
lea ecx, [ebp + eax*8]
mov eax, dword [ecx + 0x10]
sub eax, edx
mov edx, dword [ecx + 0x14]
mov dword [esi], edx
mov ecx, dword [ecx + 0x10]
pop esi
mov dword [ebp + 0x32f0c], ecx
pop ebp
add esp, 0x80
ret 8
mov ecx, dword [ebp + 0x80]
mov edx, dword [ebp + 0x70]
xor esi, esi
push ebx
mov dword [ebp + 0x32f08], esi
mov dword [ebp + 0x32f0c], esi
call edx
cmp byte [ebp + 0x32f10], 0
mov ebx, eax
mov dword [esp + 0x2c], eax
jne 0x47f3c0
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0047c1a0
mov dword [esp + 0x24], eax
jmp 0x47f3db
mov ecx, dword [ebp + 0x32efc]
mov edx, dword [ebp + 0x32f00]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov byte [ebp + 0x32f10], 0
mov ecx, dword [ebp + 0x80]
mov eax, dword [ebp + 0x74]
push edi
call eax
mov edi, eax
sub edi, 1
cmp ebx, 2
jb 0x47f558
cmp ebx, 0x111
jbe 0x47f406
mov ebx, 0x111
mov dword [esp + 0x30], ebx
lea eax, [ebp + 0x14]
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
xor edx, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], eax
jmp 0x47f420
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov ecx, edi
sub ecx, eax
mov dword [esp + edx + 0x70], eax
mov al, byte [edi]
sub ecx, 1
cmp al, byte [ecx]
jne 0x47f489
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x47f489
mov eax, 2
cmp ebx, eax
jbe 0x47f467
lea esi, [edi + 2]
sub ecx, edi
lea ecx, [ecx]
mov bl, byte [esi]
cmp bl, byte [ecx + esi]
mov ebx, dword [esp + 0x30]
jne 0x47f465
add eax, 1
add esi, 1
cmp eax, ebx
jb 0x47f450
xor esi, esi
mov ecx, dword [esp + 0x44]
mov dword [esp + edx + 0x80], eax
cmp eax, dword [esp + ecx + 0x80]
jbe 0x47f490
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x47f490
mov dword [esp + edx + 0x80], esi
add dword [esp + 0x2c], 1
add dword [esp + 0x24], 4
add edx, 4
cmp edx, 0x10
jb 0x47f420
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + ecx*4 + 0x80]
mov eax, dword [ebp + 0x32ef8]
cmp ebx, eax
mov dword [esp + 0x50], ebx
jb 0x47f4ef
mov edx, dword [esp + 0x98]
mov dword [edx], ecx
lea edx, [ebx - 1]
cmp edx, esi
je 0x47f4e0
mov ecx, dword [ebp + 0x80]
mov eax, dword [ebp + 0x7c]
add dword [ebp + 0x32f04], edx
call eax
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x80
ret 8
mov esi, dword [esp + 0x28]
cmp esi, eax
jb 0x47f535
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + ecx*4 + 0x3265c]
mov eax, dword [esp + 0x98]
add edx, 4
mov dword [eax], edx
lea edx, [esi - 1]
test edx, edx
je 0x47f526
mov ecx, dword [ebp + 0x80]
mov eax, dword [ebp + 0x7c]
add dword [ebp + 0x32f04], edx
call eax
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x80
ret 8
mov al, byte [edi]
mov esi, dword [esp + 0x70]
sub edi, esi
cmp dword [esp + 0x28], 2
mov cl, byte [edi - 1]
mov byte [esp + 0x44], al
mov byte [esp + 0x40], cl
jae 0x47f577
cmp al, cl
je 0x47f577
cmp ebx, 2
jae 0x47f577
mov ecx, dword [esp + 0x98]
pop edi
pop ebx
pop esi
mov dword [ecx], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x80
ret 8
mov edx, dword [esp + 0x44]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp + 0x33b60]
and edi, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
push edx
cmp bl, 7
setae dl
push ecx
mov byte [ebp + 0xf0], bl
mov eax, dword [ebp + 0x32654]
mov ecx, 8
sub cl, al
push edx
movzx edx, byte [ebp + 0x11]
shr edx, cl
mov ecx, dword [ebp + 0x3265c]
and ecx, dword [esp + 0xa0]
mov dword [esp + 0x60], ecx
mov ecx, eax
mov eax, dword [esp + 0x60]
shl eax, cl
add edx, eax
imul edx, edx, 0xc00
add edx, dword [ebp + 0x32650]
mov ecx, edx
call fcn.0047edc0
movzx ecx, bl
shl ecx, 4
add ecx, edi
mov edx, dword [ebp + ecx*4 + 0x280f0]
shr edx, 2
add eax, dword [edx*4 + 0x4e9af8]
mov ebx, 0x800
mov dword [ebp + 0x124], eax
mov dword [ebp + 0x12c], 0xffffffff
mov byte [ebp + 0x119], 0
mov cl, byte [ebp + 0x10]
movzx eax, cl
mov edx, eax
shl edx, 4
add edx, edi
sub ebx, dword [ebp + edx*4 + 0x280f0]
mov edx, 0x800
sub edx, dword [ebp + eax*4 + 0x283f0]
mov al, byte [esp + 0x44]
shr edx, 2
mov edx, dword [edx*4 + 0x4e9af8]
shr ebx, 2
mov ebx, dword [ebx*4 + 0x4e9af8]
add edx, ebx
cmp byte [esp + 0x40], al
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], edx
jne 0x47f6a9
movzx eax, cl
mov ebx, dword [ebp + eax*4 + 0x28420]
mov ecx, eax
shl ecx, 4
add ecx, edi
mov ecx, dword [ebp + ecx*4 + 0x284b0]
shr ecx, 2
mov eax, dword [ecx*4 + 0x4e9af8]
shr ebx, 2
add eax, dword [ebx*4 + 0x4e9af8]
add eax, edx
cmp eax, dword [ebp + 0x124]
jae 0x47f6a9
mov dword [ebp + 0x124], eax
mov dword [ebp + 0x12c], 0
mov byte [ebp + 0x119], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jb 0x47f6bb
mov dword [esp + 0x14], eax
jmp 0x47f6c1
mov dword [esp + 0x14], ecx
mov eax, ecx
cmp eax, 2
jae 0x47f6e7
mov edx, dword [ebp + 0x12c]
mov eax, dword [esp + 0x98]
pop edi
pop ebx
pop esi
mov dword [eax], edx
mov eax, 1
pop ebp
add esp, 0x80
ret 8
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
xor ebx, ebx
mov dword [ebp + 0x128], ebx
mov dword [ebp + 0x10c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebp + 0x110], edx
lea edx, [eax + eax*4]
mov dword [ebp + 0x114], ecx
mov dword [ebp + 0x108], esi
lea ecx, [ebp + edx*8 + 0xfc]
lea ecx, [ecx]
mov dword [ecx], 0xfffffff
sub eax, 1
sub ecx, 0x28
cmp eax, 2
jae 0x47f720
mov esi, dword [esp + ebx*4 + 0x80]
cmp esi, 2
jb 0x47f798
movzx eax, byte [ebp + 0x10]
push edi
push eax
push ebx
mov ecx, ebp
call fcn.0047ecb0
add eax, dword [esp + 0x54]
mov ecx, edi
imul ecx, ecx, 0x110
add ecx, esi
mov dword [esp + 0x50], eax
lea edx, [esi + esi*4]
lea eax, [ebp + ecx*4 + 0x2e204]
lea ecx, [ebp + edx*8 + 0xfc]
mov edi, edi
mov edx, dword [eax]
add edx, dword [esp + 0x50]
cmp edx, dword [ecx]
jae 0x47f78a
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov dword [ecx + 8], ebx
mov byte [ecx - 0xb], 0
sub esi, 1
sub eax, 4
sub ecx, 0x28
cmp esi, 2
jae 0x47f770
add ebx, 1
cmp ebx, 4
jb 0x47f731
movzx eax, byte [ebp + 0x10]
mov ecx, dword [ebp + eax*4 + 0x283f0]
shr ecx, 2
mov eax, dword [ecx*4 + 0x4e9af8]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
cmp eax, 2
lea ebx, [eax + 1]
jae 0x47f7d1
mov ebx, 2
cmp ebx, dword [esp + 0x28]
ja 0x47f86a
xor eax, eax
cmp ebx, dword [ebp + 0x32660]
mov dword [esp + 0x30], eax
jbe 0x47f800
lea esp, [esp]
add eax, 2
cmp ebx, dword [ebp + eax*4 + 0x32660]
ja 0x47f7f0
mov dword [esp + 0x30], eax
lea edx, [ebx + ebx*4]
lea esi, [ebp + edx*8 + 0xfc]
lea ebx, [ebx]
mov eax, dword [esp + 0x30]
mov eax, dword [ebp + eax*4 + 0x32664]
push edi
push ebx
push eax
mov ecx, ebp
mov dword [esp + 0x5c], eax
call fcn.0047bcb0
add eax, dword [esp + 0x54]
cmp eax, dword [esi]
jae 0x47f848
mov ecx, dword [esp + 0x50]
add ecx, 4
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], ecx
mov byte [esi - 0xb], 0
mov eax, dword [esp + 0x30]
cmp ebx, dword [ebp + eax*4 + 0x32660]
jne 0x47f862
add eax, 2
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
je 0x47f86a
add ebx, 1
add esi, 0x28
jmp 0x47f810
mov eax, 1
cmp dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
je 0x480470
mov esi, eax
jmp 0x47f885
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x80]
mov edx, dword [ebp + 0x70]
call edx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call fcn.0047c1a0
cmp eax, dword [ebp + 0x32ef8]
mov dword [esp + 0x68], eax
jae 0x480477
add dword [esp + 0x94], 1
lea ecx, [esi + esi*4 + 0x1e]
mov bl, byte [ebp + ecx*8 + 1]
test bl, bl
mov edx, dword [ebp + ecx*8 + 0x10]
lea eax, [ebp + ecx*8]
je 0x47f920
sub edx, 1
cmp byte [eax + 2], 0
je 0x47f90d
mov ecx, dword [eax + 4]
add ecx, 6
cmp dword [eax + 8], 4
lea ecx, [ecx + ecx*4]
mov cl, byte [ebp + ecx*8]
movzx ecx, cl
jae 0x47f8fc
mov cl, byte [ecx + 0x4cf1e0]
movzx ecx, cl
mov cl, byte [ecx + 0x4cf1c8]
jmp 0x47f928
mov cl, byte [ecx + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
movzx ecx, cl
mov cl, byte [ecx + 0x4cf1c8]
jmp 0x47f928
lea ecx, [edx + edx*4 + 0x1e]
mov cl, byte [ebp + ecx*8]
movzx ecx, cl
mov cl, byte [ecx + 0x4cf1c8]
jmp 0x47f928
lea ecx, [edx + edx*4 + 0x1e]
mov cl, byte [ebp + ecx*8]
add esi, 0xffffffff
cmp edx, esi
jne 0x47f959
cmp dword [eax + 0x14], 0
jne 0x47f947
movzx edx, cl
mov bl, byte [edx + 0x4cf1ec]
mov byte [esp + 0x2c], bl
jmp 0x47fa01
movzx ecx, cl
mov bl, byte [ecx + 0x4cf1c8]
mov byte [esp + 0x2c], bl
jmp 0x47fa01
test bl, bl
je 0x47f978
cmp byte [eax + 2], 0
je 0x47f978
mov edi, dword [eax + 8]
mov edx, dword [eax + 4]
movzx ecx, cl
mov bl, byte [ecx + 0x4cf1e0]
mov dword [esp + 0x28], edi
jmp 0x47f997
mov esi, dword [eax + 0x14]
cmp esi, 4
mov dword [esp + 0x28], esi
movzx ecx, cl
mov edi, esi
jae 0x47f991
mov bl, byte [ecx + 0x4cf1e0]
jmp 0x47f997
mov bl, byte [ecx + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
cmp edi, 4
lea edx, [edx + edx*4 + 0x1e]
mov byte [esp + 0x2c], bl
lea edx, [ebp + edx*8]
jae 0x47f9e5
mov ecx, dword [edx + edi*4 + 0x18]
mov esi, 1
cmp edi, esi
mov dword [esp + 0x70], ecx
jb 0x47f9d0
mov ecx, edi
lea esi, [edx + 0x18]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
add esi, 1
cmp esi, 4
jae 0x47fa01
lea edx, [edx + esi*4 + 0x18]
mov ecx, 4
lea edi, [esp + esi*4 + 0x70]
sub ecx, esi
mov esi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x47fa01
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 0x1c]
mov edx, dword [edx + 0x20]
add edi, 0xfffffffc
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov byte [eax], bl
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x18], edi
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
mov esi, dword [eax + 0xc]
mov ecx, dword [ebp + 0x80]
mov edx, dword [ebp + 0x74]
mov dword [esp + 0x54], esi
call edx
movzx ecx, byte [eax - 1]
sub eax, 1
mov edx, eax
mov byte [esp + 0x34], cl
sub edx, edi
movzx ecx, byte [edx - 1]
lea edi, [edx - 1]
mov edx, dword [ebp + 0x32654]
mov byte [esp + 0x38], cl
mov ecx, dword [ebp + 0x33b60]
and ecx, dword [esp + 0x94]
mov dword [esp + 0x50], edi
movzx edi, bl
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], edi
shl edi, 4
add edi, ecx
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
cmp bl, 7
mov ebx, dword [ebp + 0x3265c]
setae cl
and ebx, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
movzx eax, byte [eax - 1]
push ecx
mov ecx, 8
sub cl, dl
shr eax, cl
mov ecx, edx
shl ebx, cl
add eax, ebx
imul eax, eax, 0xc00
add eax, dword [ebp + 0x32650]
mov ecx, eax
call fcn.0047edc0
mov ecx, dword [ebp + edi*4 + 0x280f0]
shr ecx, 2
add eax, dword [ecx*4 + 0x4e9af8]
mov ecx, dword [esp + 0x18]
add eax, esi
lea edx, [ecx + ecx*4 + 0x23]
cmp eax, dword [ebp + edx*8 + 0xc]
lea esi, [ebp + edx*8]
mov byte [esp + 0x13], 0
jae 0x47fafa
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xffffffff
mov byte [esi + 1], 0
mov byte [esp + 0x13], 1
mov ebx, dword [esp + 0x28]
mov edx, 0x800
sub edx, dword [ebp + edi*4 + 0x280f0]
shr edx, 2
mov ecx, dword [edx*4 + 0x4e9af8]
add ecx, dword [esp + 0x54]
mov edx, 0x800
sub edx, dword [ebp + ebx*4 + 0x283f0]
mov ebx, dword [esp + 0x18]
shr edx, 2
mov edx, dword [edx*4 + 0x4e9af8]
add edx, ecx
mov dword [esp + 0x6c], ecx
mov cl, byte [esp + 0x38]
cmp cl, byte [esp + 0x34]
mov dword [esp + 0x58], edx
jne 0x47fb94
cmp dword [esi + 0x10], ebx
jae 0x47fb51
cmp dword [esi + 0x14], 0
je 0x47fb94
mov ecx, dword [esp + 0x28]
mov ecx, dword [ebp + ecx*4 + 0x28420]
mov edi, dword [ebp + edi*4 + 0x284b0]
shr ecx, 2
mov ecx, dword [ecx*4 + 0x4e9af8]
shr edi, 2
add ecx, dword [edi*4 + 0x4e9af8]
add ecx, edx
cmp ecx, dword [esi + 0xc]
ja 0x47fb94
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0
mov byte [esi + 1], 0
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x30]
mov ecx, 0xfff
sub ecx, ebx
cmp ecx, edx
jae 0x47fba9
mov edx, ecx
mov dword [esp + 0x30], edx
cmp edx, 2
mov ebx, edx
mov dword [esp + 0x24], ebx
jb 0x48045b
mov esi, dword [ebp + 0x32ef8]
mov edi, dword [esp + 0x30]
cmp edi, esi
jbe 0x47fbcc
mov ebx, esi
mov dword [esp + 0x24], esi
cmp byte [esp + 0x13], 0
jne 0x47fd34
mov dl, byte [esp + 0x34]
cmp byte [esp + 0x38], dl
je 0x47fd34
lea ecx, [esi + 1]
cmp edi, ecx
jb 0x47fbee
mov edi, ecx
mov esi, 1
cmp edi, esi
jbe 0x47fc19
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
lea ecx, [ebx + 1]
sub edx, ebx
mov bl, byte [ecx]
cmp bl, byte [edx + ecx]
jne 0x47fc15
add esi, 1
add ecx, 1
cmp esi, edi
jb 0x47fc04
mov ebx, dword [esp + 0x24]
add esi, 0xffffffff
cmp esi, 2
mov dword [esp + 0x40], esi
jb 0x47fd34
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx + 0x4cf1c8]
mov ecx, dword [esp + 0x94]
movzx ebx, dl
add ecx, 1
and ecx, dword [ebp + 0x33b60]
mov edx, ebx
shl edx, 4
lea esi, [edx + ecx]
mov edx, 0x800
sub edx, dword [ebp + ebx*4 + 0x283f0]
mov edi, 0x800
sub edi, dword [ebp + esi*4 + 0x280f0]
shr edx, 2
mov edx, dword [edx*4 + 0x4e9af8]
shr edi, 2
add edx, dword [edi*4 + 0x4e9af8]
mov edi, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x40]
lea edi, [eax + edi + 1]
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x50], esi
jae 0x47fcc6
mov esi, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ebp + eax*8 + 0xfc]
mov dword [esp + 0x54], eax
mov eax, edi
sub eax, esi
add esi, eax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x54]
add esi, 0x28
sub eax, 1
mov dword [esi], 0xfffffff
jne 0x47fcb4
mov esi, dword [esp + 0x50]
imul ecx, ecx, 0x110
add ecx, dword [esp + 0x40]
mov eax, 0x800
sub eax, dword [ebp + esi*4 + 0x284b0]
mov esi, dword [ebp + ebx*4 + 0x28420]
mov ebx, dword [esp + 0x24]
shr eax, 2
mov eax, dword [eax*4 + 0x4e9af8]
shr esi, 2
add eax, dword [esi*4 + 0x4e9af8]
mov esi, dword [esp + 0x14]
add eax, dword [ebp + ecx*4 + 0x2e204]
lea ecx, [edi + edi*4 + 0x1e]
add eax, edx
cmp eax, dword [ebp + ecx*8 + 0xc]
lea ecx, [ebp + ecx*8]
jae 0x47fd38
mov edx, dword [esp + 0x18]
add edx, 1
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 0
mov byte [ecx + 1], 1
mov byte [ecx + 2], 0
jmp 0x47fd38
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], 2
jmp 0x47fd58
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, edx
sub eax, dword [esp + ecx*4 + 0x70]
mov cl, byte [edx]
sub eax, 1
cmp cl, byte [eax]
mov dword [esp + 0x48], eax
jne 0x480055
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x480055
mov edi, 2
cmp ebx, edi
jbe 0x47fda1
lea ecx, [edx + 2]
sub eax, edx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax + ecx]
jne 0x47fda1
add edi, 1
add ecx, 1
cmp edi, ebx
jb 0x47fd90
mov eax, dword [esp + 0x18]
lea ebx, [edi + eax]
cmp esi, ebx
jae 0x47fdce
mov eax, ebx
lea ecx, [esi + esi*4]
sub eax, esi
add esi, eax
lea ecx, [ebp + ecx*8 + 0xfc]
mov dword [esp + 0x14], esi
add ecx, 0x28
sub eax, 1
mov dword [ecx], 0xfffffff
jne 0x47fdc0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov ecx, ebp
mov esi, edi
call fcn.0047ecb0
add eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
imul ecx, ecx, 0x110
lea edx, [edi + ecx]
mov dword [esp + 0x5c], ecx
lea ecx, [ebp + edx*4 + 0x2e204]
mov dword [esp + 0x40], ecx
lea edx, [ebx + ebx*4]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x64], eax
lea ecx, [ebp + edx*8 + 0xfc]
mov edx, dword [ebx]
add edx, eax
cmp edx, dword [ecx]
jae 0x47fe34
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
mov byte [ecx - 0xb], 0
sub edi, 1
sub ebx, 4
sub ecx, 0x28
cmp edi, 2
jae 0x47fe18
cmp dword [esp + 0x20], 0
jne 0x47fe50
lea eax, [esi + 1]
mov dword [esp + 0x50], eax
mov ecx, dword [ebp + 0x32ef8]
mov edx, dword [esp + 0x30]
lea eax, [esi + 1]
add ecx, eax
cmp edx, ecx
jae 0x47fe65
mov ecx, edx
cmp eax, ecx
jae 0x47fe87
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
lea edx, [eax + ebx]
sub edi, ebx
mov bl, byte [edx]
cmp bl, byte [edx + edi]
jne 0x47fe87
add eax, 1
add edx, 1
cmp eax, ecx
jb 0x47fe76
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
cmp eax, 2
mov dword [esp + 0x4c], eax
jb 0x480055
mov edx, dword [esp + 0x28]
mov cl, byte [edx + 0x4cf1e0]
mov eax, dword [ebp + 0x33b60]
mov edi, dword [esp + 0x94]
movzx ecx, cl
mov ebx, eax
lea edx, [esi + edi]
and ebx, edx
mov edx, ecx
mov cl, byte [ecx + 0x4cf1c8]
shl edx, 4
add ebx, edx
mov edx, dword [ebp + ebx*4 + 0x280f0]
movzx ebx, cl
shr edx, 2
mov edx, dword [edx*4 + 0x4e9af8]
mov dword [esp + 0x60], edx
lea edi, [esi + edi + 1]
and edi, eax
mov eax, dword [ebp + 0x32654]
mov ecx, ebx
shl ecx, 4
add ecx, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esi + ecx]
push edx
mov edx, dword [esp + 0x4c]
movzx edx, byte [esi + edx]
push edx
movzx edx, byte [ecx + esi - 1]
mov ecx, 8
sub cl, al
shr edx, cl
mov ecx, dword [esp + 0x9c]
lea eax, [esi + ecx]
mov ecx, dword [ebp + 0x3265c]
and ecx, eax
mov eax, ecx
mov ecx, dword [ebp + 0x32654]
shl eax, cl
push 1
add edx, eax
imul edx, edx, 0xc00
add edx, dword [ebp + 0x32650]
mov ecx, edx
call fcn.0047edc0
mov ecx, dword [esp + 0x40]
mov edx, 0x800
sub edx, dword [ebp + ecx*4 + 0x280f0]
mov ecx, dword [esp + 0x5c]
shr edx, 2
add eax, dword [edx*4 + 0x4e9af8]
mov edx, 0x800
sub edx, dword [ebp + ebx*4 + 0x283f0]
shr edx, 2
add eax, dword [edx*4 + 0x4e9af8]
lea edx, [esi + ecx]
add eax, dword [ebp + edx*4 + 0x2e204]
mov ecx, dword [esp + 0x4c]
add eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
add eax, dword [esp + 0x64]
add ecx, esi
lea ecx, [ecx + edx + 1]
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x60], ecx
jae 0x47ffde
mov edx, dword [esp + 0x14]
lea edx, [edx + edx*4]
lea edx, [ebp + edx*8 + 0xfc]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
sub ecx, edx
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x64]
jmp 0x47ffd0
add edx, 0x28
sub ecx, 1
mov dword [edx], 0xfffffff
jne 0x47ffd0
mov edx, dword [esp + 0x40]
imul edi, edi, 0x110
add edi, dword [esp + 0x4c]
mov ecx, 0x800
sub ecx, dword [ebp + edx*4 + 0x284b0]
mov edx, dword [ebp + ebx*4 + 0x28420]
shr ecx, 2
mov ecx, dword [ecx*4 + 0x4e9af8]
shr edx, 2
add ecx, dword [edx*4 + 0x4e9af8]
add ecx, dword [ebp + edi*4 + 0x2e204]
add ecx, eax
mov eax, dword [esp + 0x60]
lea eax, [eax + eax*4 + 0x1e]
cmp ecx, dword [ebp + eax*8 + 0xc]
lea eax, [ebp + eax*8]
jae 0x480055
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
lea edx, [esi + ecx + 1]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov byte [eax + 1], 1
mov byte [eax + 2], 1
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
add ecx, 1
cmp ecx, 4
mov dword [esp + 0x20], ecx
jb 0x47fd50
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jbe 0x48009b
xor eax, eax
cmp ecx, dword [ebp + 0x32660]
mov edx, ecx
jbe 0x48008d
add eax, 2
cmp ecx, dword [ebp + eax*4 + 0x32660]
ja 0x480081
mov dword [ebp + eax*4 + 0x32660], ecx
add eax, 2
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x50]
cmp edx, esi
jb 0x48045b
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + eax*4 + 0x283f0]
shr ecx, 2
mov eax, dword [ecx*4 + 0x4e9af8]
add eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
add eax, edx
cmp ecx, eax
jae 0x4800f2
lea edx, [ecx + ecx*4]
sub eax, ecx
add ecx, eax
lea edx, [ebp + edx*8 + 0xfc]
mov dword [esp + 0x14], ecx
add edx, 0x28
sub eax, 1
mov dword [edx], 0xfffffff
jne 0x4800e4
xor eax, eax
cmp esi, dword [ebp + 0x32660]
mov dword [esp + 0x20], eax
jbe 0x480110
add eax, 2
cmp esi, dword [ebp + eax*4 + 0x32660]
ja 0x480100
mov dword [esp + 0x20], eax
lea ebx, [eax*4]
mov edx, dword [ebx + ebp + 0x32664]
mov ecx, 0x7ffff
sub ecx, edx
sar ecx, 0x1f
and ecx, 0xc
add ecx, 6
mov eax, edx
shr eax, cl
mov dword [esp + 0x24], edx
lea edi, [esi + 1]
movzx eax, byte [eax + 0x4ea2f8]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x3c]
imul eax, eax, 0x110
add eax, esi
lea eax, [ebp + eax*4 + 0x295b8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esi + ecx]
lea eax, [eax + eax*4]
lea ecx, [ebp + eax*8 + 0xfc]
mov dword [esp + 0x40], ecx
lea eax, [edi - 3]
cmp eax, 4
jb 0x480180
mov eax, 3
cmp edx, 0x80
jae 0x480196
shl eax, 7
add eax, edx
mov eax, dword [ebp + eax*4 + 0x33314]
jmp 0x4801b0
shl eax, 6
add eax, dword [esp + 0x54]
mov esi, edx
mov eax, dword [ebp + eax*4 + 0x32f14]
and esi, 0xf
add eax, dword [ebp + esi*4 + 0x33b14]
add eax, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
add eax, dword [esi]
cmp eax, dword [ecx]
mov dword [esp + 0x64], eax
jae 0x4801d5
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
add edx, 4
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov byte [ecx - 0xb], 0
lea eax, [edi - 1]
cmp eax, dword [ebx + ebp + 0x32660]
jne 0x480441
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x32ef8]
mov esi, dword [esp + 0x30]
mov edx, ebx
sub edx, dword [esp + 0x24]
add eax, edi
sub edx, 1
cmp esi, eax
mov ecx, edi
jae 0x48020c
mov eax, esi
mov dword [esp + 0x4c], esi
jmp 0x480210
mov dword [esp + 0x4c], eax
cmp edi, eax
jae 0x480233
lea esi, [edi + edx]
sub ebx, edx
lea esp, [esp]
mov al, byte [ebx + esi]
cmp al, byte [esi]
jne 0x480233
add ecx, 1
add esi, 1
cmp ecx, dword [esp + 0x4c]
jb 0x480220
or esi, 0xffffffff
lea eax, [edi - 1]
sub esi, eax
add ecx, esi
cmp ecx, 2
mov dword [esp + 0x48], ecx
jb 0x4803f7
mov ecx, dword [esp + 0x28]
mov bl, byte [ecx + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov ecx, dword [ebp + 0x33b60]
mov eax, dword [esp + 0x94]
lea esi, [edi + eax - 1]
mov eax, ecx
and eax, esi
movzx esi, bl
movzx edx, byte [edi + edx - 1]
mov ebx, esi
shl ebx, 4
add ebx, eax
mov ebx, dword [ebp + ebx*4 + 0x280f0]
shr ebx, 2
mov ebx, dword [ebx*4 + 0x4e9af8]
mov dword [esp + 0x68], ebx
mov bl, byte [esi + 0x4cf1c8]
lea esi, [eax + 1]
mov eax, dword [ebp + 0x32654]
and esi, ecx
movzx ebx, bl
mov ecx, ebx
shl ecx, 4
add ecx, esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + edi - 1]
push ecx
mov ecx, dword [esp + 0x20]
push edx
movzx edx, byte [edi + ecx - 2]
mov ecx, 8
sub cl, al
shr edx, cl
mov ecx, dword [esp + 0x9c]
lea eax, [edi + ecx - 1]
mov ecx, dword [ebp + 0x3265c]
and ecx, eax
mov eax, ecx
mov ecx, dword [ebp + 0x32654]
shl eax, cl
push 1
add edx, eax
imul edx, edx, 0xc00
add edx, dword [ebp + 0x32650]
mov ecx, edx
call fcn.0047edc0
mov edx, 0x800
sub edx, dword [ebp + ebx*4 + 0x283f0]
mov ecx, 0x800
shr edx, 2
add eax, dword [edx*4 + 0x4e9af8]
mov edx, dword [esp + 0x4c]
sub ecx, dword [ebp + edx*4 + 0x280f0]
mov edx, dword [esp + 0x18]
shr ecx, 2
add eax, dword [ecx*4 + 0x4e9af8]
mov ecx, dword [esp + 0x48]
add eax, dword [esp + 0x68]
add ecx, edx
add eax, dword [esp + 0x64]
add ecx, edi
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x68], ecx
jae 0x48037e
mov edx, dword [esp + 0x14]
lea edx, [edx + edx*4]
lea edx, [ebp + edx*8 + 0xfc]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x14]
sub ecx, edx
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
lea ecx, [ecx]
add edx, 0x28
sub ecx, 1
mov dword [edx], 0xfffffff
jne 0x480370
mov edx, dword [esp + 0x4c]
imul esi, esi, 0x110
add esi, dword [esp + 0x48]
mov ecx, 0x800
sub ecx, dword [ebp + edx*4 + 0x284b0]
mov edx, dword [ebp + ebx*4 + 0x28420]
shr ecx, 2
mov ecx, dword [ecx*4 + 0x4e9af8]
shr edx, 2
add ecx, dword [edx*4 + 0x4e9af8]
add ecx, dword [ebp + esi*4 + 0x2e204]
add ecx, eax
mov eax, dword [esp + 0x68]
lea eax, [eax + eax*4 + 0x1e]
cmp ecx, dword [ebp + eax*8 + 0xc]
lea eax, [ebp + eax*8]
jae 0x4803f7
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
lea edx, [ecx + edi]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
add ecx, 4
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov byte [eax + 1], 1
mov byte [eax + 2], 1
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x20]
add eax, 2
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
je 0x48045b
lea ebx, [eax*4]
mov eax, dword [ebx + ebp + 0x32664]
cmp eax, 0x80
mov dword [esp + 0x24], eax
jb 0x480441
mov ecx, 0x7ffff
sub ecx, eax
sar ecx, 0x1f
and ecx, 0xc
add ecx, 6
shr eax, cl
movzx edx, byte [eax + 0x4ea2f8]
lea eax, [edx + ecx*2]
mov dword [esp + 0x54], eax
add dword [esp + 0x40], 0x28
add dword [esp + 0x3c], 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
add edi, 1
jmp 0x480173
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jne 0x47f881
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x48048f
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x32f00], ecx
mov dword [ebp + 0x32efc], eax
mov byte [ebp + 0x32f10], 1
push esi
mov edx, dword [esp + 0x9c]
push edx
mov ecx, ebp
call fcn.0047c0d0
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x80
ret 8