Function at 0x404620
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x12c]
push ebx
mov bl, byte [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push edi
mov dword [esp + 0x2c], 0x3fff
cmp eax, 0xffc3d44f
je 0x404661
cmp eax, 0xffc3d44e
je 0x404661
mov byte [esp + 0x12], 0
cmp eax, 0xffc3d44d
jne 0x404666
mov byte [esp + 0x12], 1
mov ecx, dword [0x4c4900]
test ecx, ecx
jne 0x40467d
lea edi, [esp + 0x48]
mov dword [esp + 0x24], edi
jmp 0x404738
mov eax, dword [0x4c4904]
mov edi, eax
imul edi, edi, 0xd4
inc eax
add edi, ecx
mov dword [esp + 0x24], edi
mov dword [0x4c4904], eax
cmp eax, dword [0x4c03d8]
jl 0x4046a8
mov dword [0x4c4904], 0
mov al, byte [esp + 0x138]
mov byte [edi], bl
mov byte [edi + 6], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4c6e98]
mov dword [0x4c4908], eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
jns 0x4046d7
fadd dword [0x4baf60]
fdiv qword [0x4baf58]
mov dword [0x4c6e98], eax
fstp dword [edi + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x404719
cmp esi, dword [0x4c490c]
je 0x404711
mov eax, dword [0x4c3ee8]
push esi
lea edx, [edi + 0xc]
push edx
push 0x418
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x404732
xor ecx, ecx
mov word [edi + 0xc], cx
jmp 0x404732
mov eax, 0x4a0820
lea edx, [edi + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404723
mov dword [0x4c490c], esi
cmp bl, 0xe7
jne 0x404762
mov edx, dword [esp + 0x12c]
mov ax, word [edx + 4]
mov ecx, 0x55
mov word [edi + 2], ax
mov word [edi + 4], cx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
add bl, 0x64
mov word [edi + 2], bp
cmp bl, 3
ja 0x404777
xor ebp, ebp
mov dword [esp + 0x134], ebp
mov edx, dword [esp + 0x120]
cmp edx, dword [0x4c401c]
jne 0x4047b7
mov bl, byte [esp + 0x140]
and bl, 1
jne 0x404931
cmp byte [esp + 0x138], bl
movzx ecx, byte [esp + 0x130]
setne al
dec al
and al, 0x80
mov byte [ecx + 0x4c3f08], al
jmp 0x404931
mov ebx, dword [esp + 0x140]
shr ebx, 4
and bl, 1
test ebp, 0x100
jne case.0x4047fe.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x4047fe.13
movzx eax, byte [esp + 0x130]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x4047fe.13
movzx edx, byte [eax + 0x406428]
jmp dword [edx*4 + 0x4063f8]
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c2ddc], al
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c2ddd], cl
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete dl
mov byte [0x4c2dde], dl
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c2ddf], al
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c2de0], cl
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete dl
mov byte [0x4c2de1], dl
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c2de2], al
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c2de3], cl
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete dl
mov byte [0x4c2de4], dl
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c2de5], al
jmp case.0x4047fe.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c2de6], cl
movzx esi, byte [esp + 0x130]
mov eax, dword [0x4c4924]
lea edx, [esi + esi*8]
shl edx, 5
cmp byte [edx + eax + 4], 0
jne 0x404931
test byte [esp + 0x140], 0x10
jne 0x404931
mov ecx, dword [esp + 0x138]
mov al, byte [esp + 0x130]
push ecx
call fcn.004078a0
add esp, 4
test al, al
je 0x404931
cmp byte [esp + 0x138], 0
setne dl
dec dl
and dl, 0x80
mov byte [esi + 0x4c3f08], dl
cmp byte [esp + 0x12], 0
je 0x40493c
mov al, 0x69
jmp 0x404946
neg bl
sbb bl, bl
and bl, 0x41
lea eax, [ebx + 0x20]
cmp byte [0x4c4008], 0
cbw
mov word [edi + 4], ax
je 0x4049a8
mov al, byte [esp + 0x130]
cmp al, 0x5b
je 0x404964
cmp al, 0x5c
jne 0x4049a8
cmp byte [esp + 0x138], 0
jne 0x4049a8
push 0
push SysReAllocString
push 0x3fff
push 0
mov ecx, dword [esp + 0x140]
push ebp
push ecx
mov ebx, edi
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x144]
call fcn.00406520
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
cmp byte [0x4c2dfe], 0
je 0x404a68
cmp byte [esp + 0x130], 0x1b
jne 0x404a68
cmp byte [esp + 0x138], 0
jne 0x404a68
push 0
push str.32771
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x404a68
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 0x404a68
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.0040ee60
mov dl, byte [0x4c3ee5]
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.0040ee60
push 0
push SysReAllocString
push 0x3fff
push 0
push ebp
push 0x1b
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x168]
mov ebx, edi
call fcn.00406520
add esp, 0x48
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov edx, dword [0x4c4928]
mov ecx, dword [0x4c4018]
movzx eax, bp
mov dword [esp + 0x40], eax
lea eax, [eax + eax*8]
shl eax, 5
add eax, edx
mov dl, byte [eax + 0x12]
mov byte [esp + 0x33], dl
cmp dword [esp + 0x120], ecx
jne 0x404a9f
test dl, dl
je 0x404a9f
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x404ab7
movzx eax, byte [esp + 0x130]
lea esi, [eax + eax*8]
shl esi, 5
add esi, dword [0x4c4924]
mov dword [esp + 0x1c], esi
cmp byte [esp + 0x12], 0
je 0x404b04
cmp dword [esp + 0x13c], 0xffc3d44e
jne 0x404aef
cmp byte [esp + 0x138], 0
je 0x404aef
cmp dword [0x4c2e00], esi
jne 0x404aef
mov byte [esi + 0xc], 0
mov byte [esi + 0xf], 0
mov dword [0x4c2e00], 0
mov eax, dword [esp + 0x138]
push 0
push 0x3fff
push edi
push eax
jmp 0x4063bd
mov ebx, dword [esp + 0x138]
test bl, bl
jne 0x404b1b
mov edx, 0x3fff
mov byte [esi + 0x10], bl
mov word [esi + 6], dx
cmp dword [esp + 0x120], ecx
jne 0x404bf0
test bl, bl
je 0x404c5e
cmp byte [0x4c2e06], 0
je 0x404b43
cmp byte [esp + 0x130], 0x5b
je 0x404b84
cmp byte [0x4c2e05], 0
je 0x404b56
cmp byte [esp + 0x130], 0x5c
je 0x404b84
cmp byte [0x4c2e04], 0
je 0x404b69
cmp byte [esp + 0x130], 0xa4
je 0x404b84
cmp byte [0x4c2dff], 0
je 0x404c5e
cmp byte [esp + 0x130], 0xa5
jne 0x404c5e
movzx eax, byte [esp + 0x130]
add eax, 0xffffffa5
cmp eax, 0x4a
ja case.0x404b9b.93
movzx eax, byte [eax + 0x4064a0]
jmp dword [eax*4 + 0x40648c]
mov byte [0x4c2e06], 0
jmp case.0x404b9b.93
mov byte [0x4c2e05], 0
jmp case.0x404b9b.93
mov byte [0x4c2e04], 0
jmp case.0x404b9b.93
mov byte [0x4c2dff], 0
test byte [0x4c3ee5], 3
jne 0x404c5e
movzx ecx, byte [0x4c0385]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040ee60
add esp, 0x18
jmp 0x404c5e
mov al, byte [esp + 0x130]
test al, al
jne 0x404c23
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push 0
push 0x3fff
push edi
push ebx
push edx
push eax
push ecx
xor cl, cl
jmp 0x4063dc
cmp al, 1
je 0x404c2b
cmp al, 2
jne 0x404c5e
cmp dword [0x4c4074], 0
jne 0x4063a8
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x404c5e
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4c6004]
je 0x4063a8
mov edx, dword [0x4c2e00]
test edx, edx
je 0x404c97
cmp edx, esi
je 0x404c97
test bl, bl
jne 0x404c97
mov ecx, dword [0x4c4018]
cmp dword [esp + 0x120], ecx
jne 0x404c89
xor eax, eax
cmp byte [esi + 4], al
sete al
jmp 0x404c8d
movzx eax, byte [edx + 4]
test eax, eax
je 0x404c9d
mov byte [edx + 0x11], 1
jmp 0x404c9d
mov ecx, dword [0x4c4018]
cmp byte [esi + 8], 0
jne 0x404ccf
cmp byte [esi + 9], 0
jne 0x404ccf
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push 0
push 0x3fff
push edi
push ebx
push edx
push eax
push ecx
jmp 0x4063d5
mov byte [esp + 0x37], 0
mov dword [esp + 0x14], 0x3fff
mov dword [esp + 0x38], 0
test bl, bl
je 0x404d17
mov al, byte [esi + 0xf]
mov dl, byte [esi + 0xc]
mov byte [esp + 0x23], al
movzx eax, word [esi + 6]
mov byte [esp + 0x2b], dl
mov edx, 0x3fff
mov byte [esi + 0xf], 0
cmp ax, dx
je 0x404d15
mov dword [esp + 0x14], eax
mov byte [esp + 0x37], 1
mov word [esi + 6], dx
test bl, bl
sete al
mov byte [esi + 0xc], al
mov byte [esp + 0x12], 0
cmp dword [esp + 0x120], ecx
jne 0x404da6
cmp byte [esi + 4], 0
je 0x404dc3
mov ecx, dword [0x4c4924]
cmp byte [ecx + 0xb64c], 0
jne 0x404d51
cmp byte [ecx + 0xb76c], 0
jne 0x404d51
xor eax, eax
jmp 0x404d56
mov eax, 1
cmp byte [ecx + 0xb88c], 0
mov byte [ecx + 0x132c], al
jne 0x404d72
cmp byte [ecx + 0xb9ac], 0
jne 0x404d72
xor eax, eax
jmp 0x404d77
mov eax, 1
cmp byte [ecx + 0xb40c], 0
mov byte [ecx + 0x144c], al
jne 0x404d99
cmp byte [ecx + 0xb52c], 0
jne 0x404d99
xor eax, eax
mov byte [ecx + 0x120c], al
jmp 0x404dc3
mov eax, 1
mov byte [ecx + 0x120c], al
jmp 0x404dc3
test ecx, ecx
jne 0x404dc3
push 1
call fcn.00411460
add esp, 4
mov byte [0x4c3ee6], al
mov byte [0x4c3ee5], al
mov byte [esp + 0x12], 1
mov eax, dword [esi]
test eax, eax
je 0x404dd3
cmp dword [eax], 7
mov byte [esp + 0x1b], 1
je 0x404dd8
mov byte [esp + 0x1b], 0
mov al, byte [esi + 8]
test al, al
je 0x404f62
test bl, bl
jne 0x404f62
mov ecx, dword [0x4c2e00]
test ecx, ecx
je 0x404e02
cmp byte [esi + 9], bl
je 0x404e02
cmp esi, ecx
jne 0x404f62
cmp al, 1
jne 0x404e36
cmp byte [esp + 0x33], 0
mov eax, dword [esp + 0x40]
jne 0x404e19
movzx eax, byte [esp + 0x130]
mov ecx, dword [esp + 0x33]
push ecx
push eax
call fcn.00409c40
add esp, 8
test al, al
je 0x404e36
mov byte [esp + 0x13], 1
mov dl, byte [esp + 0x13]
jmp 0x404e4d
xor dl, dl
mov byte [esp + 0x13], dl
cmp esi, dword [0x4c2e00]
je 0x404e4d
mov dword [0x4c2e00], esi
mov byte [esi + 0x11], dl
cmp byte [esi + 9], 0
je 0x404f03
cmp byte [esp + 0x12], 0
jne 0x404e71
push 1
mov byte [esp + 0x16], 1
call fcn.00411460
mov dl, byte [esp + 0x17]
add esp, 4
mov al, byte [esi + 4]
mov cl, byte [0x4c3ee6]
test al, al
je 0x404e82
not al
and cl, al
test cl, cl
jne 0x404e90
test dl, dl
jne 0x404e90
test byte [esi + 0xb], 1
je 0x404f03
mov eax, dword [esp + 0x120]
cmp eax, dword [0x4c4018]
jne 0x404eb7
cmp byte [esp + 0x33], 0
je 0x404eb7
mov eax, dword [0x4c491c]
movzx ecx, cl
shl ecx, 9
add ecx, dword [esp + 0x40]
jmp 0x404ecc
movzx eax, byte [esp + 0x130]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [0x4c4918]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x14], eax
test eax, 0x4000
je 0x404ee1
mov word [esi + 6], ax
jmp 0x404f0f
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c15d0]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x404f03
mov ecx, dword [0x4c4920]
mov ax, word [ecx + eax*2]
mov word [esi + 6], ax
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x404f62
test dl, dl
je 0x404f20
or byte [esi + 0xb], 8
mov eax, 0x23
mov word [edi + 4], ax
cmp byte [esi + 4], 0
jne 0x404f3b
test byte [esi + 0xb], 1
jne 0x404f3b
cmp byte [esp + 0x1b], 0
jne 0x404f3b
test dl, dl
je 0x40496e
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push 0
push 0x3fff
push edi
push 0
push edx
push eax
push ecx
jmp 0x4063d5
cmp byte [esi + 9], 0
mov byte [esp + 0x1a], 0
je 0x404fdc
test bl, bl
je 0x404fdc
cmp dword [0x4c2e00], esi
jne 0x404f8a
cmp byte [esp + 0x23], 0
je 0x404fdc
mov dword [0x4c2e00], 0
cmp byte [esi + 0xa], 0
jne 0x404fd7
mov al, byte [esi + 0xb]
test al, 8
je 0x404fa0
xor cl, cl
and al, 0xf7
mov byte [esi + 0xb], al
jmp 0x404fa2
mov cl, 1
cmp byte [esp + 0x23], 0
je 0x4063b4
test cl, cl
je 0x4063b4
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x130]
push 0
push SysReAllocString
push 0x3fff
push edx
push ebp
push eax
jmp 0x404985
mov byte [esp + 0x1a], 1
cmp byte [esi + 8], 0
je 0x4051ac
test bl, bl
je 0x4051ac
cmp dword [0x4c2e00], esi
jne 0x405000
mov dword [0x4c2e00], 0
cmp byte [esi + 0xd], 0
je 0x405021
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [esi + 0xd], 0
call fcn.0040ee60
add esp, 0x18
cmp byte [esi + 0xe], 0
je 0x405042
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [esi + 0xe], 0
call fcn.0040ee60
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
cmp cx, dx
jne 0x405082
mov al, byte [esi + 0xb]
test al, 8
je 0x405082
and al, 0xf7
mov byte [esi + 0xb], al
push 0
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x124]
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4063d5
cmp byte [esp + 0x1b], 0
mov al, byte [esi + 0x11]
je 0x40512d
cmp al, 2
jne 0x4050da
mov esi, dword [esp + 0x130]
push 0xffc3d44e
push 0
push 0
push ebp
push esi
push 1
call fcn.0040ee60
push 0xffc3d44d
push 0
push 0
push ebp
push esi
push 2
call fcn.0040ee60
mov eax, dword [esp + 0x168]
push 0
push SysReAllocString
push 0x3fff
push eax
push ebp
push esi
jmp 0x404a45
cmp al, 1
je 0x4063b4
cmp byte [esi + 9], 0
jne 0x40519a
cmp byte [esi + 4], 0
jne 0x4063b4
test byte [esi + 0xb], 1
jne 0x4063b4
cmp byte [esp + 0x1b], 0
jne 0x4063b4
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x130]
push 0
push SysReAllocString
push 0x3fff
push edx
push ebp
push eax
jmp 0x404985
test al, al
je 0x4050e2
cmp cx, dx
jne 0x4050e2
cmp byte [esi + 4], 0
je 0x405177
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
cmp al, 2
mov eax, dword [esp + 0x128]
jne 0x405166
push 1
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4063d5
push 0
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4063d5
test byte [esi + 0xb], 1
push 0
jne 0x40505e
mov eax, dword [esp + 0x13c]
push SysReAllocString
push 0x3fff
push eax
jmp 0x40497c
cmp byte [esp + 0x2b], 0
jne 0x4051b0
cmp byte [esi + 0xa], 0
jne 0x4051b0
jmp 0x4063b4
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
jne 0x4051cb
mov edx, 0x3fff
cmp cx, dx
jne 0x4051cb
push 1
call fcn.00411460
add esp, 4
cmp dword [0x4c2e00], 0
mov byte [esp + 0x13], 0
je 0x405925
test bl, bl
je 0x4051ef
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0xa], 0
je 0x405925
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x405bc6
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor ebp, ebp
cmp byte [edi + 0x13], 0
jbe 0x4052c8
lea esi, [edi + 0x16]
jmp 0x405220
mov cl, byte [esi]
mov ebx, dword [0x4c4924]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x40529e
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x40528e
cmp byte [esp + 0x138], 0
jne 0x4052b0
mov ecx, 0x3fff
mov word [edi + 6], ax
cmp dx, cx
je 0x40529e
mov dword [esp + 0x14], edx
movzx ecx, byte [esp + 0x12]
mov eax, ecx
sub eax, 0x10
je 0x405397
dec eax
je 0x405378
dec eax
je 0x405359
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4c4924]
jmp 0x405340
cmp byte [esp + 0x138], 0
jne 0x40529e
mov edx, eax
mov byte [esp + 0x12], cl
movzx eax, byte [edi + 0x13]
inc ebp
add esi, 4
cmp ebp, eax
jl 0x405220
jmp 0x4052ba
mov cl, byte [esi]
movzx edx, word [esi + 2]
mov byte [esp + 0x12], cl
mov eax, 0x3fff
mov dword [esp + 0x14], edx
cmp dx, ax
jne 0x40525f
xor ebp, ebp
cmp byte [edi + 0x14], 0
jbe 0x4053f7
lea esi, [edi + 0xde]
lea ebx, [ebx]
movzx ecx, word [esi]
mov ebx, dword [0x4c4928]
mov eax, ecx
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4053c8
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4053b6
cmp byte [esp + 0x138], 0
jne 0x4053da
mov ecx, 0x3fff
mov word [edi + 6], ax
cmp dx, cx
je 0x4053c8
mov dword [esp + 0x14], edx
movzx eax, word [esp + 0x44]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4c4928]
mov eax, 0x3fff
mov dword [0x4c2e00], ebx
cmp dx, ax
jne case.default.0x405413
jmp 0x4053fd
mov ecx, dword [0x4c4924]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x405340
mov ecx, dword [0x4c4924]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x405340
mov ecx, dword [0x4c4924]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x405340
cmp byte [esp + 0x138], 0
jne 0x4053c8
mov edx, eax
mov eax, ecx
mov dword [esp + 0x44], eax
movzx ecx, byte [edi + 0x14]
inc ebp
add esi, 4
cmp ebp, ecx
jl 0x4052e0
jmp 0x4053e5
movzx eax, word [esi]
movzx edx, word [esi + 2]
mov dword [esp + 0x44], eax
mov ecx, 0x3fff
mov dword [esp + 0x14], edx
cmp dx, cx
jne 0x40532f
mov ebx, dword [0x4c2e00]
movzx eax, byte [esp + 0x130]
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x405413
jmp dword [eax*4 + 0x4064ec]
mov al, 0x11
jmp 0x405424
mov al, 0x12
jmp 0x405424
mov al, 0x10
mov edx, dword [0x4c4924]
movzx eax, al
lea ecx, [eax + eax*8]
shl ecx, 5
movzx ebp, byte [ecx + edx + 0x13]
lea esi, [ecx + edx]
mov edx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x3c], esi
test ebp, ebp
jle 0x4054f8
add esi, 0x16
mov cl, byte [esi]
mov ebx, dword [0x4c4924]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4054d2
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4054c2
cmp byte [esp + 0x138], 0
jne 0x4054e0
mov ecx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, 0x3fff
cmp dx, ax
je 0x4054d2
mov dword [esp + 0x14], edx
movzx ecx, byte [esp + 0x12]
mov eax, ecx
sub eax, 0x10
je 0x405662
dec eax
je 0x405640
dec eax
je 0x40561e
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4c4924]
jmp 0x405583
cmp byte [esp + 0x138], 0
jne 0x4054d2
mov edx, eax
mov byte [esp + 0x12], cl
inc edi
add esi, 4
cmp edi, ebp
jl 0x405450
jmp 0x4054ea
mov cl, byte [esi]
movzx edx, word [esi + 2]
mov byte [esp + 0x12], cl
mov esi, dword [esp + 0x3c]
mov ebx, dword [0x4c2e00]
mov dword [esp + 0x14], edx
mov eax, 0x3fff
cmp dx, ax
jne 0x405493
movzx eax, byte [esi + 0x14]
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle case.default.0x405413
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 [0x4c4928]
shl edx, 5
cmp byte [edx + eax + 0xc], 0
je 0x405696
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405684
cmp byte [esp + 0x138], 0
jne 0x4056a6
mov ecx, dword [esp + 0x1c]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bp, dx
je 0x405696
mov dword [esp + 0x14], ebp
movzx eax, word [esp + 0x44]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4c4928]
mov dword [0x4c2e00], ebx
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov esi, eax
mov edx, 0x3fff
and esi, 0x3fff
cmp ax, dx
je 0x4056dc
mov eax, dword [0x4c15d0]
cmp si, word [eax]
jae 0x4056d8
mov ebx, dword [esp + 0x138]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x13c]
lea edx, [esp + 0x14]
push ebx
add ecx, 0xb
push edx
lea esi, [ebp + 4]
lea eax, [esp + 0x1b]
call fcn.00409e90
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4056c8
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push eax
mov eax, dword [esp + 0x12c]
push 0x3fff
push ebp
push ebx
push eax
mov eax, dword [esp + 0x148]
push ecx
mov cl, byte [esp + 0x148]
push edx
jmp 0x4063de
mov ecx, dword [0x4c4924]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x405583
mov ecx, dword [0x4c4924]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x405583
mov ecx, dword [0x4c4924]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x405583
cmp byte [esp + 0x138], 0
jne 0x405696
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x44], eax
inc edi
add esi, 4
cmp edi, dword [esp + 0x3c]
jl 0x405520
jmp 0x4056b1
movzx ecx, word [esi]
movzx ebp, word [esi + 2]
mov dword [esp + 0x44], ecx
mov edx, 0x3fff
mov dword [esp + 0x14], ebp
cmp bp, dx
je case.default.0x405413
jmp 0x405572
mov esi, dword [esp + 0x14]
mov ebx, dword [0x4c2e00]
and esi, 0x3fff
mov byte [ebx + 0x11], 2
mov eax, 0x3ffe
cmp si, ax
je 0x4056f4
mov ecx, 0x3ffd
cmp si, cx
jne 0x40591e
cmp byte [esp + 0x138], 0
jne 0x405706
mov edx, dword [esp + 0x1c]
mov byte [edx + 0xf], 1
test byte [0x4c3ee5], 0xc
jne 0x40572c
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ee60
mov ebx, dword [0x4c2e00]
add esp, 0x18
mov al, byte [esp + 0x130]
cmp al, 0xa2
je 0x40573b
cmp al, 0xa3
jne 0x405770
cmp byte [esp + 0x138], 0
jne 0x405770
mov edi, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040ee60
mov ebx, dword [0x4c2e00]
add esp, 0x18
jmp 0x405777
mov edi, dword [esp + 0x134]
mov ecx, 0x3ffd
mov byte [ebx + 0xd], 1
cmp si, cx
jne 0x4057b4
test byte [0x4c3ee5], 0x30
jne 0x4057ab
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040ee60
mov ebx, dword [0x4c2e00]
add esp, 0x18
mov byte [ebx + 0xe], 1
jmp 0x405839
mov edx, 0x3ffe
cmp si, dx
jne 0x405839
mov al, byte [esp + 0x130]
cmp al, 0xa0
je 0x4057cd
cmp al, 0xa1
jne 0x4057f3
cmp byte [esp + 0x138], 0
jne 0x4057f3
mov eax, dword [esp + 0x130]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040ee60
add esp, 0x18
test byte [0x4c3ee5], 0x10
je 0x405816
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.0040ee60
add esp, 0x18
test byte [0x4c3ee5], 0x20
je 0x405839
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.0040ee60
add esp, 0x18
test byte [0x4c3ee5], 1
je 0x40585c
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.0040ee60
add esp, 0x18
test byte [0x4c3ee5], 2
je 0x40587f
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.0040ee60
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ee60
mov ecx, 0x3ffd
add esp, 0x18
cmp si, cx
jne 0x4058df
mov edx, dword [0x4c2e00]
cmp byte [edx + 0xe], 0
je 0x4058df
mov al, byte [esp + 0x130]
cmp al, 0x60
jb 0x4058bb
cmp al, 0x69
jbe 0x4058bf
cmp al, 0x6e
jne 0x4058df
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040ee60
mov eax, dword [0x4c2e00]
add esp, 0x18
mov byte [eax + 0xe], 0
cmp byte [esp + 0x138], 0
mov ecx, 0x68
mov word [ebp + 4], cx
jne 0x4058fa
mov edx, dword [esp + 0x1c]
mov byte [edx + 0x10], 1
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x130]
push 0
push SysReAllocString
push 0x3fff
push eax
push edi
push ecx
mov ebx, ebp
jmp 0x404987
mov ebp, dword [esp + 0x134]
mov edx, 0x3fff
cmp word [esp + 0x14], dx
jne 0x405bc6
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 4]
mov al, byte [0x4c3ee6]
test cl, cl
je 0x405949
not cl
and al, cl
mov edx, dword [esp + 0x120]
mov edi, dword [0x4c4018]
cmp edx, edi
jne 0x40597e
cmp byte [esp + 0x33], 0
je 0x40597e
mov esi, dword [0x4c491c]
movzx ecx, al
shl ecx, 9
add ecx, dword [esp + 0x40]
movzx esi, word [esi + ecx*2]
mov cl, byte [esp + 0x130]
jmp 0x40599a
mov cl, byte [esp + 0x130]
movzx esi, al
movzx ebx, cl
shl esi, 8
add esi, ebx
mov ebx, dword [0x4c4918]
movzx esi, word [ebx + esi*2]
mov ebx, 0x3fff
mov dword [esp + 0x14], esi
cmp si, bx
jne 0x405a0e
cmp byte [0x4c2dfe], 0
je 0x405a0e
cmp cl, 9
je 0x405a0e
and al, 0xf3
cmp edx, edi
jne 0x4059d8
cmp byte [esp + 0x33], 0
je 0x4059d8
movzx edx, al
mov eax, dword [0x4c491c]
shl edx, 9
add edx, dword [esp + 0x40]
movzx esi, word [eax + edx*2]
jmp 0x4059ed
movzx edx, al
movzx eax, cl
mov ecx, dword [0x4c4918]
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 0x405a08
mov edx, ebx
cmp ax, dx
jb 0x405a0e
mov esi, ebx
mov dword [esp + 0x14], esi
test esi, 0x4000
je 0x405a59
cmp byte [esp + 0x138], 0
jne 0x405afc
mov ax, word [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, dword [esp + 0x1c]
add eax, 6
mov edx, 0x3fff
cmp word [eax], dx
jne 0x405b83
mov eax, dword [esp + 0x24]
push 0
push 0x3fff
push eax
push 0
jmp 0x4063bd
mov edx, ebx
cmp si, dx
je 0x405b0c
mov ecx, dword [0x4c15d0]
and esi, edx
cmp byte [esp + 0x138], 0
mov eax, esi
je 0x405ae3
cmp ax, word [ecx]
jae 0x405ada
movzx ebx, ax
mov eax, dword [0x4c4920]
add ebx, ebx
cmp word [ebx + eax], dx
je 0x405ada
cmp byte [esp + 0x1a], 0
jne 0x405aca
mov edx, dword [esp + 0x138]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x13c]
push edx
lea eax, [esp + 0x18]
push eax
add ecx, 0xb
add esi, 4
lea eax, [esp + 0x1b]
call fcn.00409e90
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x405afc
mov ecx, dword [0x4c4920]
movzx edx, word [ebx + ecx]
mov dword [esp + 0x14], edx
jmp 0x405afc
cmp byte [esp + 0x1a], 0
jne 0x405b0c
jmp 0x405afc
cmp ax, word [ecx]
jae 0x405afc
movzx edx, ax
mov eax, dword [0x4c4920]
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 0x405bc6
mov eax, dword [esp + 0x138]
test al, al
je 0x405a31
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 4], 0
jne 0x405b59
test byte [ecx + 0xb], 1
jne 0x405b59
cmp byte [ecx + 8], 0
je 0x405b59
cmp byte [esp + 0x1b], 0
jne 0x405b59
mov edx, dword [esp + 0x130]
mov ebx, dword [esp + 0x24]
push 0
push SysReAllocString
push 0x3fff
mov ecx, eax
push ecx
push ebp
push edx
jmp 0x404987
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x12c]
push 0x3fff
push ecx
mov ecx, dword [esp + 0x12c]
push eax
mov eax, dword [esp + 0x134]
push edx
push eax
push ecx
jmp 0x4063d5
mov ecx, dword [esp + 0x1c]
push 1
push eax
add ecx, 0xb
xor esi, esi
lea eax, [esp + 0x1b]
xor edi, edi
call fcn.00409e90
add esp, 8
cmp byte [esp + 0x13], 0
push edi
jne 0x405cb8
mov edx, dword [esp + 0x134]
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
push edi
push ebp
push edx
jmp 0x404987
mov ebx, dword [esp + 0x1c]
mov al, byte [ebx + 0xb]
mov dl, byte [0x4c3ee5]
add ebx, 0xb
mov dword [esp + 0x40], ebx
test al, 8
je 0x405bf1
cmp byte [esp + 0x138], 0
je 0x405bf1
and al, 0xf7
mov byte [esp + 0x13], 1
mov byte [ebx], al
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c15d0]
mov edi, dword [esp + 0x38]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x405d14
test edi, edi
jne 0x405d14
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x13c]
push edx
lea eax, [esp + 0x18]
push eax
add esi, 4
lea eax, [esp + 0x1b]
mov ecx, ebx
call fcn.00409e90
mov edi, eax
add esp, 8
test edi, edi
jne 0x405d0e
mov eax, dword [esp + 0x138]
test al, al
je 0x405c81
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x10], 0
push edi
je 0x405b5b
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
mov edx, eax
mov eax, dword [esp + 0x13c]
push edx
push ebp
push eax
jmp 0x404987
mov eax, dword [esp + 0x1c]
add eax, 6
mov edx, 0x3fff
cmp word [eax], dx
je 0x405a46
push 1
push eax
xor esi, esi
lea eax, [esp + 0x1b]
mov ecx, ebx
xor edi, edi
mov byte [esp + 0x1b], 0
call fcn.00409e90
add esp, 8
cmp byte [esp + 0x13], 0
push edi
je 0x405ce1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x128]
push 0x3fff
push ecx
mov ecx, dword [esp + 0x12c]
push 0
push edx
push eax
push ecx
jmp 0x4063d5
mov eax, dword [esp + 0x44]
and byte [eax], 0xf7
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x134]
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
push 0
push ebp
mov byte [edx + 0x10], 1
push eax
jmp 0x404987
mov dl, byte [0x4c3ee5]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x120]
and ecx, 0x3fff
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x4c4018]
cmp esi, ecx
jne 0x405d68
test dl, 0x3f
jne 0x405d89
mov eax, dword [0x4c4924]
test dl, 0x40
je 0x405d52
cmp byte [eax + 0x6668], 0
jne 0x405d52
mov byte [0x4c2e06], 1
test dl, dl
jns 0x405d8e
cmp byte [eax + 0x6788], 0
jne 0x405d8e
mov byte [0x4c2e05], 1
jmp 0x405d8e
test dl, 0xc
jne 0x405d89
mov eax, dword [0x4c4924]
test dl, 0x40
je 0x405d52
cmp byte [eax + 0x6668], 0
jne 0x405d52
mov byte [0x4c2e06], 1
jmp 0x405d8e
mov eax, dword [0x4c4924]
test dl, 4
je 0x405dbe
cmp byte [eax + 0xb888], 0
jne 0x405dbe
test ecx, ecx
je 0x405da9
mov byte [0x4c2e04], 1
jmp 0x405e0a
movzx edx, byte [0x4c0385]
push 0xffc3d44d
push 0
push 0
push 0
push edx
jmp 0x405dfa
test dl, 8
je 0x405e0a
cmp byte [eax + 0xb9a8], 0
jne 0x405e0a
call fcn.004119c0
test al, al
jne 0x405e04
cmp dword [0x4c4018], 0
je 0x405de7
mov byte [0x4c2dff], 1
jmp 0x405e04
movzx eax, byte [0x4c0385]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 2
call fcn.0040ee60
add esp, 0x18
mov dl, byte [0x4c3ee5]
mov ebx, dword [esp + 0x3c]
movzx eax, bx
lea ecx, [eax - 0x3ffa]
cmp ecx, 4
ja case.default.0x405e20
jmp dword [ecx*4 + 0x406504]
cmp byte [0x4c2dfe], 0
jne case.0x405e20.16379
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x128]
push 0
push 0x3fff
push ecx
mov ecx, dword [esp + 0x130]
push edx
push eax
push ecx
push esi
jmp 0x4063d5
xor al, al
mov byte [esp + 0x1a], al
test dl, 4
je 0x405e69
mov al, 0xa4
jmp 0x405e70
test dl, 8
je 0x405e74
mov al, 0xa5
mov byte [esp + 0x1a], al
cmp byte [0x4c2dfe], 0
je 0x405ef2
mov ecx, 0x3ffb
cmp bx, cx
je case.0x405e20.16381
test al, al
movzx eax, al
jne 0x405e97
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ee60
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp byte [edx + 4], 0
je 0x405ee6
mov eax, dword [esp + 0x130]
cmp al, 0x5b
je 0x405ee6
cmp al, 0x5c
je 0x405ee6
cmp byte [esp + 0x138], 0
jne 0x405ee6
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ee60
add esp, 0x18
mov byte [0x4c2dfe], 0
jmp 0x40615a
mov al, byte [esp + 0x130]
cmp al, 0xa4
je 0x405f06
mov byte [esp + 0x12], 0
cmp al, 0xa5
jne 0x405f0b
mov byte [esp + 0x12], 1
cmp al, 0xa0
je 0x405f17
cmp al, 0xa1
je 0x405f17
xor dl, dl
jmp 0x405f19
mov dl, 1
mov byte [esp + 0x2b], dl
cmp al, 0xa2
je 0x405f2a
mov byte [esp + 0x23], 0
cmp al, 0xa3
jne 0x405f2f
mov byte [esp + 0x23], 1
mov bl, byte [0x4c3ee5]
xor cl, cl
mov byte [esp + 0x38], cl
test bl, 0x10
je 0x405f48
mov cl, 0xa0
mov byte [esp + 0x38], cl
jmp 0x405f6f
test bl, 0x20
je 0x405f55
mov cl, 0xa1
mov byte [esp + 0x38], cl
jmp 0x405f6f
cmp byte [esp + 0x138], 0
jne 0x405f69
test dl, dl
je 0x405f69
mov cl, al
mov byte [esp + 0x38], cl
mov bl, byte [0x4c3ee5]
mov byte [esp + 0x33], 0
test bl, 1
je 0x405f80
mov byte [esp + 0x33], 0xa2
jmp 0x405fa1
test bl, 2
je 0x405f8c
mov byte [esp + 0x33], 0xa3
jmp 0x405fa1
cmp byte [esp + 0x138], 0
jne 0x405fa1
cmp byte [esp + 0x23], 0
je 0x405fa1
mov byte [esp + 0x33], al
mov esi, dword [esp + 0x38]
xor bl, bl
test cl, cl
je 0x405fc3
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.0040ee60
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x33], 0
je 0x405fe4
mov eax, dword [esp + 0x33]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ee60
add esp, 0x18
cmp byte [esp + 0x12], 0
je 0x405ffe
cmp byte [esp + 0x138], 0
jne 0x406006
mov al, byte [esp + 0x130]
jmp 0x406002
mov al, byte [esp + 0x1a]
test al, al
jne 0x40601d
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ee60
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ee60
add esp, 0x18
test bl, bl
je 0x406055
cmp byte [esp + 0x2b], 0
jne 0x406055
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.0040ee60
add esp, 0x18
mov byte [0x4c2dfe], 1
jmp 0x40615a
cmp byte [0x4c2dfe], 0
je 0x405e30
cmp byte [esp + 0x138], 0
mov ebx, dword [esp + 0x130]
jne 0x4060af
cmp bl, 0xa2
je 0x406093
cmp bl, 0xa3
je 0x406093
cmp bl, 0xa0
je 0x406093
cmp bl, 0xa1
jne 0x4060af
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040ee60
mov dl, byte [0x4c3ee5]
add esp, 0x18
test dl, 0xc
je 0x4060c8
cmp byte [esp + 0x138], 0
je 0x4060e5
cmp bl, 0xa4
je 0x4060c8
cmp bl, 0xa5
jne 0x4060e5
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ee60
mov dl, byte [0x4c3ee5]
add esp, 0x18
mov eax, 0x3ffd
xor bl, bl
cmp word [esp + 0x3c], ax
jne 0x406111
test dl, 0x30
jne 0x406111
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040ee60
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ee60
add esp, 0x18
test bl, bl
je 0x40615a
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040ee60
add esp, 0x18
jmp 0x40615a
cmp byte [edi + 0x1e], 5
mov dword [esp + 0x2c], eax
jne 0x40615a
movzx ecx, word [edi + 0x1c]
shl ecx, 0x10
or dword [esp + 0x2c], ecx
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x138]
mov ecx, dword [esp + 0x1c]
mov edx, 0x68
mov word [edi + 4], dx
je 0x4061c8
test bl, bl
je 0x4062d7
cmp byte [ecx + 8], 0
je 0x4061c8
mov esi, dword [esp + 0x130]
push 0xffc3d44e
push 0
push 0
push ebp
push esi
push 1
call fcn.0040ee60
push 0xffc3d44d
push 0
push 0
push ebp
push esi
push 2
call fcn.0040ee60
mov eax, dword [esp + 0x5c]
push 0
push SysReAllocString
push eax
mov ecx, ebx
push ecx
push ebp
push esi
jmp 0x404a45
test bl, bl
je 0x4062d7
cmp byte [ecx + 4], 0
je 0x406217
cmp byte [ecx + 0x10], 0
mov edx, dword [esp + 0x2c]
je 0x4061f5
mov eax, dword [esp + 0x138]
push 0
push SysReAllocString
push edx
push eax
jmp 0x40497c
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
push 1
push edx
mov edx, dword [esp + 0x128]
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4063d5
cmp byte [esp + 0x13], 0
je 0x40637e
mov esi, dword [esp + 0x120]
cmp esi, dword [0x4c401c]
jne 0x406250
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x124]
push 0
push eax
push edi
push ebx
push ecx
push edx
push esi
jmp 0x4063d5
mov eax, dword [ecx]
test eax, eax
je 0x40625f
cmp dword [eax], 7
je 0x40625f
mov al, 1
jmp 0x406261
xor al, al
cmp byte [ecx + 0x10], 0
je 0x4062ad
cmp byte [esp + 0x37], 0
jne 0x4062ad
test al, al
jne 0x4062b1
mov eax, dword [esp + 0x130]
push 0xffc3d44d
push 0
push 0
push ebp
push eax
push 0
call fcn.0040ee60
add esp, 0x18
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
push 0
push ecx
push edi
push ebx
push edx
push eax
push esi
jmp 0x4063d5
test al, al
je 0x40628e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x130]
push 0
push SysReAllocString
push ecx
push edx
push ebp
push eax
mov ebx, edi
mov ecx, esi
jmp 0x40498e
mov eax, dword [0x4c2e00]
mov byte [ecx + 0xf], 1
test eax, eax
je 0x4062ee
cmp byte [eax + 4], 0
je 0x4062ee
mov byte [eax + 0x11], 2
cmp byte [esp + 0x13], 0
je 0x406322
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x128]
or byte [eax], 8
mov eax, dword [esp + 0x124]
push 0
push ecx
mov ecx, dword [esp + 0x128]
push edi
push ebx
push edx
push eax
push ecx
jmp 0x4063d5
mov eax, dword [esp + 0x130]
cmp al, 0xa4
je 0x406331
cmp al, 0xa5
jne 0x40637e
mov cl, byte [0x4c3ee5]
test cl, 0xc0
je 0x406365
test cl, 0x33
jne 0x406365
movzx edx, byte [0x4c0385]
push 0xffc3d44d
push 0
push 0
push 0
push edx
push 2
call fcn.0040ee60
mov eax, dword [esp + 0x148]
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push ebp
push eax
push 1
call fcn.0040ee60
mov ecx, dword [esp + 0x34]
add esp, 0x18
test bl, bl
jne 0x406386
mov byte [ecx + 0x10], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x130]
push 0
push SysReAllocString
push eax
push ecx
push ebp
push edx
jmp 0x404985
test bl, bl
sete al
mov byte [esi + 0xf], 0
mov byte [esi + 0xc], al
push 0
push 0x3fff
push edi
push ebx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
push ecx
push edx
push eax
mov cl, byte [esp + 0x14c]
mov eax, ebp
mov edx, dword [esp + 0x148]
call fcn.00406650
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret