Function at 0x404640
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 0x404681
cmp eax, 0xffc3d44e
je 0x404681
mov byte [esp + 0x12], 0
cmp eax, 0xffc3d44d
jne 0x404686
mov byte [esp + 0x12], 1
mov ecx, dword [0x4c5988]
test ecx, ecx
jne 0x40469d
lea edi, [esp + 0x48]
mov dword [esp + 0x24], edi
jmp 0x404758
mov eax, dword [0x4c598c]
mov edi, eax
imul edi, edi, 0xd4
inc eax
add edi, ecx
mov dword [esp + 0x24], edi
mov dword [0x4c598c], eax
cmp eax, dword [0x4c13d8]
jl 0x4046c8
mov dword [0x4c598c], 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 [0x4c7d28]
mov dword [0x4c5990], eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
jns 0x4046f7
fadd dword [0x4bc1b8]
fdiv qword [0x4bc1b0]
mov dword [0x4c7d28], eax
fstp dword [edi + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x404739
cmp esi, dword [0x4c5994]
je 0x404731
mov eax, dword [0x4c4f70]
push esi
lea edx, [edi + 0xc]
push edx
push 0x418
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x404752
xor ecx, ecx
mov word [edi + 0xc], cx
jmp 0x404752
mov eax, 0x4a1868
lea edx, [edi + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404743
mov dword [0x4c5994], esi
cmp bl, 0xe7
jne 0x404782
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 0x404797
xor ebp, ebp
mov dword [esp + 0x134], ebp
mov edx, dword [esp + 0x120]
cmp edx, dword [0x4c50a4]
jne 0x4047d7
mov bl, byte [esp + 0x140]
and bl, 1
jne 0x404951
cmp byte [esp + 0x138], bl
movzx ecx, byte [esp + 0x130]
setne al
dec al
and al, 0x80
mov byte [ecx + 0x4c4f90], al
jmp 0x404951
mov ebx, dword [esp + 0x140]
shr ebx, 4
and bl, 1
test ebp, 0x100
jne case.0x40481e.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x40481e.13
movzx eax, byte [esp + 0x130]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x40481e.13
movzx edx, byte [eax + 0x406448]
jmp dword [edx*4 + 0x406418]
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c3e5c], al
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c3e5d], cl
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete dl
mov byte [0x4c3e5e], dl
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c3e5f], al
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c3e60], cl
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete dl
mov byte [0x4c3e61], dl
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c3e62], al
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c3e63], cl
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete dl
mov byte [0x4c3e64], dl
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete al
mov byte [0x4c3e65], al
jmp case.0x40481e.13
cmp byte [esp + 0x138], 0
sete cl
mov byte [0x4c3e66], cl
movzx esi, byte [esp + 0x130]
mov eax, dword [0x4c59ac]
lea edx, [esi + esi*8]
shl edx, 5
cmp byte [edx + eax + 4], 0
jne 0x404951
test byte [esp + 0x140], 0x10
jne 0x404951
mov ecx, dword [esp + 0x138]
mov al, byte [esp + 0x130]
push ecx
call fcn.004078c0
add esp, 4
test al, al
je 0x404951
cmp byte [esp + 0x138], 0
setne dl
dec dl
and dl, 0x80
mov byte [esi + 0x4c4f90], dl
cmp byte [esp + 0x12], 0
je 0x40495c
mov al, 0x69
jmp 0x404966
neg bl
sbb bl, bl
and bl, 0x41
lea eax, [ebx + 0x20]
cmp byte [0x4c5090], 0
cbw
mov word [edi + 4], ax
je 0x4049c8
mov al, byte [esp + 0x130]
cmp al, 0x5b
je 0x404984
cmp al, 0x5c
jne 0x4049c8
cmp byte [esp + 0x138], 0
jne 0x4049c8
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.00406540
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
cmp byte [0x4c3e7e], 0
je 0x404a88
cmp byte [esp + 0x130], 0x1b
jne 0x404a88
cmp byte [esp + 0x138], 0
jne 0x404a88
push 0
push str.32771
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x404a88
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 0x404a88
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.0040ee00
mov dl, byte [0x4c4f6d]
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.0040ee00
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.00406540
add esp, 0x48
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov edx, dword [0x4c59b0]
mov ecx, dword [0x4c50a0]
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 0x404abf
test dl, dl
je 0x404abf
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x404ad7
movzx eax, byte [esp + 0x130]
lea esi, [eax + eax*8]
shl esi, 5
add esi, dword [0x4c59ac]
mov dword [esp + 0x1c], esi
cmp byte [esp + 0x12], 0
je 0x404b24
cmp dword [esp + 0x13c], 0xffc3d44e
jne 0x404b0f
cmp byte [esp + 0x138], 0
je 0x404b0f
cmp dword [0x4c3e80], esi
jne 0x404b0f
mov byte [esi + 0xc], 0
mov byte [esi + 0xf], 0
mov dword [0x4c3e80], 0
mov eax, dword [esp + 0x138]
push 0
push 0x3fff
push edi
push eax
jmp 0x4063dd
mov ebx, dword [esp + 0x138]
test bl, bl
jne 0x404b3b
mov edx, 0x3fff
mov byte [esi + 0x10], bl
mov word [esi + 6], dx
cmp dword [esp + 0x120], ecx
jne 0x404c10
test bl, bl
je 0x404c7e
cmp byte [0x4c3e86], 0
je 0x404b63
cmp byte [esp + 0x130], 0x5b
je 0x404ba4
cmp byte [0x4c3e85], 0
je 0x404b76
cmp byte [esp + 0x130], 0x5c
je 0x404ba4
cmp byte [0x4c3e84], 0
je 0x404b89
cmp byte [esp + 0x130], 0xa4
je 0x404ba4
cmp byte [0x4c3e7f], 0
je 0x404c7e
cmp byte [esp + 0x130], 0xa5
jne 0x404c7e
movzx eax, byte [esp + 0x130]
add eax, 0xffffffa5
cmp eax, 0x4a
ja case.0x404bbb.93
movzx eax, byte [eax + 0x4064c0]
jmp dword [eax*4 + 0x4064ac]
mov byte [0x4c3e86], 0
jmp case.0x404bbb.93
mov byte [0x4c3e85], 0
jmp case.0x404bbb.93
mov byte [0x4c3e84], 0
jmp case.0x404bbb.93
mov byte [0x4c3e7f], 0
test byte [0x4c4f6d], 3
jne 0x404c7e
movzx ecx, byte [0x4c1385]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040ee00
add esp, 0x18
jmp 0x404c7e
mov al, byte [esp + 0x130]
test al, al
jne 0x404c43
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 0x4063fc
cmp al, 1
je 0x404c4b
cmp al, 2
jne 0x404c7e
cmp dword [0x4c5100], 0
jne 0x4063c8
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x404c7e
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4c708c]
je 0x4063c8
mov edx, dword [0x4c3e80]
test edx, edx
je 0x404cb7
cmp edx, esi
je 0x404cb7
test bl, bl
jne 0x404cb7
mov ecx, dword [0x4c50a0]
cmp dword [esp + 0x120], ecx
jne 0x404ca9
xor eax, eax
cmp byte [esi + 4], al
sete al
jmp 0x404cad
movzx eax, byte [edx + 4]
test eax, eax
je 0x404cbd
mov byte [edx + 0x11], 1
jmp 0x404cbd
mov ecx, dword [0x4c50a0]
cmp byte [esi + 8], 0
jne 0x404cef
cmp byte [esi + 9], 0
jne 0x404cef
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 0x4063f5
mov byte [esp + 0x37], 0
mov dword [esp + 0x14], 0x3fff
mov dword [esp + 0x38], 0
test bl, bl
je 0x404d37
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 0x404d35
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 0x404dc6
cmp byte [esi + 4], 0
je 0x404de3
mov ecx, dword [0x4c59ac]
cmp byte [ecx + 0xb64c], 0
jne 0x404d71
cmp byte [ecx + 0xb76c], 0
jne 0x404d71
xor eax, eax
jmp 0x404d76
mov eax, 1
cmp byte [ecx + 0xb88c], 0
mov byte [ecx + 0x132c], al
jne 0x404d92
cmp byte [ecx + 0xb9ac], 0
jne 0x404d92
xor eax, eax
jmp 0x404d97
mov eax, 1
cmp byte [ecx + 0xb40c], 0
mov byte [ecx + 0x144c], al
jne 0x404db9
cmp byte [ecx + 0xb52c], 0
jne 0x404db9
xor eax, eax
mov byte [ecx + 0x120c], al
jmp 0x404de3
mov eax, 1
mov byte [ecx + 0x120c], al
jmp 0x404de3
test ecx, ecx
jne 0x404de3
push 1
call fcn.00411400
add esp, 4
mov byte [0x4c4f6e], al
mov byte [0x4c4f6d], al
mov byte [esp + 0x12], 1
mov eax, dword [esi]
test eax, eax
je 0x404df3
cmp dword [eax], 7
mov byte [esp + 0x1b], 1
je 0x404df8
mov byte [esp + 0x1b], 0
mov al, byte [esi + 8]
test al, al
je 0x404f82
test bl, bl
jne 0x404f82
mov ecx, dword [0x4c3e80]
test ecx, ecx
je 0x404e22
cmp byte [esi + 9], bl
je 0x404e22
cmp esi, ecx
jne 0x404f82
cmp al, 1
jne 0x404e56
cmp byte [esp + 0x33], 0
mov eax, dword [esp + 0x40]
jne 0x404e39
movzx eax, byte [esp + 0x130]
mov ecx, dword [esp + 0x33]
push ecx
push eax
call fcn.00409cc0
add esp, 8
test al, al
je 0x404e56
mov byte [esp + 0x13], 1
mov dl, byte [esp + 0x13]
jmp 0x404e6d
xor dl, dl
mov byte [esp + 0x13], dl
cmp esi, dword [0x4c3e80]
je 0x404e6d
mov dword [0x4c3e80], esi
mov byte [esi + 0x11], dl
cmp byte [esi + 9], 0
je 0x404f23
cmp byte [esp + 0x12], 0
jne 0x404e91
push 1
mov byte [esp + 0x16], 1
call fcn.00411400
mov dl, byte [esp + 0x17]
add esp, 4
mov al, byte [esi + 4]
mov cl, byte [0x4c4f6e]
test al, al
je 0x404ea2
not al
and cl, al
test cl, cl
jne 0x404eb0
test dl, dl
jne 0x404eb0
test byte [esi + 0xb], 1
je 0x404f23
mov eax, dword [esp + 0x120]
cmp eax, dword [0x4c50a0]
jne 0x404ed7
cmp byte [esp + 0x33], 0
je 0x404ed7
mov eax, dword [0x4c59a4]
movzx ecx, cl
shl ecx, 9
add ecx, dword [esp + 0x40]
jmp 0x404eec
movzx eax, byte [esp + 0x130]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [0x4c59a0]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x14], eax
test eax, 0x4000
je 0x404f01
mov word [esi + 6], ax
jmp 0x404f2f
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c25d0]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x404f23
mov ecx, dword [0x4c59a8]
mov ax, word [ecx + eax*2]
mov word [esi + 6], ax
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x404f82
test dl, dl
je 0x404f40
or byte [esi + 0xb], 8
mov eax, 0x23
mov word [edi + 4], ax
cmp byte [esi + 4], 0
jne 0x404f5b
test byte [esi + 0xb], 1
jne 0x404f5b
cmp byte [esp + 0x1b], 0
jne 0x404f5b
test dl, dl
je 0x40498e
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 0x4063f5
cmp byte [esi + 9], 0
mov byte [esp + 0x1a], 0
je 0x404ffc
test bl, bl
je 0x404ffc
cmp dword [0x4c3e80], esi
jne 0x404faa
cmp byte [esp + 0x23], 0
je 0x404ffc
mov dword [0x4c3e80], 0
cmp byte [esi + 0xa], 0
jne 0x404ff7
mov al, byte [esi + 0xb]
test al, 8
je 0x404fc0
xor cl, cl
and al, 0xf7
mov byte [esi + 0xb], al
jmp 0x404fc2
mov cl, 1
cmp byte [esp + 0x23], 0
je 0x4063d4
test cl, cl
je 0x4063d4
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x130]
push 0
push SysReAllocString
push 0x3fff
push edx
push ebp
push eax
jmp 0x4049a5
mov byte [esp + 0x1a], 1
cmp byte [esi + 8], 0
je 0x4051cc
test bl, bl
je 0x4051cc
cmp dword [0x4c3e80], esi
jne 0x405020
mov dword [0x4c3e80], 0
cmp byte [esi + 0xd], 0
je 0x405041
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [esi + 0xd], 0
call fcn.0040ee00
add esp, 0x18
cmp byte [esi + 0xe], 0
je 0x405062
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [esi + 0xe], 0
call fcn.0040ee00
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
cmp cx, dx
jne 0x4050a2
mov al, byte [esi + 0xb]
test al, 8
je 0x4050a2
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 0x4063f5
cmp byte [esp + 0x1b], 0
mov al, byte [esi + 0x11]
je 0x40514d
cmp al, 2
jne 0x4050fa
mov esi, dword [esp + 0x130]
push 0xffc3d44e
push 0
push 0
push ebp
push esi
push 1
call fcn.0040ee00
push 0xffc3d44d
push 0
push 0
push ebp
push esi
push 2
call fcn.0040ee00
mov eax, dword [esp + 0x168]
push 0
push SysReAllocString
push 0x3fff
push eax
push ebp
push esi
jmp 0x404a65
cmp al, 1
je 0x4063d4
cmp byte [esi + 9], 0
jne 0x4051ba
cmp byte [esi + 4], 0
jne 0x4063d4
test byte [esi + 0xb], 1
jne 0x4063d4
cmp byte [esp + 0x1b], 0
jne 0x4063d4
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x130]
push 0
push SysReAllocString
push 0x3fff
push edx
push ebp
push eax
jmp 0x4049a5
test al, al
je 0x405102
cmp cx, dx
jne 0x405102
cmp byte [esi + 4], 0
je 0x405197
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
cmp al, 2
mov eax, dword [esp + 0x128]
jne 0x405186
push 1
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4063f5
push 0
push 0x3fff
push edi
push ebx
push eax
push ecx
push edx
jmp 0x4063f5
test byte [esi + 0xb], 1
push 0
jne 0x40507e
mov eax, dword [esp + 0x13c]
push SysReAllocString
push 0x3fff
push eax
jmp 0x40499c
cmp byte [esp + 0x2b], 0
jne 0x4051d0
cmp byte [esi + 0xa], 0
jne 0x4051d0
jmp 0x4063d4
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
jne 0x4051eb
mov edx, 0x3fff
cmp cx, dx
jne 0x4051eb
push 1
call fcn.00411400
add esp, 4
cmp dword [0x4c3e80], 0
mov byte [esp + 0x13], 0
je 0x405945
test bl, bl
je 0x40520f
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0xa], 0
je 0x405945
mov ecx, 0x3fff
cmp word [esp + 0x14], cx
jne 0x405be6
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor ebp, ebp
cmp byte [edi + 0x13], 0
jbe 0x4052e8
lea esi, [edi + 0x16]
jmp 0x405240
mov cl, byte [esi]
mov ebx, dword [0x4c59ac]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4052be
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4052ae
cmp byte [esp + 0x138], 0
jne 0x4052d0
mov ecx, 0x3fff
mov word [edi + 6], ax
cmp dx, cx
je 0x4052be
mov dword [esp + 0x14], edx
movzx ecx, byte [esp + 0x12]
mov eax, ecx
sub eax, 0x10
je 0x4053b7
dec eax
je 0x405398
dec eax
je 0x405379
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4c59ac]
jmp 0x405360
cmp byte [esp + 0x138], 0
jne 0x4052be
mov edx, eax
mov byte [esp + 0x12], cl
movzx eax, byte [edi + 0x13]
inc ebp
add esi, 4
cmp ebp, eax
jl 0x405240
jmp 0x4052da
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 0x40527f
xor ebp, ebp
cmp byte [edi + 0x14], 0
jbe 0x405417
lea esi, [edi + 0xde]
lea ebx, [ebx]
movzx ecx, word [esi]
mov ebx, dword [0x4c59b0]
mov eax, ecx
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4053e8
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4053d6
cmp byte [esp + 0x138], 0
jne 0x4053fa
mov ecx, 0x3fff
mov word [edi + 6], ax
cmp dx, cx
je 0x4053e8
mov dword [esp + 0x14], edx
movzx eax, word [esp + 0x44]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4c59b0]
mov eax, 0x3fff
mov dword [0x4c3e80], ebx
cmp dx, ax
jne case.default.0x405433
jmp 0x40541d
mov ecx, dword [0x4c59ac]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x405360
mov ecx, dword [0x4c59ac]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x405360
mov ecx, dword [0x4c59ac]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x405360
cmp byte [esp + 0x138], 0
jne 0x4053e8
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 0x405300
jmp 0x405405
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 0x40534f
mov ebx, dword [0x4c3e80]
movzx eax, byte [esp + 0x130]
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x405433
jmp dword [eax*4 + 0x40650c]
mov al, 0x11
jmp 0x405444
mov al, 0x12
jmp 0x405444
mov al, 0x10
mov edx, dword [0x4c59ac]
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 0x405518
add esi, 0x16
mov cl, byte [esi]
mov ebx, dword [0x4c59ac]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x4054f2
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4054e2
cmp byte [esp + 0x138], 0
jne 0x405500
mov ecx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, 0x3fff
cmp dx, ax
je 0x4054f2
mov dword [esp + 0x14], edx
movzx ecx, byte [esp + 0x12]
mov eax, ecx
sub eax, 0x10
je 0x405682
dec eax
je 0x405660
dec eax
je 0x40563e
lea ebx, [ecx + ecx*8]
shl ebx, 5
add ebx, dword [0x4c59ac]
jmp 0x4055a3
cmp byte [esp + 0x138], 0
jne 0x4054f2
mov edx, eax
mov byte [esp + 0x12], cl
inc edi
add esi, 4
cmp edi, ebp
jl 0x405470
jmp 0x40550a
mov cl, byte [esi]
movzx edx, word [esi + 2]
mov byte [esp + 0x12], cl
mov esi, dword [esp + 0x3c]
mov ebx, dword [0x4c3e80]
mov dword [esp + 0x14], edx
mov eax, 0x3fff
cmp dx, ax
jne 0x4054b3
movzx eax, byte [esi + 0x14]
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle case.default.0x405433
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 [0x4c59b0]
shl edx, 5
cmp byte [edx + eax + 0xc], 0
je 0x4056b6
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4056a4
cmp byte [esp + 0x138], 0
jne 0x4056c6
mov ecx, dword [esp + 0x1c]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bp, dx
je 0x4056b6
mov dword [esp + 0x14], ebp
movzx eax, word [esp + 0x44]
lea ebx, [eax + eax*8]
shl ebx, 5
add ebx, dword [0x4c59b0]
mov dword [0x4c3e80], ebx
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov esi, eax
mov edx, 0x3fff
and esi, 0x3fff
cmp ax, dx
je 0x4056fc
mov eax, dword [0x4c25d0]
cmp si, word [eax]
jae 0x4056f8
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.00409f10
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4056e8
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 0x4063fe
mov ecx, dword [0x4c59ac]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea ebx, [eax + eax*8 + 0x5c4]
shl ebx, 5
add ebx, ecx
jmp 0x4055a3
mov ecx, dword [0x4c59ac]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea ebx, [eax + eax*8 + 0x5b2]
shl ebx, 5
add ebx, ecx
jmp 0x4055a3
mov ecx, dword [0x4c59ac]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea ebx, [eax + eax*8 + 0x5a0]
shl ebx, 5
add ebx, ecx
jmp 0x4055a3
cmp byte [esp + 0x138], 0
jne 0x4056b6
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x44], eax
inc edi
add esi, 4
cmp edi, dword [esp + 0x3c]
jl 0x405540
jmp 0x4056d1
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.0x405433
jmp 0x405592
mov esi, dword [esp + 0x14]
mov ebx, dword [0x4c3e80]
and esi, 0x3fff
mov byte [ebx + 0x11], 2
mov eax, 0x3ffe
cmp si, ax
je 0x405714
mov ecx, 0x3ffd
cmp si, cx
jne 0x40593e
cmp byte [esp + 0x138], 0
jne 0x405726
mov edx, dword [esp + 0x1c]
mov byte [edx + 0xf], 1
test byte [0x4c4f6d], 0xc
jne 0x40574c
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ee00
mov ebx, dword [0x4c3e80]
add esp, 0x18
mov al, byte [esp + 0x130]
cmp al, 0xa2
je 0x40575b
cmp al, 0xa3
jne 0x405790
cmp byte [esp + 0x138], 0
jne 0x405790
mov edi, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040ee00
mov ebx, dword [0x4c3e80]
add esp, 0x18
jmp 0x405797
mov edi, dword [esp + 0x134]
mov ecx, 0x3ffd
mov byte [ebx + 0xd], 1
cmp si, cx
jne 0x4057d4
test byte [0x4c4f6d], 0x30
jne 0x4057cb
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040ee00
mov ebx, dword [0x4c3e80]
add esp, 0x18
mov byte [ebx + 0xe], 1
jmp 0x405859
mov edx, 0x3ffe
cmp si, dx
jne 0x405859
mov al, byte [esp + 0x130]
cmp al, 0xa0
je 0x4057ed
cmp al, 0xa1
jne 0x405813
cmp byte [esp + 0x138], 0
jne 0x405813
mov eax, dword [esp + 0x130]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040ee00
add esp, 0x18
test byte [0x4c4f6d], 0x10
je 0x405836
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.0040ee00
add esp, 0x18
test byte [0x4c4f6d], 0x20
je 0x405859
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.0040ee00
add esp, 0x18
test byte [0x4c4f6d], 1
je 0x40587c
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.0040ee00
add esp, 0x18
test byte [0x4c4f6d], 2
je 0x40589f
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.0040ee00
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ee00
mov ecx, 0x3ffd
add esp, 0x18
cmp si, cx
jne 0x4058ff
mov edx, dword [0x4c3e80]
cmp byte [edx + 0xe], 0
je 0x4058ff
mov al, byte [esp + 0x130]
cmp al, 0x60
jb 0x4058db
cmp al, 0x69
jbe 0x4058df
cmp al, 0x6e
jne 0x4058ff
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040ee00
mov eax, dword [0x4c3e80]
add esp, 0x18
mov byte [eax + 0xe], 0
cmp byte [esp + 0x138], 0
mov ecx, 0x68
mov word [ebp + 4], cx
jne 0x40591a
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 0x4049a7
mov ebp, dword [esp + 0x134]
mov edx, 0x3fff
cmp word [esp + 0x14], dx
jne 0x405be6
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 4]
mov al, byte [0x4c4f6e]
test cl, cl
je 0x405969
not cl
and al, cl
mov edx, dword [esp + 0x120]
mov edi, dword [0x4c50a0]
cmp edx, edi
jne 0x40599e
cmp byte [esp + 0x33], 0
je 0x40599e
mov esi, dword [0x4c59a4]
movzx ecx, al
shl ecx, 9
add ecx, dword [esp + 0x40]
movzx esi, word [esi + ecx*2]
mov cl, byte [esp + 0x130]
jmp 0x4059ba
mov cl, byte [esp + 0x130]
movzx esi, al
movzx ebx, cl
shl esi, 8
add esi, ebx
mov ebx, dword [0x4c59a0]
movzx esi, word [ebx + esi*2]
mov ebx, 0x3fff
mov dword [esp + 0x14], esi
cmp si, bx
jne 0x405a2e
cmp byte [0x4c3e7e], 0
je 0x405a2e
cmp cl, 9
je 0x405a2e
and al, 0xf3
cmp edx, edi
jne 0x4059f8
cmp byte [esp + 0x33], 0
je 0x4059f8
movzx edx, al
mov eax, dword [0x4c59a4]
shl edx, 9
add edx, dword [esp + 0x40]
movzx esi, word [eax + edx*2]
jmp 0x405a0d
movzx edx, al
movzx eax, cl
mov ecx, dword [0x4c59a0]
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 0x405a28
mov edx, ebx
cmp ax, dx
jb 0x405a2e
mov esi, ebx
mov dword [esp + 0x14], esi
test esi, 0x4000
je 0x405a79
cmp byte [esp + 0x138], 0
jne 0x405b1c
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 0x405ba3
mov eax, dword [esp + 0x24]
push 0
push 0x3fff
push eax
push 0
jmp 0x4063dd
mov edx, ebx
cmp si, dx
je 0x405b2c
mov ecx, dword [0x4c25d0]
and esi, edx
cmp byte [esp + 0x138], 0
mov eax, esi
je 0x405b03
cmp ax, word [ecx]
jae 0x405afa
movzx ebx, ax
mov eax, dword [0x4c59a8]
add ebx, ebx
cmp word [ebx + eax], dx
je 0x405afa
cmp byte [esp + 0x1a], 0
jne 0x405aea
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.00409f10
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x405b1c
mov ecx, dword [0x4c59a8]
movzx edx, word [ebx + ecx]
mov dword [esp + 0x14], edx
jmp 0x405b1c
cmp byte [esp + 0x1a], 0
jne 0x405b2c
jmp 0x405b1c
cmp ax, word [ecx]
jae 0x405b1c
movzx edx, ax
mov eax, dword [0x4c59a8]
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 0x405be6
mov eax, dword [esp + 0x138]
test al, al
je 0x405a51
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 4], 0
jne 0x405b79
test byte [ecx + 0xb], 1
jne 0x405b79
cmp byte [ecx + 8], 0
je 0x405b79
cmp byte [esp + 0x1b], 0
jne 0x405b79
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 0x4049a7
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 0x4063f5
mov ecx, dword [esp + 0x1c]
push 1
push eax
add ecx, 0xb
xor esi, esi
lea eax, [esp + 0x1b]
xor edi, edi
call fcn.00409f10
add esp, 8
cmp byte [esp + 0x13], 0
push edi
jne 0x405cd8
mov edx, dword [esp + 0x134]
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
push edi
push ebp
push edx
jmp 0x4049a7
mov ebx, dword [esp + 0x1c]
mov al, byte [ebx + 0xb]
mov dl, byte [0x4c4f6d]
add ebx, 0xb
mov dword [esp + 0x40], ebx
test al, 8
je 0x405c11
cmp byte [esp + 0x138], 0
je 0x405c11
and al, 0xf7
mov byte [esp + 0x13], 1
mov byte [ebx], al
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c25d0]
mov edi, dword [esp + 0x38]
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x405d34
test edi, edi
jne 0x405d34
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.00409f10
mov edi, eax
add esp, 8
test edi, edi
jne 0x405d2e
mov eax, dword [esp + 0x138]
test al, al
je 0x405ca1
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x10], 0
push edi
je 0x405b7b
mov ebx, dword [esp + 0x28]
push SysReAllocString
push 0x3fff
mov edx, eax
mov eax, dword [esp + 0x13c]
push edx
push ebp
push eax
jmp 0x4049a7
mov eax, dword [esp + 0x1c]
add eax, 6
mov edx, 0x3fff
cmp word [eax], dx
je 0x405a66
push 1
push eax
xor esi, esi
lea eax, [esp + 0x1b]
mov ecx, ebx
xor edi, edi
mov byte [esp + 0x1b], 0
call fcn.00409f10
add esp, 8
cmp byte [esp + 0x13], 0
push edi
je 0x405d01
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 0x4063f5
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 0x4049a7
mov dl, byte [0x4c4f6d]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x120]
and ecx, 0x3fff
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x4c50a0]
cmp esi, ecx
jne 0x405d88
test dl, 0x3f
jne 0x405da9
mov eax, dword [0x4c59ac]
test dl, 0x40
je 0x405d72
cmp byte [eax + 0x6668], 0
jne 0x405d72
mov byte [0x4c3e86], 1
test dl, dl
jns 0x405dae
cmp byte [eax + 0x6788], 0
jne 0x405dae
mov byte [0x4c3e85], 1
jmp 0x405dae
test dl, 0xc
jne 0x405da9
mov eax, dword [0x4c59ac]
test dl, 0x40
je 0x405d72
cmp byte [eax + 0x6668], 0
jne 0x405d72
mov byte [0x4c3e86], 1
jmp 0x405dae
mov eax, dword [0x4c59ac]
test dl, 4
je 0x405dde
cmp byte [eax + 0xb888], 0
jne 0x405dde
test ecx, ecx
je 0x405dc9
mov byte [0x4c3e84], 1
jmp 0x405e2a
movzx edx, byte [0x4c1385]
push 0xffc3d44d
push 0
push 0
push 0
push edx
jmp 0x405e1a
test dl, 8
je 0x405e2a
cmp byte [eax + 0xb9a8], 0
jne 0x405e2a
call fcn.00411960
test al, al
jne 0x405e24
cmp dword [0x4c50a0], 0
je 0x405e07
mov byte [0x4c3e7f], 1
jmp 0x405e24
movzx eax, byte [0x4c1385]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 2
call fcn.0040ee00
add esp, 0x18
mov dl, byte [0x4c4f6d]
mov ebx, dword [esp + 0x3c]
movzx eax, bx
lea ecx, [eax - 0x3ffa]
cmp ecx, 4
ja case.default.0x405e40
jmp dword [ecx*4 + 0x406524]
cmp byte [0x4c3e7e], 0
jne case.0x405e40.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 0x4063f5
xor al, al
mov byte [esp + 0x1a], al
test dl, 4
je 0x405e89
mov al, 0xa4
jmp 0x405e90
test dl, 8
je 0x405e94
mov al, 0xa5
mov byte [esp + 0x1a], al
cmp byte [0x4c3e7e], 0
je 0x405f12
mov ecx, 0x3ffb
cmp bx, cx
je case.0x405e40.16381
test al, al
movzx eax, al
jne 0x405eb7
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ee00
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp byte [edx + 4], 0
je 0x405f06
mov eax, dword [esp + 0x130]
cmp al, 0x5b
je 0x405f06
cmp al, 0x5c
je 0x405f06
cmp byte [esp + 0x138], 0
jne 0x405f06
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ee00
add esp, 0x18
mov byte [0x4c3e7e], 0
jmp 0x40617a
mov al, byte [esp + 0x130]
cmp al, 0xa4
je 0x405f26
mov byte [esp + 0x12], 0
cmp al, 0xa5
jne 0x405f2b
mov byte [esp + 0x12], 1
cmp al, 0xa0
je 0x405f37
cmp al, 0xa1
je 0x405f37
xor dl, dl
jmp 0x405f39
mov dl, 1
mov byte [esp + 0x2b], dl
cmp al, 0xa2
je 0x405f4a
mov byte [esp + 0x23], 0
cmp al, 0xa3
jne 0x405f4f
mov byte [esp + 0x23], 1
mov bl, byte [0x4c4f6d]
xor cl, cl
mov byte [esp + 0x38], cl
test bl, 0x10
je 0x405f68
mov cl, 0xa0
mov byte [esp + 0x38], cl
jmp 0x405f8f
test bl, 0x20
je 0x405f75
mov cl, 0xa1
mov byte [esp + 0x38], cl
jmp 0x405f8f
cmp byte [esp + 0x138], 0
jne 0x405f89
test dl, dl
je 0x405f89
mov cl, al
mov byte [esp + 0x38], cl
mov bl, byte [0x4c4f6d]
mov byte [esp + 0x33], 0
test bl, 1
je 0x405fa0
mov byte [esp + 0x33], 0xa2
jmp 0x405fc1
test bl, 2
je 0x405fac
mov byte [esp + 0x33], 0xa3
jmp 0x405fc1
cmp byte [esp + 0x138], 0
jne 0x405fc1
cmp byte [esp + 0x23], 0
je 0x405fc1
mov byte [esp + 0x33], al
mov esi, dword [esp + 0x38]
xor bl, bl
test cl, cl
je 0x405fe3
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.0040ee00
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x33], 0
je 0x406004
mov eax, dword [esp + 0x33]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040ee00
add esp, 0x18
cmp byte [esp + 0x12], 0
je 0x40601e
cmp byte [esp + 0x138], 0
jne 0x406026
mov al, byte [esp + 0x130]
jmp 0x406022
mov al, byte [esp + 0x1a]
test al, al
jne 0x40603d
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ee00
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ee00
add esp, 0x18
test bl, bl
je 0x406075
cmp byte [esp + 0x2b], 0
jne 0x406075
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.0040ee00
add esp, 0x18
mov byte [0x4c3e7e], 1
jmp 0x40617a
cmp byte [0x4c3e7e], 0
je 0x405e50
cmp byte [esp + 0x138], 0
mov ebx, dword [esp + 0x130]
jne 0x4060cf
cmp bl, 0xa2
je 0x4060b3
cmp bl, 0xa3
je 0x4060b3
cmp bl, 0xa0
je 0x4060b3
cmp bl, 0xa1
jne 0x4060cf
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040ee00
mov dl, byte [0x4c4f6d]
add esp, 0x18
test dl, 0xc
je 0x4060e8
cmp byte [esp + 0x138], 0
je 0x406105
cmp bl, 0xa4
je 0x4060e8
cmp bl, 0xa5
jne 0x406105
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040ee00
mov dl, byte [0x4c4f6d]
add esp, 0x18
mov eax, 0x3ffd
xor bl, bl
cmp word [esp + 0x3c], ax
jne 0x406131
test dl, 0x30
jne 0x406131
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040ee00
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040ee00
add esp, 0x18
test bl, bl
je 0x40617a
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040ee00
add esp, 0x18
jmp 0x40617a
cmp byte [edi + 0x1e], 5
mov dword [esp + 0x2c], eax
jne 0x40617a
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 0x4061e8
test bl, bl
je 0x4062f7
cmp byte [ecx + 8], 0
je 0x4061e8
mov esi, dword [esp + 0x130]
push 0xffc3d44e
push 0
push 0
push ebp
push esi
push 1
call fcn.0040ee00
push 0xffc3d44d
push 0
push 0
push ebp
push esi
push 2
call fcn.0040ee00
mov eax, dword [esp + 0x5c]
push 0
push SysReAllocString
push eax
mov ecx, ebx
push ecx
push ebp
push esi
jmp 0x404a65
test bl, bl
je 0x4062f7
cmp byte [ecx + 4], 0
je 0x406237
cmp byte [ecx + 0x10], 0
mov edx, dword [esp + 0x2c]
je 0x406215
mov eax, dword [esp + 0x138]
push 0
push SysReAllocString
push edx
push eax
jmp 0x40499c
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 0x4063f5
cmp byte [esp + 0x13], 0
je 0x40639e
mov esi, dword [esp + 0x120]
cmp esi, dword [0x4c50a4]
jne 0x406270
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 0x4063f5
mov eax, dword [ecx]
test eax, eax
je 0x40627f
cmp dword [eax], 7
je 0x40627f
mov al, 1
jmp 0x406281
xor al, al
cmp byte [ecx + 0x10], 0
je 0x4062cd
cmp byte [esp + 0x37], 0
jne 0x4062cd
test al, al
jne 0x4062d1
mov eax, dword [esp + 0x130]
push 0xffc3d44d
push 0
push 0
push ebp
push eax
push 0
call fcn.0040ee00
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 0x4063f5
test al, al
je 0x4062ae
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 0x4049ae
mov eax, dword [0x4c3e80]
mov byte [ecx + 0xf], 1
test eax, eax
je 0x40630e
cmp byte [eax + 4], 0
je 0x40630e
mov byte [eax + 0x11], 2
cmp byte [esp + 0x13], 0
je 0x406342
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 0x4063f5
mov eax, dword [esp + 0x130]
cmp al, 0xa4
je 0x406351
cmp al, 0xa5
jne 0x40639e
mov cl, byte [0x4c4f6d]
test cl, 0xc0
je 0x406385
test cl, 0x33
jne 0x406385
movzx edx, byte [0x4c1385]
push 0xffc3d44d
push 0
push 0
push 0
push edx
push 2
call fcn.0040ee00
mov eax, dword [esp + 0x148]
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push ebp
push eax
push 1
call fcn.0040ee00
mov ecx, dword [esp + 0x34]
add esp, 0x18
test bl, bl
jne 0x4063a6
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 0x4049a5
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.00406670
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret