Function at 0x404b90
Capabilities:
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
mov dword [esp + 0x30], 0x3fff
cmp eax, 0xffc3d44f
je 0x404bc7
cmp eax, 0xffc3d44e
je 0x404bc7
mov byte [esp + 0x11], 0
cmp eax, 0xffc3d44d
jne 0x404bcc
mov byte [esp + 0x11], 1
mov ecx, dword [0x4aab3c]
test ecx, ecx
jne 0x404be3
lea edi, [esp + 0x40]
mov dword [esp + 0x24], edi
jmp 0x404c8a
mov eax, dword [0x4aab40]
mov edi, eax
imul edi, edi, 0x70
inc eax
add edi, ecx
mov dword [esp + 0x24], edi
mov dword [0x4aab40], eax
cmp eax, dword [0x4a6888]
jl 0x404c0b
mov dword [0x4aab40], 0
mov al, byte [ebp + 0x18]
mov cl, byte [ebp + 0x20]
mov byte [edi], al
mov byte [edi + 5], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x4ac90c]
mov dword [0x4aab44], eax
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
jns 0x404c39
fadd dword [0x4a0b80]
fdiv qword [0x4a0b78]
mov dword [0x4ac90c], eax
fstp dword [edi + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x404c7a
cmp esi, dword [0x4aab48]
je 0x404c74
mov ecx, dword [0x4aa230]
push esi
lea eax, [edi + 0xc]
push eax
push 0x418
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x404c81
mov byte [edi + 0xc], 0
jmp 0x404c81
mov dword [edi + 0xc], 0x412f4e
mov edx, dword [ebp + 0x28]
mov dword [0x4aab48], esi
mov al, byte [ebp + 0x18]
mov ebx, dword [ebp + 0x20]
cmp al, 0xe7
jne 0x404cc9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
movzx eax, word [edx + 4]
push 0
push 0x3fff
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov cl, 0xe7
mov word [edi + 2], ax
mov byte [edi + 4], 0x55
call fcn.00406850
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x1c]
lea ecx, [eax + 0x64]
mov word [edi + 2], si
cmp cl, 3
ja 0x404cdd
xor esi, esi
mov dword [ebp + 0x1c], esi
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x4aa364]
jne 0x404d0d
and dl, 1
mov byte [esp + 0x13], dl
jne 0x404e19
test bl, bl
setne dl
dec dl
movzx eax, al
and dl, 0x80
mov byte [eax + 0x4aa250], dl
jmp 0x404e19
shr edx, 4
and dl, 1
mov byte [esp + 0x13], dl
test esi, 0x100
jne case.0x404d4d.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x404d4d.13
movzx eax, byte [ebp + 0x18]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x404d4d.13
movzx ecx, byte [eax + 0x406630]
jmp dword [ecx*4 + 0x406600]
test bl, bl
sete dl
mov byte [0x4a911c], dl
jmp case.0x404d4d.13
test bl, bl
sete al
mov byte [0x4a911d], al
jmp case.0x404d4d.13
test bl, bl
sete cl
mov byte [0x4a911e], cl
jmp case.0x404d4d.13
test bl, bl
sete dl
mov byte [0x4a911f], dl
jmp case.0x404d4d.13
test bl, bl
sete al
mov byte [0x4a9120], al
jmp case.0x404d4d.13
test bl, bl
sete cl
mov byte [0x4a9121], cl
jmp case.0x404d4d.13
test bl, bl
sete dl
mov byte [0x4a9122], dl
jmp case.0x404d4d.13
test bl, bl
sete al
mov byte [0x4a9123], al
jmp case.0x404d4d.13
test bl, bl
sete cl
mov byte [0x4a9124], cl
jmp case.0x404d4d.13
test bl, bl
sete dl
mov byte [0x4a9125], dl
jmp case.0x404d4d.13
test bl, bl
sete al
mov byte [0x4a9126], al
movzx esi, byte [ebp + 0x18]
mov edx, dword [0x4aab60]
lea ecx, [esi + esi*8]
shl ecx, 5
cmp byte [ecx + edx + 4], 0
jne 0x404e19
test byte [ebp + 0x28], 0x10
jne 0x404e19
mov al, byte [ebp + 0x18]
push ebx
call fcn.00407aa0
add esp, 4
test al, al
je 0x404e19
test bl, bl
setne al
dec al
and al, 0x80
mov byte [esi + 0x4aa250], al
cmp byte [esp + 0x11], 0
je 0x404e24
mov al, 0x69
jmp 0x404e30
mov al, byte [esp + 0x13]
neg al
sbb al, al
and al, 0x41
add al, 0x20
cmp byte [0x4aa350], 0
mov byte [edi + 4], al
je 0x404e78
mov al, byte [ebp + 0x18]
cmp al, 0x5b
je 0x404e47
cmp al, 0x5c
jne 0x404e78
test bl, bl
jne 0x404e78
push 0
push SysReAllocString
push 0x3fff
push 0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push edx
mov ebx, edi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
call fcn.00406720
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4a9140], 0
je 0x404f1e
cmp byte [ebp + 0x18], 0x1b
jne 0x404f1e
test bl, bl
jne 0x404f1e
push 0
push str.32771
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x404f1e
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 0x404f1e
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.0040ef20
mov al, byte [0x4aa22d]
push 0xffc3d44d
shr al, 3
push 0
and al, 1
or al, 0xa4
push 0
movzx ecx, al
push 0
push ecx
push 1
call fcn.0040ef20
mov edx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push 0x3fff
push 0
push edx
push 0x1b
mov ebx, edi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
call fcn.00406720
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebp + 0x1c]
mov ecx, dword [0x4aa360]
mov dword [esp + 0x34], eax
lea eax, [eax + eax*8]
shl eax, 5
add eax, dword [0x4aab64]
mov dl, byte [eax + 0x12]
mov byte [esp + 0x28], dl
cmp dword [ebp + 8], ecx
jne 0x404f4f
test dl, dl
je 0x404f4f
mov esi, eax
mov al, byte [ebp + 0x18]
jmp 0x404f61
mov al, byte [ebp + 0x18]
movzx esi, al
lea esi, [esi + esi*8]
shl esi, 5
add esi, dword [0x4aab60]
cmp byte [esp + 0x11], 0
mov dword [esp + 0x1c], esi
je 0x404fad
cmp dword [ebp + 0x24], 0xffc3d44e
jne 0x404f93
test bl, bl
je 0x404f93
cmp dword [0x4a913c], esi
jne 0x404f93
mov byte [esi + 0xc], 0
mov byte [esi + 0xf], 0
mov dword [0x4a913c], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push 0x3fff
push edi
push ebx
push edx
push eax
push ecx
jmp 0x4065e6
test bl, bl
jne 0x404fbd
mov edx, 0x3fff
mov byte [esi + 0x10], bl
mov word [esi + 6], dx
cmp dword [ebp + 8], ecx
jne 0x40506d
test bl, bl
je 0x4050c8
cmp byte [0x4a9144], 0
je 0x404fdb
cmp al, 0x5b
je 0x40500a
cmp byte [0x4a9143], 0
je 0x404fe8
cmp al, 0x5c
je 0x40500a
cmp byte [0x4a9142], 0
je 0x404ff5
cmp al, 0xa4
je 0x40500a
cmp byte [0x4a9141], 0
je 0x4050c8
cmp al, 0xa5
jne 0x4050c8
movzx eax, al
add eax, 0xffffffa5
cmp eax, 0x4a
ja case.0x40501c.93
movzx eax, byte [eax + 0x4066a8]
jmp dword [eax*4 + 0x406694]
mov byte [0x4a9144], 0
jmp case.0x40501c.93
mov byte [0x4a9143], 0
jmp case.0x40501c.93
mov byte [0x4a9142], 0
jmp case.0x40501c.93
mov byte [0x4a9141], 0
test byte [0x4aa22d], 3
jne 0x4050c8
movzx ecx, byte [0x4a6365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040ef20
add esp, 0x18
jmp 0x4050c8
test al, al
jne 0x40508d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push 0x3fff
push edi
push ebx
push edx
push eax
push ecx
xor cl, cl
jmp 0x4065e9
cmp al, 1
je 0x405095
cmp al, 2
jne 0x4050c8
cmp dword [0x4aa3bc], 0
jne 0x4065c5
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4050c8
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ac238]
je 0x4065c5
mov edx, dword [0x4a913c]
test edx, edx
je 0x4050fd
cmp edx, esi
je 0x4050fd
test bl, bl
jne 0x4050fd
mov ecx, dword [0x4aa360]
cmp dword [ebp + 8], ecx
jne 0x4050ef
xor eax, eax
cmp byte [esi + 4], al
sete al
jmp 0x4050f3
movzx eax, byte [edx + 4]
test eax, eax
je 0x405103
mov byte [edx + 0x11], 1
jmp 0x405103
mov ecx, dword [0x4aa360]
cmp byte [esi + 8], 0
jne 0x405113
cmp byte [esi + 9], 0
je 0x404f93
mov dword [esp + 0x14], 0x3fff
mov dword [esp + 0x3c], 0
test bl, bl
je 0x405151
mov al, byte [esi + 0xf]
mov dl, byte [esi + 0xc]
mov byte [esp + 0x1b], al
movzx eax, word [esi + 6]
mov byte [esp + 0x23], dl
mov edx, 0x3fff
mov byte [esi + 0xf], 0
cmp ax, dx
je 0x40514f
mov dword [esp + 0x14], eax
mov word [esi + 6], dx
test bl, bl
sete al
mov byte [esi + 0xc], al
mov byte [esp + 0x11], 0
cmp dword [ebp + 8], ecx
jne 0x4051dc
cmp byte [esi + 4], 0
je 0x4051f9
mov ecx, dword [0x4aab60]
cmp byte [ecx + 0xb64c], 0
jne 0x405187
cmp byte [ecx + 0xb76c], 0
jne 0x405187
xor eax, eax
jmp 0x40518c
mov eax, 1
cmp byte [ecx + 0xb88c], 0
mov byte [ecx + 0x132c], al
jne 0x4051a8
cmp byte [ecx + 0xb9ac], 0
jne 0x4051a8
xor eax, eax
jmp 0x4051ad
mov eax, 1
cmp byte [ecx + 0xb40c], 0
mov byte [ecx + 0x144c], al
jne 0x4051cf
cmp byte [ecx + 0xb52c], 0
jne 0x4051cf
xor eax, eax
mov byte [ecx + 0x120c], al
jmp 0x4051f9
mov eax, 1
mov byte [ecx + 0x120c], al
jmp 0x4051f9
test ecx, ecx
jne 0x4051f9
push 1
call fcn.004114a0
add esp, 4
mov byte [0x4aa22e], al
mov byte [0x4aa22d], al
mov byte [esp + 0x11], 1
mov eax, dword [esi]
test eax, eax
je 0x405209
cmp dword [eax], 7
mov byte [esp + 0x1a], 1
je 0x40520e
mov byte [esp + 0x1a], 0
mov al, byte [esi + 8]
test al, al
je 0x40538a
test bl, bl
jne 0x40538a
mov ecx, dword [0x4a913c]
test ecx, ecx
je 0x405238
cmp byte [esi + 9], bl
je 0x405238
cmp esi, ecx
jne 0x40538a
cmp al, 1
jne 0x405268
cmp byte [esp + 0x28], 0
mov eax, dword [esp + 0x34]
jne 0x40524b
movzx eax, byte [ebp + 0x18]
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.00409fe0
add esp, 8
test al, al
je 0x405268
mov byte [esp + 0x12], 1
mov dl, byte [esp + 0x12]
jmp 0x40527f
xor dl, dl
mov byte [esp + 0x12], dl
cmp esi, dword [0x4a913c]
je 0x40527f
mov dword [0x4a913c], esi
mov byte [esi + 0x11], dl
cmp byte [esi + 9], 0
je 0x40532d
cmp byte [esp + 0x11], 0
jne 0x4052a3
push 1
mov byte [esp + 0x15], 1
call fcn.004114a0
mov dl, byte [esp + 0x16]
add esp, 4
mov al, byte [esi + 4]
mov cl, byte [0x4aa22e]
test al, al
je 0x4052b4
not al
and cl, al
test cl, cl
jne 0x4052c2
test dl, dl
jne 0x4052c2
test byte [esi + 0xb], 1
je 0x40532d
mov eax, dword [ebp + 8]
cmp eax, dword [0x4aa360]
jne 0x4052e5
cmp byte [esp + 0x28], 0
je 0x4052e5
mov eax, dword [0x4aab58]
movzx ecx, cl
shl ecx, 9
add ecx, dword [esp + 0x34]
jmp 0x4052f6
movzx eax, byte [ebp + 0x18]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [0x4aab54]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x14], eax
test eax, 0x4000
je 0x40530b
mov word [esi + 6], ax
jmp 0x405339
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4a7a2c]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x40532d
mov ecx, dword [0x4aab5c]
mov ax, word [ecx + eax*2]
mov word [esi + 6], ax
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x40538a
test dl, dl
je 0x405345
or byte [esi + 0xb], 8
mov byte [edi + 4], 0x23
cmp byte [esi + 4], 0
jne 0x40537b
test byte [esi + 0xb], 1
jne 0x40537b
cmp byte [esp + 0x1a], 0
jne 0x40537b
test dl, dl
jne 0x40537b
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push 0
push edx
mov byte [esi + 0x10], 1
push eax
jmp 0x404e61
push 0
push 0x3fff
push edi
push 0
jmp 0x4065da
cmp byte [esi + 9], 0
mov byte [esp + 0x13], 0
je 0x4053ff
test bl, bl
je 0x4053ff
cmp dword [0x4a913c], esi
jne 0x4053b2
cmp byte [esp + 0x1b], 0
je 0x4053ff
mov dword [0x4a913c], 0
cmp byte [esi + 0xa], 0
jne 0x4053fa
mov al, byte [esi + 0xb]
test al, 8
je 0x4053c8
xor cl, cl
and al, 0xf7
mov byte [esi + 0xb], al
jmp 0x4053ca
mov cl, 1
cmp byte [esp + 0x1b], 0
je 0x4065d1
test cl, cl
je 0x4065d1
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push ecx
push edx
push eax
jmp 0x404e61
mov byte [esp + 0x13], 1
cmp byte [esi + 8], 0
je 0x4055a0
test bl, bl
je 0x4055a0
cmp dword [0x4a913c], esi
jne 0x405423
mov dword [0x4a913c], 0
cmp byte [esi + 0xd], 0
je 0x405444
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [esi + 0xd], 0
call fcn.0040ef20
add esp, 0x18
cmp byte [esi + 0xe], 0
je 0x405465
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [esi + 0xe], 0
call fcn.0040ef20
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
cmp cx, dx
jne 0x405499
mov al, byte [esi + 0xb]
test al, 8
je 0x405499
and al, 0xf7
mov byte [esi + 0xb], al
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4065e6
cmp byte [esp + 0x1a], 0
mov al, byte [esi + 0x11]
je 0x40552e
cmp al, 2
jne 0x4054ec
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
push 0xffc3d44e
push 0
push 0
push ebx
push esi
push 1
call fcn.0040ef20
push 0xffc3d44d
push 0
push 0
push ebx
push esi
push 2
call fcn.0040ef20
mov eax, dword [ebp + 0x20]
push 0
push SysReAllocString
push 0x3fff
push eax
push ebx
push esi
jmp 0x404f07
cmp al, 1
je 0x4065d1
cmp byte [esi + 9], 0
jne 0x405579
cmp byte [esi + 4], 0
jne 0x40547f
test byte [esi + 0xb], 1
jne 0x40547f
cmp byte [esp + 0x1a], 0
jne 0x40547f
push 0
mov eax, dword [ebp + 0x20]
push SysReAllocString
push 0x3fff
push eax
jmp 0x404e59
test al, al
je 0x4054f4
cmp cx, dx
jne 0x4054f4
cmp byte [esi + 4], 0
je 0x40556c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp al, 2
mov eax, dword [ebp + 0x10]
jne 0x40555b
push 1
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4065e6
push 0
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4065e6
test byte [esi + 0xb], 1
push 0
je 0x40551b
jmp 0x405481
cmp byte [esp + 0x23], 0
jne 0x4055a4
cmp byte [esi + 0xa], 0
jne 0x4055a4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4065e6
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
jne 0x4055bf
mov eax, 0x3fff
cmp cx, ax
jne 0x4055bf
push 1
call fcn.004114a0
add esp, 4
cmp dword [0x4a913c], 0
mov byte [esp + 0x12], 0
je 0x405c5f
cmp byte [ebp + 0x20], 0
je 0x4055e1
cmp byte [esi + 0xa], 0
je 0x405c5f
mov edx, dword [esp + 0x14]
mov ecx, 0x3fff
cmp dx, cx
jne 0x405ee0
mov edi, dword [esp + 0x1c]
cmp byte [edi + 0x13], 0
mov dword [esp + 0x2c], 0
jbe 0x4056b8
lea esi, [edi + 0x16]
lea esp, [esp]
mov cl, byte [esi]
mov ebx, dword [0x4aab60]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x405686
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x40567a
cmp byte [ebp + 0x20], 0
jne 0x4056a0
mov ecx, 0x3fff
mov word [edi + 6], ax
cmp dx, cx
je 0x405686
mov dword [esp + 0x14], edx
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x405785
dec eax
je 0x405766
dec eax
je 0x405747
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4aab60]
jmp 0x40572c
cmp byte [ebp + 0x20], 0
jne 0x405686
mov edx, eax
mov byte [esp + 0x11], cl
mov eax, dword [esp + 0x2c]
movzx ecx, byte [edi + 0x13]
inc eax
add esi, 4
mov dword [esp + 0x2c], eax
cmp eax, ecx
jl 0x405610
jmp 0x4056aa
mov al, byte [esi]
movzx edx, word [esi + 2]
mov byte [esp + 0x11], al
mov ecx, 0x3fff
mov dword [esp + 0x14], edx
cmp dx, cx
jne 0x40564b
cmp byte [edi + 0x14], 0
mov dword [esp + 0x2c], 0
jbe 0x4057e9
lea esi, [edi + 0xde]
movzx ecx, word [esi]
mov ebx, dword [0x4aab64]
mov eax, ecx
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4057b2
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4057a4
cmp byte [ebp + 0x20], 0
jne 0x4057cc
mov ecx, 0x3fff
mov word [edi + 6], ax
cmp dx, cx
je 0x4057b2
mov dword [esp + 0x14], edx
movzx eax, word [esp + 0x38]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4aab64]
mov edx, 0x3fff
mov dword [0x4a913c], ebx
cmp word [esp + 0x14], dx
jne case.default.0x405801
jmp 0x4057ef
mov ecx, dword [0x4aab60]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x40572c
mov ecx, dword [0x4aab60]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x40572c
mov ecx, dword [0x4aab60]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x40572c
cmp byte [ebp + 0x20], 0
jne 0x4057b2
mov edx, eax
mov eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
movzx ecx, byte [edi + 0x14]
inc eax
add esi, 4
mov dword [esp + 0x2c], eax
cmp eax, ecx
jl 0x4056d0
jmp 0x4057d7
movzx eax, word [esi]
movzx edx, word [esi + 2]
mov dword [esp + 0x38], eax
mov ecx, 0x3fff
mov dword [esp + 0x14], edx
cmp dx, cx
jne 0x40571b
mov ebx, dword [0x4a913c]
movzx eax, byte [ebp + 0x18]
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x405801
jmp dword [eax*4 + 0x4066f4]
mov al, 0x11
jmp 0x405812
mov al, 0x12
jmp 0x405812
mov al, 0x10
mov ecx, dword [0x4aab60]
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 + 0x2c], esi
test edx, edx
jle 0x4058a4
add esi, 0x16
mov cl, byte [esi]
mov ebx, dword [0x4aab60]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x405882
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405874
cmp byte [ebp + 0x20], 0
jne 0x40588c
mov ecx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, 0x3fff
cmp word [esp + 0x14], ax
jne 0x4058b4
jmp 0x405882
cmp byte [ebp + 0x20], 0
jne 0x405882
mov dword [esp + 0x14], eax
mov byte [esp + 0x11], cl
inc edi
add esi, 4
cmp edi, edx
jl 0x405835
jmp 0x40589a
movzx ecx, word [esi + 2]
mov dl, byte [esi]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x11], dl
mov esi, dword [esp + 0x2c]
mov ebx, dword [0x4a913c]
mov eax, 0x3fff
cmp word [esp + 0x14], ax
je 0x40593d
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x40591b
dec eax
je 0x4058f9
dec eax
je 0x4058d7
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4aab60]
jmp 0x4059d9
mov ecx, dword [0x4aab60]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x4059d9
mov ecx, dword [0x4aab60]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x4059d9
mov ecx, dword [0x4aab60]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x4059d9
movzx eax, byte [esi + 0x14]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle case.default.0x405801
add esi, 0xde
movzx ecx, word [esi]
mov eax, ecx
lea edx, [eax + eax*8]
mov eax, dword [0x4aab64]
shl edx, 5
cmp byte [edx + eax + 0xc], 0
je 0x4059a1
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405993
cmp byte [ebp + 0x20], 0
jne 0x4059ad
mov ecx, dword [esp + 0x1c]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp word [esp + 0x14], dx
jne 0x4059c8
jmp 0x4059a1
cmp byte [ebp + 0x20], 0
jne 0x4059a1
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
inc edi
add esi, 4
cmp edi, dword [esp + 0x2c]
jl 0x405955
jmp 0x4059bc
movzx edx, word [esi + 2]
movzx eax, word [esi]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
je case.default.0x405801
movzx eax, word [esp + 0x38]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4aab64]
mov dword [0x4a913c], ebx
mov eax, dword [esp + 0x14]
mov esi, eax
mov ecx, 0x3fff
and esi, 0x3fff
cmp ax, cx
je 0x405a52
mov edx, dword [0x4a7a2c]
cmp si, word [edx]
jae 0x405a4e
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edi, dword [ebp + 0x24]
push eax
lea edx, [esp + 0x18]
add ecx, 0xb
push edx
lea esi, [ebx + 4]
lea eax, [esp + 0x1a]
call fcn.0040a210
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x405a3e
push eax
mov eax, dword [ebp + 0x20]
push 0x3fff
push ebx
push eax
jmp 0x4065da
mov esi, dword [esp + 0x14]
mov ebx, dword [0x4a913c]
and esi, 0x3fff
mov byte [ebx + 0x11], 2
mov ecx, 0x3ffe
cmp si, cx
je 0x405a6a
mov edx, 0x3ffd
cmp si, dx
jne 0x405c5f
cmp byte [ebp + 0x20], 0
jne 0x405a78
mov eax, dword [esp + 0x1c]
mov byte [eax + 0xf], 1
test byte [0x4aa22d], 0xc
jne 0x405a9e
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ef20
mov ebx, dword [0x4a913c]
add esp, 0x18
mov al, byte [ebp + 0x18]
cmp al, 0xa2
je 0x405aa9
cmp al, 0xa3
jne 0x405ad2
cmp byte [ebp + 0x20], 0
jne 0x405ad2
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push edi
push ecx
push 1
call fcn.0040ef20
mov ebx, dword [0x4a913c]
add esp, 0x18
jmp 0x405ad5
mov edi, dword [ebp + 0x1c]
mov edx, 0x3ffd
mov byte [ebx + 0xd], 1
cmp si, dx
jne 0x405b12
test byte [0x4aa22d], 0x30
jne 0x405b09
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040ef20
mov ebx, dword [0x4a913c]
add esp, 0x18
mov byte [ebx + 0xe], 1
jmp 0x405b8b
mov eax, 0x3ffe
cmp si, ax
jne 0x405b8b
mov al, byte [ebp + 0x18]
cmp al, 0xa0
je 0x405b27
cmp al, 0xa1
jne 0x405b45
cmp byte [ebp + 0x20], 0
jne 0x405b45
mov ecx, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push edi
push ecx
push 1
call fcn.0040ef20
add esp, 0x18
test byte [0x4aa22d], 0x10
je 0x405b68
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.0040ef20
add esp, 0x18
test byte [0x4aa22d], 0x20
je 0x405b8b
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.0040ef20
add esp, 0x18
test byte [0x4aa22d], 1
je 0x405bae
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.0040ef20
add esp, 0x18
test byte [0x4aa22d], 2
je 0x405bd1
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.0040ef20
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ef20
mov edx, 0x3ffd
add esp, 0x18
cmp si, dx
jne 0x405c2d
mov eax, dword [0x4a913c]
cmp byte [eax + 0xe], 0
je 0x405c2d
mov al, byte [ebp + 0x18]
cmp al, 0x60
jb 0x405c08
cmp al, 0x69
jbe 0x405c0c
cmp al, 0x6e
jne 0x405c2d
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040ef20
mov ecx, dword [0x4a913c]
add esp, 0x18
mov byte [ecx + 0xe], 0
cmp byte [ebp + 0x20], 0
mov eax, dword [esp + 0x24]
mov byte [eax + 4], 0x68
jne 0x405c43
mov edx, dword [esp + 0x1c]
mov byte [edx + 0x10], 1
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push ecx
push edi
push edx
mov ebx, eax
jmp 0x404e63
mov eax, 0x3fff
cmp word [esp + 0x14], ax
jne 0x405ee0
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 4]
mov al, byte [0x4aa22e]
test cl, cl
je 0x405c83
not cl
and al, cl
mov esi, dword [0x4aa360]
mov edi, dword [ebp + 8]
cmp edi, esi
jne 0x405cb0
cmp byte [esp + 0x28], 0
je 0x405cb0
mov ecx, dword [0x4aab58]
movzx edx, al
shl edx, 9
add edx, dword [esp + 0x34]
movzx ecx, word [ecx + edx*2]
mov dl, byte [ebp + 0x18]
jmp 0x405cc8
mov dl, byte [ebp + 0x18]
movzx ecx, al
movzx ebx, dl
shl ecx, 8
add ecx, ebx
mov ebx, dword [0x4aab54]
movzx ecx, word [ebx + ecx*2]
mov ebx, 0x3fff
mov dword [esp + 0x14], ecx
cmp cx, bx
jne 0x405d3c
cmp byte [0x4a9140], 0
je 0x405d3c
cmp dl, 9
je 0x405d3c
and al, 0xf3
cmp edi, esi
jne 0x405d06
cmp byte [esp + 0x28], 0
je 0x405d06
movzx edx, al
mov eax, dword [0x4aab58]
shl edx, 9
add edx, dword [esp + 0x34]
movzx ecx, word [eax + edx*2]
jmp 0x405d1a
movzx ecx, al
mov eax, dword [0x4aab54]
movzx edx, dl
shl ecx, 8
add ecx, edx
movzx ecx, word [eax + ecx*2]
mov eax, ecx
and eax, 0x3fff
mov edx, 0x3ff9
mov dword [esp + 0x14], ecx
cmp ax, dx
jbe 0x405d36
mov edx, ebx
cmp ax, dx
jb 0x405d3c
mov ecx, ebx
mov dword [esp + 0x14], ecx
test ecx, 0x4000
je 0x405d8a
cmp byte [ebp + 0x20], 0
jne 0x405e2c
mov eax, dword [esp + 0x1c]
mov word [eax + 6], cx
mov eax, dword [esp + 0x1c]
add eax, 6
mov ecx, 0x3fff
cmp word [eax], cx
jne 0x405e9e
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push edx
mov edx, dword [ebp + 8]
push 0
push eax
push ecx
push edx
jmp 0x4065e6
mov edx, ebx
cmp cx, dx
je 0x405e3a
mov edx, dword [0x4a7a2c]
mov eax, ecx
and eax, 0x3fff
cmp byte [ebp + 0x20], 0
je 0x405e0f
cmp ax, word [edx]
jae 0x405e06
mov edx, dword [0x4aab5c]
mov ebx, eax
add ebx, ebx
mov eax, 0x3fff
cmp word [ebx + edx], ax
je 0x405e06
cmp byte [esp + 0x13], 0
jne 0x405df7
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0x24]
push eax
lea edx, [esp + 0x18]
add ecx, 0xb
push edx
add esi, 4
lea eax, [esp + 0x1a]
call fcn.0040a210
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x405e28
mov eax, dword [0x4aab5c]
movzx ecx, word [ebx + eax]
mov dword [esp + 0x14], ecx
jmp 0x405e2c
cmp byte [esp + 0x13], 0
jne 0x405e3a
jmp 0x405e2c
cmp ax, word [edx]
jae 0x405e2c
mov edx, dword [0x4aab5c]
mov ax, word [edx + eax*2]
mov edx, dword [esp + 0x1c]
mov word [edx + 6], ax
jmp 0x405e2c
mov ecx, dword [esp + 0x14]
mov eax, 0x3fff
cmp cx, ax
jne 0x405ee0
mov ecx, dword [ebp + 0x20]
test cl, cl
je 0x405d56
mov eax, dword [esp + 0x1c]
cmp byte [eax + 4], 0
jne 0x405e80
test byte [eax + 0xb], 1
jne 0x405e80
cmp byte [eax + 8], 0
je 0x405e80
cmp byte [esp + 0x1a], 0
jne 0x405e80
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x24]
push 0
push SysReAllocString
push 0x3fff
push ecx
push edx
push eax
jmp 0x404e63
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
push 0
push 0x3fff
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edx
jmp 0x4065e6
mov ecx, dword [esp + 0x1c]
push 1
push eax
add ecx, 0xb
xor esi, esi
lea eax, [esp + 0x1a]
xor edi, edi
call fcn.0040a210
add esp, 8
cmp byte [esp + 0x12], 0
push edi
jne 0x405fdb
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
push edi
push ecx
push edx
jmp 0x404e63
mov ebx, dword [esp + 0x1c]
mov al, byte [ebx + 0xb]
mov dl, byte [0x4aa22d]
add ebx, 0xb
mov dword [esp + 0x38], ebx
test al, 8
je 0x405f07
cmp byte [ebp + 0x20], 0
je 0x405f07
and al, 0xf7
mov byte [esp + 0x12], 1
mov byte [ebx], al
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4a7a2c]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x40601e
cmp dword [esp + 0x3c], 0
jne 0x40601e
mov edx, dword [ebp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
add esi, 4
lea eax, [esp + 0x1a]
mov ecx, ebx
call fcn.0040a210
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x406018
mov eax, dword [ebp + 0x20]
test al, al
je 0x405fa4
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x10], 0
push 0
je 0x405f88
mov ecx, dword [ebp + 0x18]
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
mov edx, eax
mov eax, dword [ebp + 0x1c]
push edx
push eax
push ecx
jmp 0x404e63
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
push 0x3fff
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
jmp 0x4065e6
mov eax, dword [esp + 0x1c]
add eax, 6
mov ecx, 0x3fff
cmp word [eax], cx
je 0x405d6b
push 1
push eax
xor esi, esi
lea eax, [esp + 0x1a]
mov ecx, ebx
xor edi, edi
mov byte [esp + 0x1a], 0
call fcn.0040a210
add esp, 8
cmp byte [esp + 0x12], 0
push edi
je 0x405fec
mov eax, dword [esp + 0x28]
push 0x3fff
push eax
push 0
jmp 0x4065da
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0x1c]
and byte [eax], 0xf7
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
push 0
push edx
mov byte [ecx + 0x10], 1
push eax
jmp 0x404e63
mov dl, byte [0x4aa22d]
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov ecx, dword [0x4aa360]
and edi, 0x3fff
cmp esi, ecx
jne 0x40606a
test dl, 0x3f
jne 0x40608b
mov eax, dword [0x4aab60]
test dl, 0x40
je 0x406054
cmp byte [eax + 0x6668], 0
jne 0x406054
mov byte [0x4a9144], 1
test dl, dl
jns 0x406090
cmp byte [eax + 0x6788], 0
jne 0x406090
mov byte [0x4a9143], 1
jmp 0x406090
test dl, 0xc
jne 0x40608b
mov eax, dword [0x4aab60]
test dl, 0x40
je 0x406054
cmp byte [eax + 0x6668], 0
jne 0x406054
mov byte [0x4a9144], 1
jmp 0x406090
mov eax, dword [0x4aab60]
test dl, 4
je 0x4060c0
cmp byte [eax + 0xb888], 0
jne 0x4060c0
test ecx, ecx
je 0x4060ab
mov byte [0x4a9142], 1
jmp 0x40610c
movzx ecx, byte [0x4a6365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
jmp 0x4060fc
test dl, 8
je 0x40610c
cmp byte [eax + 0xb9a8], 0
jne 0x40610c
call fcn.00411990
test al, al
jne 0x406106
cmp dword [0x4aa360], 0
je 0x4060e9
mov byte [0x4a9141], 1
jmp 0x406106
movzx edx, byte [0x4a6365]
push 0xffc3d44d
push 0
push 0
push 0
push edx
push 2
call fcn.0040ef20
add esp, 0x18
mov dl, byte [0x4aa22d]
mov eax, edi
lea ecx, [eax - 0x3ffa]
cmp ecx, 4
ja case.default.0x40611d
jmp dword [ecx*4 + 0x40670c]
cmp byte [0x4a9140], 0
jne case.0x40611d.16379
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push 0
push 0x3fff
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push esi
jmp 0x4065e6
xor al, al
mov byte [esp + 0x13], al
test dl, 4
je 0x40615a
mov al, 0xa4
jmp 0x406161
test dl, 8
je 0x406165
mov al, 0xa5
mov byte [esp + 0x13], al
cmp byte [0x4a9140], 0
je 0x4061db
mov ecx, 0x3ffb
cmp di, cx
je case.0x40611d.16381
test al, al
movzx eax, al
jne 0x406188
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ef20
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp byte [edx + 4], 0
je 0x4061cf
mov eax, dword [ebp + 0x18]
cmp al, 0x5b
je 0x4061cf
cmp al, 0x5c
je 0x4061cf
cmp byte [ebp + 0x20], 0
jne 0x4061cf
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ef20
add esp, 0x18
mov byte [0x4a9140], 0
jmp 0x40644a
mov cl, byte [ebp + 0x18]
cmp cl, 0xa4
je 0x4061ed
mov byte [esp + 0x11], 0
cmp cl, 0xa5
jne 0x4061f2
mov byte [esp + 0x11], 1
cmp cl, 0xa0
je 0x406200
cmp cl, 0xa1
je 0x406200
xor bl, bl
jmp 0x406202
mov bl, 1
mov byte [esp + 0x23], bl
cmp cl, 0xa2
je 0x406215
mov byte [esp + 0x1b], 0
cmp cl, 0xa3
jne 0x40621a
mov byte [esp + 0x1b], 1
xor al, al
test byte [0x4aa22d], 0x10
mov byte [esp + 0x34], al
je 0x40622d
mov al, 0xa0
jmp 0x406246
test byte [0x4aa22d], 0x20
je 0x40623a
mov al, 0xa1
jmp 0x406246
cmp byte [ebp + 0x20], 0
jne 0x40624a
test bl, bl
je 0x40624a
mov al, cl
mov byte [esp + 0x34], al
mov dl, byte [0x4aa22d]
mov byte [esp + 0x28], 0
test dl, 1
je 0x406261
mov byte [esp + 0x28], 0xa2
jmp 0x40627e
test dl, 2
je 0x40626d
mov byte [esp + 0x28], 0xa3
jmp 0x40627e
cmp byte [ebp + 0x20], 0
jne 0x40627e
cmp byte [esp + 0x1b], 0
je 0x40627e
mov byte [esp + 0x28], cl
mov esi, dword [esp + 0x34]
xor bl, bl
test al, al
je 0x4062a3
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.0040ef20
mov cl, byte [ebp + 0x18]
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x28], 0
je 0x4062c7
mov eax, dword [esp + 0x28]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ef20
mov cl, byte [ebp + 0x18]
add esp, 0x18
cmp byte [esp + 0x11], 0
je 0x4062d6
cmp byte [ebp + 0x20], 0
jne 0x4062de
jmp 0x4062da
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x4062f5
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ef20
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ef20
add esp, 0x18
test bl, bl
je 0x40632d
cmp byte [esp + 0x23], 0
jne 0x40632d
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.0040ef20
add esp, 0x18
mov byte [0x4a9140], 1
jmp 0x40644a
cmp byte [0x4a9140], 0
jne 0x406360
mov ecx, dword [esp + 0x24]
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
push esi
jmp 0x4065e6
cmp byte [ebp + 0x20], 0
mov ebx, dword [ebp + 0x18]
jne 0x406399
cmp bl, 0xa2
je 0x40637d
cmp bl, 0xa3
je 0x40637d
cmp bl, 0xa0
je 0x40637d
cmp bl, 0xa1
jne 0x406399
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040ef20
mov dl, byte [0x4aa22d]
add esp, 0x18
test dl, 0xc
je 0x4063ae
cmp byte [ebp + 0x20], 0
je 0x4063cb
cmp bl, 0xa4
je 0x4063ae
cmp bl, 0xa5
jne 0x4063cb
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ef20
mov dl, byte [0x4aa22d]
add esp, 0x18
mov eax, 0x3ffd
xor bl, bl
cmp di, ax
jne 0x4063f5
test dl, 0x30
jne 0x4063f5
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040ef20
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ef20
add esp, 0x18
test bl, bl
je 0x40644a
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040ef20
add esp, 0x18
jmp 0x40644a
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x40644a
cmp byte [eax], 5
jb 0x40644a
mov edx, ecx
movzx eax, word [edx + 0x14]
shl eax, 0x10
or dword [esp + 0x30], eax
cmp byte [esp + 0x1a], 0
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x20]
mov edi, dword [esp + 0x1c]
mov byte [esi + 4], 0x68
je 0x4064b1
test bl, bl
je 0x406536
cmp byte [edi + 8], 0
je 0x4064b1
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
push 0xffc3d44e
push 0
push 0
push edi
push ebx
push 1
call fcn.0040ef20
push 0xffc3d44d
push 0
push 0
push edi
push ebx
push 2
call fcn.0040ef20
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 0x20]
push 0
push SysReAllocString
push ecx
push edx
push edi
push ebx
mov ebx, esi
jmp 0x404f09
test bl, bl
je 0x406536
cmp byte [edi + 4], 0
je 0x4064fe
cmp byte [edi + 0x10], 0
je 0x4064e4
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
push eax
mov ebx, esi
jmp 0x404e63
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 1
push ecx
mov ecx, dword [ebp + 8]
push esi
push ebx
push edx
push eax
push ecx
jmp 0x4065e6
cmp byte [esp + 0x12], 0
je 0x40659e
mov eax, dword [ebp + 8]
push 0
cmp eax, dword [0x4aa364]
jne 0x406522
mov edx, dword [esp + 0x34]
push edx
push esi
push ebx
jmp 0x4065dd
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push esi
push ebx
push edx
push ecx
jmp 0x4065e5
mov eax, dword [0x4a913c]
mov byte [edi + 0xf], 1
test eax, eax
je 0x40654d
cmp byte [eax + 4], 0
je 0x40654d
mov byte [eax + 0x11], 2
cmp byte [esp + 0x12], 0
je 0x406572
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
or byte [eax], 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push edx
mov edx, dword [ebp + 8]
push esi
push ebx
push eax
push ecx
push edx
jmp 0x4065e6
mov eax, dword [ebp + 0x18]
cmp al, 0xa4
je 0x40657d
cmp al, 0xa5
jne 0x40659e
cmp dword [0x4aca24], 0xa
jae 0x40659e
mov ecx, dword [ebp + 0x1c]
push 0xffc3d450
push 0
push 0
push ecx
push eax
push 1
call fcn.0040ef20
add esp, 0x18
test bl, bl
jne 0x4065a6
mov byte [edi + 0x10], 1
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push edx
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
mov ebx, esi
jmp 0x404e63
test bl, bl
sete al
mov byte [esi + 0xf], 0
mov byte [esi + 0xc], al
push 0
push 0x3fff
push edi
push ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
mov cl, byte [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.00406850
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret