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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x28], 0x3fff
cmp eax, 0xffc3d44f
je 0x4047e9
cmp eax, 0xffc3d44e
je 0x4047e9
mov byte [esp + 0x13], 0
cmp eax, 0xffc3d44d
jne 0x4047ee
mov byte [esp + 0x13], 1
mov ecx, dword [0x4a6584]
cmp ecx, edi
jne 0x404805
lea ebx, [esp + 0x40]
mov dword [esp + 0x18], ebx
jmp 0x4048a8
mov eax, dword [0x4a6588]
mov ebx, eax
imul ebx, ebx, 0x70
inc eax
add ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [0x4a6588], eax
cmp eax, dword [0x4a23a8]
jl 0x404829
mov dword [0x4a6588], edi
mov al, byte [ebp + 0x18]
mov cl, byte [ebp + 0x20]
mov byte [ebx], al
mov byte [ebx + 5], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x4a84cc]
mov dword [0x4a658c], eax
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
jns 0x404857
fadd dword [0x49c630]
fdiv qword [0x49c628]
mov dword [0x4a84cc], eax
fstp dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, edi
je 0x404898
cmp esi, dword [0x4a6590]
je 0x404892
mov ecx, dword [0x4a5c70]
push esi
lea eax, [ebx + 0xc]
push eax
push 0x418
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40489f
mov byte [ebx + 0xc], 0
jmp 0x40489f
mov dword [ebx + 0xc], 0x412f4e
mov edx, dword [ebp + 0x28]
mov dword [0x4a6590], esi
mov al, byte [ebp + 0x18]
cmp al, 0xe7
jne 0x4048c7
mov edx, dword [ebp + 0x14]
mov ax, word [edx + 4]
mov word [ebx + 2], ax
mov byte [ebx + 4], 0x55
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [ebp + 0x1c]
mov word [ebx + 2], cx
lea ecx, [eax + 0x64]
cmp cl, 3
ja 0x4048da
mov dword [ebp + 0x1c], edi
mov edi, dword [ebp + 8]
cmp edi, dword [0x4a5da4]
jne 0x40490c
and dl, 1
mov byte [esp + 0x11], dl
jne 0x404a3b
cmp byte [ebp + 0x20], 0
movzx eax, al
setne dl
dec dl
and dl, 0x80
mov byte [eax + 0x4a5c90], dl
jmp 0x404a3b
shr edx, 4
and dl, 1
test dword [ebp + 0x1c], 0x100
mov byte [esp + 0x11], dl
jne case.0x40494d.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x40494d.13
movzx eax, byte [ebp + 0x18]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x40494d.13
movzx ecx, byte [eax + 0x40634c]
jmp dword [ecx*4 + 0x40631c]
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a4b64], dl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a4b65], al
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete cl
mov byte [0x4a4b66], cl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a4b67], dl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a4b68], al
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete cl
mov byte [0x4a4b69], cl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a4b6a], dl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a4b6b], al
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete cl
mov byte [0x4a4b6c], cl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a4b6d], dl
jmp case.0x40494d.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a4b6e], al
movzx esi, byte [ebp + 0x18]
mov edx, dword [0x4a65a8]
lea ecx, [esi + esi*8]
shl ecx, 5
cmp byte [ecx + edx + 4], 0
jne 0x404a3b
test byte [ebp + 0x28], 0x10
jne 0x404a3b
mov eax, dword [ebp + 0x20]
push eax
mov al, byte [ebp + 0x18]
call fcn.004076a0
add esp, 4
test al, al
je 0x404a3b
cmp byte [ebp + 0x20], 0
setne cl
dec cl
and cl, 0x80
mov byte [esi + 0x4a5c90], cl
cmp byte [esp + 0x13], 0
je 0x404a46
mov al, 0x69
jmp 0x404a52
mov al, byte [esp + 0x11]
neg al
sbb al, al
and al, 0x41
add al, 0x20
cmp byte [0x4a5d90], 0
lea ecx, [ebx + 4]
mov dword [esp + 0x38], ecx
mov byte [ecx], al
je 0x404aa4
mov al, byte [ebp + 0x18]
cmp al, 0x5b
je 0x404a6f
cmp al, 0x5c
jne 0x404aa4
cmp byte [ebp + 0x20], 0
jne 0x404aa4
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x14]
xor bl, bl
mov eax, edi
call fcn.00406440
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4a4b88], 0
je 0x404b51
cmp byte [ebp + 0x18], 0x1b
jne 0x404b51
cmp byte [ebp + 0x20], 0
jne 0x404b51
push 0
push str.32771
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x404b51
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
jne 0x404b51
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.0040e970
mov dl, byte [0x4a5c6d]
push 0xffc3d44d
shr dl, 3
push 0
and dl, 1
or dl, 0xa4
push 0
movzx eax, dl
push 0
push eax
push 1
call fcn.0040e970
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push 0x3fff
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push 0x1b
xor bl, bl
mov eax, edi
call fcn.00406440
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebp + 0x1c]
mov ecx, dword [0x4a65ac]
mov dword [esp + 0x34], eax
lea eax, [eax + eax*8]
shl eax, 5
add eax, ecx
mov cl, byte [eax + 0x12]
mov byte [esp + 0x30], cl
cmp edi, dword [0x4a5da0]
jne 0x404b81
test cl, cl
je 0x404b81
mov cl, byte [ebp + 0x18]
mov esi, eax
jmp 0x404b93
mov cl, byte [ebp + 0x18]
movzx eax, cl
lea esi, [eax + eax*8]
shl esi, 5
add esi, dword [0x4a65a8]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], esi
je 0x404be0
cmp dword [ebp + 0x24], 0xffc3d44e
jne 0x404bc7
cmp byte [ebp + 0x20], 0
je 0x404bc7
cmp dword [0x4a4b84], esi
jne 0x404bc7
mov byte [esi + 0xc], 0
mov byte [esi + 0xf], 0
mov dword [0x4a4b84], 0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push ebx
push edx
push eax
push ecx
jmp 0x406300
mov al, byte [ebp + 0x20]
test al, al
jne 0x404bf3
mov edx, 0x3fff
mov byte [esi + 0x10], al
mov word [esi + 6], dx
cmp edi, dword [0x4a5da0]
jne 0x404caa
test al, al
je 0x404d06
cmp byte [0x4a4b8c], 0
je 0x404c15
cmp cl, 0x5b
je 0x404c47
cmp byte [0x4a4b8b], 0
je 0x404c23
cmp cl, 0x5c
je 0x404c47
cmp byte [0x4a4b8a], 0
je 0x404c31
cmp cl, 0xa4
je 0x404c47
cmp byte [0x4a4b89], 0
je 0x404d06
cmp cl, 0xa5
jne 0x404d06
movzx eax, cl
add eax, 0xffffffa5
cmp eax, 0x4a
ja case.0x404c59.93
movzx eax, byte [eax + 0x4063c4]
jmp dword [eax*4 + 0x4063b0]
mov byte [0x4a4b8c], 0
jmp case.0x404c59.93
mov byte [0x4a4b8b], 0
jmp case.0x404c59.93
mov byte [0x4a4b8a], 0
jmp case.0x404c59.93
mov byte [0x4a4b89], 0
test byte [0x4a5c6d], 3
jne 0x404d06
movzx ecx, byte [0x4a2365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040e970
add esp, 0x18
jmp 0x404d06
test cl, cl
jne 0x404cc9
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push ebx
push edx
push eax
push ecx
xor cl, cl
jmp 0x406303
cmp cl, 1
je 0x404cd3
cmp cl, 2
jne 0x404d06
cmp dword [0x4a5dfc], 0
jne 0x4062e0
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x404d06
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4a7c80]
je 0x4062e0
mov ecx, dword [0x4a4b84]
test ecx, ecx
je 0x404d38
cmp ecx, esi
je 0x404d38
cmp byte [ebp + 0x20], 0
jne 0x404d38
cmp edi, dword [0x4a5da0]
jne 0x404d2c
xor eax, eax
cmp byte [esi + 4], al
sete al
jmp 0x404d30
movzx eax, byte [ecx + 4]
test eax, eax
je 0x404d38
mov byte [ecx + 0x11], 1
cmp byte [esi + 8], 0
jne 0x404d48
cmp byte [esi + 9], 0
je 0x404bc7
mov dl, byte [ebp + 0x20]
mov esi, dword [esp + 0x14]
mov ebx, 0x3fff
mov byte [esp + 0x2f], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], 0
test dl, dl
je 0x404d99
mov al, byte [esi + 0xc]
mov cl, byte [esi + 0xf]
mov byte [esp + 0x23], al
movzx eax, word [esi + 6]
mov byte [esp + 0x22], cl
mov ecx, ebx
mov byte [esi + 0xf], 0
cmp ax, cx
je 0x404d97
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x2f], 1
mov word [esi + 6], ax
test dl, dl
mov eax, dword [0x4a5da0]
sete cl
mov byte [esi + 0xc], cl
mov byte [esp + 0x11], 0
cmp edi, eax
jne 0x404e28
cmp byte [esi + 4], 0
je 0x404e48
mov ecx, dword [0x4a65a8]
cmp byte [ecx + 0xb64c], 0
jne 0x404dd3
cmp byte [ecx + 0xb76c], 0
jne 0x404dd3
xor eax, eax
jmp 0x404dd8
mov eax, 1
cmp byte [ecx + 0xb88c], 0
mov byte [ecx + 0x132c], al
jne 0x404df4
cmp byte [ecx + 0xb9ac], 0
jne 0x404df4
xor eax, eax
jmp 0x404df9
mov eax, 1
cmp byte [ecx + 0xb40c], 0
mov byte [ecx + 0x144c], al
jne 0x404e1b
cmp byte [ecx + 0xb52c], 0
jne 0x404e1b
xor eax, eax
mov byte [ecx + 0x120c], al
jmp 0x404e48
mov eax, 1
mov byte [ecx + 0x120c], al
jmp 0x404e48
test eax, eax
jne 0x404e48
push 1
call fcn.00410f60
mov dl, byte [ebp + 0x20]
add esp, 4
mov byte [0x4a5c6e], al
mov byte [0x4a5c6d], al
mov byte [esp + 0x11], 1
mov eax, dword [esi]
test eax, eax
je 0x404e58
cmp dword [eax], 7
mov byte [esp + 0x13], 1
je 0x404e5d
mov byte [esp + 0x13], 0
mov al, byte [esi + 8]
test al, al
je 0x404fc7
test dl, dl
jne 0x404fc7
mov ecx, dword [0x4a4b84]
test ecx, ecx
je 0x404e87
cmp byte [esi + 9], dl
je 0x404e87
cmp esi, ecx
jne 0x404fc7
cmp al, 1
jne 0x404eb3
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x34]
jne 0x404e9a
movzx eax, byte [ebp + 0x18]
mov edx, dword [esp + 0x30]
push edx
push eax
call fcn.004098f0
add esp, 8
test al, al
je 0x404eb3
mov byte [esp + 0x12], 1
jmp 0x404eca
mov byte [esp + 0x12], 0
cmp esi, dword [0x4a4b84]
je 0x404eca
mov dword [0x4a4b84], esi
mov byte [esi + 0x11], 0
cmp byte [esi + 9], 0
je 0x404f74
cmp byte [esp + 0x11], 0
jne 0x404eea
push 1
mov byte [esp + 0x15], 1
call fcn.00410f60
add esp, 4
mov al, byte [esi + 4]
mov cl, byte [0x4a5c6e]
test al, al
je 0x404efb
not al
and cl, al
test cl, cl
jne 0x404f05
cmp byte [esp + 0x12], cl
je 0x404f74
cmp edi, dword [0x4a5da0]
jne 0x404f2a
cmp byte [esp + 0x30], 0
je 0x404f2a
movzx eax, cl
mov ecx, dword [0x4a65a0]
shl eax, 9
add eax, dword [esp + 0x34]
movzx ebx, word [ecx + eax*2]
jmp 0x404f40
movzx eax, byte [ebp + 0x18]
movzx edx, cl
mov ecx, dword [0x4a659c]
shl edx, 8
add edx, eax
movzx ebx, word [ecx + edx*2]
mov dword [esp + 0x1c], ebx
test ebx, 0x4000
je 0x404f52
mov word [esi + 6], bx
jmp 0x404f7e
mov ecx, dword [0x4a352c]
mov eax, ebx
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x404f74
movzx edx, ax
mov eax, dword [0x4a65a4]
mov cx, word [eax + edx*2]
mov word [esi + 6], cx
mov edx, 0x3fff
cmp bx, dx
jne 0x404fc7
mov al, byte [esp + 0x12]
test al, al
je 0x404f91
mov ecx, dword [esp + 0x38]
or byte [esi + 0xb], 8
mov byte [ecx], 0x23
cmp byte [esi + 4], 0
jne 0x404fac
test byte [esi + 0xb], 1
jne 0x404fac
cmp byte [esp + 0x13], 0
jne 0x404fac
test al, al
je 0x404a75
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push edx
push 0
push eax
push ecx
jmp 0x406300
cmp byte [esi + 9], 0
mov byte [esp + 0x21], 0
je 0x40506e
cmp byte [ebp + 0x20], 0
je 0x40506e
cmp dword [0x4a4b84], esi
jne 0x404ff9
cmp byte [esp + 0x22], 0
je 0x40506e
mov dword [0x4a4b84], 0
cmp byte [esi + 0xa], 0
jne 0x405069
mov al, byte [esi + 0xb]
test al, 8
je 0x40500f
xor cl, cl
and al, 0xf7
mov byte [esi + 0xb], al
jmp 0x405011
mov cl, 1
cmp byte [esp + 0x22], 0
je 0x40504c
test cl, cl
je 0x40504c
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov bl, byte [ebp + 0x20]
push 0
push SysReAllocString
push 0x3fff
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, edi
call fcn.00406440
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push 0
push 0x3fff
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
jmp 0x406300
mov byte [esp + 0x21], 1
cmp byte [esi + 8], 0
je 0x405230
cmp byte [ebp + 0x20], 0
je 0x405230
cmp dword [0x4a4b84], esi
jne 0x405094
mov dword [0x4a4b84], 0
cmp byte [esi + 0xd], 0
je 0x4050b5
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [esi + 0xd], 0
call fcn.0040e970
add esp, 0x18
cmp byte [esi + 0xe], 0
je 0x4050d6
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [esi + 0xe], 0
call fcn.0040e970
add esp, 0x18
mov eax, 0x3fff
cmp bx, ax
jne 0x405109
mov al, byte [esi + 0xb]
test al, 8
je 0x405109
and al, 0xf7
mov byte [esi + 0xb], al
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
push 0
push 0x3fff
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
jmp 0x406300
mov cl, byte [esp + 0x13]
mov al, byte [esi + 0x11]
test cl, cl
je 0x405185
cmp al, 2
jne 0x40516c
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
push 0xffc3d44e
push 0
push 0
push ebx
push esi
push 1
call fcn.0040e970
push 0xffc3d44d
push 0
push 0
push ebx
push esi
push 2
call fcn.0040e970
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
push 0
push SysReAllocString
push 0x3fff
push edx
push ebx
mov bl, byte [ebp + 0x20]
push esi
mov eax, edi
call fcn.00406440
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 1
jne 0x4051d9
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
push 0
push 0x3fff
push eax
push ecx
jmp 0x4062f8
test al, al
je 0x4051d9
mov edx, 0x3fff
cmp bx, dx
jne 0x4051d9
cmp byte [esi + 4], 0
je 0x4051b2
cmp al, 2
jne 0x4050ec
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
push 1
push edx
push eax
push ecx
jmp 0x4062f8
test byte [esi + 0xb], 1
push 0
je 0x4051f1
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push 0x3fff
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
push edi
jmp 0x406304
cmp byte [esi + 9], 0
jne 0x40521f
cmp byte [esi + 4], 0
jne 0x405170
test byte [esi + 0xb], 1
jne 0x405170
test cl, cl
jne 0x405170
push 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov bl, byte [ebp + 0x20]
push SysReAllocString
push 0x3fff
push eax
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov eax, edi
call fcn.00406440
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x23], 0
jne 0x405230
cmp byte [esi + 0xa], 0
je 0x4050ec
cmp byte [esp + 0x11], 0
jne 0x40524b
mov edx, 0x3fff
cmp bx, dx
jne 0x40524b
push 1
call fcn.00410f60
add esp, 4
cmp dword [0x4a4b84], 0
mov byte [esp + 0x12], 0
je 0x405903
cmp byte [ebp + 0x20], 0
je 0x405271
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xa], 0
je 0x405903
mov ecx, 0x3fff
cmp bx, cx
jne 0x405b58
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x13], 0
mov dword [esp + 0x24], 0
jbe 0x40539e
mov edi, dword [0x4a65a8]
lea esi, [edx + 0x16]
mov cl, byte [esi]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + edi + 0xc], 0
je 0x405312
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405300
cmp byte [ebp + 0x20], 0
jne 0x405330
mov ecx, 0x3fff
mov word [edx + 6], ax
cmp bx, cx
je 0x405312
mov dword [esp + 0x1c], ebx
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x405385
dec eax
je 0x40536c
dec eax
je 0x405350
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, edi
mov dword [0x4a4b84], ecx
jmp 0x405406
cmp byte [ebp + 0x20], 0
mov edi, dword [0x4a65a8]
jne 0x405312
mov ebx, eax
mov byte [esp + 0x11], cl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
movzx ecx, byte [edx + 0x13]
inc eax
add esi, 4
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x40529e
jmp 0x40533a
mov dl, byte [esi]
movzx ebx, word [esi + 2]
mov byte [esp + 0x11], dl
mov eax, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, ax
je 0x40539e
mov edi, dword [0x4a65a8]
jmp 0x4052d3
xor eax, eax
cmp byte [edi + 0xb9ac], al
setne al
lea eax, [eax + eax*8 + 0x5c4]
shl eax, 5
add eax, edi
jmp 0x405401
xor eax, eax
cmp byte [edi + 0xb76c], al
setne al
lea eax, [eax + eax*8 + 0x5b2]
shl eax, 5
add eax, edi
jmp 0x405401
xor eax, eax
cmp byte [edi + 0xb52c], al
setne al
lea eax, [eax + eax*8 + 0x5a0]
shl eax, 5
add eax, edi
jmp 0x405401
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp byte [ecx + 0x14], 0
jbe 0x405414
mov esi, ecx
add esi, 0xde
movzx ecx, word [esi]
mov eax, ecx
lea edx, [eax + eax*8]
mov eax, dword [0x4a65ac]
shl edx, 5
cmp byte [edx + eax + 0xc], 0
je 0x40543b
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x40542d
cmp byte [ebp + 0x20], 0
jne 0x405451
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bx, dx
je 0x40543b
mov dword [esp + 0x1c], ebx
movzx eax, word [esp + 0x24]
lea eax, [eax + eax*8]
shl eax, 5
add eax, dword [0x4a65ac]
mov dword [0x4a4b84], eax
mov edx, 0x3fff
cmp bx, dx
jne case.default.0x405426
movzx eax, byte [ebp + 0x18]
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x405426
jmp dword [eax*4 + 0x406410]
cmp byte [ebp + 0x20], 0
jne 0x40543b
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 0x14]
inc edi
add esi, 4
cmp edi, edx
jl 0x4053b2
jmp 0x40545c
movzx eax, word [esi]
movzx ebx, word [esi + 2]
mov dword [esp + 0x24], eax
mov ecx, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, cx
je 0x405414
jmp 0x4053f0
mov al, 0x11
jmp 0x405476
mov al, 0x12
jmp 0x405476
mov al, 0x10
mov ecx, dword [0x4a65a8]
movzx eax, al
lea esi, [eax + eax*8]
shl esi, 5
movzx edx, byte [esi + ecx + 0x13]
add esi, ecx
xor edi, edi
mov dword [esp + 0x38], esi
test edx, edx
jle 0x405513
add esi, 0x16
lea ecx, [ecx]
mov cl, byte [esi]
mov ebx, dword [0x4a65a8]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4054f3
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4054e1
cmp byte [ebp + 0x20], 0
jne 0x405501
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, 0x3fff
cmp bx, ax
jne 0x405521
jmp 0x4054f7
cmp byte [ebp + 0x20], 0
jne 0x4054f3
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x11], cl
jmp 0x4054f7
mov ebx, dword [esp + 0x1c]
inc edi
add esi, 4
cmp edi, edx
jl 0x4054a0
jmp 0x40550f
movzx ebx, word [esi + 2]
mov cl, byte [esi]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x11], cl
mov esi, dword [esp + 0x38]
mov edx, 0x3fff
cmp bx, dx
je 0x4055ad
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x40558e
dec eax
je 0x40556c
dec eax
je 0x40554a
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, dword [0x4a65a8]
mov dword [0x4a4b84], ecx
jmp case.default.0x405426
mov ecx, dword [0x4a65a8]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea eax, [eax + eax*8 + 0x5c4]
shl eax, 5
add eax, ecx
jmp 0x405621
mov ecx, dword [0x4a65a8]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea eax, [eax + eax*8 + 0x5b2]
shl eax, 5
add eax, ecx
jmp 0x405621
mov ecx, dword [0x4a65a8]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea eax, [eax + eax*8 + 0x5a0]
shl eax, 5
add eax, ecx
jmp 0x405621
movzx eax, byte [esi + 0x14]
xor edi, edi
mov dword [esp + 0x38], eax
test eax, eax
jle case.default.0x405426
add esi, 0xde
movzx ecx, word [esi]
mov edx, dword [0x4a65ac]
mov eax, ecx
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + edx + 0xc], 0
je 0x4056a6
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405698
cmp byte [ebp + 0x20], 0
jne 0x4056b6
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bx, dx
je 0x4056a6
mov dword [esp + 0x1c], ebx
movzx eax, word [esp + 0x24]
lea eax, [eax + eax*8]
shl eax, 5
add eax, dword [0x4a65ac]
mov dword [0x4a4b84], eax
mov esi, ebx
mov ecx, 0x3fff
and esi, 0x3fff
cmp bx, cx
je 0x4056ee
mov edx, dword [0x4a352c]
cmp si, word [edx]
jae 0x4056e4
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 0x24]
push eax
lea edx, [esp + 0x20]
add ecx, 0xb
push edx
lea esi, [ebx + 4]
lea eax, [esp + 0x1a]
call fcn.00409b50
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4056d8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x20]
push 0x3fff
push ebx
push eax
mov eax, dword [ebp + 8]
push ecx
mov cl, byte [ebp + 0x18]
push edx
push eax
jmp 0x406304
cmp byte [ebp + 0x20], 0
jne 0x4056a6
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x24], eax
inc edi
add esi, 4
cmp edi, dword [esp + 0x38]
jl 0x4055c1
jmp 0x4056c1
movzx ecx, word [esi]
movzx ebx, word [esi + 2]
mov dword [esp + 0x24], ecx
mov edx, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, dx
je case.default.0x405426
jmp 0x405610
mov ebx, dword [esp + 0x1c]
mov esi, ebx
and esi, 0x3fff
mov edx, dword [0x4a4b84]
mov byte [edx + 0x11], 2
mov eax, 0x3ffe
cmp si, ax
je 0x405706
mov ecx, 0x3ffd
cmp si, cx
jne 0x405903
cmp byte [ebp + 0x20], 0
jne 0x405714
mov edx, dword [esp + 0x14]
mov byte [edx + 0xf], 1
test byte [0x4a5c6d], 0xc
jne 0x405734
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040e970
add esp, 0x18
mov al, byte [ebp + 0x18]
cmp al, 0xa2
je 0x40573f
cmp al, 0xa3
jne 0x405765
cmp byte [ebp + 0x20], 0
jne 0x405765
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040e970
mov al, byte [ebp + 0x18]
add esp, 0x18
jmp 0x405768
mov edi, dword [ebp + 0x1c]
mov ecx, dword [0x4a4b84]
mov edx, 0x3ffd
mov byte [ecx + 0xd], 1
cmp si, dx
jne 0x4057aa
test byte [0x4a5c6d], 0x30
jne 0x40579c
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040e970
add esp, 0x18
mov eax, dword [0x4a4b84]
mov byte [eax + 0xe], 1
jmp 0x405820
mov ecx, 0x3ffe
cmp si, cx
jne 0x405820
cmp al, 0xa0
je 0x4057bc
cmp al, 0xa1
jne 0x4057da
cmp byte [ebp + 0x20], 0
jne 0x4057da
mov edx, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push edi
push edx
push 1
call fcn.0040e970
add esp, 0x18
test byte [0x4a5c6d], 0x10
je 0x4057fd
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.0040e970
add esp, 0x18
test byte [0x4a5c6d], 0x20
je 0x405820
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.0040e970
add esp, 0x18
test byte [0x4a5c6d], 1
je 0x405843
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.0040e970
add esp, 0x18
test byte [0x4a5c6d], 2
je 0x405866
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.0040e970
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040e970
mov eax, 0x3ffd
add esp, 0x18
cmp si, ax
jne 0x4058c3
mov ecx, dword [0x4a4b84]
cmp byte [ecx + 0xe], 0
je 0x4058c3
mov al, byte [ebp + 0x18]
cmp al, 0x60
jb 0x40589e
cmp al, 0x69
jbe 0x4058a2
cmp al, 0x6e
jne 0x4058c3
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040e970
mov edx, dword [0x4a4b84]
add esp, 0x18
mov byte [edx + 0xe], 0
cmp byte [ebp + 0x20], 0
mov eax, dword [esp + 0x18]
mov byte [eax + 4], 0x68
jne 0x4058d9
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x10], 1
push 0
push SysReAllocString
push 0x3fff
push eax
push edi
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov bl, byte [ebp + 0x20]
call fcn.00406440
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x3fff
cmp bx, ax
jne 0x405b58
mov ecx, dword [esp + 0x14]
mov cl, byte [ecx + 4]
mov al, byte [0x4a5c6e]
test cl, cl
je 0x405925
not cl
and al, cl
mov edi, dword [ebp + 8]
mov esi, dword [0x4a5da0]
cmp edi, esi
jne 0x405952
cmp byte [esp + 0x30], 0
je 0x405952
mov ecx, dword [0x4a65a0]
movzx edx, al
shl edx, 9
add edx, dword [esp + 0x34]
movzx ebx, word [ecx + edx*2]
mov cl, byte [ebp + 0x18]
jmp 0x40596a
mov cl, byte [ebp + 0x18]
movzx edx, al
movzx ebx, cl
shl edx, 8
add edx, ebx
mov ebx, dword [0x4a659c]
movzx ebx, word [ebx + edx*2]
mov edx, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, dx
jne 0x4059e9
cmp byte [0x4a4b88], 0
je 0x4059e9
cmp cl, 9
je 0x4059e9
and al, 0xf3
cmp edi, esi
jne 0x4059a9
cmp byte [esp + 0x30], 0
je 0x4059a9
mov ecx, dword [0x4a65a0]
movzx eax, al
shl eax, 9
add eax, dword [esp + 0x34]
movzx ebx, word [ecx + eax*2]
jmp 0x4059be
movzx edx, al
movzx eax, cl
mov ecx, dword [0x4a659c]
shl edx, 8
add edx, eax
movzx ebx, word [ecx + edx*2]
mov edx, ebx
and edx, 0x3fff
mov eax, edx
mov ecx, 0x3ff9
mov dword [esp + 0x1c], ebx
cmp ax, cx
jbe 0x4059e0
mov edx, 0x3fff
cmp ax, dx
jb 0x4059e9
mov ebx, 0x3fff
mov dword [esp + 0x1c], ebx
test ebx, 0x4000
je 0x405a5d
cmp byte [ebp + 0x20], 0
jne 0x405ac5
mov eax, dword [esp + 0x14]
mov word [eax + 6], bx
mov eax, dword [esp + 0x14]
add eax, 6
mov ecx, 0x3fff
cmp word [eax], cx
je 0x404fac
mov ecx, dword [esp + 0x14]
push 1
push eax
add ecx, 0xb
xor esi, esi
lea eax, [esp + 0x1a]
xor edi, edi
call fcn.00409b50
add esp, 8
cmp byte [esp + 0x12], 0
push edi
je 0x405b2a
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0x3fff
push edx
mov edx, dword [ebp + 8]
push edi
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
jmp 0x406304
mov ecx, 0x3fff
cmp bx, cx
je 0x405ad3
mov edx, ebx
and edx, ecx
cmp byte [ebp + 0x20], 0
mov eax, edx
je 0x405aa5
mov ecx, dword [0x4a352c]
cmp ax, word [ecx]
jae 0x405a9c
movzx edx, ax
mov eax, dword [0x4a65a4]
movzx eax, word [eax + edx*2]
mov ecx, 0x3fff
cmp ax, cx
je 0x405a9c
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x405ac5
cmp byte [esp + 0x21], 0
jne 0x405ad3
jmp 0x405ac5
mov edx, dword [0x4a352c]
cmp ax, word [edx]
jae 0x405ac5
mov ecx, dword [0x4a65a4]
movzx eax, ax
mov dx, word [ecx + eax*2]
mov eax, dword [esp + 0x14]
mov word [eax + 6], dx
mov ecx, 0x3fff
cmp bx, cx
jne 0x405b58
cmp byte [ebp + 0x20], 0
je 0x405a03
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0
jne 0x40504c
test byte [eax + 0xb], 1
jne 0x40504c
cmp byte [eax + 8], 0
je 0x40504c
cmp byte [esp + 0x13], 0
jne 0x40504c
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push edx
push eax
push ecx
mov eax, edi
jmp 0x4058ee
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push SysReAllocString
push 0x3fff
push eax
push ecx
push edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
xor bl, bl
call fcn.00406440
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0xb]
add ecx, 0xb
mov dword [esp + 0x24], ecx
test al, 8
je 0x405b79
cmp byte [ebp + 0x20], 0
je 0x405b79
and al, 0xf7
mov byte [esp + 0x12], 1
mov byte [ecx], al
mov ecx, dword [0x4a352c]
mov eax, ebx
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x405c93
cmp dword [esp + 0x3c], 0
jne 0x405c93
mov edx, dword [ebp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edi, dword [ebp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea esi, [ebx + 4]
lea eax, [esp + 0x1a]
call fcn.00409b50
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x405c8f
mov eax, dword [ebp + 0x20]
test al, al
je 0x405c11
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x10], 0
push 0
je 0x405bf6
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push SysReAllocString
push 0x3fff
mov edx, ebx
push edx
push eax
push ecx
jmp 0x4058eb
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push 0x3fff
push ebx
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
mov cl, byte [ebp + 0x18]
jmp 0x406304
mov eax, dword [esp + 0x14]
add eax, 6
mov edx, 0x3fff
cmp word [eax], dx
jne 0x405c40
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0x3fff
push ebx
push 0
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
jmp 0x406304
mov ecx, dword [esp + 0x24]
push 1
push eax
xor esi, esi
lea eax, [esp + 0x1a]
xor edi, edi
mov byte [esp + 0x1a], 0
call fcn.00409b50
add esp, 8
cmp byte [esp + 0x12], 0
push edi
jne 0x405c24
mov eax, dword [esp + 0x28]
and byte [eax], 0xf7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x1c]
push SysReAllocString
push 0x3fff
push ecx
mov byte [eax + 0x10], 1
mov eax, dword [ebp + 0x18]
push edx
push eax
jmp 0x405b41
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov ecx, dword [0x4a5da0]
mov dl, byte [0x4a5c6d]
and ebx, 0x3fff
mov edi, ebx
cmp esi, ecx
jne 0x405ce3
test dl, 0x3f
jne 0x405d04
mov eax, dword [0x4a65a8]
test dl, 0x40
je 0x405ccd
cmp byte [eax + 0x6668], 0
jne 0x405ccd
mov byte [0x4a4b8c], 1
test dl, dl
jns 0x405d09
cmp byte [eax + 0x6788], 0
jne 0x405d09
mov byte [0x4a4b8b], 1
jmp 0x405d09
test dl, 0xc
jne 0x405d04
mov eax, dword [0x4a65a8]
test dl, 0x40
je 0x405ccd
cmp byte [eax + 0x6668], 0
jne 0x405ccd
mov byte [0x4a4b8c], 1
jmp 0x405d09
mov eax, dword [0x4a65a8]
test dl, 4
je 0x405d39
cmp byte [eax + 0xb888], 0
jne 0x405d39
test ecx, ecx
je 0x405d24
mov byte [0x4a4b8a], 1
jmp 0x405d85
movzx ecx, byte [0x4a2365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
jmp 0x405d75
test dl, 8
je 0x405d85
cmp byte [eax + 0xb9a8], 0
jne 0x405d85
call fcn.00411420
test al, al
jne 0x405d7f
cmp dword [0x4a5da0], 0
je 0x405d62
mov byte [0x4a4b89], 1
jmp 0x405d7f
movzx edx, byte [0x4a2365]
push 0xffc3d44d
push 0
push 0
push 0
push edx
push 2
call fcn.0040e970
add esp, 0x18
mov dl, byte [0x4a5c6d]
movzx eax, di
lea ecx, [eax - 0x3ffa]
cmp ecx, 4
ja case.default.0x405d97
jmp dword [ecx*4 + 0x406428]
cmp byte [0x4a4b88], 0
jne case.0x405d97.16379
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push 0
push 0x3fff
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov cl, byte [ebp + 0x18]
push edx
push eax
push esi
jmp 0x406304
xor al, al
mov byte [esp + 0x11], al
test dl, 4
je 0x405dd7
mov al, 0xa4
jmp 0x405dde
test dl, 8
je 0x405de2
mov al, 0xa5
mov byte [esp + 0x11], al
cmp byte [0x4a4b88], 0
je 0x405e58
mov ecx, 0x3ffb
cmp di, cx
je case.0x405d97.16381
test al, al
movzx eax, al
jne 0x405e05
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040e970
mov edx, dword [esp + 0x2c]
add esp, 0x18
cmp byte [edx + 4], 0
je 0x405e4c
mov eax, dword [ebp + 0x18]
cmp al, 0x5b
je 0x405e4c
cmp al, 0x5c
je 0x405e4c
cmp byte [ebp + 0x20], 0
jne 0x405e4c
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040e970
add esp, 0x18
mov byte [0x4a4b88], 0
jmp 0x4060be
mov cl, byte [ebp + 0x18]
cmp cl, 0xa4
je 0x405e6a
mov byte [esp + 0x22], 0
cmp cl, 0xa5
jne 0x405e6f
mov byte [esp + 0x22], 1
cmp cl, 0xa0
je 0x405e7d
cmp cl, 0xa1
je 0x405e7d
xor bl, bl
jmp 0x405e7f
mov bl, 1
mov byte [esp + 0x23], bl
cmp cl, 0xa2
je 0x405e92
mov byte [esp + 0x21], 0
cmp cl, 0xa3
jne 0x405e97
mov byte [esp + 0x21], 1
xor al, al
mov byte [esp + 0x34], al
test dl, 0x10
je 0x405eaa
mov al, 0xa0
mov byte [esp + 0x34], al
jmp 0x405ecd
test dl, 0x20
je 0x405eb7
mov al, 0xa1
mov byte [esp + 0x34], al
jmp 0x405ecd
cmp byte [ebp + 0x20], 0
jne 0x405ec7
test bl, bl
je 0x405ec7
mov al, cl
mov byte [esp + 0x34], al
mov dl, byte [0x4a5c6d]
mov byte [esp + 0x30], 0
test dl, 1
je 0x405ede
mov byte [esp + 0x30], 0xa2
jmp 0x405efb
test dl, 2
je 0x405eea
mov byte [esp + 0x30], 0xa3
jmp 0x405efb
cmp byte [ebp + 0x20], 0
jne 0x405efb
cmp byte [esp + 0x21], 0
je 0x405efb
mov byte [esp + 0x30], cl
mov esi, dword [esp + 0x34]
xor bl, bl
test al, al
je 0x405f20
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.0040e970
mov cl, byte [ebp + 0x18]
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x30], 0
je 0x405f44
mov eax, dword [esp + 0x30]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040e970
mov cl, byte [ebp + 0x18]
add esp, 0x18
cmp byte [esp + 0x22], 0
je 0x405f53
cmp byte [ebp + 0x20], 0
jne 0x405f5b
jmp 0x405f57
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x405f72
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040e970
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040e970
add esp, 0x18
test bl, bl
je 0x405faa
cmp byte [esp + 0x23], 0
jne 0x405faa
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.0040e970
add esp, 0x18
mov byte [0x4a4b88], 1
jmp 0x4060be
cmp byte [0x4a4b88], 0
jne 0x405fe0
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
push 0
push 0x3fff
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
mov cl, byte [ebp + 0x18]
push esi
jmp 0x406304
cmp byte [ebp + 0x20], 0
mov ebx, dword [ebp + 0x18]
jne 0x406013
cmp bl, 0xa2
je 0x405ffd
cmp bl, 0xa3
je 0x405ffd
cmp bl, 0xa0
je 0x405ffd
cmp bl, 0xa1
jne 0x406013
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040e970
add esp, 0x18
test byte [0x4a5c6d], 0xc
je 0x40602c
cmp byte [ebp + 0x20], 0
je 0x406043
cmp bl, 0xa4
je 0x40602c
cmp bl, 0xa5
jne 0x406043
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040e970
add esp, 0x18
mov edx, 0x3ffd
xor bl, bl
cmp di, dx
jne 0x406071
test byte [0x4a5c6d], 0x30
jne 0x406071
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040e970
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040e970
add esp, 0x18
test bl, bl
je 0x4060be
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040e970
add esp, 0x18
jmp 0x4060be
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x1e], 5
jne 0x4060be
movzx eax, word [eax + 0x1c]
shl eax, 0x10
or dword [esp + 0x28], eax
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov byte [edi + 4], 0x68
je 0x406133
test bl, bl
je 0x40622a
cmp byte [ecx + 8], 0
je 0x406133
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
push 0xffc3d44e
push 0
push 0
push esi
push ebx
push 1
call fcn.0040e970
push 0xffc3d44d
push 0
push 0
push esi
push ebx
push 2
call fcn.0040e970
mov ecx, dword [esp + 0x58]
mov eax, dword [ebp + 8]
push 0
push SysReAllocString
push ecx
mov ecx, dword [ebp + 0x14]
push edi
push esi
push ebx
mov bl, byte [ebp + 0x20]
call fcn.00406440
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x40622a
cmp byte [ecx + 4], 0
je 0x40617a
cmp byte [ecx + 0x10], 0
mov edx, dword [esp + 0x28]
je 0x406161
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
push SysReAllocString
push edx
push edi
push eax
push ecx
jmp 0x4058eb
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 1
push edx
mov edx, dword [ebp + 8]
push edi
push ebx
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
jmp 0x406304
cmp byte [esp + 0x12], 0
jne 0x40618e
mov eax, dword [esp + 0x24]
test byte [eax], 1
je 0x4062c2
mov esi, dword [ebp + 8]
cmp esi, dword [0x4a5da4]
jne 0x4061b3
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push ecx
mov cl, byte [ebp + 0x18]
push edi
push ebx
push edx
push eax
push esi
jmp 0x406304
mov eax, dword [ecx]
test eax, eax
je 0x4061c2
cmp dword [eax], 7
je 0x4061c2
mov al, 1
jmp 0x4061c4
xor al, al
cmp byte [ecx + 0x10], 0
je 0x40620a
cmp byte [esp + 0x2f], 0
jne 0x40620a
test al, al
jne 0x40620e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push ecx
push edx
push 0
call fcn.0040e970
add esp, 0x18
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push eax
push edi
push ebx
push ecx
mov cl, byte [ebp + 0x18]
push edx
push esi
jmp 0x406304
test al, al
je 0x4061f0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0
push SysReAllocString
push eax
push edi
push ecx
push edx
mov eax, esi
jmp 0x4058ee
mov eax, dword [0x4a4b84]
mov byte [ecx + 0xf], 1
test eax, eax
je 0x406241
cmp byte [eax + 4], 0
je 0x406241
mov byte [eax + 0x11], 2
cmp byte [esp + 0x12], 0
je 0x40626c
mov eax, dword [esp + 0x24]
or byte [eax], 8
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
push edi
push ebx
push ecx
mov cl, byte [ebp + 0x18]
push edx
push eax
jmp 0x406304
mov ebx, dword [ebp + 0x18]
cmp bl, 0xa4
je 0x406279
cmp bl, 0xa5
jne 0x4062bf
mov al, byte [0x4a5c6d]
test al, 0xc0
je 0x4062a3
test al, 0x33
jne 0x4062a3
movzx ecx, byte [0x4a2365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040e970
add esp, 0x18
mov edx, dword [ebp + 0x1c]
push 0xffc3d44d
push 0
push 0
push edx
push ebx
push 1
call fcn.0040e970
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov ebx, dword [ebp + 0x20]
test bl, bl
jne 0x4062ca
mov byte [ecx + 0x10], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push eax
push edi
push ecx
jmp 0x4058e7
mov eax, dword [ebp + 0x20]
push 0
push 0x3fff
test al, al
sete cl
push ebx
mov byte [esi + 0xf], 0
mov byte [esi + 0xc], cl
push eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov cl, byte [ebp + 0x18]
push edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
call fcn.00406530
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret