Function at 0x40e590
Capabilities:
Enumerate pe sections
Log keystrokes via polling

Disassembly:
sub esp, 0xf8
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov al, byte [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov dword [esp + 0x30], 0x7fff
cmp ecx, 0xffc3d44f
je 0x40e5e2
cmp ecx, 0xffc3d44e
je 0x40e5e2
mov byte [esp + 0x12], 0
cmp ecx, 0xffc3d44d
jne 0x40e5e7
mov byte [esp + 0x12], 1
mov ecx, dword [0x4e8934]
test ecx, ecx
jne 0x40e5fe
lea edi, [esp + 0x34]
mov dword [esp + 0x14], edi
jmp 0x40e6c7
mov eax, dword [0x4e8938]
mov edi, eax
imul edi, edi, 0xd4
inc eax
add edi, ecx
mov dword [esp + 0x14], edi
mov dword [0x4e8938], eax
cmp eax, dword [0x4e4a30]
jl 0x40e629
mov dword [0x4e8938], 0
mov al, byte [esp + 0x11c]
mov byte [edi], al
mov byte [edi + 6], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4eae94]
mov dword [0x4e893c], eax
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
jns 0x40e658
fadd dword [0x4de808]
fdiv qword [0x4de800]
mov dword [0x4eae94], eax
fstp dword [edi + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x40e69a
cmp esi, dword [0x4e8940]
je 0x40e692
mov eax, dword [0x4e7ef0]
push esi
lea edx, [edi + 0xc]
push edx
push 0x418
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40e6b3
xor ecx, ecx
mov word [edi + 0xc], cx
jmp 0x40e6b3
mov eax, 0x4beeec
lea edx, [edi + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40e6a4
mov edx, dword [esp + 0x12c]
mov al, byte [esp + 0x11c]
mov dword [0x4e8940], esi
cmp al, 0xe7
jne 0x40e715
movzx eax, word [ebp + 4]
mov ecx, dword [esp + 0x114]
push 0x7fff
push edi
push ebx
mov edx, 0x55
push 0xe7
push ecx
mov ecx, dword [esp + 0x120]
mov word [edi + 4], dx
mov edx, dword [esp + 0x124]
push edx
push ecx
mov ecx, ebp
mov word [edi + 2], ax
call fcn.004100f0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
mov esi, dword [esp + 0x120]
lea ecx, [eax + 0x64]
mov word [edi + 2], si
cmp cl, 3
ja 0x40e731
xor esi, esi
mov dword [esp + 0x120], esi
mov ecx, dword [esp + 0x10c]
cmp ecx, dword [0x4e8024]
jne 0x40e765
and dl, 1
mov byte [esp + 0x13], dl
jne 0x40e87e
test bl, bl
setne dl
dec dl
movzx eax, al
and dl, 0x80
mov byte [eax + 0x4e7f10], dl
jmp 0x40e87e
shr edx, 4
and dl, 1
mov byte [esp + 0x13], dl
test esi, 0x100
jne case.0x40e7a9.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x40e7a9.13
movzx eax, byte [esp + 0x11c]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x40e7a9.13
movzx ecx, byte [eax + 0x40ff18]
jmp dword [ecx*4 + 0x40fee8]
test bl, bl
sete dl
mov byte [0x4e6d78], dl
jmp case.0x40e7a9.13
test bl, bl
sete al
mov byte [0x4e6d79], al
jmp case.0x40e7a9.13
test bl, bl
sete cl
mov byte [0x4e6d7a], cl
jmp case.0x40e7a9.13
test bl, bl
sete dl
mov byte [0x4e6d7b], dl
jmp case.0x40e7a9.13
test bl, bl
sete al
mov byte [0x4e6d7c], al
jmp case.0x40e7a9.13
test bl, bl
sete cl
mov byte [0x4e6d7d], cl
jmp case.0x40e7a9.13
test bl, bl
sete dl
mov byte [0x4e6d7e], dl
jmp case.0x40e7a9.13
test bl, bl
sete al
mov byte [0x4e6d7f], al
jmp case.0x40e7a9.13
test bl, bl
sete cl
mov byte [0x4e6d80], cl
jmp case.0x40e7a9.13
test bl, bl
sete dl
mov byte [0x4e6d81], dl
jmp case.0x40e7a9.13
test bl, bl
sete al
mov byte [0x4e6d82], al
movzx esi, byte [esp + 0x11c]
mov edx, dword [0x4e895c]
lea ecx, [esi + esi*4]
cmp byte [edx + ecx*4 + 8], 0
jne 0x40e87e
test byte [esp + 0x12c], 0x10
jne 0x40e87e
mov al, byte [esp + 0x11c]
push ebx
call fcn.004114c0
add esp, 4
test al, al
je 0x40e87e
test bl, bl
setne al
dec al
and al, 0x80
mov byte [esi + 0x4e7f10], al
cmp byte [esp + 0x12], 0
je 0x40e889
mov al, 0x69
jmp 0x40e895
mov al, byte [esp + 0x13]
neg al
sbb al, al
and al, 0x41
add al, 0x20
cmp byte [0x4e8010], 0
movsx cx, al
mov word [edi + 4], cx
je 0x40e8e0
mov al, byte [esp + 0x11c]
cmp al, 0x5b
je 0x40e8b5
cmp al, 0x5c
jne 0x40e8e0
test bl, bl
jne 0x40e8e0
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push 0
push SysReAllocString
push 0x7fff
push 0
push edx
push eax
mov ebx, edi
mov eax, ebp
jmp 0x40fecb
cmp byte [0x4e6d9c], 0
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
je 0x40e9a7
cmp byte [esp + 0x11c], 0x1b
jne 0x40e9a7
test bl, bl
jne 0x40e9a7
push 0
push str.32771
call esi
test eax, eax
je 0x40e9a7
push 0
push eax
call edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebp, eax
jne 0x40e9a7
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.00419440
mov cl, byte [0x4e7ee7]
push 0xffc3d44d
shr cl, 3
push 0
and cl, 1
or cl, 0xa4
push 0
movzx edx, cl
push 0
push edx
push 1
call fcn.00419440
mov eax, dword [esp + 0x150]
push 0
push SysReAllocString
push 0x7fff
push 0
push eax
push 0x1b
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x154]
call fcn.0040ffc0
add esp, 0x48
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
movzx eax, word [esp + 0x120]
mov edx, dword [0x4e8960]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x10c]
mov cl, byte [eax + 0x13]
mov byte [esp + 0x24], cl
cmp edx, dword [0x4e8020]
jne 0x40e9e3
test cl, cl
je 0x40e9e3
mov ecx, dword [0x4e895c]
mov ebp, eax
mov dword [esp + 0x1c], eax
jmp 0x40e9fb
movzx eax, byte [esp + 0x11c]
mov ecx, dword [0x4e895c]
lea eax, [eax + eax*4]
lea ebp, [ecx + eax*4]
mov dword [esp + 0x1c], ebp
cmp byte [esp + 0x12], 0
je 0x40ea79
cmp dword [esp + 0x128], 0xffc3d44e
jne 0x40ea2d
test bl, bl
je 0x40ea2d
cmp dword [0x4e6d98], ebp
jne 0x40ea2d
mov byte [ebp + 0xd], 0
mov byte [ebp + 0x10], 0
mov dword [0x4e6d98], 0
mov ecx, dword [esp + 0x14]
push 0x7fff
push ecx
push ebx
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push edx
mov edx, dword [esp + 0x11c]
push eax
push ecx
push edx
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x134]
call fcn.004100f0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
test bl, bl
jne 0x40ea89
mov eax, 0x7fff
mov byte [ebp + 0x11], bl
mov word [ebp + 4], ax
cmp edx, dword [0x4e8024]
jne 0x40eb3b
mov al, byte [esp + 0x11c]
test al, al
jne 0x40eae6
mov ecx, dword [esp + 0x14]
push 0x7fff
push ecx
push ebx
push 0
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push edx
push eax
push ecx
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x134]
call fcn.004100f0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
cmp al, 1
je 0x40eaee
cmp al, 2
jne 0x40eb3b
cmp dword [0x4e8080], 0
jne 0x40eb11
push 0
push str.32768
call esi
test eax, eax
je 0x40eb35
push 0
push eax
call edi
cmp eax, dword [0x4ea158]
jne 0x40eb35
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x11c]
push 0x7fff
push eax
test bl, bl
sete dl
push ebx
mov byte [ebp + 0x10], 0
mov byte [ebp + 0xd], dl
push ecx
jmp 0x40eaad
mov ecx, dword [0x4e895c]
mov esi, dword [0x4e6d98]
test esi, esi
je 0x40eb74
cmp esi, ebp
je 0x40eb74
test bl, bl
jne 0x40eb74
mov edi, dword [0x4e8020]
cmp dword [esp + 0x10c], edi
jne 0x40eb66
xor eax, eax
cmp byte [ebp + 8], al
sete al
jmp 0x40eb6a
movzx eax, byte [esi + 8]
test eax, eax
je 0x40eb7a
mov byte [esi + 0x12], 1
jmp 0x40eb7a
mov edi, dword [0x4e8020]
cmp byte [ebp + 9], 0
jne 0x40ebb6
cmp byte [ebp + 0xa], 0
jne 0x40ebb6
mov edx, dword [esp + 0x14]
push 0x7fff
push edx
push ebx
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
jmp 0x40eac5
mov dword [esp + 0x18], 0x7fff
mov dword [esp + 0x28], 0
test bl, bl
je 0x40ebf4
mov al, byte [ebp + 0x10]
mov dl, byte [ebp + 0xd]
mov byte [esp + 0x13], al
movzx eax, word [ebp + 4]
mov byte [esp + 0x23], dl
mov edx, 0x7fff
mov byte [ebp + 0x10], 0
cmp ax, dx
je 0x40ebf2
mov dword [esp + 0x18], eax
mov word [ebp + 4], dx
test bl, bl
sete al
mov byte [ebp + 0xd], al
mov byte [esp + 0x10], 0
cmp dword [esp + 0x10c], edi
jne 0x40ec7d
cmp byte [ebp + 8], 0
je 0x40eca0
cmp byte [ecx + 0xcb5], 0
jne 0x40ec28
cmp byte [ecx + 0xcc9], 0
jne 0x40ec28
xor eax, eax
jmp 0x40ec2d
mov eax, 1
cmp byte [ecx + 0xcdd], 0
mov byte [ecx + 0x161], al
jne 0x40ec49
cmp byte [ecx + 0xcf1], 0
jne 0x40ec49
xor eax, eax
jmp 0x40ec4e
mov eax, 1
cmp byte [ecx + 0xc8d], 0
mov byte [ecx + 0x175], al
jne 0x40ec70
cmp byte [ecx + 0xca1], 0
jne 0x40ec70
xor eax, eax
mov byte [ecx + 0x14d], al
jmp 0x40eca0
mov eax, 1
mov byte [ecx + 0x14d], al
jmp 0x40eca0
test edi, edi
jne 0x40eca0
push 1
call fcn.0041b9f0
mov esi, dword [0x4e6d98]
add esp, 4
mov byte [0x4e7eea], al
mov byte [0x4e7ee7], al
mov byte [esp + 0x10], 1
mov eax, dword [ebp]
test eax, eax
je 0x40ecb1
cmp dword [eax], 7
mov byte [esp + 0x12], 1
je 0x40ecb6
mov byte [esp + 0x12], 0
mov al, byte [ebp + 9]
test al, al
je 0x40ee7e
test bl, bl
jne 0x40ee7e
test esi, esi
je 0x40ecda
cmp byte [ebp + 0xa], bl
je 0x40ecda
cmp ebp, esi
jne 0x40ee7e
mov edi, dword [esp + 0x120]
cmp al, 1
jne 0x40ed16
cmp byte [esp + 0x24], 0
movzx eax, di
jne 0x40ecf7
movzx eax, byte [esp + 0x11c]
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.00413da0
mov esi, dword [0x4e6d98]
add esp, 8
test al, al
je 0x40ed16
mov byte [esp + 0x11], 1
jmp 0x40ed2b
mov byte [esp + 0x11], 0
cmp ebp, esi
je 0x40ed2b
mov esi, ebp
mov dword [0x4e6d98], esi
mov byte [ebp + 0x12], 0
cmp byte [ebp + 0xa], 0
je 0x40eded
cmp byte [esp + 0x10], 0
jne 0x40ed51
push 1
mov byte [esp + 0x14], 1
call fcn.0041b9f0
mov esi, dword [0x4e6d98]
add esp, 4
mov al, byte [ebp + 8]
mov cl, byte [0x4e7eea]
test al, al
je 0x40ed62
not al
and cl, al
test cl, cl
jne 0x40ed72
cmp byte [esp + 0x11], cl
jne 0x40ed72
test byte [ebp + 0xc], 1
je 0x40eded
mov edx, dword [0x4e8020]
cmp dword [esp + 0x10c], edx
jne 0x40ed9f
cmp byte [esp + 0x24], 0
je 0x40ed9f
mov edx, dword [0x4e8954]
movzx ecx, cl
movzx eax, di
shl ecx, 9
add ecx, eax
movzx ecx, word [edx + ecx*2]
jmp 0x40edb9
mov edx, dword [0x4e8950]
movzx eax, cl
movzx ecx, byte [esp + 0x11c]
shl eax, 8
add eax, ecx
movzx ecx, word [edx + eax*2]
mov dword [esp + 0x18], ecx
test ecx, 0x8000
je 0x40edcb
mov word [ebp + 4], cx
jmp 0x40edff
mov edx, dword [0x4e5d74]
mov eax, ecx
and eax, 0x7fff
cmp ax, word [edx]
jae 0x40edf1
mov edx, dword [0x4e8958]
mov ax, word [edx + eax*2]
mov word [ebp + 4], ax
jmp 0x40edf1
mov ecx, dword [esp + 0x18]
mov edx, 0x7fff
cmp cx, dx
jne 0x40ee85
mov al, byte [esp + 0x11]
mov ebx, dword [esp + 0x14]
test al, al
je 0x40ee18
or byte [ebp + 0xc], 8
mov ecx, 0x23
mov word [ebx + 4], cx
cmp byte [ebp + 8], 0
jne 0x40ee4f
test byte [ebp + 0xc], 1
jne 0x40ee4f
cmp byte [esp + 0x12], 0
jne 0x40ee4f
test al, al
jne 0x40ee4f
mov edx, dword [esp + 0x11c]
push 0
push SysReAllocString
push 0x7fff
push 0
push edi
mov byte [ebp + 0x11], 1
push edx
jmp 0x40fec4
push 0x7fff
push ebx
push 0
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
mov eax, edi
jmp 0x40eacc
mov edi, dword [esp + 0x120]
cmp byte [ebp + 0xa], 0
mov byte [esp + 0x11], 0
je 0x40ef33
test bl, bl
je 0x40ef33
cmp esi, ebp
jne 0x40eeb3
cmp byte [esp + 0x13], 0
je 0x40ef33
xor esi, esi
mov dword [0x4e6d98], esi
cmp byte [ebp + 0xb], 0
jne 0x40ef2e
mov al, byte [ebp + 0xc]
test al, 8
je 0x40eec9
xor cl, cl
and al, 0xf7
mov byte [ebp + 0xc], al
jmp 0x40eecb
mov cl, 1
cmp byte [esp + 0x13], 0
je 0x40eefc
test cl, cl
je 0x40eefc
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x14]
push 0
push SysReAllocString
push 0x7fff
push ecx
push edi
push edx
jmp 0x40fec4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x114]
push 0x7fff
push eax
mov eax, dword [esp + 0x118]
push ebx
push ecx
mov ecx, dword [esp + 0x11c]
push edx
push eax
push ecx
mov eax, edi
jmp 0x40eacc
mov byte [esp + 0x11], 1
cmp byte [ebp + 9], 0
je 0x40f108
test bl, bl
je 0x40f108
cmp esi, ebp
jne 0x40ef51
xor esi, esi
mov dword [0x4e6d98], esi
cmp byte [ebp + 0xe], 0
je 0x40ef78
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [ebp + 0xe], 0
call fcn.00419440
mov esi, dword [0x4e6d98]
add esp, 0x18
cmp byte [ebp + 0xf], 0
je 0x40ef9f
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [ebp + 0xf], 0
call fcn.00419440
mov esi, dword [0x4e6d98]
add esp, 0x18
mov edx, dword [esp + 0x18]
mov eax, 0x7fff
cmp dx, ax
jne 0x40efeb
mov al, byte [ebp + 0xc]
test al, 8
je 0x40efeb
and al, 0xf7
mov byte [ebp + 0xc], al
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x114]
push 0x7fff
push ecx
mov ecx, dword [esp + 0x118]
push ebx
push edx
mov edx, dword [esp + 0x11c]
push eax
push ecx
push edx
mov eax, edi
jmp 0x40eacc
mov cl, byte [esp + 0x12]
test cl, cl
je 0x40f077
mov al, byte [ebp + 0x12]
cmp al, 2
jne 0x40f044
mov esi, dword [esp + 0x11c]
push 0xffc3d44e
push 0
push 0
push edi
push esi
push 1
call fcn.00419440
push 0xffc3d44d
push 0
push 0
push edi
push esi
push 2
call fcn.00419440
mov eax, dword [esp + 0x154]
push 0
push SysReAllocString
push 0x7fff
push eax
push edi
push esi
jmp 0x40e982
cmp al, 1
je 0x40efb9
cmp byte [ebp + 0xa], 0
jne 0x40f0eb
cmp byte [ebp + 8], 0
jne 0x40eefc
test byte [ebp + 0xc], 1
jne 0x40eefc
test cl, cl
jne 0x40eefc
jmp 0x40eed6
cmp byte [ebp + 0x12], 0
je 0x40f04c
mov eax, 0x7fff
cmp dx, ax
jne 0x40f04c
cmp byte [ebp + 8], 0
jne 0x40efb9
test byte [ebp + 0xc], 1
je 0x40f0c5
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x114]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x118]
push ebx
push ecx
mov ecx, dword [esp + 0x11c]
push edx
push eax
push ecx
mov eax, edi
jmp 0x40ea5f
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x11c]
mov ebx, dword [esp + 0x14]
push 0
push SysReAllocString
push 0x7fff
push edx
push edi
push eax
jmp 0x40fec4
cmp byte [esp + 0x23], 0
jne 0x40f10c
cmp byte [ebp + 0xb], 0
jne 0x40f10c
mov edx, dword [esp + 0x14]
push 0x7fff
push edx
push ebx
jmp 0x40ee57
mov edx, dword [esp + 0x18]
cmp byte [esp + 0x10], 0
jne 0x40f131
mov ecx, 0x7fff
cmp dx, cx
jne 0x40f131
push 1
call fcn.0041b9f0
mov esi, dword [0x4e6d98]
mov edx, dword [esp + 0x1c]
add esp, 4
mov byte [esp + 0x10], 0
test esi, esi
je 0x40f502
test bl, bl
je 0x40f14c
cmp byte [ebp + 0xb], 0
je 0x40f502
mov eax, 0x7fff
cmp dx, ax
jne 0x40f7e9
movzx esi, word [ebp + 6]
mov ecx, eax
xor edx, edx
cmp si, cx
je 0x40f2eb
mov edi, dword [0x4e895c]
mov ecx, dword [0x4e896c]
movzx eax, si
mov eax, dword [ecx + eax*4]
mov cl, byte [eax + 0x11]
test cl, cl
je 0x40f18f
movzx ecx, cl
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*4]
jmp 0x40f19f
movzx ecx, word [eax + 0xa]
mov ebx, dword [0x4e8960]
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*4]
cmp byte [ecx + 0xd], 0
je 0x40f1d4
cmp byte [eax + 0x16], 0
je 0x40f1c4
mov ebx, dword [esp + 0x124]
test bl, bl
jne 0x40f1eb
mov cx, word [eax + 4]
mov word [ebp + 4], cx
test edx, edx
jne 0x40f1f5
jmp 0x40f1d4
cmp byte [esp + 0x124], 0
jne 0x40f1d4
test edx, edx
jne 0x40f1d4
mov edx, eax
movzx esi, word [eax + 0xc]
mov eax, 0x7fff
cmp si, ax
jne 0x40f171
mov ebx, dword [esp + 0x124]
jmp 0x40f1ed
mov edx, eax
test edx, edx
je 0x40f2f2
movzx eax, byte [edx + 0x11]
cmp eax, 0x12
ja case.0x40f205.1
movzx ecx, byte [eax + 0x40ff90]
jmp dword [ecx*4 + 0x40ff7c]
xor eax, eax
cmp byte [edi + 0xca1], al
setne al
lea eax, [eax + eax*4 + 0x320]
lea ecx, [edi + eax*4]
mov dword [0x4e6d98], ecx
jmp 0x40f280
xor eax, eax
cmp byte [edi + 0xcc9], al
setne al
lea eax, [eax + eax*4 + 0x32a]
lea ecx, [edi + eax*4]
mov dword [0x4e6d98], ecx
jmp 0x40f280
xor eax, eax
cmp byte [edi + 0xcf1], al
setne al
lea eax, [eax + eax*4 + 0x334]
lea ecx, [edi + eax*4]
mov dword [0x4e6d98], ecx
jmp 0x40f280
movzx eax, word [edx + 0xa]
mov ecx, dword [0x4e8960]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
jmp 0x40f27b
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*4]
mov dword [0x4e6d98], eax
movzx eax, word [edx + 6]
mov ebp, dword [esp + 0x14]
test ax, ax
je 0x40f2a4
mov ecx, eax
mov dword [esp + 0x18], ecx
mov edx, dword [0x4e6d98]
movzx esi, word [esp + 0x18]
mov byte [edx + 0x12], 2
jmp 0x40f2f6
movzx edx, word [edx + 4]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x18]
push ebx
push eax
add ecx, 0xc
lea esi, [ebp + 4]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], edx
call fcn.00413fb0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x40f293
mov ecx, dword [esp + 0x11c]
push 0x7fff
push ebp
push ebx
push ecx
jmp 0x40eaad
mov ebx, dword [esp + 0x124]
mov ebp, dword [esp + 0x14]
mov eax, 0x7ffe
cmp si, ax
je 0x40f30e
mov ecx, 0x7ffd
cmp si, cx
jne 0x40f506
test bl, bl
jne 0x40f31a
mov edx, dword [esp + 0x1c]
mov byte [edx + 0x10], 1
test byte [0x4e7ee7], 0xc
jne 0x40f33a
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.00419440
add esp, 0x18
mov ebx, dword [esp + 0x11c]
cmp bl, 0xa2
je 0x40f34b
cmp bl, 0xa3
jne 0x40f371
cmp byte [esp + 0x124], 0
jne 0x40f371
mov eax, dword [esp + 0x120]
push 0xffc3d44d
push 0
push 0
push eax
push ebx
push 1
call fcn.00419440
add esp, 0x18
mov ecx, dword [0x4e6d98]
mov edx, 0x7ffd
mov byte [ecx + 0xe], 1
cmp si, dx
jne 0x40f3b3
test byte [0x4e7ee7], 0x30
jne 0x40f3a5
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.00419440
add esp, 0x18
mov eax, dword [0x4e6d98]
mov byte [eax + 0xf], 1
jmp 0x40f433
mov ecx, 0x7ffe
cmp si, cx
jne 0x40f433
cmp bl, 0xa0
je 0x40f3c7
cmp bl, 0xa1
jne 0x40f3ed
cmp byte [esp + 0x124], 0
jne 0x40f3ed
mov edx, dword [esp + 0x120]
push 0xffc3d44d
push 0
push 0
push edx
push ebx
push 1
call fcn.00419440
add esp, 0x18
test byte [0x4e7ee7], 0x10
je 0x40f410
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.00419440
add esp, 0x18
test byte [0x4e7ee7], 0x20
je 0x40f433
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.00419440
add esp, 0x18
test byte [0x4e7ee7], 1
je 0x40f456
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.00419440
add esp, 0x18
test byte [0x4e7ee7], 2
je 0x40f479
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.00419440
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.00419440
mov eax, 0x7ffd
add esp, 0x18
cmp si, ax
jne 0x40f4d6
mov ecx, dword [0x4e6d98]
cmp byte [ecx + 0xf], 0
je 0x40f4d6
cmp bl, 0x60
jb 0x40f4b0
cmp bl, 0x69
jbe 0x40f4b5
cmp bl, 0x6e
jne 0x40f4d6
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.00419440
mov edx, dword [0x4e6d98]
add esp, 0x18
mov byte [edx + 0xf], 0
cmp byte [esp + 0x124], 0
mov eax, 0x68
mov word [ebp + 4], ax
jne 0x40f4f1
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x11], 1
push 0
push SysReAllocString
push 0x7fff
jmp 0x40feaa
mov ebp, dword [esp + 0x14]
mov edx, 0x7fff
cmp word [esp + 0x18], dx
jne 0x40f7ed
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 8]
mov al, byte [0x4e7eea]
test cl, cl
je 0x40f52a
not cl
and al, cl
mov ebx, dword [0x4e8020]
cmp dword [esp + 0x10c], ebx
jne 0x40f565
cmp byte [esp + 0x24], 0
je 0x40f565
mov esi, dword [esp + 0x120]
movzx edx, al
movzx ecx, si
shl edx, 9
add edx, ecx
mov ecx, dword [0x4e8954]
movzx edx, word [ecx + edx*2]
mov cl, byte [esp + 0x11c]
jmp 0x40f588
mov cl, byte [esp + 0x11c]
movzx edx, al
movzx esi, cl
shl edx, 8
add edx, esi
mov esi, dword [0x4e8950]
movzx edx, word [esi + edx*2]
mov esi, dword [esp + 0x120]
mov edi, 0x7fff
mov dword [esp + 0x18], edx
cmp dx, di
jne 0x40f604
cmp byte [0x4e6d9c], 0
je 0x40f604
cmp cl, 9
je 0x40f604
and al, 0xf3
cmp dword [esp + 0x10c], ebx
jne 0x40f5cd
cmp byte [esp + 0x24], 0
je 0x40f5cd
mov edx, dword [0x4e8954]
movzx ecx, al
movzx eax, si
shl ecx, 9
add ecx, eax
movzx edx, word [edx + ecx*2]
jmp 0x40f5e2
mov edx, dword [0x4e8950]
movzx eax, al
movzx ecx, cl
shl eax, 8
add eax, ecx
movzx edx, word [edx + eax*2]
mov eax, edx
and eax, 0x7fff
mov ecx, 0x7ff9
mov dword [esp + 0x18], edx
cmp ax, cx
jbe 0x40f5fe
mov ecx, edi
cmp ax, cx
jb 0x40f604
mov edx, edi
mov dword [esp + 0x18], edx
test edx, 0x8000
je 0x40f66a
cmp byte [esp + 0x124], 0
jne 0x40f70b
mov ecx, dword [esp + 0x1c]
mov dx, word [esp + 0x18]
mov esi, dword [esp + 0x120]
mov word [ecx + 4], dx
lea eax, [ecx + 4]
mov ecx, 0x7fff
cmp word [eax], cx
jne 0x40f799
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x114]
push ebp
push 0
push edx
mov edx, dword [esp + 0x11c]
push eax
push ecx
push edx
mov eax, esi
jmp 0x40eacc
mov eax, edi
cmp dx, ax
je 0x40f722
mov ecx, dword [0x4e5d74]
and edx, eax
cmp byte [esp + 0x124], 0
mov eax, edx
je 0x40f6f2
cmp ax, word [ecx]
jae 0x40f6e9
movzx ebx, ax
mov eax, dword [0x4e8958]
add ebx, ebx
mov edx, edi
cmp word [ebx + eax], dx
je 0x40f6e9
cmp byte [esp + 0x11], 0
jne 0x40f6d9
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x128]
push edx
lea eax, [esp + 0x1c]
push eax
add ecx, 0xc
lea esi, [ebp + 4]
lea eax, [esp + 0x18]
call fcn.00413fb0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x40f70b
mov ecx, dword [0x4e8958]
movzx edx, word [ebx + ecx]
mov dword [esp + 0x18], edx
jmp 0x40f70b
cmp byte [esp + 0x11], 0
jne 0x40f722
jmp 0x40f70b
cmp ax, word [ecx]
jae 0x40f70b
movzx edx, ax
mov eax, dword [0x4e8958]
mov cx, word [eax + edx*2]
mov edx, dword [esp + 0x1c]
mov word [edx + 4], cx
mov eax, 0x7fff
cmp word [esp + 0x18], ax
jne 0x40f7ed
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x1c]
test al, al
je 0x40f62e
cmp byte [ecx + 8], 0
jne 0x40f76b
test byte [ecx + 0xc], 1
jne 0x40f76b
cmp byte [ecx + 9], 0
je 0x40f76b
cmp byte [esp + 0x12], 0
jne 0x40f76b
mov edx, dword [esp + 0x11c]
push 0
push SysReAllocString
push 0x7fff
mov ecx, eax
push ecx
push esi
push edx
jmp 0x40fec2
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x110]
push 0x7fff
push ebp
push eax
mov eax, dword [esp + 0x128]
push eax
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
mov eax, esi
jmp 0x40eacc
mov ecx, dword [esp + 0x1c]
push 1
push eax
add ecx, 0xc
xor esi, esi
lea eax, [esp + 0x18]
xor edi, edi
call fcn.00413fb0
add esp, 8
cmp byte [esp + 0x10], 0
je 0x40f7c6
push 0x7fff
push ebp
push edi
jmp 0x40fe4a
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push 0
push SysReAllocString
push 0x7fff
push 0
push ecx
push edx
jmp 0x40fec2
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0xc]
add ecx, 0xc
mov dword [esp + 0x14], ecx
test al, 8
je 0x40f812
cmp byte [esp + 0x124], 0
je 0x40f812
and al, 0xf7
mov byte [esp + 0x10], 1
mov byte [ecx], al
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4e5d74]
and eax, 0x7fff
cmp ax, word [ecx]
jae 0x40f90d
cmp dword [esp + 0x28], 0
jne 0x40f90d
mov ebx, dword [esp + 0x124]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x128]
lea edx, [esp + 0x18]
push ebx
push edx
lea esi, [ebp + 4]
lea eax, [esp + 0x18]
call fcn.00413fb0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x40f90d
mov eax, dword [esp + 0x1c]
test bl, bl
je 0x40f89e
cmp byte [eax + 0x11], 0
je 0x40f2d7
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push 0
push SysReAllocString
push 0x7fff
mov ecx, ebx
push ecx
push edx
push eax
jmp 0x40fec2
add eax, 4
mov edx, 0x7fff
cmp word [eax], dx
jne 0x40f8b4
push edx
push ebp
push 0
jmp 0x40eb91
mov ecx, dword [esp + 0x14]
push 1
push eax
xor esi, esi
lea eax, [esp + 0x18]
xor edi, edi
mov byte [esp + 0x18], 0
call fcn.00413fb0
mov ecx, dword [esp + 0x124]
add esp, 8
cmp byte [esp + 0x10], 0
je 0x40f8eb
push 0x7fff
push ebp
push edi
push ecx
jmp 0x40eaad
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
and byte [eax], 0xf7
push 0
push SysReAllocString
push 0x7fff
mov byte [edx + 0x11], 1
push 0
jmp 0x40feb9
mov esi, dword [esp + 0x18]
mov dl, byte [0x4e7ee7]
and esi, 0x7fff
test dl, 0xcc
je 0x40f9d4
cmp byte [esp + 0x10], 0
jne 0x40f9d4
cmp byte [0x4e6d9d], 0
jne 0x40f94d
mov eax, dword [esp + 0x10c]
cmp eax, dword [0x4e8024]
jne 0x40f9d4
mov bl, byte [0x4e7eeb]
test dl, 0xc0
je 0x40f97f
test bl, 0xc0
jne 0x40f976
push 0xc0
mov eax, esi
call fcn.00414200
mov dl, byte [0x4e7ee7]
add esp, 4
test al, al
je 0x40f97f
mov byte [0x4e6d9e], 1
jmp 0x40f9d4
cmp byte [0x4e6d9e], 0
jne 0x40f9d4
test dl, 0xc
je 0x40f9d4
test dl, 3
jne 0x40f9d4
test bl, 0xc
jne 0x40f9ad
push 0xc
mov eax, esi
call fcn.00414200
mov dl, byte [0x4e7ee7]
add esp, 4
test al, al
je 0x40f9d4
cmp dword [0x4e8020], 0
je 0x40f9bf
mov byte [0x4e6d9e], 1
jmp 0x40f9d4
push 2
mov eax, 0xffc3d44d
call fcn.00419a80
mov dl, byte [0x4e7ee7]
add esp, 4
mov eax, esi
lea ecx, [eax - 0x7ffa]
cmp ecx, 4
ja case.default.0x40f9e5
jmp dword [ecx*4 + 0x40ffa4]
cmp byte [0x4e6d9c], 0
jne case.0x40f9e5.32763
mov ecx, dword [esp + 0x124]
push 0x7fff
push ebp
push ecx
jmp 0x40ea38
xor al, al
mov byte [esp + 0x11], al
test dl, 4
je 0x40fa17
mov al, 0xa4
jmp 0x40fa1e
test dl, 8
je 0x40fa22
mov al, 0xa5
mov byte [esp + 0x11], al
cmp byte [0x4e6d9c], 0
je 0x40fb1f
mov ecx, 0x7ffb
cmp si, cx
je case.0x40f9e5.32765
test al, al
movzx eax, al
jne 0x40fa49
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.00419440
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp byte [edx + 8], 0
je 0x40fa98
mov eax, dword [esp + 0x11c]
cmp al, 0x5b
je 0x40fa98
cmp al, 0x5c
je 0x40fa98
cmp byte [esp + 0x124], 0
jne 0x40fa98
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.00419440
add esp, 0x18
mov byte [0x4e6d9c], 0
mov edi, dword [esp + 0x30]
cmp byte [esp + 0x12], 0
mov ebx, dword [esp + 0x124]
mov esi, dword [esp + 0x1c]
mov ecx, 0x68
mov word [ebp + 4], cx
je 0x40fd8c
test bl, bl
je 0x40fe22
cmp byte [esi + 9], 0
je 0x40fd8c
mov ebx, dword [esp + 0x120]
mov esi, dword [esp + 0x11c]
push 0xffc3d44e
push 0
push 0
push ebx
push esi
push 1
call fcn.00419440
push 0xffc3d44d
push 0
push 0
push ebx
push esi
push 2
call fcn.00419440
mov edx, dword [esp + 0x154]
push 0
push SysReAllocString
push edi
push edx
push ebx
push esi
mov ebx, ebp
jmp 0x40e986
mov al, byte [esp + 0x11c]
cmp al, 0xa4
je 0x40fb33
mov byte [esp + 0x23], 0
cmp al, 0xa5
jne 0x40fb38
mov byte [esp + 0x23], 1
cmp al, 0xa0
je 0x40fb45
mov byte [esp + 0x13], 0
cmp al, 0xa1
jne 0x40fb4a
mov byte [esp + 0x13], 1
cmp al, 0xa2
je 0x40fb57
mov byte [esp + 0x2f], 0
cmp al, 0xa3
jne 0x40fb5c
mov byte [esp + 0x2f], 1
xor cl, cl
mov byte [esp + 0x28], cl
test dl, 0x10
je 0x40fb6b
mov cl, 0xa0
jmp 0x40fb87
test dl, 0x20
je 0x40fb74
mov cl, 0xa1
jmp 0x40fb87
cmp byte [esp + 0x124], 0
jne 0x40fb8b
cmp byte [esp + 0x13], 0
je 0x40fb8b
mov cl, al
mov byte [esp + 0x28], cl
mov byte [esp + 0x24], 0
test dl, 1
je 0x40fb9c
mov byte [esp + 0x24], 0xa2
jmp 0x40fbbd
test dl, 2
je 0x40fba8
mov byte [esp + 0x24], 0xa3
jmp 0x40fbbd
cmp byte [esp + 0x124], 0
jne 0x40fbbd
cmp byte [esp + 0x2f], 0
je 0x40fbbd
mov byte [esp + 0x24], al
mov esi, dword [esp + 0x28]
xor bl, bl
test cl, cl
je 0x40fbdf
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.00419440
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x24], 0
je 0x40fc00
mov eax, dword [esp + 0x24]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.00419440
add esp, 0x18
cmp byte [esp + 0x23], 0
je 0x40fc1a
cmp byte [esp + 0x124], 0
jne 0x40fc22
mov al, byte [esp + 0x11c]
jmp 0x40fc1e
mov al, byte [esp + 0x11]
test al, al
jne 0x40fc39
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.00419440
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.00419440
add esp, 0x18
test bl, bl
je 0x40fc71
cmp byte [esp + 0x13], 0
jne 0x40fc71
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.00419440
add esp, 0x18
mov byte [0x4e6d9c], 1
jmp 0x40fa9f
cmp byte [0x4e6d9c], 0
je 0x40f9f5
cmp byte [esp + 0x124], 0
mov ebx, dword [esp + 0x11c]
jne 0x40fcc5
cmp bl, 0xa2
je 0x40fcaf
cmp bl, 0xa3
je 0x40fcaf
cmp bl, 0xa0
je 0x40fcaf
cmp bl, 0xa1
jne 0x40fcc5
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.00419440
add esp, 0x18
test byte [0x4e7ee7], 0xc
je 0x40fce2
cmp byte [esp + 0x124], 0
je 0x40fcf9
cmp bl, 0xa4
je 0x40fce2
cmp bl, 0xa5
jne 0x40fcf9
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.00419440
add esp, 0x18
mov eax, 0x7ffd
xor bl, bl
cmp si, ax
jne 0x40fd27
test byte [0x4e7ee7], 0x30
jne 0x40fd27
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.00419440
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.00419440
add esp, 0x18
test bl, bl
je 0x40fa9f
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.00419440
add esp, 0x18
jmp 0x40fa9f
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x40faa3
cmp byte [eax], 5
jb 0x40faa3
mov edx, ecx
movzx eax, word [edx + 0x14]
shl eax, 0x10
or edi, eax
jmp 0x40faa3
test bl, bl
je 0x40fe22
cmp byte [esi + 8], 0
je 0x40fdc9
cmp byte [esi + 0x11], 0
je 0x40fe47
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push 0
push SysReAllocString
push edi
push eax
push ecx
push edx
jmp 0x40fec2
cmp byte [esp + 0x10], 0
je 0x40fe9a
mov eax, dword [esp + 0x10c]
push edi
push ebp
push ebx
cmp eax, dword [0x4e8024]
jne 0x40fe04
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x120]
push edx
push ecx
push eax
jmp 0x40ea58
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x120]
push edx
mov edx, dword [esp + 0x120]
push ecx
push edx
push eax
jmp 0x40ea58
mov eax, dword [0x4e6d98]
mov byte [esi + 0x10], 1
test eax, eax
je 0x40fe39
cmp byte [eax + 8], 0
je 0x40fe39
mov byte [eax + 0x12], 2
cmp byte [esp + 0x10], 0
je 0x40fe6f
mov eax, dword [esp + 0x14]
or byte [eax], 8
push edi
push ebp
push ebx
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
jmp 0x40ea58
mov eax, dword [esp + 0x11c]
cmp al, 0xa4
je 0x40fe7e
cmp al, 0xa5
jne 0x40fe9a
mov ecx, dword [esp + 0x120]
push 0xffc3d450
push 0
push 0
push ecx
push eax
push 1
call fcn.00419440
add esp, 0x18
test bl, bl
jne 0x40fea2
mov byte [esi + 0x11], 1
push 0
push SysReAllocString
push edi
mov edx, dword [esp + 0x130]
mov ecx, dword [esp + 0x128]
push edx
mov eax, dword [esp + 0x130]
push eax
push ecx
mov ebx, ebp
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x124]
call fcn.0040ffc0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret