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

Disassembly:
sub esp, 0x6c
push ebp
mov ebp, dword [esp + 0x74]
push esi
xor esi, esi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], esi
cmp dword [ebp + 0x34], esi
jne 0x40de6b
lea eax, [esp + 0x1c]
push eax
mov eax, ebp
call fcn.0040dd00
add esp, 4
mov dword [esp + 0x24], eax
jmp 0x40de79
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x28], eax
cmp eax, 2
jae 0x40de9a
pop esi
mov dword [ebp + 0x90], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x6c
ret
cmp eax, 0x111
jbe 0x40dea9
mov dword [esp + 0x28], 0x111
mov eax, dword [ebp]
mov ecx, dword [ebp + 0xc]
push eax
call ecx
mov cl, byte [eax - 1]
dec eax
add esp, 4
mov byte [esp + 0x78], cl
xor edx, edx
lea ecx, [ebp + 0x38]
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], ecx
push edi
jmp 0x40dee0
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx]
mov bl, byte [esp + 0x80]
mov ecx, eax
sub ecx, edi
lea esi, [edx*4]
mov dword [esp + esi + 0x5c], edi
cmp bl, byte [ecx]
jne 0x40df4f
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x40df4f
mov edi, 2
cmp dword [esp + 0x30], edi
jbe 0x40df2b
lea ebx, [eax + 2]
sub ecx, eax
mov dl, byte [ebx]
cmp dl, byte [ecx + ebx]
jne 0x40df27
inc edi
inc ebx
cmp edi, dword [esp + 0x30]
jb 0x40df18
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov dword [esp + esi + 0x6c], edi
cmp edi, dword [esp + ecx + 0x6c]
jbe 0x40df41
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
cmp edi, 0x111
mov edi, dword [esp + 0x2c]
je 0x40df6e
jmp 0x40df5b
mov edi, dword [esp + 0x2c]
mov dword [esp + esi + 0x6c], 0
add dword [esp + 0x28], 4
inc edx
mov dword [esp + 0x20], edx
cmp edx, 4
jb 0x40dee0
mov edx, dword [esp + 0x38]
mov esi, dword [esp + edx*4 + 0x6c]
mov ecx, dword [ebp + 0x30]
cmp esi, ecx
jb 0x40dfa3
mov ecx, dword [ebp]
mov dword [ebp + 0x90], edx
lea eax, [esi - 1]
lea edx, [esi - 1]
add dword [ebp + 0x34], edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
call edx
add esp, 8
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x6c
ret
cmp edi, ecx
jb 0x40dfdb
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + eax*4 + 0x74c]
add ecx, 4
lea eax, [edi - 1]
mov dword [ebp + 0x90], ecx
mov ecx, dword [ebp]
lea edx, [edi - 1]
add dword [ebp + 0x34], edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
call edx
add esp, 8
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x6c
ret
mov ecx, eax
sub ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], esi
mov cl, byte [ecx]
mov byte [esp + 0x13], cl
cmp esi, edi
ja 0x40dff5
mov esi, edi
mov dword [esp + 0x14], edi
cmp esi, 2
jae 0x40e01a
cmp byte [esp + 0x80], cl
je 0x40e01a
pop edi
pop ebx
pop esi
mov dword [ebp + 0x90], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x6c
ret
mov dx, word [ebp + 0x2c]
mov ecx, dword [esp + 0x84]
mov ebx, dword [ebp + 0x2c]
mov esi, ecx
and esi, dword [ebp + 0x4c]
mov word [ebp + 0xbaac], dx
movzx eax, byte [eax - 1]
shl ecx, 8
add eax, ecx
and eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x94]
shl eax, cl
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x28], esi
lea eax, [eax + eax*2]
lea edi, [ecx + eax*2]
cmp ebx, 7
jb 0x40e07a
movzx eax, byte [esp + 0x13]
movzx ecx, byte [esp + 0x80]
lea edx, [ebp + 0x550]
push edi
mov edi, edx
call fcn.0040d7d0
add esp, 4
jmp 0x40e091
movzx edx, byte [esp + 0x80]
lea esi, [ebp + 0x550]
call fcn.0040d790
mov esi, dword [esp + 0x28]
lea edx, [ebx + 0xe5]
shl edx, 4
add edx, esi
lea ecx, [ebp + edx*2]
movzx edx, word [ecx]
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x550]
add edx, eax
mov dword [ebp + 0xbac8], edx
xor eax, eax
mov word [ebp + 0xbace], ax
mov dword [ebp + 0xbad4], 0xffffffff
movzx ecx, word [ecx]
movzx edx, word [ebp + ebx*2 + 0x1c40]
xor ecx, 0x7f0
xor edx, 0x7f0
shr ecx, 4
mov eax, dword [ebp + ecx*4 + 0x550]
shr edx, 4
mov edi, dword [ebp + edx*4 + 0x550]
add edi, eax
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x80]
cmp byte [esp + 0x13], al
jne 0x40e17c
cmp dword [esp + 0x6c], 0
jne 0x40e17c
lea ecx, [ebx + 0xf1]
shl ecx, 4
add ecx, esi
movzx edx, word [ebp + ecx*2]
movzx ecx, word [ebp + ebx*2 + 0x1c58]
shr edx, 4
mov eax, dword [ebp + edx*4 + 0x550]
shr ecx, 4
add eax, dword [ebp + ecx*4 + 0x550]
add eax, edi
cmp eax, dword [ebp + 0xbac8]
jae 0x40e15c
xor edx, edx
mov dword [ebp + 0xbac8], eax
mov dword [ebp + 0xbad4], 0
mov word [ebp + 0xbace], dx
cmp dword [esp + 0x14], 2
jae 0x40e17c
mov eax, dword [ebp + 0xbad4]
pop edi
pop ebx
mov dword [ebp + 0x90], eax
pop esi
mov eax, 1
pop ebp
add esp, 0x6c
ret
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [ebp + 0xbab8], ecx
mov ecx, dword [esp + 0x68]
xor ebx, ebx
mov dword [ebp + 0xbad0], 1
mov dword [ebp + 0xbabc], edx
mov dword [ebp + 0xbac0], eax
mov dword [ebp + 0xbac4], ecx
mov dword [esp + 0x20], ebx
jmp 0x40e1c0
mov edx, dword [esp + ebx*4 + 0x6c]
cmp edx, 2
jb 0x40e2ba
mov esi, dword [ebp + 0x2c]
movzx eax, word [ebp + esi*2 + 0x1c58]
test ebx, ebx
jne 0x40e20a
add esi, 0xf1
shl esi, 4
add esi, dword [esp + 0x28]
shr eax, 4
movzx ecx, word [ebp + esi*2]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x550]
add ecx, dword [ebp + eax*4 + 0x550]
jmp 0x40e26a
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebp + eax*4 + 0x550]
movzx eax, word [ebp + esi*2 + 0x1c70]
cmp ebx, 1
jne 0x40e232
shr eax, 4
add ecx, dword [ebp + eax*4 + 0x550]
jmp 0x40e26a
movzx esi, word [ebp + esi*2 + 0x1c88]
mov ebx, 2
sub ebx, dword [esp + 0x20]
shr esi, 4
shr ebx, 4
and ebx, 0x7f
xor esi, ebx
mov esi, dword [ebp + esi*4 + 0x550]
mov ebx, dword [esp + 0x20]
xor eax, 0x7f0
shr eax, 4
add esi, dword [ebp + eax*4 + 0x550]
add ecx, esi
mov eax, dword [esp + 0x28]
imul eax, eax, 0x110
add ecx, edi
mov dword [esp + 0x80], ecx
add eax, edx
mov ecx, edx
shl ecx, 5
lea esi, [ebp + eax*4 + 0x76a0]
lea eax, [ecx + ebp + 0xbab4]
mov ecx, dword [esi]
add ecx, dword [esp + 0x80]
cmp ecx, dword [eax - 0xc]
jae 0x40e2ae
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edx
mov dword [eax], ebx
mov word [eax - 6], cx
dec edx
sub esi, 4
sub eax, 0x20
cmp edx, 2
jae 0x40e292
inc ebx
mov dword [esp + 0x20], ebx
cmp ebx, 4
jb 0x40e1c0
mov edi, dword [esp + 0x6c]
inc edi
cmp edi, dword [esp + 0x2c]
ja 0x40e403
mov edx, dword [ebp + 0x2c]
movzx ecx, word [ebp + edx*2 + 0x1c40]
shr ecx, 4
mov ebx, dword [ebp + ecx*4 + 0x550]
add ebx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x44], ebx
cmp edi, 2
jae 0x40e307
lea edi, [eax + 2]
jmp 0x40e323
cmp edi, dword [ebp + 0x750]
jbe 0x40e323
nop
add eax, 2
cmp edi, dword [ebp + eax*4 + 0x750]
ja 0x40e310
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x28]
imul ecx, ecx, 0x110
add ecx, edi
lea edx, [ebp + ecx*4 + 0x329c]
mov ecx, edi
shl ecx, 5
mov dword [esp + 0x30], edx
lea ecx, [ecx + ebp + 0xbab4]
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
mov esi, dword [ebp + eax*4 + 0x754]
add edx, ebx
mov dword [esp + 0x3c], ecx
lea eax, [edi - 2]
cmp edi, 5
jb 0x40e366
mov eax, 3
mov ebx, esi
cmp esi, 0x80
jae 0x40e381
shl eax, 7
and ebx, 0x7f
add eax, ebx
add edx, dword [ebp + eax*4 + 0x1420]
jmp 0x40e3bb
cmp esi, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
shr ebx, cl
shl eax, 5
add eax, ecx
mov ecx, esi
movzx ebx, byte [ebx + ebp + 0x2aa0]
lea eax, [ebx + eax*2 + 0x408]
mov eax, dword [ebp + eax*4]
and ecx, 0xf
add eax, dword [ebp + ecx*4 + 0xfe0]
mov ecx, dword [esp + 0x3c]
add edx, eax
mov eax, dword [esp + 0x80]
cmp edx, dword [ecx - 0xc]
jae 0x40e3d8
add esi, 4
mov dword [ecx - 0xc], edx
xor edx, edx
mov dword [ecx - 4], edi
mov dword [ecx], esi
mov word [ecx - 6], dx
cmp edi, dword [ebp + eax*4 + 0x750]
jne 0x40e3f1
add eax, 2
mov dword [esp + 0x80], eax
cmp eax, dword [esp + 0x24]
je 0x40e403
add dword [esp + 0x30], 4
mov ebx, dword [esp + 0x44]
inc edi
add ecx, 0x20
jmp 0x40e346
mov eax, 1
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], eax
je 0x40f08a
jmp 0x40e420
mov esi, dword [esp + 0x20]
cmp esi, 0x7c0
jae 0x40f02c
lea eax, [esp + 0x3c]
push eax
mov eax, ebp
call fcn.0040dd00
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, dword [ebp + 0x30]
jae 0x40f080
inc dword [esp + 0x84]
mov ecx, esi
shl ecx, 5
lea ebx, [ecx + ebp]
mov ecx, dword [ebx + 0xbab0]
mov eax, esi
sub eax, ecx
cmp ecx, 1
jne 0x40e49e
shl eax, 5
cmp dword [ebx + 0xbab4], 0
movzx eax, word [eax + ebp + 0xbaac]
jne 0x40e48e
movzx esi, byte [eax + 0x45ecc0]
mov dword [esp + 0x1c], esi
jmp 0x40e575
movzx esi, byte [eax + 0x45ec9c]
mov dword [esp + 0x1c], esi
jmp 0x40e575
movzx edx, word [ebx + 0xbaae]
mov ecx, dword [ebx + 0xbab4]
test dx, dx
je 0x40e4d0
movzx esi, dx
sub eax, esi
mov esi, 8
mov dword [esp + 0x1c], esi
cmp dx, 1
jne 0x40e4f6
cmp ecx, 4
sbb esi, esi
neg esi
add esi, 7
jmp 0x40e4f2
mov edx, eax
shl edx, 5
movzx edx, word [edx + ebp + 0xbaac]
cmp ecx, 4
jae 0x40e4eb
movzx esi, byte [edx + 0x45ecb4]
jmp 0x40e4f2
movzx esi, byte [edx + 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 dword [esp + 0x1c], esi
shl eax, 5
mov edx, dword [eax + ebp + 0xbab8]
lea eax, [eax + ebp + 0xbaa8]
cmp ecx, 4
jae 0x40e55c
test ecx, ecx
jne 0x40e52b
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
jmp 0x40e575
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x14]
cmp ecx, 1
jne 0x40e543
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x1c]
jmp 0x40e56d
mov dword [esp + 0x64], edx
mov edx, dword [eax + ecx*4 + 0x10]
xor ecx, 1
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], eax
jmp 0x40e575
add ecx, 0xfffffffd
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [ebx + 0xbab8], eax
mov eax, dword [esp + 0x68]
mov word [ebx + 0xbaac], si
mov dword [ebx + 0xbabc], ecx
mov dword [ebx + 0xbac0], edx
mov dword [ebx + 0xbac4], eax
mov ecx, dword [ebp]
mov edx, dword [ebp + 0xc]
push ecx
call edx
mov ecx, dword [ebx + 0xbaa8]
mov edi, eax
dec edi
mov dl, byte [edi]
mov eax, edi
sub eax, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov al, byte [eax]
mov byte [esp + 0x84], al
mov eax, dword [esp + 0x88]
and eax, dword [ebp + 0x4c]
lea ecx, [esi + 0xe5]
shl ecx, 4
add ecx, eax
mov dword [esp + 0x34], eax
movzx eax, word [ebp + ecx*2]
mov ecx, eax
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x550]
add eax, dword [esp + 0x3c]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x550]
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xbac8]
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x13], dl
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], 0
cmp eax, 0x40000000
jae 0x40e642
cmp byte [esp + 0x80], dl
je 0x40e648
cmp dword [esp + 0x24], eax
jbe 0x40e655
mov dword [esp + 0x24], 0
jmp 0x40e6ea
movzx eax, byte [edi - 1]
mov ecx, dword [esp + 0x84]
shl ecx, 8
add eax, ecx
and eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x94]
shl eax, cl
mov ecx, dword [ebp + 0x50]
lea eax, [eax + eax*2]
lea edi, [ecx + eax*2]
cmp esi, 7
jb 0x40e69a
movzx eax, byte [esp + 0x80]
movzx ecx, dl
push edi
lea edi, [ebp + 0x550]
call fcn.0040d7d0
add esp, 4
jmp 0x40e6ac
movzx edx, dl
lea esi, [ebp + 0x550]
call fcn.0040d790
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0xbac8]
jae 0x40e6e6
mov eax, 1
xor edx, edx
mov dword [ebx + 0xbac8], ecx
mov dword [ebx + 0xbad0], eax
mov dword [ebx + 0xbad4], 0xffffffff
mov word [ebx + 0xbace], dx
mov dword [esp + 0x34], eax
mov dl, byte [esp + 0x13]
movzx eax, word [ebp + esi*2 + 0x1c40]
mov ecx, dword [ebp + 0x28]
xor eax, 0x7f0
shr eax, 4
mov edi, dword [ebp + eax*4 + 0x550]
add edi, dword [esp + 0x44]
mov eax, 0x7ff
sub eax, dword [esp + 0x20]
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jbe 0x40e721
mov dword [esp + 0x2c], eax
cmp esi, 7
jae 0x40e7a4
cmp byte [esp + 0x80], dl
jne 0x40e7a4
mov ecx, dword [ebx + 0xbac8]
cmp edi, ecx
jae 0x40e7a4
cmp dword [ebx + 0xbad0], 2
jb 0x40e74b
cmp dword [ebx + 0xbad4], 0
je 0x40e7a4
lea eax, [esi + 0xf1]
movzx esi, word [ebp + esi*2 + 0x1c58]
shl eax, 4
add eax, dword [esp + 0x30]
shr esi, 4
movzx eax, word [ebp + eax*2]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x550]
add eax, dword [ebp + esi*4 + 0x550]
add eax, edi
cmp eax, ecx
jae 0x40e7a4
mov dword [ebx + 0xbac8], eax
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0xbad0], 1
mov dword [ebx + 0xbad4], eax
mov word [ebx + 0xbace], cx
mov dword [esp + 0x34], eax
cmp dword [esp + 0x2c], 2
jb 0x40f017
mov ecx, dword [ebp + 0x30]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
ja 0x40e7c2
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x40e7c8
mov ebx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x34], 0
jne 0x40e916
cmp dword [esp + 0x24], 0
je 0x40e916
cmp byte [esp + 0x80], dl
je 0x40e916
mov edi, dword [esp + 0x18]
cmp eax, 2
jbe 0x40e91a
mov bl, byte [edi + 1]
mov edx, dword [esp + 0x40]
cmp bl, byte [edx + 1]
jne 0x40e910
mov bl, byte [edi + 2]
cmp bl, byte [edx + 2]
jne 0x40e910
inc ecx
cmp ecx, eax
jbe 0x40e81b
mov ecx, eax
mov esi, 3
cmp ecx, esi
jbe 0x40e83d
lea eax, [edi + 3]
sub edx, edi
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx + eax]
jne 0x40e83d
inc esi
inc eax
cmp esi, ecx
jb 0x40e830
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx + 0x45ec9c]
mov ecx, dword [esp + 0x84]
lea eax, [edx + 0xf1]
shl eax, 4
inc ecx
and ecx, dword [ebp + 0x4c]
lea ebx, [edx + 0xe5]
add eax, ecx
movzx eax, word [ebp + eax*2]
shl ebx, 4
add ebx, ecx
movzx ebx, word [ebp + ebx*2]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x550]
xor ebx, 0x7f0
shr ebx, 4
add eax, dword [ebp + ebx*4 + 0x550]
movzx ebx, word [ebp + edx*2 + 0x1c40]
movzx edx, word [ebp + edx*2 + 0x1c58]
xor ebx, 0x7f0
shr ebx, 4
add eax, dword [ebp + ebx*4 + 0x550]
shr edx, 4
add eax, dword [ebp + edx*4 + 0x550]
mov edx, dword [esp + 0x20]
add eax, dword [esp + 0x24]
add edx, esi
cmp dword [esp + 0x14], edx
jae 0x40e8d0
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x28]
imul ecx, ecx, 0x110
dec esi
add ecx, esi
mov ecx, dword [ebp + ecx*4 + 0x76a0]
shl edx, 5
add ecx, eax
cmp ecx, dword [edx + ebp + 0xbaa8]
lea edx, [edx + ebp + 0xbaa8]
jae 0x40e91a
mov eax, 1
mov dword [edx], ecx
mov dword [edx + 8], esi
mov dword [edx + 0xc], 0
mov word [edx + 6], ax
jmp 0x40e91a
mov ebx, dword [esp + 0x28]
jmp 0x40e91a
mov edi, dword [esp + 0x18]
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x40], 2
jmp 0x40e93e
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov dl, byte [edi]
mov ecx, edi
sub ecx, dword [esp + eax*4 + 0x5c]
mov dword [esp + 0x24], ecx
cmp dl, byte [ecx]
jne 0x40ec5d
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x40ec5d
mov esi, 2
cmp ebx, esi
jbe 0x40e97d
lea eax, [edi + 2]
sub ecx, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x40e97d
inc esi
inc eax
cmp esi, ebx
jb 0x40e970
mov eax, dword [esp + 0x20]
lea edx, [esi + eax]
cmp dword [esp + 0x14], edx
jae 0x40e98e
mov dword [esp + 0x14], edx
cmp dword [esp + 0x80], 0
mov edi, dword [esp + 0x1c]
movzx eax, word [ebp + edi*2 + 0x1c58]
mov ebx, esi
mov dword [esp + 0x38], ebx
jne 0x40e9d8
add edi, 0xf1
shl edi, 4
add edi, dword [esp + 0x30]
shr eax, 4
movzx ecx, word [ebp + edi*2]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x550]
add ecx, dword [ebp + eax*4 + 0x550]
jmp 0x40ea44
xor eax, 0x7f0
shr eax, 4
cmp dword [esp + 0x80], 1
mov ecx, dword [ebp + eax*4 + 0x550]
movzx eax, word [ebp + edi*2 + 0x1c70]
jne 0x40ea05
shr eax, 4
add ecx, dword [ebp + eax*4 + 0x550]
jmp 0x40ea44
mov edi, dword [esp + 0x1c]
movzx edi, word [ebp + edi*2 + 0x1c88]
mov ebx, 2
sub ebx, dword [esp + 0x80]
shr edi, 4
shr ebx, 4
and ebx, 0x7f
xor edi, ebx
mov edi, dword [ebp + edi*4 + 0x550]
mov ebx, dword [esp + 0x38]
xor eax, 0x7f0
shr eax, 4
add edi, dword [ebp + eax*4 + 0x550]
add ecx, edi
mov eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x30]
imul eax, eax, 0x110
mov dword [esp + 0x54], eax
add eax, esi
shl edx, 5
lea edi, [ebp + eax*4 + 0x76a0]
mov dword [esp + 0x38], ecx
lea eax, [edx + ebp + 0xbab4]
nop
mov edx, dword [edi]
add edx, ecx
cmp edx, dword [eax - 0xc]
jae 0x40ea8e
mov dword [eax - 0xc], edx
mov edx, dword [esp + 0x80]
mov dword [eax], edx
xor edx, edx
mov dword [eax - 4], ebx
mov word [eax - 6], dx
dec ebx
sub edi, 4
sub eax, 0x20
cmp ebx, 2
jae 0x40ea70
cmp dword [esp + 0x80], 0
jne 0x40eaab
lea eax, [esi + 1]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x2c]
lea ebx, [esi + 1]
add eax, ebx
mov dword [esp + 0x34], eax
cmp eax, ecx
jbe 0x40eac5
mov eax, ecx
mov dword [esp + 0x34], ecx
add ebx, 2
cmp ebx, eax
ja 0x40ec5d
mov ecx, dword [esp + 0x18]
mov dl, byte [ebx + ecx - 2]
mov eax, dword [esp + 0x24]
cmp dl, byte [ebx + eax - 2]
jne 0x40ec5d
mov dl, byte [ecx + ebx - 1]
cmp dl, byte [ebx + eax - 1]
jne 0x40ec5d
mov ecx, dword [esp + 0x84]
mov eax, dword [ebp + 0x4c]
mov edx, dword [esp + 0x24]
add ecx, esi
and eax, ecx
mov dword [esp + 0x50], eax
movzx eax, byte [esi + edx]
mov edx, dword [esp + 0x18]
movzx edi, byte [esi + edx]
movzx edx, byte [edx + esi - 1]
shl ecx, 8
add edx, ecx
and edx, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x94]
shl edx, cl
mov dword [esp + 0x4c], edi
lea edi, [ebp + 0x550]
lea ecx, [edx + edx*2]
mov edx, dword [ebp + 0x50]
lea ecx, [edx + ecx*2]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.0040d7d0
mov edx, eax
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x45ecb4]
mov eax, dword [esp + 0x54]
add ecx, 0xe5
shl ecx, 4
add ecx, eax
movzx ecx, word [ebp + ecx*2]
shr ecx, 4
add edx, dword [ebp + ecx*4 + 0x550]
mov ecx, dword [esp + 0x58]
add ecx, esi
add edx, dword [ebp + ecx*4 + 0x76a0]
mov ecx, dword [esp + 0x3c]
add ecx, edx
inc eax
and eax, dword [ebp + 0x4c]
add esp, 4
movzx edx, word [ebp + eax*2 + 0x1ec0]
movzx edi, word [ebp + eax*2 + 0x1d40]
xor edx, 0x7f0
xor edi, 0x7f0
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x550]
shr edi, 4
add edx, dword [ebp + edi*4 + 0x550]
movzx edi, word [ebp + 0x1c4a]
xor edi, 0x7f0
shr edi, 4
add edx, dword [ebp + edi*4 + 0x550]
movzx edi, word [ebp + 0x1c62]
shr edi, 4
add edx, dword [ebp + edi*4 + 0x550]
add ecx, edx
mov dword [esp + 0x38], ecx
cmp ebx, dword [esp + 0x34]
jae 0x40ec0f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
lea edi, [ebx + edx]
sub ecx, edx
mov edi, edi
mov dl, byte [edi]
cmp dl, byte [edi + ecx]
jne 0x40ec0f
inc ebx
inc edi
cmp ebx, dword [esp + 0x34]
jb 0x40ec00
sub ebx, esi
lea ecx, [ebx + esi]
add ecx, dword [esp + 0x20]
cmp dword [esp + 0x14], ecx
jae 0x40ec22
mov dword [esp + 0x14], ecx
imul eax, eax, 0x110
dec ebx
add eax, ebx
mov eax, dword [ebp + eax*4 + 0x76a0]
add eax, dword [esp + 0x38]
shl ecx, 5
cmp eax, dword [ecx + ebp + 0xbaa8]
lea ecx, [ecx + ebp + 0xbaa8]
jae 0x40ec5d
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
inc esi
mov dword [ecx + 8], ebx
mov word [ecx + 6], si
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x80]
inc eax
mov dword [esp + 0x80], eax
cmp eax, 4
jb 0x40e936
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jbe 0x40ecaa
xor eax, eax
mov edx, ecx
cmp ecx, dword [ebp + 0x750]
jbe 0x40ec9c
lea ecx, [ecx]
add eax, 2
cmp ecx, dword [ebp + eax*4 + 0x750]
ja 0x40ec90
mov dword [ebp + eax*4 + 0x750], ecx
add eax, 2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
cmp edx, eax
jb 0x40f017
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ebp + ecx*2 + 0x1c40]
mov ebx, dword [esp + 0x20]
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x550]
add ecx, dword [esp + 0x44]
mov dword [esp + 0x58], ecx
lea ecx, [edx + ebx]
cmp dword [esp + 0x14], ecx
jae 0x40ece5
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp eax, dword [ebp + 0x750]
jbe 0x40ed03
add ecx, 2
cmp eax, dword [ebp + ecx*4 + 0x750]
ja 0x40ecf3
mov dword [esp + 0x38], ecx
lea edi, [ecx*4]
mov edx, dword [edi + ebp + 0x754]
cmp edx, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov esi, edx
shr esi, cl
mov dword [esp + 0x34], edx
movzx esi, byte [esi + ebp + 0x2aa0]
lea ecx, [esi + ecx*2]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x84]
add ecx, eax
shl ecx, 8
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
imul ecx, ecx, 0x110
add ecx, eax
lea esi, [eax + 3]
add eax, ebx
shl eax, 5
lea ecx, [ebp + ecx*4 + 0x329c]
lea eax, [eax + ebp + 0xbab4]
mov dword [esp + 0x44], ecx
mov ecx, dword [ecx]
add ecx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
lea eax, [esi - 5]
cmp eax, 3
jb 0x40ed86
mov eax, 3
mov ebx, edx
cmp edx, 0x80
jae 0x40eda1
shl eax, 7
and ebx, 0x7f
add eax, ebx
add ecx, dword [ebp + eax*4 + 0x1420]
jmp 0x40edbe
shl eax, 6
add eax, dword [esp + 0x80]
and ebx, 0xf
mov eax, dword [ebp + eax*4 + 0x1020]
add eax, dword [ebp + ebx*4 + 0xfe0]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
cmp ecx, dword [eax - 0xc]
jae 0x40eddf
mov dword [eax - 0xc], ecx
lea ecx, [esi - 3]
mov dword [eax - 4], ecx
lea ecx, [edx + 4]
mov dword [eax], ecx
xor ecx, ecx
mov word [eax - 6], cx
lea ecx, [esi - 3]
cmp ecx, dword [edi + ebp + 0x750]
jne 0x40efff
mov eax, dword [esp + 0x18]
sub eax, edx
mov edx, dword [ebp + 0x30]
lea ecx, [esi + edx - 2]
mov edx, dword [esp + 0x2c]
dec eax
cmp ecx, edx
jbe 0x40ee07
mov ecx, edx
mov dword [esp + 0x80], esi
cmp esi, ecx
ja 0x40efb3
mov edx, dword [esp + 0x18]
mov dl, byte [esi + edx - 2]
cmp dl, byte [esi + eax - 2]
lea edi, [esi + eax]
jne 0x40efb3
mov edx, dword [esp + 0x18]
mov dl, byte [esi + edx - 1]
cmp dl, byte [edi - 1]
jne 0x40efb3
cmp esi, ecx
jae 0x40ee68
mov ebx, dword [esp + 0x18]
sub ebx, eax
mov dword [esp + 0x54], ebx
mov edx, esi
jmp 0x40ee54
mov ebx, dword [esp + 0x54]
mov bl, byte [ebx + edi]
cmp bl, byte [edi]
jne 0x40ee61
inc edx
inc edi
cmp edx, ecx
jb 0x40ee50
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x84]
lea ebx, [esi + edx - 3]
lea ecx, [esi - 3]
sub dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x4c]
and ebx, ecx
mov ecx, dword [esp + 0x18]
movzx edx, byte [esi + ecx - 3]
movzx eax, byte [eax + esi - 3]
mov dword [esp + 0x54], edx
movzx edx, byte [ecx + esi - 4]
add edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x94]
and edx, dword [ebp + 0x48]
lea edi, [ebp + 0x550]
shl edx, cl
lea ecx, [edx + edx*2]
mov edx, dword [ebp + 0x50]
lea ecx, [edx + ecx*2]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.0040d7d0
mov edx, dword [esp + 0x20]
movzx ecx, byte [edx + 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]
add ecx, 0xe5
shl ecx, 4
add ecx, ebx
movzx edx, word [ebp + ecx*2]
mov ecx, dword [esp + 0x34]
shr edx, 4
add eax, dword [ebp + edx*4 + 0x550]
add esp, 4
add ecx, eax
lea eax, [ebx + 1]
and eax, dword [ebp + 0x4c]
movzx edx, word [ebp + eax*2 + 0x1ea0]
movzx edi, word [ebp + eax*2 + 0x1d20]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x550]
xor edi, 0x7f0
shr edi, 4
add edx, dword [ebp + edi*4 + 0x550]
movzx edi, word [ebp + 0x1c48]
xor edi, 0x7f0
shr edi, 4
add edx, dword [ebp + edi*4 + 0x550]
movzx edi, word [ebp + 0x1c60]
shr edi, 4
add edx, dword [ebp + edi*4 + 0x550]
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x80]
add ecx, edx
lea edx, [esi - 3]
add ecx, edx
cmp dword [esp + 0x14], ecx
jae 0x40ef6f
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x80]
imul eax, eax, 0x110
dec edx
add eax, edx
mov eax, dword [ebp + eax*4 + 0x76a0]
add eax, dword [esp + 0x30]
shl ecx, 5
cmp eax, dword [ecx + ebp + 0xbaa8]
lea ecx, [ecx + ebp + 0xbaa8]
jae 0x40efb3
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x34]
mov dword [ecx], eax
lea eax, [esi - 2]
add edx, 4
mov word [ecx + 6], ax
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x38]
add eax, 2
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x3c]
je 0x40f017
lea edi, [eax*4]
mov eax, dword [edi + ebp + 0x754]
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + ebp + 0x2aa0]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x44]
add dword [esp + 0x24], 0x100
add ecx, 4
add eax, 0x20
inc esi
jmp 0x40ed6b
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x14]
jne 0x40e420
jmp 0x40f08a
mov edx, esi
shl edx, 5
mov edi, dword [edx + ebp + 0xbaa8]
lea eax, [esi + 1]
mov ebx, esi
cmp eax, dword [esp + 0x14]
ja 0x40f064
mov ecx, eax
shl ecx, 5
lea edx, [ecx + ebp + 0xbaa8]
nop
mov ecx, dword [edx]
cmp edi, ecx
jb 0x40f05a
mov edi, ecx
mov ebx, eax
inc eax
add edx, 0x20
cmp eax, dword [esp + 0x14]
jbe 0x40f050
mov eax, ebx
sub eax, esi
je 0x40f07a
mov edx, dword [ebp]
add dword [ebp + 0x34], eax
push eax
mov eax, dword [ebp + 0x14]
push edx
call eax
add esp, 8
mov dword [esp + 0x20], ebx
jmp 0x40f08a
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov edx, ecx
shl edx, 5
lea eax, [edx + ebp + 0xbaa8]
lea ebx, [ebx]
mov dword [eax], 0x40000000
dec ecx
sub eax, 0x20
test ecx, ecx
jne 0x40f0a0
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040dda0
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x6c
ret