Function at 0x404ae0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x124]
mov dl, byte [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0x28], 0x3fff
cmp eax, 0xffc3d44f
je 0x404b28
cmp eax, 0xffc3d44e
je 0x404b28
mov byte [esp + 0x11], 0
cmp eax, 0xffc3d44d
jne 0x404b2d
mov byte [esp + 0x11], 1
mov ecx, dword [0x4c8ed8]
test ecx, ecx
jne 0x404b44
lea ebp, [esp + 0x40]
mov dword [esp + 0x3c], ebp
jmp 0x404c0c
mov eax, dword [0x4c8edc]
mov ebp, eax
imul ebp, ebp, 0xd4
inc eax
add ebp, ecx
mov dword [esp + 0x3c], ebp
mov dword [0x4c8edc], eax
cmp eax, dword [0x4c48b8]
jl 0x404b6f
mov dword [0x4c8edc], 0
mov al, byte [esp + 0x128]
mov byte [ebp], al
mov byte [ebp + 6], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4cb2e4]
mov dword [0x4c8ee0], eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
jns 0x404b9f
fadd dword [0x4be5e0]
fdiv qword [0x4be5d8]
mov dword [0x4cb2e4], eax
fstp dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x404be1
cmp esi, dword [0x4c8ee4]
je 0x404bd9
mov eax, dword [0x4c84c8]
push esi
lea edx, [ebp + 0xc]
push edx
push 0x418
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x404bff
xor ecx, ecx
mov word [ebp + 0xc], cx
jmp 0x404bff
mov eax, 0x4a3864
lea edx, [ebp + 0xc]
sub edx, eax
jmp 0x404bf0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404bf0
mov dl, byte [esp + 0x128]
mov dword [0x4c8ee4], esi
cmp dl, 0xe7
jne 0x404c5f
mov edx, dword [esp + 0x124]
movzx eax, word [edx + 4]
push 0
push 0x3fff
push ebp
mov ecx, 0x55
mov word [ebp + 4], cx
mov ecx, dword [esp + 0x12c]
push ebx
push ecx
mov ecx, dword [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x130]
push ecx
mov cl, 0xe7
mov word [ebp + 2], ax
call fcn.00406a80
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea eax, [edx + 0x64]
mov word [ebp + 2], di
cmp al, 3
ja 0x404c73
xor edi, edi
mov dword [esp + 0x12c], edi
mov ecx, dword [esp + 0x118]
cmp ecx, dword [0x4c85fc]
jne 0x404cac
mov al, byte [esp + 0x138]
and al, 1
mov byte [esp + 0x13], al
jne 0x404dd4
test bl, bl
setne al
dec al
movzx ecx, dl
and al, 0x80
mov byte [ecx + 0x4c84e8], al
jmp 0x404dd4
mov edx, dword [esp + 0x138]
shr edx, 4
and dl, 1
mov byte [esp + 0x13], dl
test edi, 0x100
jne case.0x404cf7.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x404cf7.13
movzx eax, byte [esp + 0x128]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x404cf7.13
movzx eax, byte [eax + 0x406858]
jmp dword [eax*4 + 0x406828]
test bl, bl
sete cl
mov byte [0x4c73b4], cl
jmp case.0x404cf7.13
test bl, bl
sete dl
mov byte [0x4c73b5], dl
jmp case.0x404cf7.13
test bl, bl
sete al
mov byte [0x4c73b6], al
jmp case.0x404cf7.13
test bl, bl
sete cl
mov byte [0x4c73b7], cl
jmp case.0x404cf7.13
test bl, bl
sete dl
mov byte [0x4c73b8], dl
jmp case.0x404cf7.13
test bl, bl
sete al
mov byte [0x4c73b9], al
jmp case.0x404cf7.13
test bl, bl
sete cl
mov byte [0x4c73ba], cl
jmp case.0x404cf7.13
test bl, bl
sete dl
mov byte [0x4c73bb], dl
jmp case.0x404cf7.13
test bl, bl
sete al
mov byte [0x4c73bc], al
jmp case.0x404cf7.13
test bl, bl
sete cl
mov byte [0x4c73bd], cl
jmp case.0x404cf7.13
test bl, bl
sete dl
mov byte [0x4c73be], dl
movzx esi, byte [esp + 0x128]
mov ecx, dword [0x4c8efc]
lea eax, [esi + esi*8]
shl eax, 5
cmp byte [eax + ecx + 4], 0
jne 0x404dd4
test byte [esp + 0x138], 0x10
jne 0x404dd4
mov al, byte [esp + 0x128]
push ebx
call fcn.00407d20
add esp, 4
test al, al
je 0x404dd4
test bl, bl
setne dl
dec dl
and dl, 0x80
mov byte [esi + 0x4c84e8], dl
cmp byte [esp + 0x11], 0
je 0x404ddf
mov al, 0x69
jmp 0x404deb
mov al, byte [esp + 0x13]
neg al
sbb al, al
and al, 0x41
add al, 0x20
cmp byte [0x4c85e8], 0
cbw
mov word [ebp + 4], ax
je 0x404e11
mov al, byte [esp + 0x128]
cmp al, 0x5b
je 0x404e09
cmp al, 0x5c
jne 0x404e11
test bl, bl
je 0x405365
cmp byte [0x4c73d6], 0
je 0x404ecb
cmp byte [esp + 0x128], 0x1b
jne 0x404ecb
test bl, bl
jne 0x404ecb
push 0
push str.32771
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x404ecb
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 0x404ecb
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.0040f460
mov dl, byte [0x4c84c5]
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.0040f460
push 0
push SysReAllocString
push 0x3fff
push 0
push edi
push 0x1b
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x160]
mov ebx, ebp
call fcn.00406950
add esp, 0x48
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
movzx eax, di
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*8]
shl eax, 5
add eax, dword [0x4c8f00]
mov cl, byte [eax + 0x12]
mov byte [esp + 0x34], cl
mov ecx, dword [0x4c85f8]
cmp dword [esp + 0x118], ecx
jne 0x404f03
cmp byte [esp + 0x34], 0
je 0x404f03
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x404f1b
movzx eax, byte [esp + 0x128]
lea esi, [eax + eax*8]
shl esi, 5
add esi, dword [0x4c8efc]
mov dword [esp + 0x1c], esi
cmp byte [esp + 0x11], 0
je 0x404f73
cmp dword [esp + 0x134], 0xffc3d44e
jne 0x404f4d
test bl, bl
je 0x404f4d
cmp dword [0x4c73d8], esi
jne 0x404f4d
mov byte [esi + 0xc], 0
mov byte [esi + 0xf], 0
mov dword [0x4c73d8], 0
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
push 0
push 0x3fff
push ebp
push ebx
push edx
push eax
push ecx
jmp 0x406802
test bl, bl
jne 0x404f83
mov edx, 0x3fff
mov byte [esi + 0x10], bl
mov word [esi + 6], dx
cmp dword [esp + 0x118], ecx
jne 0x405042
test bl, bl
je 0x4050b0
cmp byte [0x4c73de], 0
mov al, byte [esp + 0x128]
je 0x404fac
cmp al, 0x5b
je 0x404fdb
cmp byte [0x4c73dd], 0
je 0x404fb9
cmp al, 0x5c
je 0x404fdb
cmp byte [0x4c73dc], 0
je 0x404fc6
cmp al, 0xa4
je 0x404fdb
cmp byte [0x4c73d7], 0
je 0x4050b0
cmp al, 0xa5
jne 0x4050b0
movzx eax, al
add eax, 0xffffffa5
cmp eax, 0x4a
ja case.0x404fed.93
movzx eax, byte [eax + 0x4068d0]
jmp dword [eax*4 + 0x4068bc]
mov byte [0x4c73de], 0
jmp case.0x404fed.93
mov byte [0x4c73dd], 0
jmp case.0x404fed.93
mov byte [0x4c73dc], 0
jmp case.0x404fed.93
mov byte [0x4c73d7], 0
test byte [0x4c84c5], 3
jne 0x4050b0
movzx ecx, byte [0x4c4385]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040f460
add esp, 0x18
jmp 0x4050b0
mov al, byte [esp + 0x128]
test al, al
jne 0x405075
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
push 0
push 0x3fff
push ebp
push ebx
push edx
push eax
push ecx
xor cl, cl
jmp 0x406809
cmp al, 1
je 0x40507d
cmp al, 2
jne 0x4050b0
cmp dword [0x4c8658], 0
jne 0x4067d5
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4050b0
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ca5dc]
je 0x4067d5
mov edx, dword [0x4c73d8]
test edx, edx
je 0x4050e9
cmp edx, esi
je 0x4050e9
test bl, bl
jne 0x4050e9
mov ecx, dword [0x4c85f8]
cmp dword [esp + 0x118], ecx
jne 0x4050db
xor eax, eax
cmp byte [esi + 4], al
sete al
jmp 0x4050df
movzx eax, byte [edx + 4]
test eax, eax
je 0x4050ef
mov byte [edx + 0x11], 1
jmp 0x4050ef
mov ecx, dword [0x4c85f8]
cmp byte [esi + 8], 0
jne 0x4050ff
cmp byte [esi + 9], 0
je 0x404f4d
mov dword [esp + 0x14], 0x3fff
mov dword [esp + 0x38], 0
test bl, bl
je 0x40513d
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 0x40513b
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 [esp + 0x118], ecx
jne 0x4051cc
cmp byte [esi + 4], 0
je 0x4051e9
mov ecx, dword [0x4c8efc]
cmp byte [ecx + 0xb64c], 0
jne 0x405177
cmp byte [ecx + 0xb76c], 0
jne 0x405177
xor eax, eax
jmp 0x40517c
mov eax, 1
cmp byte [ecx + 0xb88c], 0
mov byte [ecx + 0x132c], al
jne 0x405198
cmp byte [ecx + 0xb9ac], 0
jne 0x405198
xor eax, eax
jmp 0x40519d
mov eax, 1
cmp byte [ecx + 0xb40c], 0
mov byte [ecx + 0x144c], al
jne 0x4051bf
cmp byte [ecx + 0xb52c], 0
jne 0x4051bf
xor eax, eax
mov byte [ecx + 0x120c], al
jmp 0x4051e9
mov eax, 1
mov byte [ecx + 0x120c], al
jmp 0x4051e9
test ecx, ecx
jne 0x4051e9
push 1
call fcn.004119f0
add esp, 4
mov byte [0x4c84c6], al
mov byte [0x4c84c5], al
mov byte [esp + 0x11], 1
mov eax, dword [esi]
test eax, eax
je 0x4051f9
cmp dword [eax], 7
mov byte [esp + 0x1a], 1
je 0x4051fe
mov byte [esp + 0x1a], 0
mov al, byte [esi + 8]
test al, al
je 0x4053c6
test bl, bl
jne 0x4053c6
mov ecx, dword [0x4c73d8]
test ecx, ecx
je 0x405228
cmp byte [esi + 9], bl
je 0x405228
cmp esi, ecx
jne 0x4053c6
cmp al, 1
jne 0x40525c
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x2c]
jne 0x40523f
movzx eax, byte [esp + 0x128]
mov ecx, dword [esp + 0x34]
push ecx
push eax
call fcn.0040a260
add esp, 8
test al, al
je 0x40525c
mov byte [esp + 0x12], 1
mov dl, byte [esp + 0x12]
jmp 0x405273
xor dl, dl
mov byte [esp + 0x12], dl
cmp esi, dword [0x4c73d8]
je 0x405273
mov dword [0x4c73d8], esi
mov byte [esi + 0x11], dl
cmp byte [esi + 9], 0
je 0x405329
cmp byte [esp + 0x11], 0
jne 0x405297
push 1
mov byte [esp + 0x15], 1
call fcn.004119f0
mov dl, byte [esp + 0x16]
add esp, 4
mov al, byte [esi + 4]
mov cl, byte [0x4c84c6]
test al, al
je 0x4052a8
not al
and cl, al
test cl, cl
jne 0x4052b6
test dl, dl
jne 0x4052b6
test byte [esi + 0xb], 1
je 0x405329
mov eax, dword [esp + 0x118]
cmp eax, dword [0x4c85f8]
jne 0x4052dd
cmp byte [esp + 0x34], 0
je 0x4052dd
mov eax, dword [0x4c8ef4]
movzx ecx, cl
shl ecx, 9
add ecx, dword [esp + 0x2c]
jmp 0x4052f2
movzx eax, byte [esp + 0x128]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [0x4c8ef0]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x14], eax
test eax, 0x4000
je 0x405307
mov word [esi + 6], ax
jmp 0x405339
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c5acc]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x405329
mov ecx, dword [0x4c8ef8]
mov ax, word [ecx + eax*2]
mov word [esi + 6], ax
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x4053c6
test dl, dl
je 0x40534a
or byte [esi + 0xb], 8
mov eax, 0x23
mov word [ebp + 4], ax
cmp byte [esi + 4], 0
jne 0x40539f
test byte [esi + 0xb], 1
jne 0x40539f
cmp byte [esp + 0x1a], 0
jne 0x40539f
test dl, dl
jne 0x40539f
mov byte [esi + 0x10], 1
push 0
push SysReAllocString
push 0x3fff
push 0
push edi
mov ecx, dword [esp + 0x13c]
push ecx
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x130]
mov ebx, ebp
call fcn.00406950
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
push 0
push 0x3fff
push ebp
push 0
push edx
push eax
push ecx
jmp 0x406802
cmp byte [esi + 9], 0
mov byte [esp + 0x13], 0
je 0x405440
test bl, bl
je 0x405440
cmp dword [0x4c73d8], esi
jne 0x4053ee
cmp byte [esp + 0x1b], 0
je 0x405440
mov dword [0x4c73d8], 0
cmp byte [esi + 0xa], 0
jne 0x40543b
mov al, byte [esi + 0xb]
test al, 8
je 0x405404
xor cl, cl
and al, 0xf7
mov byte [esi + 0xb], al
jmp 0x405406
mov cl, 1
cmp byte [esp + 0x1b], 0
je 0x4067e1
test cl, cl
je 0x4067e1
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
push 0
push SysReAllocString
push 0x3fff
push edx
push edi
push eax
jmp 0x40537c
mov byte [esp + 0x13], 1
cmp byte [esi + 8], 0
je 0x4055fe
test bl, bl
je 0x4055fe
cmp dword [0x4c73d8], esi
jne 0x405464
mov dword [0x4c73d8], 0
cmp byte [esi + 0xd], 0
je 0x405485
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [esi + 0xd], 0
call fcn.0040f460
add esp, 0x18
cmp byte [esi + 0xe], 0
je 0x4054a6
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [esi + 0xe], 0
call fcn.0040f460
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
cmp cx, dx
jne 0x4054e6
mov al, byte [esi + 0xb]
test al, 8
je 0x4054e6
and al, 0xf7
mov byte [esi + 0xb], al
push 0
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push 0x3fff
push ebp
push ebx
push eax
push ecx
push edx
jmp 0x406802
cmp byte [esp + 0x1a], 0
mov al, byte [esi + 0x11]
je 0x405591
cmp al, 2
jne 0x40553e
mov esi, dword [esp + 0x128]
push 0xffc3d44e
push 0
push 0
push edi
push esi
push 1
call fcn.0040f460
push 0xffc3d44d
push 0
push 0
push edi
push esi
push 2
call fcn.0040f460
mov eax, dword [esp + 0x160]
push 0
push SysReAllocString
push 0x3fff
push eax
push edi
push esi
jmp 0x404ea8
cmp al, 1
je 0x4067e1
cmp byte [esi + 9], 0
jne 0x4055ec
cmp byte [esi + 4], 0
jne 0x4067e1
test byte [esi + 0xb], 1
jne 0x4067e1
cmp byte [esp + 0x1a], 0
jne 0x4067e1
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
push 0
push SysReAllocString
push 0x3fff
push edx
push edi
push eax
jmp 0x40537c
test al, al
je 0x405546
cmp cx, dx
jne 0x405546
cmp byte [esi + 4], 0
je 0x4055db
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
cmp al, 2
mov eax, dword [esp + 0x120]
jne 0x4055ca
push 1
push 0x3fff
push ebp
push ebx
push eax
push ecx
push edx
jmp 0x406802
push 0
push 0x3fff
push ebp
push ebx
push eax
push ecx
push edx
jmp 0x406802
test byte [esi + 0xb], 1
push 0
je 0x405d3c
jmp 0x4054c2
cmp byte [esp + 0x23], 0
jne 0x405602
cmp byte [esi + 0xa], 0
jne 0x405602
jmp 0x4067e1
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
jne 0x40561d
mov edx, 0x3fff
cmp cx, dx
jne 0x40561d
push 1
call fcn.004119f0
add esp, 4
cmp dword [0x4c73d8], 0
mov byte [esp + 0x12], 0
je 0x405d53
test bl, bl
je 0x405641
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0xa], 0
je 0x405d53
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x405ff5
mov ebp, dword [esp + 0x1c]
cmp byte [ebp + 0x13], 0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], 0
jbe 0x405716
mov bl, byte [esp + 0x130]
mov edx, dword [0x4c8efc]
lea esi, [ebp + 0x16]
jmp 0x405680
mov cl, byte [esi]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + edx + 0xc], 0
je 0x4056e8
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4056de
test bl, bl
jne 0x4056fe
mov ecx, 0x3fff
mov word [ebp + 6], ax
cmp di, cx
je 0x4056e8
mov dword [esp + 0x14], edi
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x4057dd
dec eax
je 0x4057c4
dec eax
je 0x4057ab
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, edx
jmp 0x405790
test bl, bl
jne 0x4056e8
mov edi, eax
mov byte [esp + 0x11], cl
mov eax, dword [esp + 0x24]
movzx ecx, byte [ebp + 0x13]
inc eax
add esi, 4
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x405680
jmp 0x405708
mov al, byte [esi]
movzx edi, word [esi + 2]
mov byte [esp + 0x11], al
mov ecx, 0x3fff
mov dword [esp + 0x14], edi
cmp di, cx
jne 0x4056b3
xor edx, edx
cmp byte [ebp + 0x14], dl
jbe 0x405837
lea esi, [ebp + 0xde]
jmp 0x405730
movzx ecx, word [esi]
mov ebx, dword [0x4c8f00]
mov eax, ecx
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x405808
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4057f6
cmp byte [esp + 0x130], 0
jne 0x40581a
mov ecx, 0x3fff
mov word [ebp + 6], ax
cmp di, cx
je 0x405808
mov dword [esp + 0x14], edi
movzx eax, word [esp + 0x24]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4c8f00]
mov ecx, 0x3fff
mov dword [0x4c73d8], ebx
cmp word [esp + 0x14], cx
jne case.default.0x405853
jmp 0x40583d
xor eax, eax
cmp byte [edx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, edx
jmp 0x405790
xor eax, eax
cmp byte [edx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, edx
jmp 0x405790
xor eax, eax
cmp byte [edx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, edx
jmp 0x405790
cmp byte [esp + 0x130], 0
jne 0x405808
mov edi, eax
mov eax, ecx
mov dword [esp + 0x24], eax
movzx ecx, byte [ebp + 0x14]
inc edx
add esi, 4
cmp edx, ecx
jl 0x405730
jmp 0x405825
movzx edx, word [esi]
movzx edi, word [esi + 2]
mov dword [esp + 0x24], edx
mov eax, 0x3fff
mov dword [esp + 0x14], edi
cmp di, ax
jne 0x40577f
mov ebx, dword [0x4c73d8]
movzx eax, byte [esp + 0x128]
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x405853
jmp dword [eax*4 + 0x40691c]
mov al, 0x11
jmp 0x405864
mov al, 0x12
jmp 0x405864
mov al, 0x10
mov edx, dword [esp + 0x14]
movzx eax, al
lea esi, [eax + eax*8]
shl esi, 5
add esi, dword [0x4c8efc]
xor edi, edi
movzx ebp, byte [esi + 0x13]
mov dword [esp + 0x30], esi
test ebp, ebp
jle 0x405938
add esi, 0x16
lea esp, [esp]
mov cl, byte [esi]
mov ebx, dword [0x4c8efc]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x405912
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405902
cmp byte [esp + 0x130], 0
jne 0x405920
mov ecx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, 0x3fff
cmp dx, ax
je 0x405912
mov dword [esp + 0x14], edx
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x405aa2
dec eax
je 0x405a80
dec eax
je 0x405a5e
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4c8efc]
jmp 0x4059c3
cmp byte [esp + 0x130], 0
jne 0x405912
mov edx, eax
mov byte [esp + 0x11], cl
inc edi
add esi, 4
cmp edi, ebp
jl 0x405890
jmp 0x40592a
mov cl, byte [esi]
movzx edx, word [esi + 2]
mov byte [esp + 0x11], cl
mov esi, dword [esp + 0x30]
mov ebx, dword [0x4c73d8]
mov dword [esp + 0x14], edx
mov eax, 0x3fff
cmp dx, ax
jne 0x4058d3
movzx eax, byte [esi + 0x14]
xor edi, edi
mov dword [esp + 0x30], eax
test eax, eax
jle case.default.0x405853
mov ebp, dword [esp + 0x14]
add esi, 0xde
lea ebx, [ebx]
movzx ecx, word [esi]
mov eax, ecx
lea edx, [eax + eax*8]
mov eax, dword [0x4c8f00]
shl edx, 5
cmp byte [edx + eax + 0xc], 0
je 0x405ad6
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405ac4
cmp byte [esp + 0x130], 0
jne 0x405ae6
mov ecx, dword [esp + 0x1c]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bp, dx
je 0x405ad6
mov dword [esp + 0x14], ebp
movzx eax, word [esp + 0x24]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4c8f00]
mov dword [0x4c73d8], ebx
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov edx, 0x3fff
and esi, 0x3fff
cmp ax, dx
je 0x405b1c
mov eax, dword [0x4c5acc]
cmp si, word [eax]
jae 0x405b18
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x134]
lea edx, [esp + 0x14]
push ebx
add ecx, 0xb
push edx
lea esi, [ebp + 4]
lea eax, [esp + 0x1a]
call fcn.0040a4b0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x405b08
push eax
push 0x3fff
push ebp
push ebx
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
push eax
mov eax, dword [esp + 0x140]
push ecx
mov cl, byte [esp + 0x140]
push edx
jmp 0x40680b
mov ecx, dword [0x4c8efc]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x4059c3
mov ecx, dword [0x4c8efc]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x4059c3
mov ecx, dword [0x4c8efc]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x4059c3
cmp byte [esp + 0x130], 0
jne 0x405ad6
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x24], eax
inc edi
add esi, 4
cmp edi, dword [esp + 0x30]
jl 0x405960
jmp 0x405af1
movzx ecx, word [esi]
movzx ebp, word [esi + 2]
mov dword [esp + 0x24], ecx
mov edx, 0x3fff
mov dword [esp + 0x14], ebp
cmp bp, dx
je case.default.0x405853
jmp 0x4059b2
mov esi, dword [esp + 0x14]
mov ebx, dword [0x4c73d8]
and esi, 0x3fff
mov byte [ebx + 0x11], 2
mov eax, 0x3ffe
cmp si, ax
je 0x405b34
mov ecx, 0x3ffd
cmp si, cx
jne 0x405d53
cmp byte [esp + 0x130], 0
jne 0x405b46
mov edx, dword [esp + 0x1c]
mov byte [edx + 0xf], 1
test byte [0x4c84c5], 0xc
jne 0x405b6c
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040f460
mov ebx, dword [0x4c73d8]
add esp, 0x18
mov al, byte [esp + 0x128]
cmp al, 0xa2
je 0x405b7b
cmp al, 0xa3
jne 0x405bb0
cmp byte [esp + 0x130], 0
jne 0x405bb0
mov edi, dword [esp + 0x12c]
mov eax, dword [esp + 0x128]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040f460
mov ebx, dword [0x4c73d8]
add esp, 0x18
jmp 0x405bb7
mov edi, dword [esp + 0x12c]
mov ecx, 0x3ffd
mov byte [ebx + 0xd], 1
cmp si, cx
jne 0x405bf4
test byte [0x4c84c5], 0x30
jne 0x405beb
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040f460
mov ebx, dword [0x4c73d8]
add esp, 0x18
mov byte [ebx + 0xe], 1
jmp 0x405c79
mov edx, 0x3ffe
cmp si, dx
jne 0x405c79
mov al, byte [esp + 0x128]
cmp al, 0xa0
je 0x405c0d
cmp al, 0xa1
jne 0x405c33
cmp byte [esp + 0x130], 0
jne 0x405c33
mov eax, dword [esp + 0x128]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040f460
add esp, 0x18
test byte [0x4c84c5], 0x10
je 0x405c56
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.0040f460
add esp, 0x18
test byte [0x4c84c5], 0x20
je 0x405c79
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.0040f460
add esp, 0x18
test byte [0x4c84c5], 1
je 0x405c9c
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.0040f460
add esp, 0x18
test byte [0x4c84c5], 2
je 0x405cbf
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.0040f460
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040f460
mov ecx, 0x3ffd
add esp, 0x18
cmp si, cx
jne 0x405d1f
mov edx, dword [0x4c73d8]
cmp byte [edx + 0xe], 0
je 0x405d1f
mov al, byte [esp + 0x128]
cmp al, 0x60
jb 0x405cfb
cmp al, 0x69
jbe 0x405cff
cmp al, 0x6e
jne 0x405d1f
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040f460
mov eax, dword [0x4c73d8]
add esp, 0x18
mov byte [eax + 0xe], 0
cmp byte [esp + 0x130], 0
mov ecx, 0x68
mov word [ebp + 4], cx
jne 0x405d3a
mov edx, dword [esp + 0x1c]
mov byte [edx + 0x10], 1
push 0
mov eax, dword [esp + 0x134]
push SysReAllocString
push 0x3fff
push eax
jmp 0x405373
mov edx, 0x3fff
cmp word [esp + 0x14], dx
jne 0x405ff5
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 4]
mov al, byte [0x4c84c6]
test cl, cl
je 0x405d77
not cl
and al, cl
mov edx, dword [esp + 0x118]
mov edi, dword [0x4c85f8]
cmp edx, edi
jne 0x405dac
cmp byte [esp + 0x34], 0
je 0x405dac
mov esi, dword [0x4c8ef4]
movzx ecx, al
shl ecx, 9
add ecx, dword [esp + 0x2c]
movzx esi, word [esi + ecx*2]
mov cl, byte [esp + 0x128]
jmp 0x405dc8
mov cl, byte [esp + 0x128]
movzx esi, al
movzx ebx, cl
shl esi, 8
add esi, ebx
mov ebx, dword [0x4c8ef0]
movzx esi, word [ebx + esi*2]
mov ebx, 0x3fff
mov dword [esp + 0x14], esi
cmp si, bx
jne 0x405e3c
cmp byte [0x4c73d6], 0
je 0x405e3c
cmp cl, 9
je 0x405e3c
and al, 0xf3
cmp edx, edi
jne 0x405e06
cmp byte [esp + 0x34], 0
je 0x405e06
movzx edx, al
mov eax, dword [0x4c8ef4]
shl edx, 9
add edx, dword [esp + 0x2c]
movzx esi, word [eax + edx*2]
jmp 0x405e1b
movzx edx, al
movzx eax, cl
mov ecx, dword [0x4c8ef0]
shl edx, 8
add edx, eax
movzx esi, word [ecx + edx*2]
mov edx, esi
and edx, ebx
mov eax, edx
mov ecx, 0x3ff9
mov dword [esp + 0x14], esi
cmp ax, cx
jbe 0x405e36
mov edx, ebx
cmp ax, dx
jb 0x405e3c
mov esi, ebx
mov dword [esp + 0x14], esi
test esi, 0x4000
je 0x405e7f
cmp byte [esp + 0x130], 0
jne 0x405f27
mov ecx, dword [esp + 0x1c]
mov ax, word [esp + 0x14]
mov word [ecx + 6], ax
lea eax, [ecx + 6]
mov edx, 0x3fff
cmp word [eax], dx
jne 0x405fbb
push 0
push 0x3fff
push ebp
push 0
jmp 0x405a33
mov ecx, ebx
cmp si, cx
je 0x405f37
and esi, ecx
cmp byte [esp + 0x130], 0
mov eax, esi
je 0x405f08
mov edx, dword [0x4c5acc]
cmp ax, word [edx]
jae 0x405eff
movzx ebx, ax
mov eax, ecx
mov ecx, dword [0x4c8ef8]
add ebx, ebx
cmp word [ebx + ecx], ax
je 0x405eff
cmp byte [esp + 0x13], 0
jne 0x405eef
mov edx, dword [esp + 0x130]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x134]
push edx
lea eax, [esp + 0x18]
push eax
add ecx, 0xb
lea esi, [ebp + 4]
lea eax, [esp + 0x1a]
call fcn.0040a4b0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x405f27
mov ecx, dword [0x4c8ef8]
movzx edx, word [ebx + ecx]
mov dword [esp + 0x14], edx
jmp 0x405f27
cmp byte [esp + 0x13], 0
jne 0x405f37
jmp 0x405f27
mov ecx, dword [0x4c5acc]
cmp ax, word [ecx]
jae 0x405f27
movzx edx, ax
mov eax, dword [0x4c8ef8]
mov cx, word [eax + edx*2]
mov edx, dword [esp + 0x1c]
mov word [edx + 6], cx
mov eax, 0x3fff
cmp word [esp + 0x14], ax
jne 0x405ff5
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x1c]
test al, al
je 0x405e5f
cmp byte [ecx + 4], 0
jne 0x405f87
test byte [ecx + 0xb], 1
jne 0x405f87
cmp byte [ecx + 8], 0
je 0x405f87
cmp byte [esp + 0x1a], 0
jne 0x405f87
mov edx, dword [esp + 0x12c]
push 0
push SysReAllocString
push 0x3fff
mov ecx, eax
mov eax, dword [esp + 0x134]
push ecx
push edx
push eax
jmp 0x40537c
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push 0
push 0x3fff
push ebp
push eax
mov eax, dword [esp + 0x128]
push ecx
mov cl, byte [esp + 0x13c]
push edx
push eax
mov eax, dword [esp + 0x148]
jmp 0x40680b
push 1
push eax
add ecx, 0xb
xor esi, esi
lea eax, [esp + 0x1a]
xor edi, edi
call fcn.0040a4b0
add esp, 8
cmp byte [esp + 0x12], 0
push edi
jne 0x405e72
mov eax, dword [esp + 0x130]
push SysReAllocString
push 0x3fff
push edi
push eax
jmp 0x405374
mov ebx, dword [esp + 0x1c]
mov al, byte [ebx + 0xb]
mov dl, byte [0x4c84c5]
add ebx, 0xb
mov dword [esp + 0x30], ebx
test al, 8
je 0x406020
cmp byte [esp + 0x130], 0
je 0x406020
and al, 0xf7
mov byte [esp + 0x12], 1
mov byte [ebx], al
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c5acc]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x406147
cmp dword [esp + 0x38], 0
jne 0x406147
mov edx, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
push edx
lea eax, [esp + 0x18]
push eax
lea esi, [ebp + 4]
lea eax, [esp + 0x1a]
mov ecx, ebx
call fcn.0040a4b0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x406141
mov eax, dword [esp + 0x130]
test al, al
je 0x4060d7
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x10], 0
push 0
je 0x4060a5
push SysReAllocString
push 0x3fff
mov edx, eax
mov eax, dword [esp + 0x138]
push edx
push eax
jmp 0x405374
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x11c]
push 0x3fff
push ebp
push eax
mov eax, dword [esp + 0x12c]
push edx
push eax
mov eax, dword [esp + 0x144]
push ecx
mov cl, byte [esp + 0x144]
jmp 0x40680b
mov eax, dword [esp + 0x1c]
add eax, 6
mov edx, 0x3fff
cmp word [eax], dx
je 0x405e70
push 1
push eax
xor esi, esi
lea eax, [esp + 0x1a]
mov ecx, ebx
xor edi, edi
mov byte [esp + 0x1a], 0
call fcn.0040a4b0
add esp, 8
cmp byte [esp + 0x12], 0
push edi
jne 0x405e72
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x130]
and byte [eax], 0xf7
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x12c]
push SysReAllocString
push 0x3fff
push edi
push ecx
mov byte [eax + 0x10], 1
push edx
jmp 0x40537c
mov dl, byte [0x4c84c5]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x118]
mov ecx, dword [0x4c85f8]
and edi, 0x3fff
cmp esi, ecx
jne 0x406197
test dl, 0x3f
jne 0x4061b8
mov eax, dword [0x4c8efc]
test dl, 0x40
je 0x406181
cmp byte [eax + 0x6668], 0
jne 0x406181
mov byte [0x4c73de], 1
test dl, dl
jns 0x4061bd
cmp byte [eax + 0x6788], 0
jne 0x4061bd
mov byte [0x4c73dd], 1
jmp 0x4061bd
test dl, 0xc
jne 0x4061b8
mov eax, dword [0x4c8efc]
test dl, 0x40
je 0x406181
cmp byte [eax + 0x6668], 0
jne 0x406181
mov byte [0x4c73de], 1
jmp 0x4061bd
mov eax, dword [0x4c8efc]
test dl, 4
je 0x4061ed
cmp byte [eax + 0xb888], 0
jne 0x4061ed
test ecx, ecx
je 0x4061d8
mov byte [0x4c73dc], 1
jmp 0x406239
movzx eax, byte [0x4c4385]
push 0xffc3d44d
push 0
push 0
push 0
push eax
jmp 0x406229
test dl, 8
je 0x406239
cmp byte [eax + 0xb9a8], 0
jne 0x406239
call fcn.00411f80
test al, al
jne 0x406233
cmp dword [0x4c85f8], 0
je 0x406216
mov byte [0x4c73d7], 1
jmp 0x406233
movzx ecx, byte [0x4c4385]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040f460
add esp, 0x18
mov dl, byte [0x4c84c5]
mov eax, edi
lea ecx, [eax - 0x3ffa]
cmp ecx, 4
ja case.default.0x40624a
jmp dword [ecx*4 + 0x406934]
cmp byte [0x4c73d6], 0
jne case.0x40624a.16379
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push 0
push 0x3fff
push ebp
push edx
push eax
mov eax, dword [esp + 0x140]
push ecx
mov cl, byte [esp + 0x140]
push esi
jmp 0x40680b
xor al, al
mov byte [esp + 0x13], al
test dl, 4
je 0x40629d
mov al, 0xa4
jmp 0x4062a4
test dl, 8
je 0x4062a8
mov al, 0xa5
mov byte [esp + 0x13], al
cmp byte [0x4c73d6], 0
je 0x406326
mov ecx, 0x3ffb
cmp di, cx
je case.0x40624a.16381
test al, al
movzx eax, al
jne 0x4062cb
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040f460
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp byte [edx + 4], 0
je 0x40631a
mov eax, dword [esp + 0x128]
cmp al, 0x5b
je 0x40631a
cmp al, 0x5c
je 0x40631a
cmp byte [esp + 0x130], 0
jne 0x40631a
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040f460
add esp, 0x18
mov byte [0x4c73d6], 0
jmp 0x4065c0
mov al, byte [esp + 0x128]
cmp al, 0xa4
je 0x40633a
mov byte [esp + 0x11], 0
cmp al, 0xa5
jne 0x40633f
mov byte [esp + 0x11], 1
cmp al, 0xa0
je 0x40634b
cmp al, 0xa1
je 0x40634b
xor dl, dl
jmp 0x40634d
mov dl, 1
mov byte [esp + 0x23], dl
cmp al, 0xa2
je 0x40635e
mov byte [esp + 0x1b], 0
cmp al, 0xa3
jne 0x406363
mov byte [esp + 0x1b], 1
mov bl, byte [0x4c84c5]
xor cl, cl
mov byte [esp + 0x2c], cl
test bl, 0x10
je 0x40637c
mov cl, 0xa0
mov byte [esp + 0x2c], cl
jmp 0x4063a3
test bl, 0x20
je 0x406389
mov cl, 0xa1
mov byte [esp + 0x2c], cl
jmp 0x4063a3
cmp byte [esp + 0x130], 0
jne 0x40639d
test dl, dl
je 0x40639d
mov cl, al
mov byte [esp + 0x2c], cl
mov bl, byte [0x4c84c5]
mov byte [esp + 0x24], 0
test bl, 1
je 0x4063b4
mov byte [esp + 0x24], 0xa2
jmp 0x4063d5
test bl, 2
je 0x4063c0
mov byte [esp + 0x24], 0xa3
jmp 0x4063d5
cmp byte [esp + 0x130], 0
jne 0x4063d5
cmp byte [esp + 0x1b], 0
je 0x4063d5
mov byte [esp + 0x24], al
mov esi, dword [esp + 0x2c]
xor bl, bl
test cl, cl
je 0x4063f7
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.0040f460
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x24], 0
je 0x406418
mov eax, dword [esp + 0x24]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040f460
add esp, 0x18
cmp byte [esp + 0x11], 0
je 0x406432
cmp byte [esp + 0x130], 0
jne 0x40643a
mov al, byte [esp + 0x128]
jmp 0x406436
mov al, byte [esp + 0x13]
test al, al
jne 0x406451
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040f460
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040f460
add esp, 0x18
test bl, bl
je 0x406489
cmp byte [esp + 0x23], 0
jne 0x406489
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.0040f460
add esp, 0x18
mov byte [0x4c73d6], 1
jmp 0x4065c0
cmp byte [0x4c73d6], 0
jne 0x4064d2
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push 0
push 0x3fff
push ebp
push ecx
mov cl, byte [esp + 0x138]
push edx
push eax
mov eax, dword [esp + 0x144]
push esi
jmp 0x40680b
cmp byte [esp + 0x130], 0
mov ebx, dword [esp + 0x128]
jne 0x406513
cmp bl, 0xa2
je 0x4064f7
cmp bl, 0xa3
je 0x4064f7
cmp bl, 0xa0
je 0x4064f7
cmp bl, 0xa1
jne 0x406513
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040f460
mov dl, byte [0x4c84c5]
add esp, 0x18
test dl, 0xc
je 0x40652c
cmp byte [esp + 0x130], 0
je 0x406549
cmp bl, 0xa4
je 0x40652c
cmp bl, 0xa5
jne 0x406549
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040f460
mov dl, byte [0x4c84c5]
add esp, 0x18
mov ecx, 0x3ffd
xor bl, bl
cmp di, cx
jne 0x406573
test dl, 0x30
jne 0x406573
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040f460
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040f460
add esp, 0x18
test bl, bl
je 0x4065c0
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040f460
add esp, 0x18
jmp 0x4065c0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x1e], 5
jne 0x4065c0
movzx edx, word [eax + 0x1c]
shl edx, 0x10
or dword [esp + 0x28], edx
cmp byte [esp + 0x1a], 0
mov ebx, dword [esp + 0x130]
mov esi, dword [esp + 0x1c]
mov eax, 0x68
mov word [ebp + 4], ax
je 0x406631
test bl, bl
je 0x406714
cmp byte [esi + 8], 0
je 0x406631
mov edi, dword [esp + 0x12c]
mov esi, dword [esp + 0x128]
push 0xffc3d44e
push 0
push 0
push edi
push esi
push 1
call fcn.0040f460
push 0xffc3d44d
push 0
push 0
push edi
push esi
push 2
call fcn.0040f460
mov ecx, dword [esp + 0x58]
push 0
push SysReAllocString
push ecx
mov edx, ebx
push edx
push edi
push esi
jmp 0x404ea8
test bl, bl
je 0x406714
cmp byte [esi + 4], 0
je 0x4066a2
cmp byte [esi + 0x10], 0
je 0x40666e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
push 0
push SysReAllocString
push eax
mov eax, dword [esp + 0x134]
push ecx
push edx
push eax
jmp 0x40537c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push 1
push ecx
mov ecx, dword [esp + 0x120]
push ebp
push ebx
push edx
push eax
mov eax, dword [esp + 0x144]
push ecx
mov cl, byte [esp + 0x144]
jmp 0x40680b
cmp byte [esp + 0x12], 0
je 0x4067a4
mov eax, dword [esp + 0x118]
push 0
cmp eax, dword [0x4c85fc]
jne 0x4066e9
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x124]
push edx
mov edx, dword [esp + 0x124]
push ebp
push ebx
push ecx
mov cl, byte [esp + 0x13c]
push edx
push eax
mov eax, dword [esp + 0x148]
jmp 0x40680b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x124]
push ecx
mov ecx, dword [esp + 0x124]
push ebp
push ebx
push edx
push ecx
mov cl, byte [esp + 0x140]
push eax
mov eax, dword [esp + 0x148]
jmp 0x40680b
mov eax, dword [0x4c73d8]
mov byte [esi + 0xf], 1
test eax, eax
je 0x40672b
cmp byte [eax + 4], 0
je 0x40672b
mov byte [eax + 0x11], 2
cmp byte [esp + 0x12], 0
je 0x406745
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
or byte [eax], 8
push 0
push edx
jmp 0x405a31
mov eax, dword [esp + 0x128]
cmp al, 0xa4
je 0x406754
cmp al, 0xa5
jne 0x4067a4
mov cl, byte [0x4c84c5]
test cl, 0xc0
je 0x406788
test cl, 0x33
jne 0x406788
movzx eax, byte [0x4c4385]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 2
call fcn.0040f460
mov eax, dword [esp + 0x140]
add esp, 0x18
mov ecx, dword [esp + 0x12c]
push 0xffc3d44d
push 0
push 0
push ecx
push eax
push 1
call fcn.0040f460
add esp, 0x18
test bl, bl
jne 0x4067ac
mov byte [esi + 0x10], 1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
push 0
push SysReAllocString
push edx
mov edx, dword [esp + 0x134]
push eax
push ecx
push edx
jmp 0x40537c
test bl, bl
sete al
mov byte [esi + 0xf], 0
mov byte [esi + 0xc], al
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
push 0
push 0x3fff
push ebp
push ebx
push ecx
push edx
push eax
mov cl, byte [esp + 0x144]
mov eax, edi
mov edx, dword [esp + 0x140]
call fcn.00406a80
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret