Function at 0x4018f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1440
call fcn.004cdac0
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0xc4], edi
mov ebp, ecx
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x47], 0
cmp edi, 2
jne 0x40193e
cmp byte [0x4fb8a7], 0
mov edi, 1
mov dword [esp + 0xc4], edi
jne 0x40193e
mov byte [0x4fb8a7], 1
mov byte [esp + 0x47], 1
cmp dword [0x4fe6f0], 0
je 0x401980
cmp dword [0x4fe6e0], 0
je 0x401966
push dword [0x4fe6d8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4fe6e0], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4fe6f0], 0
mov dword [0x4fe6d8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], esi
cmp ebp, 0x8000012f
jne 0x4019ad
mov ebp, 0xa
mov byte [esp + 0x33], 1
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xac], 0
jmp 0x4019cd
cmp ebp, 5
setle byte [esp + 0x33]
jg 0x4019c4
mov dword [esp + 0xac], 0
jmp 0x4019cd
call esi
mov dword [esp + 0xac], eax
cmp dword [0x4fc548], 0
je 0x4019db
call fcn.00404a50
xor bl, bl
cmp dword [0x4fe63c], 0
mov dword [esp + 0x2c], ebx
je 0x401a00
call fcn.00404610
test al, al
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
mov dword [esp + 0x2c], ebx
test ebp, ebp
jle 0x401a3a
cmp edi, 1
jne 0x401a3a
inc dword [0x4fb9ec]
cmp byte [0x4fb8a6], 0
mov byte [esp + 0x3b], 1
jne 0x401a3f
push 0
push 0xa
push 9
push dword [0x4fb9e8]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne byte [0x4fb8a6]
jmp 0x401a3f
mov byte [esp + 0x3b], 0
mov eax, dword [sym.imp.USER32.dll_GetMessageW]
xor ecx, ecx
mov dword [esp + 0x130], eax
mov eax, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0xf0], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0xf4], eax
mov eax, dword [sym.imp.USER32.dll_GetClassNameW]
mov dword [esp + 0xc8], eax
mov eax, dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x100], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov dword [esp + 0x134], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0xd0], eax
mov eax, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov dword [esp + 0xfc], eax
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esp + 0xb0], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x8c], eax
mov eax, dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x138], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esp + 0x13c], eax
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x74], eax
mov eax, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov dword [esp + 0xf8], eax
mov eax, dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x114], eax
mov eax, dword [sym.imp.SHELL32.dll_DragFinish]
mov dword [esp + 0xa4], eax
mov eax, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x11c], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esp + 0xe8], eax
mov eax, dword [sym.imp.USER32.dll_CountClipboardFormats]
mov dword [esp + 0x124], eax
mov eax, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [esp + 0xbc], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0xb8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [esp + 0x128], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [esp + 0x12c], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xb4], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0xec], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0xa0], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x9c], eax
mov eax, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0xcc], eax
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 0x118], eax
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x68]
mov byte [esp + 0x17], 0
mov byte [esp + 0x46], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov al, byte [esp + 0x3b]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xa8], eax
jmp 0x401c83
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x401c87
mov ebp, dword [esp + 0x18]
jmp 0x401c83
push ecx
call dword [esp + 0x50]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
call esi
cmp dword [esp + 0x7c], 0
mov ebx, eax
jle 0x401e20
cmp byte [esp + 0x46], 0
jne 0x401e20
cmp byte [0x4fb8a7], 0
jne 0x401e2d
cmp dword [0x4f90ec], 0
je 0x401d0b
cmp dword [0x4fb9b8], 0
jne 0x401d0b
mov ecx, dword [0x4f90f4]
cmp byte [ecx + 0xec], 0
jne 0x401d02
cmp byte [ecx + 0xee], 0
jne 0x401d02
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x401d02
call esi
mov ecx, dword [0x4f90f4]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x401d02
mov byte [ecx + 0xec], 1
movzx ecx, byte [ecx + 0xec]
jmp 0x401d0d
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
cmovne eax, edx
push eax
push edx
push edx
lea eax, [esp + 0x54]
push eax
call dword [esp + 0x140]
cmp eax, 0xffffffff
je 0x401c83
call esi
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
jbe 0x401d41
mov dword [0x4fe690], eax
inc dword [esp + 0x88]
cmp dword [0x4fdb70], 0
je 0x401d7e
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x214]
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.00404b20
add esp, 0x10
test al, al
jne 0x401c83
mov edx, dword [0x4fb9e0]
test edx, edx
je 0x402451
mov eax, dword [esp + 0x48]
test eax, eax
je 0x402451
cmp eax, dword [0x4fb9e8]
je 0x402451
mov eax, dword [esp + 0x4c]
cmp eax, 0x414
je 0x402451
cmp eax, 0x402
je 0x402451
add eax, 0xffffff00
cmp eax, 9
ja 0x4024d9
call dword [esp + 0x100]
mov ebp, eax
test ebp, ebp
je 0x4024d3
mov ebx, dword [esp + 0x8c]
mov esi, ebp
push 0xfffffffffffffff0
push ebp
call ebx
test eax, 0x40000000
je 0x4020bb
push esi
mov edi, esi
call dword [esp + 0x78]
mov esi, eax
test esi, esi
je 0x4020b1
push 0xfffffffffffffff0
push esi
call ebx
test eax, 0x40000000
jne 0x401df6
jmp 0x4020bb
cmp byte [0x4fb8a7], 0
je 0x401fe2
call dword [esp + 0xf0]
mov esi, eax
test esi, esi
je 0x401fde
push 0
push esi
call dword [esp + 0xfc]
cmp eax, dword [0x4fd2ec]
jne 0x401fde
cmp dword [0x4fb9e4], 0
je 0x401eb1
push 0x20
lea eax, [esp + 0x25c]
push eax
push esi
mov esi, dword [esp + 0xd4]
call esi
mov ecx, str.32770
lea eax, [esp + 0x258]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401ea6
test dx, dx
je 0x401ea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401ea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401e80
xor eax, eax
jmp 0x401eab
sbb eax, eax
or eax, 1
test eax, eax
je 0x401f0b
jmp 0x401eb8
mov esi, dword [esp + 0xc8]
call dword [esp + 0x100]
test eax, eax
je 0x401fde
push 0x20
lea ecx, [esp + 0x25c]
push ecx
push eax
call esi
mov esi, dword [esp + 0x134]
lea eax, [esp + 0x258]
push str.SysTreeView32
push eax
call esi
add esp, 8
test eax, eax
je 0x401f0b
lea eax, [esp + 0x258]
push str.SysListView32
push eax
call esi
add esp, 8
test eax, eax
jne 0x401fde
cmp dword [0x4f90ec], 0
je 0x401f66
cmp dword [0x4fb9b8], 0
jne 0x401f66
mov ecx, dword [0x4f90f4]
cmp byte [ecx + 0xec], 0
jne 0x401f5d
cmp byte [ecx + 0xee], 0
jne 0x401f5d
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x401f5d
call dword [esp + 0x1c]
mov ecx, dword [0x4f90f4]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x401f5d
mov byte [ecx + 0xec], 1
movzx eax, byte [ecx + 0xec]
jmp 0x401f68
xor eax, eax
push 0
test eax, eax
mov esi, 0x311
push 0x1ff
mov eax, 0xffffffff
push 0
cmovne esi, eax
lea eax, [esp + 0x54]
push 0
push eax
call edi
test eax, eax
lea eax, [esp + 0x48]
jne 0x401f9e
push 1
push esi
push 0x20e
jmp 0x402052
mov edi, dword [esp + 0x58]
push 0
push esi
push 0x20e
push 0
push eax
call dword [esp + 0x38]
push 1
test eax, eax
jne 0x401fc5
mov edi, dword [esp + 0x28]
push 0x1ff
jmp 0x40204c
mov eax, dword [esp + 0x5c]
sub eax, edi
mov edi, dword [esp + 0x28]
test eax, eax
lea eax, [esp + 0x4c]
jle 0x401f93
push 0x1ff
jmp 0x402050
mov esi, dword [esp + 0x1c]
cmp dword [0x4f90ec], 0
je 0x40203b
cmp dword [0x4fb9b8], 0
jne 0x40203b
mov ecx, dword [0x4f90f4]
cmp byte [ecx + 0xec], 0
jne 0x402032
cmp byte [ecx + 0xee], 0
jne 0x402032
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x402032
call esi
mov ecx, dword [0x4f90f4]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x402032
mov byte [ecx + 0xec], 1
movzx ecx, byte [ecx + 0xec]
jmp 0x40203d
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
push 1
cmovne eax, edx
push eax
lea eax, [esp + 0x50]
push 0
push 0
push eax
call edi
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x401d41
call esi
mov edx, dword [0x4fe690]
mov ecx, eax
sub ecx, ebx
mov bl, byte [esp + 0x17]
cmp ecx, 3
cmova edx, eax
mov eax, dword [esp + 0x7c]
mov dword [0x4fe690], edx
test eax, eax
jne 0x4026e8
test bl, bl
jne 0x4026e8
push eax
call dword [esp + 0xd4]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x17], 1
mov dword [esp + 0x70], eax
call esi
mov ebx, eax
jmp 0x401e20
mov esi, edi
test edi, edi
je 0x4024d3
mov ecx, ebp
call fcn.00487970
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4024d3
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x4020f5
lea eax, [esp + 0x48]
push eax
push ecx
push esi
call dword [esp + 0x108]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x401c6c
cmp dword [esp + 0x4c], 0x100
jne 0x4023b1
cmp byte [ebx + 0xc0], 0
je 0x4022e2
mov edx, dword [esp + 0x50]
cmp edx, 0x22
je 0x402131
cmp edx, 0x21
je 0x402131
cmp edx, 9
je 0x402131
cmp edx, 0x25
je 0x402131
cmp edx, 0x27
jne 0x4022e2
push ebp
mov edi, ebp
call dword [esp + 0xd0]
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jb 0x402162
push ebp
call dword [esp + 0x78]
mov edi, eax
test edi, edi
je 0x402159
push edi
call dword [esp + 0xd0]
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jae 0x4022cc
mov eax, dword [ebx + 0x18]
mov ecx, esi
shl ecx, 6
add eax, ecx
mov dword [esp + 0x34], eax
cmp dword [eax], edi
jne 0x4022cc
cmp esi, 0x2af8
je 0x4022cc
mov edi, eax
test edi, edi
je 0x4022d4
mov al, byte [edi + 4]
cmp al, 0xf
je 0x4022d4
xor esi, esi
cmp al, 0x13
jne 0x4021b7
mov edx, dword [esp + 0x50]
mov esi, edi
cmp edx, 0x25
je 0x40276d
cmp edx, 0x27
je 0x40276d
mov edx, dword [esp + 0x50]
cmp edx, 0x25
je 0x4022d4
cmp edx, 0x27
je 0x4022d4
push 0x11
call dword [esp + 0xb4]
bt ax, 0xf
jae 0x4022d4
cmp dword [esp + 0x50], 9
jne 0x402201
cmp byte [edi + 4], 0xc
jne 0x402201
push 0xfffffffffffffff0
push dword [edi]
call dword [esp + 0x94]
test al, 4
jne 0x4022d4
test esi, esi
jne 0x40224c
mov bl, byte [edi + 6]
cmp bl, 0xff
je 0x402297
mov esi, dword [esp + 0x18]
xor al, al
xor ecx, ecx
mov edx, dword [esi + 0x10]
test edx, edx
je 0x402297
mov esi, dword [esi + 0x18]
cmp byte [esi + 4], 0x13
jne 0x40222f
cmp al, bl
je 0x402244
inc al
inc ecx
add esi, 0x40
cmp ecx, edx
jb 0x402223
mov ebx, dword [esp + 0x18]
xor al, al
xor ecx, ecx
mov edx, dword [ebx + 0x10]
jmp 0x4022a6
test esi, esi
je 0x402297
mov ebx, dword [esp + 0x18]
push dword [esi]
call dword [esp + 0x13c]
test eax, eax
je 0x4022d4
mov eax, dword [esp + 0x50]
cmp eax, 0x22
je 0x40278e
cmp eax, 9
jne 0x40227f
push 0x10
call dword [esp + 0xb4]
bt ax, 0xf
jae 0x40278e
mov ebp, dword [esp + 0x18]
xor al, al
push 1
push 1
push eax
push esi
mov ecx, ebp
call fcn.004994d0
jmp 0x401c7b
mov ebx, dword [esp + 0x18]
xor al, al
xor ecx, ecx
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x4022d4
mov esi, dword [ebx + 0x18]
nop dword [eax]
cmp byte [esi + 4], 0x13
jne 0x4022bc
test al, al
je 0x4022c6
inc al
inc ecx
add esi, 0x40
cmp ecx, edx
jb 0x4022b0
jmp 0x4022d4
test esi, esi
je 0x4022d4
jmp 0x40224c
mov dword [esp + 0x34], 0
cmp dword [esp + 0x4c], 0x100
jne 0x4023b1
mov edx, dword [esp + 0x50]
cmp edx, 0x1b
je 0x402321
cmp edx, 9
je 0x402321
cmp edx, 0x41
jne 0x4023b1
mov esi, dword [esp + 0xb0]
push 0x11
call esi
bt ax, 0xf
jae 0x4023b1
push 0xa5
call esi
bt ax, 0xf
jb 0x4023b1
mov edi, dword [esp + 0xcc]
push ebp
call edi
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jb 0x402349
push ebp
call dword [esp + 0x78]
mov ebp, eax
test ebp, ebp
je 0x402344
push ebp
call edi
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jae 0x4023a9
mov edi, esi
shl edi, 6
add edi, dword [ebx + 0x18]
mov dword [esp + 0x34], edi
mov ecx, dword [edi]
cmp ecx, ebp
jne 0x4023a9
cmp esi, 0x2af8
je 0x4023a9
test edi, edi
je 0x4023b1
cmp byte [edi + 4], 0xc
jne 0x4023b1
mov edx, dword [esp + 0x50]
cmp edx, 0x1b
je 0x4027a6
mov al, byte [edi + 5]
cmp edx, 0x41
je 0x402397
test al, al
jns 0x4023b1
push 0x4cfcb4
push 1
push 0xc2
jmp 0x401c72
test al, 2
jne 0x4023b1
push 0xffffffffffffffff
push 0
push 0xb1
jmp 0x401c72
mov dword [esp + 0x34], 0
mov eax, dword [0x4fd2b8]
test eax, eax
je 0x4023da
cmp dword [esp + 0x4c], 0x100
jne 0x4023da
mov edx, dword [esp + 0x50]
cmp edx, 0xd
je 0x4027ea
cmp edx, 0x1b
je 0x4027db
mov edx, dword [0x4fb9e0]
mov ebp, dword [esp + 0x18]
xor esi, esi
test edx, edx
jle 0x402451
nop word [eax + eax]
mov eax, dword [0x4fb9dc]
lea edi, [eax + esi*4]
mov eax, dword [edi]
cmp dword [eax + 0x10], 0
jne 0x40240a
cmp dword [esp + 0x4c], 0x106
je 0x40244c
mov ecx, dword [0x4f90f4]
mov byte [ecx + 0xe8], 1
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xe4], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi]
push dword [eax + 4]
call dword [esp + 0x100]
test eax, eax
mov eax, dword [0x4f90f4]
mov byte [eax + 0xe8], 0
jne 0x401c7b
mov edx, dword [0x4fb9e0]
inc esi
cmp esi, edx
jl 0x4023f0
mov eax, dword [esp + 0x4c]
cmp eax, 0x400
ja 0x402924
je case.0x40293d.1025
cmp eax, 0x100
jbe 0x4028b1
cmp eax, 0x113
jne 0x402823
cmp dword [esp + 0x54], 0
jne case.0x40293d.1027
mov eax, dword [esp + 0x48]
cmp eax, dword [0x4fb9e8]
jne case.0x40293d.1027
cmp dword [0x4fc548], 0
je 0x4024a5
call fcn.00404a50
cmp dword [0x4fe63c], 0
je 0x402683
call fcn.00404610
mov edx, dword [esp + 0x2c]
test al, al
movzx ecx, dl
mov eax, 1
cmovne ecx, eax
mov bl, cl
mov dword [esp + 0x2c], ebx
jmp 0x402687
mov edx, dword [0x4fb9e0]
mov eax, dword [esp + 0x4c]
cmp eax, 0x20a
je 0x4024ef
cmp eax, 0x20e
jne 0x4023e0
push dword [esp + 0x60]
push dword [esp + 0x60]
call dword [esp + 0x144]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [esp + 0x94]
mov edi, dword [esp + 0x74]
mov ebp, eax
push esi
call edi
mov edx, dword [0x4fb9e0]
xor ecx, ecx
mov ebx, eax
test edx, edx
jle 0x40257c
mov edi, dword [0x4fb9dc]
mov eax, dword [edi + ecx*4]
cmp dword [eax + 4], ebx
je 0x402536
inc ecx
cmp ecx, edx
jl 0x402527
jmp 0x402578
test eax, eax
je 0x402578
cmp esi, dword [esp + 0x48]
jne 0x40255d
push dword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov ecx, esi
push ebp
call fcn.00401810
add esp, 8
test eax, eax
jne 0x402578
cmp esi, dword [esp + 0x48]
je 0x402578
push dword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov ecx, esi
push ebp
call fcn.00401810
add esp, 8
test eax, eax
jne 0x4027f9
mov edi, dword [esp + 0x74]
push dword [esp + 0x50]
push 0xfffffffffffffff0
push dword [esp + 0x50]
call dword [esp + 0x98]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
call fcn.00401810
add esp, 8
test eax, eax
jne 0x4023da
push dword [esp + 0x48]
call edi
mov edx, dword [0x4fb9e0]
xor esi, esi
test edx, edx
jle 0x4025d7
nop dword [eax + eax]
mov ecx, dword [0x4fb9dc]
mov ebp, dword [ecx + esi*4]
mov dword [esp + 0x18], ebp
cmp dword [ebp + 4], eax
je 0x4025e2
inc esi
cmp esi, edx
jl 0x4025c0
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x4023e4
test ebp, ebp
je 0x4023e4
mov ebx, dword [esp + 0x70]
nop
push dword [esp + 0x50]
mov edx, dword [esp + 0x50]
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x78], ebx
mov bl, byte [esp + 0x1f]
mov bh, byte [esp + 0x34]
call fcn.00401810
add esp, 8
test eax, eax
jne 0x40280b
push dword [ebp + 4]
call edi
mov edx, dword [0x4fb9e0]
xor ecx, ecx
mov byte [esp + 0x2c], bh
mov edi, eax
mov byte [esp + 0x17], bl
mov dword [esp + 0x34], esi
test edx, edx
jle 0x4025d7
mov byte [esp + 0x2c], bh
mov byte [esp + 0x17], bl
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x34], esi
mov dword [esp + 0x70], ebx
mov eax, dword [0x4fb9dc]
mov ebp, dword [eax + ecx*4]
mov dword [esp + 0x18], ebp
cmp dword [ebp + 4], edi
je 0x402672
inc ecx
cmp ecx, edx
jl 0x402651
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x4023e4
mov edi, dword [esp + 0x74]
test ebp, ebp
jne 0x4025f0
jmp 0x4023e4
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0xc4], 0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
je 0x401c83
cmp dword [esp + 0x7c], 1
jl 0x401c83
call esi
cmp byte [esp + 0x33], 0
jne 0x404471
mov ecx, dword [esp + 0xac]
sub ecx, eax
add ecx, dword [esp + 0x7c]
cmp ecx, 5
jle 0x404471
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
call esi
mov ebx, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x17], al
jmp 0x401c9a
cmp dword [esp + 0x88], 0
jne 0x402716
cmp byte [esp + 0x33], 0
je 0x402716
test eax, eax
jle 0x402706
push 5
call dword [esp + 0xd4]
mov dword [esp + 0x88], 1
jmp 0x401c83
call esi
cmp byte [esp + 0x33], 0
jne 0x4043df
mov ecx, dword [esp + 0xac]
sub ecx, eax
add ecx, dword [esp + 0x7c]
cmp ecx, 5
jle 0x4043df
push 5
call dword [esp + 0xd4]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x88]
mov byte [esp + 0x17], bl
mov dword [esp + 0x88], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], esi
jmp 0x401c7f
cmp dword [esp + 0x50], 0x27
mov ebp, dword [esp + 0x18]
mov ecx, ebp
push 0
sete al
push 0
movzx eax, al
push eax
push edi
call fcn.004994d0
jmp 0x401c7b
mov ebp, dword [esp + 0x18]
mov al, 1
push 1
push 1
push eax
push esi
mov ecx, ebp
call fcn.004994d0
jmp 0x401c7b
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [ebp + 0x28], 0
je 0x401c87
push 0
push 0x2af80007
push 0x414
push dword [ebp + 4]
call dword [esp + 0x120]
jmp 0x401c83
push 0
push 1
push 0x1116
push eax
jmp 0x401c73
push 0
push 0
push 0x1116
push eax
jmp 0x401c73
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push esi
jmp 0x401c73
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [ebp + 4]
call dword [esp + 0x50]
jmp 0x401c7b
cmp dword [esp + 0x4c], 0x312
je case.0x40293d.1026
mov ebp, dword [esp + 0x18]
call dword [esp + 0xf0]
mov esi, eax
test esi, esi
je 0x40436c
push 0
push esi
call dword [esp + 0xfc]
cmp eax, dword [0x4fd2ec]
jne 0x40436c
push 0x20
lea eax, [esp + 0x25c]
push eax
mov eax, dword [esp + 0xd0]
push esi
call eax
mov ecx, str.32770
lea eax, [esp + 0x258]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4042f5
test dx, dx
je 0x4028aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4042f5
add eax, 4
add ecx, 4
test dx, dx
jne 0x402880
xor eax, eax
jmp 0x4042fa
mov eax, dword [esp + 0x4c]
cmp eax, 0x100
je 0x4028f5
cmp eax, 0x12
je 0x4028e2
mov ebp, dword [esp + 0x18]
cmp eax, 0x4b
jne 0x402835
mov dword [0x4fb9c8], 0
mov byte [esp + 0x46], 1
jmp 0x401c7b
push 0
push 4
mov ecx, 0x4fdb78
call fcn.0042f2d0
jmp 0x401c77
mov eax, dword [esp + 0x48]
cmp eax, dword [0x4fb9c4]
jne case.0x40293d.1027
cmp dword [esp + 0x50], 0x1b
jne case.0x40293d.1027
push 0
push dword [0x4fb9e8]
call dword [esp + 0xc0]
jmp 0x401c77
mov eax, dword [esp + 0x4c]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x40293d.1027
movzx eax, byte [eax + 0x4044fc]
jmp dword [eax*4 + 0x4044f0]
mov eax, dword [esp + 0x48]
test eax, eax
je case.0x40293d.1026
cmp eax, dword [0x4fb9e8]
jne case.0x40293d.1027
mov eax, dword [esp + 0x4c]
xor edi, edi
add eax, 0xfffffbff
mov dword [esp + 0x84], edi
cmp eax, 0x1d
ja case.0x40297a.1027
movzx eax, byte [eax + 0x404538]
jmp dword [eax*4 + 0x40451c]
xor ecx, ecx
test edx, edx
jle 0x4029aa
nop word [eax + eax]
mov eax, dword [0x4fb9dc]
mov ebp, dword [eax + ecx*4]
mov dword [esp + 0x18], ebp
mov edi, dword [ebp + 4]
cmp edi, dword [esp + 0x48]
je 0x4029b5
inc ecx
cmp ecx, edx
jl 0x402990
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x402835
test ebp, ebp
je 0x402835
mov edx, dword [esp + 0x50]
mov esi, edx
mov ebp, dword [esp + 0x54]
movzx ecx, dx
xor edx, edx
shr esi, 0x10
cmp ecx, 8
mov dword [esp + 0x3c], edx
mov ebx, esi
cmovne ebp, dword [esp + 0x70]
mov edx, 0x2af8
cmove esi, edx
mov dword [esp + 0x64], ecx
mov edx, ecx
mov dword [esp + 0xe4], esi
mov ecx, dword [esp + 0x18]
cmp edx, 8
cmovne ebx, dword [esp + 0x54]
cmp esi, dword [ecx + 0x10]
jae 0x402a0b
shl esi, 6
add esi, dword [ecx + 0x18]
jmp 0x402a0d
xor esi, esi
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x90], eax
mov byte [esp + 0x32], al
lea eax, [edx - 5]
cmp eax, 4
ja case.default.0x402a2a
jmp dword [eax*4 + 0x404558]
mov esi, dword [ecx + 0x2c]
mov eax, ebp
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
test esi, esi
je 0x401c62
add ecx, 0x3a
jmp 0x402a89
mov esi, dword [ecx + 0x24]
mov eax, ebp
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
test esi, esi
je 0x401c62
add ecx, 0x38
jmp 0x402a89
mov esi, dword [ecx + 0x28]
mov eax, ebp
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
test esi, esi
je 0x401c62
add ecx, 0x39
mov dword [esp + 0x90], ecx
mov dword [esp + 0x28], ebx
test ecx, ecx
je 0x402bca
cmp byte [ecx], 0
mov eax, ebp
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
jne 0x401c62
mov edi, dword [esp + 0x84]
mov bh, byte [esp + 0x17]
mov dword [esp + 0x20], ebp
xor ebp, ebp
jmp 0x40307b
mov esi, dword [ecx + 0x34]
mov eax, ebp
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
test esi, esi
je 0x401c62
mov edi, dword [esp + 0x84]
mov dword [esp + 0x28], ebx
mov bh, byte [esp + 0x17]
mov dword [esp + 0x20], ebp
xor ebp, ebp
jmp 0x40307b
mov esi, dword [ecx + 0x30]
mov edi, dword [ecx + 0x68]
mov dword [esp + 0x84], edi
mov dword [esp + 0x28], ebx
test esi, esi
je 0x402b35
mov dword [esp + 0x28], ebx
test edi, edi
je 0x402b4c
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [esp + 0x124]
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x402bd1
test edi, edi
je 0x402b4c
push edi
call dword [esp + 0xa8]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x68], 0
mov eax, ebp
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
jmp 0x401c87
mov dword [esp + 0x28], ebx
mov eax, ebp
mov dword [esp + 0x20], eax
test esi, esi
je 0x402b52
mov eax, dword [esp + 0x34]
mov esi, dword [esi + 0xc]
mov al, byte [eax + 5]
test esi, esi
jne 0x402bab
test al, 1
je 0x402b90
test edi, edi
je 0x402b90
push esi
push edi
call dword [esp + 0xc0]
mov edi, dword [esp + 0x24]
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
jmp 0x401c87
mov edi, dword [esp + 0x24]
test al, 4
mov dword [esp + 0x28], ebx
mov eax, ebp
mov dword [esp + 0x20], ebp
jne 0x401c62
mov byte [esp + 0x32], 1
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x84]
mov bh, byte [esp + 0x17]
mov dword [esp + 0x20], ebp
xor ebp, ebp
jmp 0x40307b
cmp dword [esp + 0x50], edi
je 0x402c2c
xor ecx, ecx
test edx, edx
jle 0x402c0a
nop dword [eax]
mov eax, dword [0x4fb9dc]
mov ebp, dword [eax + ecx*4]
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 4]
cmp eax, dword [esp + 0x50]
je 0x402c26
inc ecx
cmp ecx, edx
jl 0x402bf0
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x48]
test eax, eax
je 0x402c32
cmp eax, dword [0x4fb9e8]
jne 0x402835
jmp 0x402c32
test ebp, ebp
jne 0x402c32
jmp 0x402c10
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [0x4fe640]
test ecx, ecx
je 0x402c6a
mov eax, dword [esp + 0x54]
mov edx, dword [ecx + 4]
mov dword [esp + 0x98], edx
test edx, edx
je 0x402c63
nop
cmp dword [edx + 0x14], eax
je 0x402c78
mov edx, dword [edx + 0x20]
mov dword [esp + 0x98], edx
test edx, edx
jne 0x402c50
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x402c40
xor eax, eax
mov dword [esp + 0x98], eax
jmp 0x401c7b
mov esi, dword [edx + 8]
test esi, esi
je 0x401c7b
mov ebp, dword [edx + 0x18]
mov bh, byte [esp + 0x17]
jmp 0x40307b
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
cmp edx, dword [0x4fc544]
jae 0x40303b
mov eax, dword [0x4fc540]
mov ebx, dword [eax + edx*4]
mov dword [esp + 0x94], ebx
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x402d06
mov edx, dword [ebx + 4]
call fcn.00414e10
mov ebx, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
test ebx, ebx
je 0x40303b
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebx + 0x10]
mov cl, byte [ecx]
cmp cl, 1
je 0x402d13
cmp cl, 3
je 0x402d13
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x94]
jmp 0x402d13
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
push dword [esp + 0x54]
mov ecx, ebx
call fcn.00418020
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
cmp dword [ebx + 0xc], edi
jne 0x40303b
cmp byte [ebx + 0x2a], 0
je 0x402d4e
mov ax, word [esp + 0x54]
mov word [0x4fe654], ax
mov esi, dword [ebx]
mov ebp, dword [ebx + 0x14]
mov bh, byte [esp + 0x17]
jmp 0x40307b
xor eax, eax
mov word [0x4fe654], ax
mov esi, dword [ebx]
mov ebp, dword [ebx + 0x14]
mov bh, byte [esp + 0x17]
jmp 0x40307b
cmp byte [0x4fe628], 0
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jne 0x40303b
mov esi, dword [0x4fe61c]
test esi, esi
mov bh, byte [esp + 0x17]
cmove esi, dword [0x4fe1c8]
xor ebp, ebp
jmp 0x40307b
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
test ebx, ebx
jne 0x402da8
mov dword [esp + 0x6c], edi
jmp 0x401c77
mov eax, dword [0x4fb9d8]
cmp eax, ebx
jne 0x402dbb
mov eax, dword [ebx + 4]
mov dword [0x4fb9d8], eax
jmp 0x402de1
test eax, eax
je 0x402d9f
nop
lea ecx, [eax + 4]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x50]
je 0x402dd8
test eax, eax
jne 0x402dc0
mov dword [esp + 0x6c], edi
jmp 0x401c77
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [ecx], eax
call fcn.00414a60
mov dword [ebx + 4], edi
cmp dword [ebx + 8], edi
je 0x402d9f
cmp dword [0x4fb9d8], edi
jne 0x402e0c
cmp dword [0x4fc554], edi
jne 0x402e0c
test byte [0x4fc4f7], 1
jne 0x402e0c
call fcn.00415240
mov ecx, dword [ebx + 8]
mov esi, dword [ecx + 0x35c]
test esi, esi
je 0x402e24
mov bh, byte [esp + 0x17]
xor ebp, ebp
jmp 0x40307b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x6c], edi
jmp 0x401c77
mov edx, dword [0x4fb9d8]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
test edx, edx
je 0x40303b
nop dword [eax]
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x2c]
cmp edx, dword [esp + 0x50]
je 0x402e76
mov edx, dword [edx + 4]
mov dword [esp + 0x6c], edx
test edx, edx
jne 0x402e50
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
jmp 0x401c83
cmp dword [esp + 0x4c], 0x41c
mov esi, dword [edx + 8]
jne 0x402e8b
mov esi, dword [esi + 0x360]
jmp 0x402ea3
cmp dword [esp + 0x4c], 0x41e
jne 0x402e9d
mov esi, dword [esi + 0x368]
jmp 0x402ea3
mov esi, dword [esi + 0x364]
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x2c], cl
mov byte [esp + 0x17], al
test esi, esi
je 0x401c7b
xor ebp, ebp
mov byte [esp + 0x2c], cl
mov bh, al
jmp 0x40307b
mov edx, dword [esp + 0x50]
mov eax, edx
mov ebp, dword [esp + 0x18]
and eax, 0x7fff
mov esi, dword [esp + 0x1c]
cmp ax, word [0x4fc55c]
jae 0x40303b
mov ecx, eax
shr edx, 0x10
mov eax, dword [0x4fc54c]
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0xc0], ebx
test dx, dx
je 0x402f2b
mov ebp, dword [ebx + 0x20]
add edx, 0xffff
mov dword [esp + 0xa8], ebp
test dx, dx
je 0x402f27
mov ebp, dword [ebp + 8]
add edx, 0xffff
test dx, dx
jne 0x402f12
mov dword [esp + 0xa8], ebp
test ebp, ebp
jne 0x402f7e
cmp dword [esp + 0x4c], 0x400
jne 0x402f45
mov eax, dword [esp + 0x54]
mov ecx, 0xffc3d44d
shr eax, 0x10
sub ecx, eax
jmp 0x402f47
xor ecx, ecx
push 0
push ecx
lea eax, [esp + 0x88]
mov ecx, ebx
push eax
call fcn.00415810
mov ebp, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x78], eax
test ebp, ebp
jne 0x402f7e
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
jmp 0x401c83
mov al, byte [esp + 0x17]
mov edx, dword [ebp]
mov bl, al
mov bh, al
mov byte [esp + 0x17], al
mov eax, dword [0x50009c]
test al, 1
jne 0x402fab
or dword [0x50009c], 1
mov ecx, 0x5000a0
push 0
push 0
call fcn.0042d690
mov eax, dword [0x4fe1c8]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x402fbc
mov bh, byte [esp + 0x17]
jmp 0x402fd0
cmp ecx, dword [0x5000a0]
jne 0x402fe0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x17], bh
mov eax, 8
mov eax, dword [eax + edx]
test eax, eax
je 0x402fee
mov cl, byte [eax]
jmp 0x402ff0
mov eax, dword [esp + 0x2c]
mov bh, bl
mov dword [esp + 0x2c], eax
mov byte [esp + 0x17], bh
xor cl, cl
mov al, byte [ebp + 0x16]
cmp al, byte [ebp + 0x17]
jb 0x403044
cmp cl, 0xe2
je 0x403044
cmp cl, 0xce
je 0x403044
cmp cl, 0xdc
je 0x403044
cmp cl, 0xdd
je 0x403044
cmp cl, 0xd8
je 0x403044
cmp cl, 0xd9
je 0x403044
cmp cl, 0xda
je 0x403044
cmp cl, 0xdb
je 0x403044
cmp byte [ebp + 0x1a], 0
je 0x40302a
mov byte [ebp + 0x1b], 1
call esi
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x24]
jmp 0x401c83
mov eax, dword [ebp + 4]
test eax, eax
je 0x403060
mov al, byte [eax]
cmp al, 2
je 0x403060
cmp al, 4
je 0x403060
cmp al, 5
jb 0x40306d
mov eax, dword [0x4fb9d4]
jmp 0x403062
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], eax
mov esi, dword [ebp]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x10]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x28]
mov dl, bh
mov dword [esp + 0x70], eax
mov bl, bh
mov eax, dword [0x50009c]
mov byte [esp + 0x17], bh
test al, 1
jne 0x4030a9
or dword [0x50009c], 1
mov ecx, 0x5000a0
push 0
push 0
call fcn.0042d690
mov eax, dword [0x4fe1c8]
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x4030c2
cmp ecx, dword [0x5000a0]
jne 0x4030dc
mov bh, bl
mov byte [esp + 0x17], bl
mov edx, dword [esp + 0x2c]
mov ecx, 8
mov eax, esi
mov dword [esp + 0x2c], edx
mov eax, dword [eax + ecx]
test eax, eax
je 0x4030ea
mov cl, byte [eax]
jmp 0x4030ec
mov eax, dword [esp + 0x2c]
mov bh, dl
mov dword [esp + 0x2c], eax
mov byte [esp + 0x17], bh
xor cl, cl
mov edx, dword [0x4fb9d0]
mov eax, dword [0x4f90f0]
mov byte [esp + 0x104], cl
cmp edx, eax
jl 0x40317a
add eax, 2
cmp edx, eax
jge 0x403131
cmp cl, 0xe2
je 0x40317a
cmp cl, 0xce
je 0x40317a
cmp cl, 0xdc
je 0x40317a
cmp cl, 0xdd
je 0x40317a
cmp cl, 0xd8
je 0x40317a
cmp cl, 0xd9
je 0x40317a
cmp cl, 0xda
je 0x40317a
cmp cl, 0xdb
je 0x40317a
test edi, edi
je 0x40314a
push edi
call dword [esp + 0xa8]
mov ebp, dword [esp + 0x18]
mov dword [ebp + 0x68], 0
jmp 0x40314e
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x4c], 0x41b
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jne 0x401c87
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401c83
mov eax, dword [0x4f90f4]
cmp ebp, dword [eax + 0x2c]
jl 0x403131
mov eax, dword [esp + 0x4c]
add eax, 0xfffffbfe
mov byte [esp + 0x2c], 1
cmp eax, 0x1c
ja case.0x40319e.1027
movzx eax, byte [eax + 0x404578]
jmp dword [eax*4 + 0x40456c]
mov edi, dword [esp + 0x98]
push 0x104
push dword [edi]
push 0x4fe1d0
call dword [esp + 0xc0]
xor eax, eax
add esp, 0xc
mov word [0x4fe3d8], ax
mov eax, dword [edi + 0x10]
push 0x104
push dword [eax]
push 0x4fe3da
call dword [esp + 0xc0]
add esp, 0xc
mov dword [0x4fe1cc], edi
xor eax, eax
mov word [0x4fe5e2], ax
jmp case.0x40319e.1044
cmp dword [esp + 0x4c], 0x401
mov eax, dword [0x4fe5e4]
mov dword [0x4fe5e8], eax
mov eax, dword [0x4fe64c]
mov dword [0x4fe650], eax
jne 0x40321d
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 4]
jmp 0x403227
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 0x1c]
mov dword [0x4fe5e4], eax
call dword [esp + 0x1c]
mov dword [0x4fe64c], eax
mov edi, dword [0x4fb9cc]
cmp byte [edi + 0x17], 0
jne 0x403244
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x403251
mov ecx, edi
call fcn.00401510
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x403269
test byte [edi + 0x15], 4
je 0x403264
push edi
call fcn.0044f420
mov ecx, dword [edi + 8]
jmp 0x4032ba
cmp al, 2
jne 0x4032b5
mov ecx, dword [0x4fe6e4]
test ecx, ecx
jne 0x4032ba
mov edi, dword [esp + 0xbc]
push 0xd
call edi
test eax, eax
jne 0x40329b
push 0xf
call edi
test eax, eax
mov ecx, 0x4cfc34
mov eax, 0x4cfc40
cmove ecx, eax
jmp 0x4032ba
push 0
call fcn.004068c0
mov edx, 0x4cfc40
cmp eax, 0xffffffff
mov ecx, edx
cmovne ecx, dword [0x4fe6e0]
jmp 0x4032ba
mov ecx, 0x4fd2d8
push 0x7f
push ecx
lea eax, [esp + 0x2a0]
push eax
call dword [esp + 0xc0]
add esp, 0xc
xor eax, eax
xor dl, dl
mov word [esp + 0x396], ax
mov ecx, ebp
push dword [esp + 0x104]
push 1
call fcn.00404ff0
mov ebp, dword [0x4f90f4]
add esp, 8
call dword [esp + 0x1c]
mov dword [0x4fe694], eax
mov dword [0x4fe690], eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x40331b.1027
movzx eax, byte [eax + 0x4045b8]
jmp dword [eax*4 + 0x404598]
mov edi, dword [esp + 0x34]
xor eax, eax
mov ebx, dword [esp + 0x18]
mov word [esp + 0x1d0], ax
cmp byte [esp + 0x32], al
je 0x40333e
mov ecx, dword [edi]
jmp 0x403341
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x3c]
mov eax, edx
add eax, eax
inc edx
mov dword [esp + 0x3c], edx
mov dword [esp + eax*8 + 0x170], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + eax*8 + 0x178], 1
mov dword [esp + eax*8 + 0x174], 0
lea eax, [ecx - 5]
cmp eax, 4
ja case.default.0x40337b
jmp dword [eax*4 + 0x4045d8]
xor edx, edx
cmp dword [esp + 0x28], edx
mov dword [esp + 0x28], 0
sete dl
lea edx, [edx*2 + 1]
mov dword [ebp + 0x34], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
test edi, edi
je 0x40355d
cmp dword [esp + 0x70], 0
je 0x4034d8
movzx eax, byte [edi + 4]
add eax, 0xfffffff7
mov dword [esp + 0xd4], htonl
cmp eax, 8
ja case.0x4033d9.12
jmp dword [eax*4 + 0x4045ec]
push 0
push 0
push 0x19f
push dword [edi]
call dword [esp + 0x50]
cmp eax, 0xffffffff
je case.0x4033d9.12
lea ecx, [esp + 0xd4]
push ecx
push eax
push 0x198
jmp 0x403471
push 1
push 0xffffffffffffffff
push 0x100c
push dword [edi]
call dword [esp + 0x50]
cmp eax, 0xffffffff
je case.0x4033d9.12
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], 2
push ecx
push eax
push 0x100e
jmp 0x403471
push 0
push 9
push 0x110a
push dword [edi]
call dword [esp + 0x50]
test eax, eax
je case.0x4033d9.12
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xd4]
push eax
push 1
push 0x1104
jmp 0x403471
lea eax, [esp + 0xd4]
push eax
push 0
push 0x419
push dword [edi]
call dword [esp + 0x50]
cmp dword [esp + 0xd4], 0x80000000
lea ecx, [esp + 0xd4]
mov eax, dword [edi]
jne 0x403498
push ecx
push eax
call dword [esp + 0xa8]
jmp 0x4034a5
push 2
push ecx
push 0
push eax
call dword [esp + 0x128]
mov eax, dword [esp + 0xd4]
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xd8]
mov eax, eax
test eax, eax
jns 0x4034c6
add eax, 1
sar eax, 1
add eax, 2
add eax, dword [esp + 0xd8]
mov dword [ebp + 0x40], eax
mov edx, dword [ebp + 0x34]
movzx eax, byte [edi + 4]
sub eax, 9
je 0x403549
sub eax, 1
je 0x40353e
sub eax, 1
jne 0x40355d
cmp edx, 1
jne 0x403500
push eax
push 9
push 0x110a
push dword [edi]
call dword [esp + 0x50]
jmp 0x403559
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1f0], eax
lea eax, [esp + 0x1f0]
push eax
push dword [edi]
mov dword [esp + 0x1fc], ecx
call dword [esp + 0x124]
lea eax, [esp + 0x1f0]
push eax
push 0
push 0x1111
push dword [edi]
call dword [esp + 0x50]
jmp 0x403559
push 1
push 0xffffffffffffffff
push 0x100c
jmp 0x403552
push 0
push 0
push 0x19f
push dword [edi]
call dword [esp + 0x50]
inc eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x218]
push eax
push dword [ebx + 4]
call dword [esp + 0xa8]
mov eax, dword [esp + 0x218]
sub dword [ebp + 0x3c], eax
mov edx, dword [esp + 0x3c]
mov ecx, edx
mov eax, dword [esp + 0x21c]
add ecx, ecx
sub dword [ebp + 0x40], eax
test edi, edi
je 0x4035aa
mov eax, dword [edi]
mov dword [esp + ecx*8 + 0x170], eax
mov eax, 1
mov dword [esp + ecx*8 + 0x174], 0
jmp 0x4035b7
mov dword [esp + ecx*8 + 0x170], 0x4cfc40
xor eax, eax
mov dword [esp + ecx*8 + 0x178], eax
lea edi, [edx + 2]
mov eax, dword [esp + 0x28]
lea ebx, [edx + 4]
mov dword [esp + ecx*8 + 0x180], eax
add edi, edi
mov dword [esp + ecx*8 + 0x188], 1
mov dword [esp + ecx*8 + 0x184], 0
xor ecx, ecx
mov eax, dword [ebp + 0x34]
cmp eax, 3
mov dword [esp + edi*8 + 0x178], 1
mov dword [esp + edi*8 + 0x174], 0
sete cl
mov dword [esp + edi*8 + 0x170], ecx
lea ecx, [esp + 0x170]
mov eax, dword [ebp + 0x3c]
cdq
mov dword [esp + edi*8 + 0x180], eax
mov eax, ebx
mov dword [esp + edi*8 + 0x184], edx
lea edx, [ebx + 1]
shl eax, 4
add ecx, eax
mov dword [esp + edi*8 + 0x188], 1
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x3c], edx
cdq
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
cmp byte [esp + 0x32], 0
je 0x403af9
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 4], 0x17
jne 0x403af9
push 0x10b0
lea eax, [esp + 0x3a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x398], 0xd
lea eax, [edi - 1]
mov dword [esp + 0x39c], eax
lea eax, [esp + 0x398]
push eax
push 0
push 0x703
push dword [ebx]
call dword [esp + 0x50]
test eax, eax
je 0x403b5b
cmp word [esp + 0x408], 0
lea ecx, [esp + 0x3a8]
push 1
push 0
lea eax, [esp + 0x410]
cmove eax, ecx
mov ecx, dword [0x4fb9cc]
push 0xffffffffffffffff
push eax
call fcn.004b5b70
mov ecx, dword [esp + 0x3c]
lea ebx, [esp + 0x170]
mov edi, dword [0x4fb9cc]
mov eax, ecx
shl eax, 4
inc ecx
add ebx, eax
mov dword [esp + 0x3c], ecx
cmp byte [edi + 0x17], 0
jne 0x403711
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x40371e
mov ecx, edi
call fcn.00401510
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x403a8a
test byte [edi + 0x15], 4
je 0x403735
push edi
call fcn.0044f420
mov ecx, dword [edi + 8]
mov dword [ebx + 8], 0
mov dword [ebx], ecx
jmp 0x403b5b
mov dword [ebp + 0x34], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0x228]
push eax
mov dword [ebp + 0x40], ecx
push dword [ebx + 4]
call dword [esp + 0xa8]
mov eax, dword [esp + 0x228]
sub dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x22c]
sub dword [ebp + 0x40], eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [esp + 0x94]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [esp + 0xf4]
mov ebx, dword [esp + 0x3c]
mov edi, ebx
mov ecx, dword [esp + 0x84]
shl edi, 4
call fcn.0048a3c0
lea ecx, [esp + 0x180]
mov dword [esp + edi + 0x170], eax
mov eax, dword [esp + 0x34]
add ecx, edi
mov dword [esp + edi + 0x178], 6
mov edx, 2
test eax, eax
je 0x4037e6
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [edx - 1]
mov dword [ecx + 4], 0
jmp 0x4037ee
mov dword [ecx], 0x4cfc40
xor eax, eax
mov dword [ecx + 8], eax
add ebx, edx
mov ecx, dword [esp + 0x18]
mov edi, ebx
mov eax, dword [ebp + 0x3c]
add edi, edi
cmp byte [ecx + 0xc8], 0
je 0x40381b
push dword [0x4fdb64]
push 0x60
push eax
call dword [esp + 0xa8]
mov ecx, dword [esp + 0x18]
cdq
mov dword [esp + edi*8 + 0x174], edx
lea edx, [ebx + 2]
mov dword [esp + edi*8 + 0x178], 1
mov dword [esp + edi*8 + 0x170], eax
cmp byte [ecx + 0xc8], 0
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x3c], edx
je 0x403858
push dword [0x4fdb64]
push 0x60
push eax
call dword [esp + 0xa8]
cdq
mov dword [esp + edi*8 + 0x188], 1
mov dword [esp + edi*8 + 0x180], eax
mov dword [esp + edi*8 + 0x184], edx
jmp 0x403651
mov dword [ebp + 0x34], 1
cmp ecx, 8
jne 0x403659
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x180]
mov eax, edx
mov dword [ebp + 0x3c], ecx
mov edx, dword [esp + 0x28]
shl eax, 4
add edi, eax
mov dword [esp + eax + 0x178], 1
mov dword [esp + eax + 0x170], edx
mov dword [esp + eax + 0x174], 0
cmp byte [ebx + 0xc8], 0
movzx eax, cx
je 0x4038dd
push dword [0x4fdb64]
push 0x60
push eax
call dword [esp + 0xa8]
mov ecx, dword [esp + 0x20]
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov edx, dword [esp + 0x3c]
mov eax, edx
mov dword [edi + 8], 1
add edx, 3
shl eax, 4
lea edi, [esp + 0x190]
add edi, eax
mov dword [esp + 0x3c], edx
mov eax, ecx
shr eax, 0x10
cmp byte [ebx + 0xc8], 0
je 0x403921
push dword [0x4fdb64]
push 0x60
push eax
call dword [esp + 0xa8]
cdq
mov dword [edi + 8], 1
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x403651
mov al, byte [edi + 4]
cmp al, 0xa
je 0x4039a4
cmp al, 0x19
jne 0x40397a
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0x238]
push eax
mov dword [ebp + 0x40], ecx
push dword [ebx + 4]
call dword [esp + 0xa8]
mov eax, dword [esp + 0x238]
sub dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x23c]
sub dword [ebp + 0x40], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
mov dword [ebp + 0x34], ecx
mov ecx, edx
shl ecx, 4
lea edx, [esp + 0x170]
add edx, ecx
cmp eax, 5
jae 0x403a3e
mov eax, dword [eax*4 + 0x4f0c94]
jmp 0x403a4c
cmp cl, 0x49
jne 0x40397a
lea eax, [esp + 0x1d0]
test ecx, 0x100
je 0x4039bf
mov eax, 0x53
jmp 0x4039cc
test ecx, 0x200
je 0x4039db
mov eax, 0x73
mov word [esp + 0x1d0], ax
lea eax, [esp + 0x1d2]
test ecx, 0x400
je 0x4039ea
mov ebx, 0x46
jmp 0x4039f7
test ecx, 0x800
je 0x4039fd
mov ebx, 0x66
mov word [eax], bx
add eax, 2
test ecx, 0x1000
je 0x403a0c
mov ecx, 0x43
jmp 0x403a19
test ecx, 0x2000
je 0x403a1f
mov ecx, 0x63
mov word [eax], cx
add eax, 2
xor ecx, ecx
mov word [eax], cx
mov ecx, edx
mov eax, 0x49
shl ecx, 4
lea edx, [esp + 0x170]
mov dword [esp + 0x64], eax
mov dword [ebp + 0x34], eax
add edx, ecx
movzx eax, al
mov word [0x4ffb74], ax
mov eax, 0x4ffb74
mov edi, dword [esp + 0x28]
mov dword [edx + 8], 0
mov dword [edx], eax
mov edx, dword [esp + 0x3c]
add edx, 2
mov dword [esp + ecx + 0x188], 1
mov dword [esp + ecx + 0x180], edi
mov dword [esp + ecx + 0x184], 0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
jmp 0x40365d
cmp al, 2
jne 0x403ae9
mov ecx, dword [0x4fe6e4]
test ecx, ecx
jne 0x403aee
mov edi, dword [esp + 0xbc]
push 0xd
call edi
test eax, eax
jne 0x403ac8
push 0xf
call edi
test eax, eax
mov dword [ebx + 8], 0
mov ecx, 0x4cfc34
mov eax, 0x4cfc40
cmove ecx, eax
mov dword [ebx], ecx
jmp 0x403b5b
push 0
call fcn.004068c0
cmp eax, 0xffffffff
mov dword [ebx + 8], 0
mov ecx, 0x4cfc40
cmovne ecx, dword [0x4fe6e0]
mov dword [ebx], ecx
jmp 0x403b5b
mov ecx, 0x4fd2d8
mov dword [ebx + 8], 0
mov dword [ebx], ecx
jmp 0x403b5b
cmp word [esp + 0x1d0], 0
je 0x403b26
mov eax, edx
add eax, eax
inc edx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x1d0]
mov dword [esp + eax*8 + 0x178], 0
mov dword [esp + eax*8 + 0x170], edx
cmp ecx, 8
je 0x403b4b
cmp ecx, 5
je 0x403b4b
mov ecx, dword [0x4fb9cc]
lea eax, [esp + 0x1d0]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004b5b70
jmp 0x403b5b
mov ecx, dword [0x4fb9cc]
push 0x18
push 0
push edi
call fcn.00401490
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x90]
mov eax, dword [ecx + 4]
mov dword [ebp + 0xc4], eax
add dword [ecx + 0x20], 2
mov eax, dword [esp + 0xe4]
mov dword [ebp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x38], eax
test edi, edi
je 0x403c80
mov byte [edi], 1
mov ebx, dword [esp + 0x34]
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faaf0]
jne 0x403bb2
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x403bc7
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x120]
add ecx, 0xc
push 0
push eax
push edx
mov dword [0x4faaec], ecx
lea eax, [esp + 0x17c]
push eax
mov dword [ecx], 0
mov edx, esi
mov dword [ecx + 4], 0x4cfc50
mov dword [ecx + 8], 0
mov ecx, esi
push str.call
call fcn.0049d2f0
mov ebp, dword [esp + 0x2c]
add esp, 0x14
sub dword [0x4faaec], 0xc
cmp dword [ebp + 4], 0
je 0x403ce6
mov edx, dword [esp + 0x64]
test edi, edi
je 0x403c98
mov byte [edi], 0
cmp edx, 6
jne 0x403ca3
cmp dword [esp + 0x120], 0
jne 0x403ce6
mov eax, dword [0x50009c]
test al, 1
jne 0x403c5e
push 0
or eax, 1
mov ecx, 0x5000a0
push 0
mov dword [0x50009c], eax
call fcn.0042d690
mov eax, dword [0x4fe1c8]
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x403c6d
test esi, esi
jne 0x403ce6
mov eax, dword [ebp + 4]
test eax, eax
je 0x403ce6
push 0
push eax
call dword [esp + 0xc0]
jmp 0x403ce6
cmp byte [esp + 0x32], 0
je 0x403b95
mov ebx, dword [esp + 0x34]
or byte [ebx + 5], 4
jmp 0x403b99
cmp byte [esp + 0x32], 0
je 0x403ca3
and byte [ebx + 5], 0xfb
cmp edx, 5
jne 0x403ce6
mov eax, dword [esp + 0x180]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [esp + 0x84]
call dword [esp + 0xa8]
push 0xffffffffffffffec
push dword [ebp + 4]
mov dword [ebp + 0x68], 0
call dword [esp + 0x94]
or eax, 0x10
push eax
push 0xffffffffffffffec
push dword [ebp + 4]
call dword [esp + 0xf4]
add dword [ebp + 0x20], 0xffffffff
jne 0x404279
push dword [ebp]
call dword [esp + 0xf0]
add esp, 4
push 0xd8
push ebp
call fcn.004ccae4
add esp, 8
jmp 0x404279
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x403d32
mov eax, dword [ecx + 4]
mov dword [ebp + 0xc4], eax
mov dword [ebp + 0x34], 1
add dword [ecx + 0x20], 2
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x44], ecx
mov ecx, 0x4fdb78
mov dword [esp + 0x148], 0
mov dword [esp + 0x140], 0x4fe1d0
call fcn.004676a0
mov ecx, dword [0x4faaec]
inc eax
mov dword [esp + 0x158], 1
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x160], 0x4fe3da
cmp ecx, dword [0x4faaf0]
jne 0x403d9f
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x403db4
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
add ecx, 0xc
lea eax, [esp + 0x140]
push 0
push 0
mov dword [0x4faaec], ecx
mov edx, esi
push 3
push eax
mov dword [ecx], 0
mov dword [ecx + 4], str.Menu
mov dword [ecx + 8], 0
mov ecx, esi
push str.call
call fcn.0049d2f0
sub dword [0x4faaec], 0xc
add esp, 0x14
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x404279
jmp 0x403ce6
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x78]
mov dword [ebp + 0xc4], eax
mov al, byte [esi + 0x21]
mov byte [ebp + 0xf6], al
mov eax, dword [0x50009c]
mov edx, dword [esi]
test al, 1
jne 0x403e43
push 0
or eax, 1
mov ecx, 0x5000a0
push 0
mov dword [0x50009c], eax
call fcn.0042d690
mov eax, dword [0x4fe1c8]
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x403e56
cmp ecx, dword [0x5000a0]
jne 0x403e6a
mov eax, 8
mov byte [esp + 0x17], bh
mov eax, dword [eax + edx]
test eax, eax
je 0x403e6e
mov cl, byte [eax]
jmp 0x403e70
mov byte [esp + 0x17], bh
xor cl, cl
mov al, byte [esi + 0x24]
cmp al, byte [esi + 0x25]
jb 0x403ea4
cmp cl, 0xe2
je 0x403ea4
cmp cl, 0xce
je 0x403ea4
cmp cl, 0xdc
je 0x403ea4
cmp cl, 0xdd
je 0x403ea4
cmp cl, 0xd8
je 0x403ea4
cmp cl, 0xd9
je 0x403ea4
cmp cl, 0xda
je 0x403ea4
cmp cl, 0xdb
jne 0x404275
push 0
push 0
mov byte [0x4fe656], 0
mov ecx, esi
inc byte [esi + 0x24]
push 0
push dword [0x4fe5e4]
call fcn.004a0d90
dec byte [esi + 0x24]
jmp 0x404275
call dword [esp + 0x124]
test eax, eax
je 0x403ef9
mov ebx, dword [esp + 0xbc]
push 0xd
call ebx
test eax, eax
jne 0x403ef2
push 0xf
call ebx
test eax, eax
jne 0x403ef2
mov eax, 2
jmp 0x403efb
mov eax, 1
jmp 0x403efb
xor eax, eax
mov ecx, dword [0x4fb9cc]
push 0x18
push 0
push eax
mov dword [ebp + 0x38], eax
call fcn.00401490
mov eax, dword [ebp + 0x38]
mov ecx, dword [0x4faaec]
mov dword [esp + 0x208], 1
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], 0
mov byte [0x4fe628], 1
cmp ecx, dword [0x4faaf0]
jne 0x403f4e
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x403f63
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
add ecx, 0xc
mov dword [0x4faaec], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cfcb8
mov dword [ecx + 8], 0
mov esi, dword [0x4fe61c]
test esi, esi
je 0x40400b
mov eax, dword [0x4f90f4]
mov edi, dword [eax + 0xbc]
mov dword [eax + 0xbc], esi
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faaf0]
jne 0x403fb8
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x403fcd
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
add ecx, 0xc
mov dword [0x4faaec], ecx
mov eax, dword [esi + 8]
push 0
push 0
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov dword [ecx + 8], 1
mov ecx, dword [esi + 8]
push 1
call fcn.004445a0
mov eax, dword [0x4f90f4]
sub dword [0x4faaec], 0xc
mov dword [eax + 0xbc], edi
mov esi, dword [0x4fe61c]
cmp dword [esp + 0x50], 0
jne 0x40402e
xor eax, eax
mov ecx, 0x4fe5fc
test esi, esi
sete al
push eax
push 1
lea eax, [esp + 0x208]
push eax
call fcn.004a0ea0
sub dword [0x4faaec], 0xc
mov byte [0x4fe628], 0
jmp 0x404275
mov ebx, dword [esp + 0x6c]
mov ecx, dword [0x4faaec]
mov dword [esp + 0x250], 6
mov eax, dword [ebx + 8]
mov dword [esp + 0x248], eax
cmp ecx, dword [0x4faaf0]
jne 0x404073
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x404088
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
add ecx, 0xc
lea eax, [esp + 0x248]
push 0
push 0
mov dword [0x4faaec], ecx
mov edx, esi
push 1
push eax
mov dword [ecx], 0
mov dword [ecx + 4], str.InputHook
mov dword [ecx + 8], 0
mov ecx, esi
push str.call
call fcn.0049d2f0
sub dword [0x4faaec], 0xc
add esp, 0x14
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x404275
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x148], 6
mov dword [esp + 0x158], 1
mov eax, dword [eax + 8]
mov dword [esp + 0x140], eax
movzx eax, cl
cdq
sar ecx, 0x10
mov dword [esp + 0x150], eax
movzx eax, cx
mov ecx, dword [0x4faaec]
mov dword [esp + 0x154], edx
cdq
mov dword [esp + 0x168], 1
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edx
cmp ecx, dword [0x4faaf0]
jne 0x40414c
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x404161
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
push 0
push 0
push 3
lea eax, [esp + 0x14c]
add ecx, 0xc
mov edx, esi
mov dword [0x4faaec], ecx
push eax
push str.call
mov dword [ecx + 8], 0
mov dword [ecx + 4], str.InputHook
mov dword [ecx], 0
mov ecx, esi
call fcn.0049d2f0
add esp, 0x14
sub dword [0x4faaec], 0xc
jmp 0x404275
mov eax, dword [esp + 0x54]
mov ecx, dword [0x4faaec]
mov word [esp + 0x108], ax
sar eax, 0x10
mov word [esp + 0x10a], ax
xor eax, eax
mov word [esp + 0x10c], ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x148], 6
mov dword [esp + 0x158], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x140], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x150], eax
cmp ecx, dword [0x4faaf0]
jne 0x404215
call fcn.00406f70
mov ecx, dword [0x4faaec]
cmp ecx, dword [0x4faae8]
jb 0x40422a
mov eax, dword [0x4fe1c4]
mov dword [ecx], eax
mov ecx, dword [0x4faaec]
push 0
push 0
push 2
lea eax, [esp + 0x14c]
jmp 0x40416e
mov edx, dword [esp + 0xc0]
mov al, byte [edx + 0x10]
add al, 0x64
cmp al, 3
ja 0x404253
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x38], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x78]
mov dword [ebp + 0xc4], eax
push ecx
mov al, byte [ecx + 0x18]
mov ecx, edx
mov byte [ebp + 0xf6], al
call fcn.00415b40
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x298]
call fcn.00405100
cmp dword [esp + 0xc4], 0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
je 0x401c87
call esi
cmp byte [esp + 0x33], 0
jne 0x4042be
mov ecx, dword [esp + 0xac]
sub ecx, eax
add ecx, dword [esp + 0x7c]
cmp ecx, 5
jg 0x401c83
cmp dword [esp + 0x7c], 0xffffffff
jle 0x4042d5
xorps xmm0, xmm0
mov dword [0x4fe690], eax
movlpd qword [0x4fe680], xmm0
mov edi, dword [esp + 0x24]
mov dword [0x4fe694], eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x46], 1
mov byte [esp + 0x33], 1
mov byte [esp + 0x17], al
jmp 0x401c83
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40436c
mov ecx, dword [0x4f90f4]
mov byte [ecx + 0xe8], 1
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xe4], eax
lea eax, [esp + 0x48]
push eax
push esi
call dword [esp + 0x100]
test eax, eax
je 0x40435d
cmp dword [0x4fb9e4], 0
je 0x40434c
mov eax, dword [0x4fab50]
mov ecx, 0x4cfc40
test eax, eax
je 0x404344
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [esp + 0x12c]
mov eax, dword [0x4f90f4]
mov byte [eax + 0xe8], 0
jmp 0x401c7b
mov ecx, dword [0x4f90f4]
mov byte [ecx + 0xe8], 0
jmp 0x404372
mov ecx, dword [0x4f90f4]
mov eax, dword [0x4fb9c0]
test eax, eax
je 0x4043a8
lea ecx, [esp + 0x48]
push ecx
push eax
push dword [0x4fb9e8]
call dword [esp + 0x108]
mov edi, dword [esp + 0x24]
test eax, eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jne 0x401c87
mov ecx, dword [0x4f90f4]
mov byte [ecx + 0xe8], 1
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xe4], eax
lea eax, [esp + 0x48]
push eax
call dword [esp + 0x130]
lea eax, [esp + 0x48]
push eax
call dword [esp + 0x6c]
mov eax, dword [0x4f90f4]
mov byte [eax + 0xe8], 0
jmp 0x401c7b
mov ecx, dword [esp + 0x7c]
cmp ecx, 0xffffffff
jle 0x4043f8
xorps xmm0, xmm0
mov dword [0x4fe690], eax
movlpd qword [0x4fe680], xmm0
xor edx, edx
mov dword [0x4fe694], eax
cmp byte [esp + 0x47], dl
movzx eax, byte [0x4fb8a7]
cmovne eax, edx
mov byte [0x4fb8a7], al
cmp byte [esp + 0x3b], dl
je 0x404465
mov eax, dword [0x4fb9ec]
dec eax
mov dword [0x4fb9ec], eax
test ecx, ecx
jle 0x404465
test eax, eax
jne 0x404465
cmp dword [0x4fe63c], edx
jne 0x404465
cmp dword [0x4fc548], edx
jne 0x404465
cmp byte [0x4fb8a6], dl
je 0x404465
push 9
push dword [0x4fb9e8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4fb8a6]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4fb8a6], cl
mov al, byte [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [0x4fe690], eax
cmp byte [esp + 0x47], cl
xorps xmm0, xmm0
mov dword [0x4fe694], eax
movzx eax, byte [0x4fb8a7]
cmovne eax, ecx
movlpd qword [0x4fe680], xmm0
mov byte [0x4fb8a7], al
cmp byte [esp + 0x3b], cl
je 0x4044e4
sub dword [0x4fb9ec], 1
jne 0x4044e4
cmp dword [0x4fe63c], ecx
jne 0x4044e4
cmp dword [0x4fc548], ecx
jne 0x4044e4
cmp byte [0x4fb8a6], cl
je 0x4044e4
push 9
push dword [0x4fb9e8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4fb8a6]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4fb8a6], cl
pop edi
mov al, bl
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret