Function at 0x401860
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1428
call fcn.004e88a0
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0xb0], ebp
mov esi, ecx
mov dword [esp + 0x18], esi
mov byte [esp + 0x51], 0
cmp ebp, 2
jne 0x4018ae
cmp byte [0x51e997], 0
mov ebp, 1
mov dword [esp + 0xb0], ebp
jne 0x4018ae
mov byte [0x51e997], 1
mov byte [esp + 0x51], 1
cmp dword [0x5217e0], 0
je 0x4018f0
cmp dword [0x5217d0], 0
je 0x4018d6
push dword [0x5217c8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x5217d0], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x5217e0], 0
mov dword [0x5217c8], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
cmp esi, 0x8000012f
jne 0x40191c
mov esi, 0xa
mov byte [esp + 0x22], 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x9c], 0
jmp 0x40193c
cmp esi, 5
setle byte [esp + 0x22]
jg 0x401933
mov dword [esp + 0x9c], 0
jmp 0x40193c
call eax
mov dword [esp + 0x9c], eax
cmp dword [0x51f638], 0
je 0x40194a
call fcn.00404850
xor bl, bl
mov edi, 1
cmp dword [0x52172c], 0
mov dword [esp + 0x80], ebx
je 0x401975
call fcn.004044d0
test al, al
movzx ebx, bl
cmovne ebx, edi
mov dword [esp + 0x80], ebx
test esi, esi
jle 0x4019af
cmp ebp, 1
jne 0x4019af
inc dword [0x51eadc]
cmp byte [0x51e996], 0
mov byte [esp + 0x52], 1
jne 0x4019b4
push 0
push 0xa
push 9
push dword [0x51ead8]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne byte [0x51e996]
jmp 0x4019b4
mov byte [esp + 0x52], 0
mov byte [esp + 0x53], 0
lea esi, [esp + 0x158]
mov byte [esp + 0x50], 0
mov edi, 6
mov dword [esp + 0x14], 0
mov ecx, esi
call fcn.00405340
add esi, 0x10
sub edi, 1
jne 0x4019d2
mov eax, dword [sym.imp.USER32.dll_GetMessageW]
mov dword [esp + 0x118], eax
mov eax, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0xdc], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0xe0], eax
mov eax, dword [sym.imp.USER32.dll_GetClassNameW]
mov dword [esp + 0xb4], eax
mov eax, dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0xf0], eax
mov eax, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [esp + 0xec], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0xb8], eax
mov eax, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov dword [esp + 0xe8], eax
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esp + 0xbc], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x7c], eax
mov eax, dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x11c], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x2c], eax
mov eax, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esp + 0x124], eax
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x60], eax
mov eax, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov dword [esp + 0xe4], eax
mov eax, dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0xfc], eax
mov eax, dword [sym.imp.SHELL32.dll_DragFinish]
mov dword [esp + 0x98], eax
mov eax, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x104], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esp + 0xd8], eax
mov eax, dword [sym.imp.USER32.dll_CountClipboardFormats]
mov dword [esp + 0x10c], eax
mov eax, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [esp + 0xa8], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0xa4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [esp + 0x110], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x114], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0xa0], eax
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x120], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x94], eax
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 0x100], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov al, byte [esp + 0x53]
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], ebp
mov ebx, dword [esp + 0x58]
xor ebp, ebp
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xac], eax
mov dword [esp + 0x8c], ebx
jmp 0x401be1
mov edi, dword [esp + 0x18]
jmp 0x401be1
mov esi, dword [esp + 0x10]
jmp 0x401be1
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
call esi
mov ebx, eax
test edi, edi
jle 0x401c9d
cmp byte [esp + 0x50], 0
jne 0x401c9d
cmp byte [0x51e997], 0
jne 0x401caa
cmp dword [0x51b984], 0
je 0x401c5e
cmp dword [0x51eaa8], 0
jne 0x401c5e
mov ecx, dword [0x51b98c]
cmp byte [ecx + 0xec], 0
jne 0x401c55
cmp byte [ecx + 0xee], 0
jne 0x401c55
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x401c55
call esi
mov ecx, dword [0x51b98c]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x401c55
mov byte [ecx + 0xec], 1
movzx ecx, byte [ecx + 0xec]
jmp 0x401c60
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
cmovne eax, edx
push eax
push edx
push edx
lea eax, [esp + 0x40]
push eax
call dword [esp + 0x128]
cmp eax, 0xffffffff
je 0x401be1
call esi
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
jbe 0x401f9c
mov dword [0x521780], eax
jmp 0x401f9c
cmp byte [0x51e997], 0
je 0x401e86
call dword [esp + 0xdc]
mov esi, eax
test esi, esi
je 0x401e82
push 0
push esi
call dword [esp + 0xe8]
cmp eax, dword [0x5203dc]
jne 0x401e82
cmp dword [0x51ead4], 0
mov ebp, dword [esp + 0xb4]
je 0x401d2f
push 0x20
lea eax, [esp + 0x244]
push eax
push esi
call ebp
mov ecx, str.32770
lea eax, [esp + 0x240]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401d26
test dx, dx
je 0x401d22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401d26
add eax, 4
add ecx, 4
test dx, dx
jne 0x401d00
xor eax, eax
jmp 0x401d2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x401d81
call dword [esp + 0xf0]
test eax, eax
je 0x401e82
push 0x20
lea ecx, [esp + 0x244]
push ecx
push eax
call ebp
lea eax, [esp + 0x240]
push str.SysTreeView32
push eax
call fcn.004ce516
add esp, 8
test eax, eax
je 0x401d81
lea eax, [esp + 0x240]
push str.SysListView32
push eax
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x401e82
cmp dword [0x51b984], 0
je 0x401ddc
cmp dword [0x51eaa8], 0
jne 0x401ddc
mov ecx, dword [0x51b98c]
cmp byte [ecx + 0xec], 0
jne 0x401dd3
cmp byte [ecx + 0xee], 0
jne 0x401dd3
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x401dd3
call dword [esp + 0x10]
mov ecx, dword [0x51b98c]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x401dd3
mov byte [ecx + 0xec], 1
movzx eax, byte [ecx + 0xec]
jmp 0x401dde
xor eax, eax
mov ebp, dword [esp + 0xec]
test eax, eax
push 0
push 0x1ff
mov eax, 0xffffffff
mov esi, 0x311
push 0
cmovne esi, eax
lea eax, [esp + 0x40]
push 0
push eax
call ebp
test eax, eax
lea eax, [esp + 0x34]
jne 0x401e20
push 1
push esi
push 0x20e
push 0
push eax
call ebp
jmp 0x401efe
mov edi, dword [esp + 0x44]
push 0
push esi
push 0x20e
push 0
push eax
call ebp
push 1
test eax, eax
jne 0x401e4e
push 0x1ff
push eax
push eax
lea eax, [esp + 0x44]
push eax
call ebp
mov edi, dword [esp + 0x18]
jmp 0x401efe
mov eax, dword [esp + 0x48]
sub eax, edi
test eax, eax
lea eax, [esp + 0x38]
jle 0x401e71
push 0x1ff
push 0
push 0
push eax
call ebp
mov edi, dword [esp + 0x18]
jmp 0x401efe
push esi
push 0x20e
push 0
push eax
call ebp
mov edi, dword [esp + 0x18]
jmp 0x401efe
mov esi, dword [esp + 0x10]
cmp dword [0x51b984], 0
je 0x401edf
cmp dword [0x51eaa8], 0
jne 0x401edf
mov ecx, dword [0x51b98c]
cmp byte [ecx + 0xec], 0
jne 0x401ed6
cmp byte [ecx + 0xee], 0
jne 0x401ed6
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x401ed6
call esi
mov ecx, dword [0x51b98c]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x401ed6
mov byte [ecx + 0xec], 1
movzx ecx, byte [ecx + 0xec]
jmp 0x401ee1
xor ecx, ecx
xor edx, edx
mov eax, 0x311
push 1
test ecx, ecx
cmovne eax, edx
push eax
push edx
push edx
lea eax, [esp + 0x44]
push eax
call dword [esp + 0x100]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x401f98
call esi
mov edx, dword [0x521780]
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
cmova edx, eax
mov dword [0x521780], edx
test edi, edi
jne 0x401f3f
cmp byte [esp + 0x53], 0
jne 0x401f3f
push edi
call dword [esp + 0xbc]
mov byte [esp + 0x53], 1
jmp 0x401bdd
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x401f69
cmp byte [esp + 0x22], 0
je 0x401f69
test edi, edi
jle 0x401f5b
push 5
call dword [esp + 0xbc]
mov ebp, 1
mov dword [esp + 0x14], ebp
jmp 0x401be1
call esi
cmp byte [esp + 0x22], 0
jne 0x404312
mov ecx, dword [esp + 0x9c]
sub ecx, eax
add ecx, edi
cmp ecx, 5
jle 0x404312
push 5
call dword [esp + 0xbc]
jmp 0x401be1
mov ebp, dword [esp + 0x14]
inc ebp
cmp dword [0x520c60], 0
mov dword [esp + 0x14], ebp
je 0x401fd7
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1fc]
mov ecx, dword [esp + 0x34]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00404920
add esp, 0x10
test al, al
jne 0x401be1
mov edx, dword [0x51ead0]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
test edx, edx
je 0x40269b
test ecx, ecx
je 0x40269b
cmp ecx, dword [0x51ead8]
je 0x40269b
cmp ebp, 0x414
je 0x40269b
cmp ebp, 0x402
je 0x40269b
lea eax, [ebp - 0x100]
cmp eax, 9
ja 0x40244e
call dword [esp + 0xf0]
mov ebx, eax
mov dword [esp + 0x78], ebx
test ebx, ebx
je 0x402440
mov ebp, dword [esp + 0x7c]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call ebp
test eax, 0x40000000
je 0x402075
nop
push esi
mov edi, esi
call dword [esp + 0x64]
mov esi, eax
test esi, esi
je 0x40206b
push 0xfffffffffffffff0
push esi
call ebp
test eax, 0x40000000
jne 0x402050
jmp 0x402075
mov esi, edi
test edi, edi
je 0x402440
mov ecx, ebx
call fcn.00487090
mov ebp, eax
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x402440
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x4020b3
lea eax, [esp + 0x34]
push eax
push ecx
push esi
call dword [esp + 0xf4]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x401be1
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp ebp, 0x100
jne 0x4023eb
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xc0], 0
je 0x4022bd
cmp edi, 0x22
je 0x4020f5
cmp edi, 0x21
je 0x4020f5
cmp edi, 9
je 0x4020f5
cmp edi, 0x25
je 0x4020f5
cmp edi, 0x27
jne 0x4022bd
push ebx
mov edi, ebx
call dword [esp + 0xa4]
mov ebp, dword [esp + 0x24]
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x10]
jb 0x40212a
push ebx
call dword [esp + 0x64]
mov edi, eax
test edi, edi
je 0x402121
push edi
call dword [esp + 0xa4]
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x10]
jae 0x40229d
mov ebx, esi
shl ebx, 6
add ebx, dword [ebp + 0x18]
mov dword [esp + 0x54], ebx
cmp dword [ebx], edi
jne 0x40229d
cmp esi, 0x2af8
je 0x40229d
test ebx, ebx
je 0x4022a5
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x4022a5
mov edi, dword [esp + 0x3c]
xor esi, esi
cmp al, 0x13
jne 0x402192
mov esi, ebx
cmp edi, 0x25
je 0x402173
cmp edi, 0x27
jne 0x402192
cmp edi, 0x27
mov ecx, ebp
push 0
sete al
push 0
movzx eax, al
push eax
push ebx
call fcn.00498000
mov edi, dword [esp + 0x18]
jmp 0x401bd9
cmp edi, 0x25
je 0x4022a9
cmp edi, 0x27
je 0x4022a9
push 0x11
call dword [esp + 0xc0]
bt ax, 0xf
jae 0x4022a5
mov edi, dword [esp + 0x3c]
cmp edi, 9
jne 0x4021de
cmp byte [ebx + 4], 0xc
jne 0x4021de
push 0xfffffffffffffff0
push dword [ebx]
call dword [esp + 0x84]
test al, 4
jne 0x4022a5
mov edi, dword [esp + 0x3c]
test esi, esi
jne 0x402242
mov bl, byte [ebx + 6]
cmp bl, 0xff
je 0x402216
mov edx, dword [ebp + 0x10]
xor al, al
xor ecx, ecx
test edx, edx
je 0x402216
mov esi, dword [ebp + 0x18]
cmp byte [esi + 4], 0x13
jne 0x402204
cmp al, bl
je 0x402212
inc al
inc ecx
add esi, 0x40
cmp ecx, edx
jb 0x4021f8
xor al, al
xor ecx, ecx
jmp 0x402225
test esi, esi
jne 0x402242
mov edx, dword [ebp + 0x10]
xor al, al
xor ecx, ecx
test edx, edx
je 0x4022a9
mov esi, dword [ebp + 0x18]
cmp byte [esi + 4], 0x13
jne 0x402234
test al, al
je 0x40223e
inc al
inc ecx
add esi, 0x40
cmp ecx, edx
jb 0x402228
jmp 0x4022a9
test esi, esi
je 0x4022a9
push dword [esi]
call dword [esp + 0x120]
test eax, eax
je 0x4022a5
mov eax, dword [esp + 0x3c]
cmp eax, 0x22
je 0x402285
cmp eax, 9
jne 0x40226d
push 0x10
call dword [esp + 0xc0]
bt ax, 0xf
jae 0x402285
push 1
push 1
xor al, al
mov ecx, ebp
push eax
push esi
call fcn.00498000
mov edi, dword [esp + 0x18]
jmp 0x401bd9
push 1
push 1
mov al, 1
mov ecx, ebp
push eax
push esi
call fcn.00498000
mov edi, dword [esp + 0x18]
jmp 0x401bd9
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
cmp ebp, 0x100
jne 0x4023eb
mov ebx, dword [esp + 0x78]
cmp edi, 0x1b
je 0x4022f8
cmp edi, 9
je 0x4022f8
cmp edi, 0x41
jne 0x4023eb
mov ebp, dword [esp + 0xbc]
push 0x11
call ebp
bt ax, 0xf
jae 0x4023e3
push 0xa5
call ebp
bt ax, 0xf
jb 0x4023e3
mov edi, dword [esp + 0xa0]
push ebx
call edi
mov ebp, dword [esp + 0x24]
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x10]
jb 0x402328
push ebx
call dword [esp + 0x64]
mov ebx, eax
test ebx, ebx
je 0x40231f
push ebx
call edi
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x10]
jae 0x4023db
mov eax, dword [ebp + 0x18]
mov ecx, esi
shl ecx, 6
add eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4023db
cmp esi, 0x2af8
je 0x4023db
mov esi, eax
test esi, esi
je 0x4023e3
cmp byte [esi + 4], 0xc
jne 0x4023e3
mov edi, dword [esp + 0x3c]
cmp edi, 0x1b
je 0x4023aa
mov al, byte [esi + 5]
cmp edi, 0x41
je 0x40238f
test al, al
jns 0x4023e7
push 0x4f045c
push 1
push 0xc2
push ecx
call dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
test al, 2
jne 0x4023e7
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
cmp dword [ebp + 0x28], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
je 0x401bdd
push 0
push 0x2af80007
push 0x414
push dword [ebp + 4]
call dword [esp + 0x130]
mov edi, dword [esp + 0x18]
jmp 0x401bdd
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [0x5203a8]
test eax, eax
je 0x402611
cmp ebp, 0x100
jne 0x402611
cmp edi, 0xd
jne 0x402420
push 0
push 0
push 0x1116
push eax
call dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
cmp edi, 0x1b
jne 0x402611
push 0
push 1
push 0x1116
push eax
call dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [0x51ead0]
cmp ebp, 0x20a
je 0x402467
cmp ebp, 0x20e
je 0x402467
mov edi, dword [esp + 0x3c]
jmp 0x40261b
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call dword [esp + 0x12c]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [esp + 0x84]
mov edi, dword [esp + 0x60]
mov ebp, eax
push esi
call edi
mov edx, dword [0x51ead0]
xor ecx, ecx
mov ebx, eax
test edx, edx
jle 0x4024b1
mov edi, dword [0x51eacc]
nop
mov eax, dword [edi + ecx*4]
cmp dword [eax + 4], ebx
je 0x402521
inc ecx
cmp ecx, edx
jl 0x4024a0
mov edi, dword [esp + 0x60]
push dword [esp + 0x3c]
push 0xfffffffffffffff0
push dword [esp + 0x3c]
call dword [esp + 0x88]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
call fcn.00401790
add esp, 8
test eax, eax
jne 0x402609
push dword [esp + 0x34]
call edi
mov edx, dword [0x51ead0]
xor ecx, ecx
mov esi, dword [0x51eacc]
test edx, edx
jle 0x402508
mov ebp, dword [esi + ecx*4]
mov dword [esp + 0x24], ebp
cmp dword [ebp + 4], eax
je 0x402585
inc ecx
cmp ecx, edx
jl 0x4024f3
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x402621
test eax, eax
je 0x4024ad
cmp esi, dword [esp + 0x34]
jne 0x402550
push dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push ebp
call fcn.00401790
add esp, 8
test eax, eax
jne 0x4024ad
cmp esi, dword [esp + 0x34]
je 0x4024ad
push dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push ebp
call fcn.00401790
add esp, 8
test eax, eax
je 0x4024ad
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push esi
call dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
test ebp, ebp
je 0x402510
nop dword [eax]
push dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
push dword [ebp + 0x3c]
mov ecx, dword [ebp + 4]
call fcn.00401790
add esp, 8
test eax, eax
jne 0x4025ed
push dword [ebp + 4]
call edi
mov edx, dword [0x51ead0]
xor ecx, ecx
mov esi, dword [0x51eacc]
test edx, edx
jle 0x402508
mov ebp, dword [esi + ecx*4]
mov dword [esp + 0x24], ebp
cmp dword [ebp + 4], eax
je 0x4025db
inc ecx
cmp ecx, edx
jl 0x4025c5
jmp 0x402508
test ebp, ebp
jne 0x402590
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x402621
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [ebp + 4]
call dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov edx, dword [0x51ead0]
mov ecx, dword [esp + 0x34]
mov esi, dword [0x51eacc]
xor ebx, ebx
test edx, edx
jle 0x4026a5
nop word [eax + eax]
mov eax, dword [esi + ebx*4]
lea edi, [esi + ebx*4]
cmp dword [eax + 0x10], 0
jne 0x402644
cmp ebp, 0x106
je 0x402690
mov ecx, dword [0x51b98c]
mov byte [ecx + 0xe8], 1
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xe4], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [edi]
push dword [eax + 4]
call dword [esp + 0xec]
test eax, eax
jne 0x404277
mov eax, dword [0x51b98c]
mov edx, dword [0x51ead0]
mov esi, dword [0x51eacc]
mov byte [eax + 0xe8], 0
mov ebp, dword [esp + 0x38]
inc ebx
cmp ebx, edx
jl 0x402630
mov ecx, dword [esp + 0x34]
jmp 0x4026a1
mov esi, dword [0x51eacc]
mov edi, dword [esp + 0x3c]
cmp ebp, 0x400
ja 0x4028c5
je case.0x4028db.1025
cmp ebp, 0x100
ja 0x40271f
je 0x4026fa
cmp ebp, 0x12
je 0x4026e3
cmp ebp, 0x4b
jne case.0x4028db.1027
mov edi, dword [esp + 0x18]
mov dword [0x51eab8], 0
mov byte [esp + 0x50], 1
jmp 0x401bd9
push 0
push 4
mov ecx, 0x520c68
call fcn.0042dff0
mov edi, dword [esp + 0x18]
jmp 0x401bd9
cmp ecx, dword [0x51eab4]
jne case.0x4028db.1027
cmp edi, 0x1b
jne case.0x4028db.1027
push 0
push dword [0x51ead8]
call dword [esp + 0xac]
mov edi, dword [esp + 0x18]
jmp 0x401bd9
cmp ebp, 0x113
je 0x4027b1
cmp ebp, 0x312
je case.0x4028db.1026
call dword [esp + 0xdc]
mov esi, eax
test esi, esi
je 0x40429b
push 0
push esi
call dword [esp + 0xe8]
cmp eax, dword [0x5203dc]
jne 0x40429b
push 0x20
lea eax, [esp + 0x244]
push eax
push esi
call dword [esp + 0xc0]
mov ecx, str.32770
lea eax, [esp + 0x240]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404220
test dx, dx
je 0x4027aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404220
add eax, 4
add ecx, 4
test dx, dx
jne 0x402780
xor eax, eax
jmp 0x404225
cmp dword [esp + 0x40], 0
jne case.0x4028db.1027
cmp ecx, dword [0x51ead8]
jne case.0x4028db.1027
cmp dword [0x51f638], 0
je 0x4027d6
call fcn.00404850
cmp dword [0x52172c], 0
je 0x402801
call fcn.004044d0
mov edx, dword [esp + 0x80]
test al, al
movzx ebx, dl
mov eax, 1
cmovne ebx, eax
mov dword [esp + 0x80], ebx
jmp 0x402808
mov ebx, dword [esp + 0x80]
cmp dword [esp + 0xb0], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
je 0x401be1
cmp edi, 1
jl 0x401be1
call esi
cmp byte [esp + 0x22], 0
jne 0x402848
mov ecx, dword [esp + 0x9c]
sub ecx, eax
add ecx, edi
cmp ecx, 5
jg 0x401bdd
xor ecx, ecx
mov dword [0x521780], eax
cmp byte [esp + 0x51], cl
xorps xmm0, xmm0
mov dword [0x521784], eax
movzx eax, byte [0x51e997]
cmovne eax, ecx
movlpd qword [0x521770], xmm0
mov byte [0x51e997], al
cmp byte [esp + 0x52], cl
je 0x4028bb
sub dword [0x51eadc], 1
jne 0x4028bb
cmp dword [0x52172c], ecx
jne 0x4028bb
cmp dword [0x51f638], ecx
jne 0x4028bb
cmp byte [0x51e996], cl
je 0x4028bb
push 9
push dword [0x51ead8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x51e996]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x51e996], cl
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x401]
cmp eax, 0x1d
ja case.0x4028db.1027
movzx eax, byte [eax + 0x4043b4]
jmp dword [eax*4 + 0x4043a8]
test ecx, ecx
je case.0x4028db.1026
cmp ecx, dword [0x51ead8]
jne case.0x4028db.1027
lea eax, [ebp - 0x401]
mov dword [esp + 0x88], 0
cmp eax, 0x1d
ja case.0x402913.1027
movzx eax, byte [eax + 0x4043f0]
jmp dword [eax*4 + 0x4043d4]
xor eax, eax
test edx, edx
jle 0x402933
mov ebx, dword [esi + eax*4]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebx + 4]
cmp ebx, ecx
je 0x402940
inc eax
cmp eax, edx
jl 0x402920
mov dword [esp + 0x24], 0
jmp case.0x4028db.1027
cmp dword [esp + 0x24], 0
je case.0x4028db.1027
mov ecx, dword [esp + 0x24]
mov eax, 0x2af8
movzx edx, di
shr edi, 0x10
cmp edx, 8
mov esi, edi
mov dword [esp + 0x5c], edx
cmove esi, eax
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x40]
cmovne eax, dword [esp + 0x30]
mov edx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
cmp eax, 8
mov dword [esp + 0xd4], esi
cmovne edi, dword [esp + 0x40]
mov dword [esp + 0x78], edx
cmp esi, dword [ecx + 0x10]
jae 0x4029a1
shl esi, 6
add esi, dword [ecx + 0x18]
jmp 0x4029a3
xor esi, esi
add eax, 0xfffffffb
mov dword [esp + 0x54], esi
mov dword [esp + 0x84], 0
mov byte [esp + 0x23], 0
cmp eax, 4
ja case.default.0x4029c3
jmp dword [eax*4 + 0x404410]
mov esi, dword [ecx + 0x2c]
mov dword [esp + 0x1c], edi
test esi, esi
je 0x402189
lea eax, [ecx + 0x3a]
jmp 0x402a14
mov esi, dword [ecx + 0x24]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
test esi, esi
je 0x402189
lea eax, [ecx + 0x38]
jmp 0x402a14
mov esi, dword [ecx + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
test esi, esi
je 0x402189
lea eax, [ecx + 0x39]
mov dword [esp + 0x84], eax
mov dword [esp + 0x1c], edi
test eax, eax
je 0x402b3c
cmp byte [eax], 0
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], edx
jne 0x401bd9
xor ebx, ebx
mov dword [esp + 0x30], edx
jmp 0x402ecc
mov esi, dword [ecx + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
test esi, esi
je 0x402189
mov dword [esp + 0x1c], edi
xor ebx, ebx
mov dword [esp + 0x30], edx
jmp 0x402ecc
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov esi, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x68]
mov dword [esp + 0x88], ebx
test esi, esi
je 0x402ab7
mov dword [esp + 0x1c], edi
test ebx, ebx
je 0x402aca
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [esp + 0x10c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x402ab7
mov edx, dword [esp + 0x78]
xor ebx, ebx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x30], edx
jmp 0x402ecc
test ebx, ebx
je 0x402aca
push ebx
call dword [esp + 0x9c]
mov dword [ebp + 0x68], 0
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
jmp 0x401bd9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
test esi, esi
je 0x402189
mov eax, dword [esp + 0x54]
mov esi, dword [esi + 0xc]
mov al, byte [eax + 5]
test esi, esi
jne 0x402b23
test al, 1
je 0x402b12
test ebx, ebx
je 0x402b12
push esi
push ebx
call dword [esp + 0xac]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], edx
jmp 0x401bd9
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edx
test al, 4
jne 0x402189
mov byte [esp + 0x23], 1
mov dword [esp + 0x1c], edi
xor ebx, ebx
mov dword [esp + 0x30], edx
jmp 0x402ecc
test edi, edi
je 0x402b82
xor eax, eax
test edx, edx
jle 0x402b62
mov ebx, dword [esi + eax*4]
mov dword [esp + 0x24], ebx
cmp dword [ebx + 4], edi
je 0x402b7c
inc eax
cmp eax, edx
jl 0x402b51
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x402b8a
cmp ecx, dword [0x51ead8]
jne case.0x4028db.1027
jmp 0x402b8a
test ebx, ebx
jne 0x402b8a
jmp 0x402b6a
mov dword [esp + 0x24], 0
mov ecx, dword [0x521730]
test ecx, ecx
je 0x402bc7
mov eax, dword [esp + 0x40]
nop dword [eax + eax]
mov edi, dword [ecx + 4]
mov dword [esp + 0x68], edi
test edi, edi
je 0x402bc0
nop dword [eax + eax]
cmp dword [edi + 0x14], eax
je 0x402bd6
mov edi, dword [edi + 0x20]
mov dword [esp + 0x68], edi
test edi, edi
jne 0x402bb0
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x402ba0
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x68], eax
jmp 0x401bd9
mov esi, dword [edi + 8]
test esi, esi
je 0x402189
mov ebx, dword [edi + 0x18]
jmp 0x402ed0
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp edi, dword [0x51f634]
jae 0x401bcd
mov eax, dword [0x51f630]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x74], eax
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x402c45
mov edx, dword [eax + 4]
call fcn.00414360
mov edi, dword [esp + 0x18]
mov ebp, eax
mov dword [esp + 0x64], ebp
test ebp, ebp
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x14]
je 0x401be1
mov ebp, dword [esp + 0x74]
mov ecx, dword [ebp + 0x10]
mov cl, byte [ecx]
cmp cl, 1
je 0x402c53
cmp cl, 3
je 0x402c53
xor ebp, ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x74]
push dword [esp + 0x40]
mov ecx, ebp
call fcn.00417080
cmp dword [ebp + 0xc], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jne 0x401bdd
cmp byte [ebp + 0x2a], 0
je 0x402c7d
mov ax, word [esp + 0x40]
jmp 0x402c7f
xor eax, eax
mov word [0x521744], ax
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [esp + 0x38]
jmp 0x402ecc
cmp byte [0x521718], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jne 0x401bdd
mov esi, dword [0x52170c]
test esi, esi
cmove esi, dword [0x5212b8]
xor ebx, ebx
jmp 0x402ecc
mov ecx, edi
call fcn.00453540
mov edi, dword [esp + 0x18]
mov esi, eax
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x70], esi
test esi, esi
je 0x401bd3
mov esi, dword [esi + 8]
xor ebx, ebx
mov ebp, dword [esp + 0x38]
mov esi, dword [esi + 0x35c]
jmp 0x402ecc
mov esi, dword [0x51eac8]
mov dword [esp + 0x70], esi
test esi, esi
je 0x402189
cmp esi, edi
je 0x402d1a
mov esi, dword [esi + 4]
mov dword [esp + 0x70], esi
test esi, esi
jne 0x402d02
mov edi, dword [esp + 0x18]
jmp 0x401bd9
mov esi, dword [esi + 8]
cmp ebp, 0x41c
jne 0x402d2d
mov esi, dword [esi + 0x360]
jmp 0x402d43
cmp ebp, 0x41e
jne 0x402d3d
mov esi, dword [esi + 0x368]
jmp 0x402d43
mov esi, dword [esi + 0x364]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x401bd9
xor ebx, ebx
jmp 0x402ecc
mov esi, dword [esp + 0x10]
mov eax, edi
and eax, 0x7fff
cmp ax, word [0x51f64c]
jae 0x4023d2
mov ecx, eax
shr edi, 0x10
mov eax, dword [0x51f63c]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0xac], edx
test di, di
je 0x402db9
mov esi, dword [edx + 0x20]
add edi, 0xffff
mov dword [esp + 0x8c], esi
test di, di
je 0x402db5
nop dword [eax]
mov esi, dword [esi + 8]
add edi, 0xffff
test di, di
jne 0x402da0
mov dword [esp + 0x8c], esi
test esi, esi
jne 0x402e0c
cmp ebp, 0x400
jne 0x402dd1
mov eax, dword [esp + 0x40]
mov ecx, 0xffc3d44d
shr eax, 0x10
sub ecx, eax
jmp 0x402dd3
xor ecx, ecx
push 0
push ecx
lea eax, [esp + 0x74]
mov ecx, edx
push eax
call fcn.00414cb0
mov esi, eax
mov dword [esp + 0x8c], esi
test esi, esi
jne 0x402e00
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x64], ebp
jmp 0x401bd9
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [0x52318c]
mov edx, dword [esi]
test al, 1
jne 0x402e30
or dword [0x52318c], 1
mov ecx, 0x523190
push 0
push 0
call fcn.0042c320
mov ebp, dword [esp + 0x38]
mov eax, dword [0x5212b8]
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x402e43
cmp ecx, dword [0x523190]
jne 0x402e4e
mov eax, dword [edx + 8]
test eax, eax
je 0x402e4e
mov cl, byte [eax]
jmp 0x402e50
xor cl, cl
mov al, byte [esi + 0x16]
cmp al, byte [esi + 0x17]
jb 0x402e9a
cmp cl, 0xe2
je 0x402e9a
cmp cl, 0xce
je 0x402e9a
cmp cl, 0xdc
je 0x402e9a
cmp cl, 0xdd
je 0x402e9a
cmp cl, 0xd8
je 0x402e9a
cmp cl, 0xd9
je 0x402e9a
cmp cl, 0xda
je 0x402e9a
cmp cl, 0xdb
je 0x402e9a
cmp byte [esi + 0x1a], 0
je 0x402e8a
mov byte [esi + 0x1b], 1
call dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x401bd9
mov eax, dword [esi + 4]
test eax, eax
je 0x402eb6
mov al, byte [eax]
cmp al, 2
je 0x402eb6
cmp al, 4
je 0x402eb6
cmp al, 5
jb 0x402ec0
mov eax, dword [0x51eac4]
jmp 0x402eb8
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x8c]
mov esi, dword [esi]
mov ebx, dword [ebx + 0x10]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [0x52318c]
test al, 1
jne 0x402efa
or dword [0x52318c], 1
mov ecx, 0x523190
push 0
push 0
call fcn.0042c320
mov ebp, dword [esp + 0x38]
mov eax, dword [0x5212b8]
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x402f0d
cmp ecx, dword [0x523190]
jne 0x402f1a
mov eax, esi
mov eax, dword [eax + 8]
test eax, eax
je 0x402f1a
mov cl, byte [eax]
jmp 0x402f1c
xor cl, cl
mov edx, dword [0x51eac0]
mov eax, dword [0x51b988]
mov byte [esp + 0xd0], cl
cmp edx, eax
jl 0x402fad
add eax, 2
cmp edx, eax
jge 0x402f61
cmp cl, 0xe2
je 0x402fad
cmp cl, 0xce
je 0x402fad
cmp cl, 0xdc
je 0x402fad
cmp cl, 0xdd
je 0x402fad
cmp cl, 0xd8
je 0x402fad
cmp cl, 0xd9
je 0x402fad
cmp cl, 0xda
je 0x402fad
cmp cl, 0xdb
je 0x402fad
mov eax, dword [esp + 0x88]
test eax, eax
je 0x402f83
push eax
call dword [esp + 0x9c]
mov edi, dword [esp + 0x24]
mov dword [edi + 0x68], 0
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
cmp ebp, 0x41b
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jne 0x401be1
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401bdd
mov eax, dword [0x51b98c]
cmp ebx, dword [eax + 0x2c]
jge 0x403003
mov eax, dword [esp + 0x88]
test eax, eax
je 0x402fd9
push eax
call dword [esp + 0x9c]
mov edi, dword [esp + 0x24]
mov dword [edi + 0x68], 0
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
cmp ebp, 0x41b
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jne 0x401be1
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401bdd
lea eax, [ebp - 0x402]
mov byte [esp + 0x80], 1
cmp eax, 0x1c
ja case.0x40301d.1027
movzx eax, byte [eax + 0x404430]
jmp dword [eax*4 + 0x404424]
push 0x104
push dword [edi]
push 0x5212c0
call fcn.004d95fc
xor eax, eax
add esp, 0xc
mov word [0x5214c8], ax
mov eax, dword [edi + 0x10]
push 0x104
push dword [eax]
push 0x5214ca
call fcn.004d95fc
add esp, 0xc
mov dword [0x5212bc], edi
xor eax, eax
mov word [0x5216d2], ax
jmp case.0x40301d.1044
mov eax, dword [0x5216d4]
mov dword [0x5216d8], eax
mov eax, dword [0x52173c]
mov dword [0x521740], eax
cmp ebp, 0x401
jne 0x40308c
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
jmp 0x403096
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0x1c]
mov dword [0x5216d4], eax
call dword [esp + 0x10]
mov dword [0x52173c], eax
mov edi, dword [0x51eabc]
cmp byte [edi + 0x17], 0
jne 0x4030b3
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x4030c0
mov ecx, edi
call fcn.00401490
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x4030d8
test byte [edi + 0x15], 4
je 0x4030d3
push edi
call fcn.0044e530
mov ecx, dword [edi + 8]
jmp 0x403129
cmp al, 2
jne 0x403124
mov ecx, dword [0x5217d4]
test ecx, ecx
jne 0x403129
mov ebp, dword [esp + 0xa8]
push 0xd
call ebp
test eax, eax
jne 0x40310a
push 0xf
call ebp
test eax, eax
mov ecx, 0x4f03dc
mov eax, 0x4f03e8
cmove ecx, eax
jmp 0x403129
push 0
call fcn.004066a0
mov edx, 0x4f03e8
cmp eax, 0xffffffff
mov ecx, edx
cmovne ecx, dword [0x5217d0]
jmp 0x403129
mov ecx, 0x5203c8
push 0x7f
push ecx
lea eax, [esp + 0x288]
push eax
call fcn.004d95fc
add esp, 0xc
xor eax, eax
xor dl, dl
mov word [esp + 0x37e], ax
mov ecx, ebx
push dword [esp + 0xd0]
push 1
call fcn.00404e10
mov ebp, dword [0x51b98c]
add esp, 8
call dword [esp + 0x10]
mov dword [0x521784], eax
mov dword [0x521780], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x403188.1027
movzx eax, byte [eax + 0x404470]
jmp dword [eax*4 + 0x404450]
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov word [esp + 0x1b8], ax
mov eax, edx
inc edx
add eax, eax
cmp byte [esp + 0x23], 0
mov dword [esp + 0x28], edx
je 0x4031b9
mov ecx, dword [edi]
jmp 0x4031bc
mov ecx, dword [ebx + 4]
mov dword [esp + eax*8 + 0x158], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + eax*8 + 0x160], 1
mov dword [esp + eax*8 + 0x15c], 0
lea eax, [ecx - 5]
cmp eax, 4
ja case.default.0x4031e9
jmp dword [eax*4 + 0x404490]
xor edx, edx
cmp dword [esp + 0x1c], edx
mov dword [esp + 0x1c], 0
sete dl
lea edx, [edx*2 + 1]
mov dword [ebp + 0x34], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
test edi, edi
je 0x4033c7
cmp dword [esp + 0x78], 0
je 0x403342
movzx eax, byte [edi + 4]
add eax, 0xfffffff7
mov dword [esp + 0xc0], connect
cmp eax, 8
ja case.0x403247.12
jmp dword [eax*4 + 0x4044a4]
push 0
push 0
push 0x19f
push dword [edi]
call dword [esp + 0x3c]
cmp eax, 0xffffffff
je case.0x403247.12
lea ecx, [esp + 0xc0]
push ecx
push eax
push 0x198
jmp 0x4032db
push 1
push 0xffffffffffffffff
push 0x100c
push dword [edi]
call dword [esp + 0x3c]
cmp eax, 0xffffffff
je case.0x403247.12
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 2
push ecx
push eax
push 0x100e
jmp 0x4032db
push 0
push 9
push 0x110a
push dword [edi]
call dword [esp + 0x3c]
test eax, eax
je case.0x403247.12
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xc0]
push eax
push 1
push 0x1104
jmp 0x4032db
lea eax, [esp + 0xc0]
push eax
push 0
push 0x419
push dword [edi]
call dword [esp + 0x3c]
cmp dword [esp + 0xc0], 0x80000000
lea ecx, [esp + 0xc0]
mov eax, dword [edi]
jne 0x403302
push ecx
push eax
call dword [esp + 0x9c]
jmp 0x40330f
push 2
push ecx
push 0
push eax
call dword [esp + 0x110]
mov eax, dword [esp + 0xc0]
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xc4]
mov eax, eax
test eax, eax
jns 0x403330
add eax, 1
sar eax, 1
add eax, 2
add eax, dword [esp + 0xc4]
mov dword [ebp + 0x40], eax
mov edx, dword [ebp + 0x34]
movzx eax, byte [edi + 4]
sub eax, 9
je 0x4033b3
sub eax, 1
je 0x4033a8
sub eax, 1
jne 0x4033c7
cmp edx, 1
jne 0x40336a
push eax
push 9
push 0x110a
push dword [edi]
call dword [esp + 0x3c]
jmp 0x4033c3
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1d8], eax
lea eax, [esp + 0x1d8]
push eax
push dword [edi]
mov dword [esp + 0x1e4], ecx
call dword [esp + 0x10c]
lea eax, [esp + 0x1d8]
push eax
push 0
push 0x1111
push dword [edi]
call dword [esp + 0x3c]
jmp 0x4033c3
push 1
push 0xffffffffffffffff
push 0x100c
jmp 0x4033bc
push 0
push 0
push 0x19f
push dword [edi]
call dword [esp + 0x3c]
inc eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x200]
push eax
push dword [ebx + 4]
call dword [esp + 0x9c]
mov eax, dword [esp + 0x200]
sub dword [ebp + 0x3c], eax
mov edx, dword [esp + 0x28]
mov ecx, edx
mov eax, dword [esp + 0x204]
add ecx, ecx
sub dword [ebp + 0x40], eax
test edi, edi
je 0x403414
mov eax, dword [edi]
mov dword [esp + ecx*8 + 0x158], eax
mov eax, 1
mov dword [esp + ecx*8 + 0x15c], 0
jmp 0x403421
mov dword [esp + ecx*8 + 0x158], 0x4f03e8
xor eax, eax
mov dword [esp + ecx*8 + 0x160], eax
lea edi, [edx + 2]
mov eax, dword [esp + 0x1c]
lea ebx, [edx + 4]
mov dword [esp + ecx*8 + 0x168], eax
add edi, edi
mov dword [esp + ecx*8 + 0x170], 1
mov dword [esp + ecx*8 + 0x16c], 0
xor ecx, ecx
mov eax, dword [ebp + 0x34]
cmp eax, 3
mov dword [esp + edi*8 + 0x160], 1
mov dword [esp + edi*8 + 0x15c], 0
sete cl
mov dword [esp + edi*8 + 0x158], ecx
lea ecx, [esp + 0x158]
mov eax, dword [ebp + 0x3c]
cdq
mov dword [esp + edi*8 + 0x168], eax
mov eax, ebx
shl eax, 4
add ecx, eax
mov dword [esp + edi*8 + 0x16c], edx
mov dword [esp + edi*8 + 0x170], 1
lea eax, [ebx + 1]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x40]
cdq
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x23], 0
je 0x403965
mov ebx, dword [esp + 0x54]
cmp byte [ebx + 4], 0x17
jne 0x403965
push 0x10b0
lea eax, [esp + 0x38c]
push 0
push eax
call fcn.004cc590
add esp, 0xc
mov dword [esp + 0x380], 0xd
lea eax, [edi - 1]
mov dword [esp + 0x384], eax
lea eax, [esp + 0x380]
push eax
push 0
push 0x703
push dword [ebx]
call dword [esp + 0x3c]
test eax, eax
je 0x403a10
cmp word [esp + 0x3f0], 0
lea ecx, [esp + 0x390]
push 1
push 0
lea eax, [esp + 0x3f8]
cmove eax, ecx
mov ecx, dword [0x51eabc]
push 0xffffffffffffffff
push eax
call fcn.004b3e10
mov ecx, dword [esp + 0x28]
lea ebx, [esp + 0x158]
mov edi, dword [0x51eabc]
mov eax, ecx
shl eax, 4
inc ecx
add ebx, eax
mov dword [esp + 0x28], ecx
cmp byte [edi + 0x17], 0
jne 0x40357b
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x403588
mov ecx, edi
call fcn.00401490
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x4038f0
test byte [edi + 0x15], 4
je 0x40359f
push edi
call fcn.0044e530
mov ecx, dword [edi + 8]
mov dword [ebx + 8], 0
mov dword [ebx], ecx
jmp 0x403a10
mov dword [ebp + 0x34], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0x210]
push eax
mov dword [ebp + 0x40], ecx
push dword [ebx + 4]
call dword [esp + 0x9c]
mov eax, dword [esp + 0x210]
sub dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x214]
sub dword [ebp + 0x40], eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [esp + 0x84]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [esp + 0xe4]
mov ebx, dword [esp + 0x28]
mov edi, ebx
mov ecx, dword [esp + 0x88]
shl edi, 4
call fcn.00489b30
lea ecx, [esp + 0x168]
mov dword [esp + edi + 0x158], eax
mov eax, dword [esp + 0x54]
add ecx, edi
mov dword [esp + edi + 0x160], 6
test eax, eax
je 0x40364d
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 4], 0
jmp 0x403655
mov dword [ecx], 0x4f03e8
xor eax, eax
mov dword [ecx + 8], eax
lea edi, [ebx + 2]
mov ecx, dword [esp + 0x24]
add edi, edi
mov eax, dword [ebp + 0x3c]
cmp byte [ecx + 0xc8], 0
je 0x403681
push dword [0x520c54]
push 0x60
push eax
call dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
cdq
mov dword [esp + edi*8 + 0x158], eax
lea eax, [ebx + 4]
mov dword [esp + edi*8 + 0x160], 1
mov dword [esp + edi*8 + 0x15c], edx
cmp byte [ecx + 0xc8], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x40]
je 0x4036be
push dword [0x520c54]
push 0x60
push eax
call dword [esp + 0x9c]
cdq
mov dword [esp + edi*8 + 0x170], 1
mov dword [esp + edi*8 + 0x168], eax
mov dword [esp + edi*8 + 0x16c], edx
jmp 0x4034bb
mov dword [ebp + 0x34], 1
cmp ecx, 8
jne 0x4034c3
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x168]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
shl eax, 4
mov dword [ebp + 0x3c], edx
add edi, eax
mov dword [esp + eax + 0x160], 1
mov dword [esp + eax + 0x158], ecx
mov dword [esp + eax + 0x15c], 0
cmp byte [ebx + 0xc8], 0
movzx eax, dx
je 0x403741
push dword [0x520c54]
push 0x60
push eax
call dword [esp + 0x9c]
mov ecx, dword [esp + 0x28]
cdq
mov dword [edi], eax
mov eax, ecx
mov dword [edi + 8], 1
add ecx, 3
mov dword [edi + 4], edx
lea edi, [esp + 0x178]
shl eax, 4
add edi, eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x30]
shr eax, 0x10
cmp byte [ebx + 0xc8], 0
je 0x403787
push dword [0x520c54]
push 0x60
push eax
call dword [esp + 0x9c]
cdq
mov dword [edi + 8], 1
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x4034bb
mov al, byte [edi + 4]
cmp al, 0xa
je 0x40380a
cmp al, 0x19
jne 0x4037e0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0x220]
push eax
mov dword [ebp + 0x40], ecx
push dword [ebx + 4]
call dword [esp + 0x9c]
mov eax, dword [esp + 0x220]
sub dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x224]
sub dword [ebp + 0x40], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x34], ecx
mov ecx, edx
shl ecx, 4
lea edx, [esp + 0x158]
add edx, ecx
cmp eax, 5
jae 0x4038a4
mov eax, dword [eax*4 + 0x51268c]
jmp 0x4038b2
cmp cl, 0x49
jne 0x4037e0
lea eax, [esp + 0x1b8]
test ecx, 0x100
je 0x403825
mov eax, 0x53
jmp 0x403832
test ecx, 0x200
je 0x403841
mov eax, 0x73
mov word [esp + 0x1b8], ax
lea eax, [esp + 0x1ba]
test ecx, 0x400
je 0x403850
mov ebx, 0x46
jmp 0x40385d
test ecx, 0x800
je 0x403863
mov ebx, 0x66
mov word [eax], bx
add eax, 2
test ecx, 0x1000
je 0x403872
mov ecx, 0x43
jmp 0x40387f
test ecx, 0x2000
je 0x403885
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 + 0x158]
mov dword [esp + 0x5c], eax
mov dword [ebp + 0x34], eax
add edx, ecx
movzx eax, al
mov word [0x522c64], ax
mov eax, 0x522c64
mov edi, dword [esp + 0x1c]
mov dword [edx + 8], 0
mov dword [edx], eax
mov edx, dword [esp + 0x28]
add edx, 2
mov dword [esp + ecx + 0x170], 1
mov dword [esp + ecx + 0x168], edi
mov dword [esp + ecx + 0x16c], 0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
jmp 0x4034c7
cmp al, 2
jne 0x403952
mov ecx, dword [0x5217d4]
test ecx, ecx
jne 0x403957
mov edi, dword [esp + 0xa8]
push 0xd
call edi
test eax, eax
jne 0x40392e
push 0xf
call edi
test eax, eax
mov dword [ebx + 8], 0
mov ecx, 0x4f03dc
mov eax, 0x4f03e8
cmove ecx, eax
mov dword [ebx], ecx
jmp 0x403a10
push 0
call fcn.004066a0
cmp eax, 0xffffffff
mov dword [ebx + 8], 0
mov ecx, 0x4f03e8
cmovne ecx, dword [0x5217d0]
mov dword [ebx], ecx
jmp 0x403a10
mov ecx, 0x5203c8
mov dword [ebx + 8], 0
mov dword [ebx], ecx
jmp 0x403a10
cmp word [esp + 0x1b8], 0
je 0x403992
mov eax, edx
add eax, eax
inc edx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1b8]
mov dword [esp + eax*8 + 0x160], 0
mov dword [esp + eax*8 + 0x158], edx
cmp ecx, 8
je 0x4039b7
cmp ecx, 5
je 0x4039b7
mov ecx, dword [0x51eabc]
lea eax, [esp + 0x1b8]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004b3e10
jmp 0x403a10
mov edi, dword [0x51eabc]
cmp byte [edi + 0x17], 0
jne 0x4039c6
mov edi, dword [edi + 0xc]
mov al, byte [edi + 0x15]
test al, 2
je 0x4039dd
and al, 0x3d
mov byte [edi + 0x15], al
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [edi + 0x15]
mov ecx, dword [esp + 0x1c]
and al, 0x9b
or al, 0x18
mov dword [edi], ecx
mov dword [edi + 4], 0
mov byte [edi + 0x15], al
jge 0x403a00
mov ecx, edi
call fcn.00401490
and byte [edi + 0x15], 0x8f
jmp 0x403a10
cmp dword [0x51eae4], 0
je 0x403a10
mov ecx, edi
call fcn.00401490
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp + 0xc4], eax
add dword [ecx + 0x20], 2
mov eax, dword [esp + 0xd4]
mov dword [ebp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x38], eax
test edi, edi
je 0x403b34
mov byte [edi], 1
mov ebx, dword [esp + 0x54]
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d388]
jne 0x403a67
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x403a7c
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
push 0
add ecx, 0xc
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x30]
mov dword [0x51d384], ecx
lea eax, [esp + 0x164]
push eax
mov dword [ecx], 0
mov edx, esi
mov dword [ecx + 4], 0x4f03f8
mov dword [ecx + 8], 0
mov ecx, esi
push str.call
call fcn.0049bbf0
mov ebp, dword [esp + 0x38]
add esp, 0x14
sub dword [0x51d384], 0xc
cmp dword [ebp + 4], 0
je 0x403b9a
mov eax, dword [esp + 0x5c]
test edi, edi
je 0x403b4c
mov byte [edi], 0
cmp eax, 6
jne 0x403b57
cmp dword [esp + 0x108], 0
jne 0x403b9a
mov eax, dword [0x52318c]
test al, 1
jne 0x403b12
push 0
or eax, 1
mov ecx, 0x523190
push 0
mov dword [0x52318c], eax
call fcn.0042c320
mov eax, dword [0x5212b8]
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x403b21
test esi, esi
jne 0x403b9a
mov eax, dword [ebp + 4]
test eax, eax
je 0x403b9a
push 0
push eax
call dword [esp + 0xac]
jmp 0x403b9a
cmp byte [esp + 0x23], 0
je 0x403a4a
mov ebx, dword [esp + 0x54]
or byte [ebx + 5], 4
jmp 0x403a4e
cmp byte [esp + 0x23], 0
je 0x403b57
and byte [ebx + 5], 0xfb
cmp eax, 5
jne 0x403b9a
mov eax, dword [esp + 0x168]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [esp + 0x88]
call dword [esp + 0x9c]
push 0xffffffffffffffec
push dword [ebp + 4]
mov dword [ebp + 0x68], 0
call dword [esp + 0x84]
or eax, 0x10
push eax
push 0xffffffffffffffec
push dword [ebp + 4]
call dword [esp + 0xe4]
add dword [ebp + 0x20], 0xffffffff
jne 0x4041b4
push dword [ebp]
call fcn.004cfed0
add esp, 4
push 0xd8
push ebp
call fcn.004ca825
add esp, 8
jmp 0x4041b4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x403be4
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, 0x520c68
mov dword [esp + 0x130], 0
mov dword [esp + 0x128], 0x5212c0
call fcn.00466cd0
mov ecx, dword [0x51d384]
inc eax
mov dword [esp + 0x140], 1
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x148], 0x5214ca
cmp ecx, dword [0x51d388]
jne 0x403c51
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x403c66
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
add ecx, 0xc
lea eax, [esp + 0x128]
push 0
push 0
mov dword [0x51d384], 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.0049bbf0
sub dword [0x51d384], 0xc
add esp, 0x14
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4041b4
jmp 0x403b9a
mov eax, dword [esp + 0x64]
mov dword [ebp + 0xc4], eax
mov eax, dword [esp + 0x74]
mov al, byte [eax + 0x21]
mov byte [ebp + 0xf6], al
mov ebp, dword [esp + 0x74]
mov eax, dword [0x52318c]
mov edx, dword [ebp]
test al, 1
jne 0x403cf7
push 0
or eax, 1
mov ecx, 0x523190
push 0
mov dword [0x52318c], eax
call fcn.0042c320
mov eax, dword [0x5212b8]
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x403d0a
cmp ecx, dword [0x523190]
jne 0x403d15
mov eax, dword [edx + 8]
test eax, eax
je 0x403d15
mov cl, byte [eax]
jmp 0x403d17
xor cl, cl
mov al, byte [ebp + 0x24]
cmp al, byte [ebp + 0x25]
jb 0x403d4b
cmp cl, 0xe2
je 0x403d4b
cmp cl, 0xce
je 0x403d4b
cmp cl, 0xdc
je 0x403d4b
cmp cl, 0xdd
je 0x403d4b
cmp cl, 0xd8
je 0x403d4b
cmp cl, 0xd9
je 0x403d4b
cmp cl, 0xda
je 0x403d4b
cmp cl, 0xdb
jne 0x4041b4
mov byte [0x521746], 0
inc byte [ebp + 0x24]
mov ecx, dword [0x51d384]
mov esi, dword [0x5216d4]
cmp ecx, dword [0x51d388]
jne 0x403d74
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x403d89
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
add ecx, 0xc
push 0
push 0
mov dword [0x51d384], ecx
push 0
mov dword [ecx], 0
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0
mov ecx, dword [ebp]
mov edx, ecx
push 0
push str.call
call fcn.0049bbf0
sub dword [0x51d384], 0xc
add esp, 0x14
dec byte [ebp + 0x24]
jmp 0x4041b4
call dword [esp + 0x10c]
test eax, eax
je 0x403df9
mov ebx, dword [esp + 0xa8]
push 0xd
call ebx
test eax, eax
jne 0x403df2
push 0xf
call ebx
test eax, eax
jne 0x403df2
lea edi, [eax + 2]
jmp 0x403dfb
mov edi, 1
jmp 0x403dfb
xor edi, edi
mov esi, dword [0x51eabc]
mov dword [ebp + 0x38], edi
cmp byte [esi + 0x17], 0
jne 0x403e0d
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x403e24
and al, 0x3d
mov byte [esi + 0x15], al
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [esi + 0x15]
and al, 0x9b
mov dword [esi], edi
or al, 0x18
mov dword [esi + 4], 0
mov byte [esi + 0x15], al
jge 0x403e43
mov ecx, esi
call fcn.00401490
and byte [esi + 0x15], 0x8f
jmp 0x403e53
cmp dword [0x51eae4], 0
je 0x403e53
mov ecx, esi
call fcn.00401490
mov eax, dword [ebp + 0x38]
mov ecx, dword [0x51d384]
mov dword [esp + 0x1f0], 1
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov byte [0x521718], 1
cmp ecx, dword [0x51d388]
jne 0x403e93
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x403ea8
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
add ecx, 0xc
mov dword [0x51d384], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0x4f0460
mov dword [ecx + 8], 0
mov esi, dword [0x52170c]
test esi, esi
je 0x403f4c
mov eax, dword [0x51b98c]
mov edi, dword [eax + 0xbc]
mov dword [eax + 0xbc], esi
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d388]
jne 0x403ef9
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x403f0e
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
add ecx, 0xc
mov dword [0x51d384], 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.00442fb0
mov eax, dword [0x51b98c]
sub dword [0x51d384], 0xc
mov dword [eax + 0xbc], edi
mov esi, dword [0x52170c]
cmp dword [esp + 0x3c], 0
jne 0x403f6f
xor eax, eax
mov ecx, 0x5216ec
test esi, esi
sete al
push eax
push 1
lea eax, [esp + 0x1f0]
push eax
call fcn.0049f450
sub dword [0x51d384], 0xc
mov byte [0x521718], 0
jmp 0x4041b4
mov ebp, dword [esp + 0x70]
mov ecx, dword [0x51d384]
mov dword [esp + 0x238], 6
mov eax, dword [ebp + 8]
mov dword [esp + 0x230], eax
cmp ecx, dword [0x51d388]
jne 0x403fb4
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x403fc9
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
add ecx, 0xc
lea eax, [esp + 0x230]
push 0
push 0
mov dword [0x51d384], 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.0049bbf0
sub dword [0x51d384], 0xc
add esp, 0x14
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4041b4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x130], 6
mov dword [esp + 0x140], 1
mov eax, dword [eax + 8]
mov dword [esp + 0x128], eax
movzx eax, cl
cdq
sar ecx, 0x10
mov dword [esp + 0x138], eax
movzx eax, cx
mov ecx, dword [0x51d384]
mov dword [esp + 0x13c], edx
cdq
mov dword [esp + 0x150], 1
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], edx
cmp ecx, dword [0x51d388]
jne 0x40408d
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x4040a2
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
push 0
push 0
push 3
lea eax, [esp + 0x134]
add ecx, 0xc
mov edx, esi
mov dword [0x51d384], 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.0049bbf0
add esp, 0x14
sub dword [0x51d384], 0xc
jmp 0x4041b4
mov eax, dword [esp + 0x40]
mov ecx, dword [0x51d384]
mov word [esp + 0xf4], ax
sar eax, 0x10
mov word [esp + 0xf6], ax
xor eax, eax
mov word [esp + 0xf8], ax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x130], 6
mov dword [esp + 0x140], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x128], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x138], eax
cmp ecx, dword [0x51d388]
jne 0x404156
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x40416b
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
push 0
push 0
push 2
lea eax, [esp + 0x134]
jmp 0x4040af
mov ecx, dword [esp + 0xac]
mov al, byte [ecx + 0x10]
add al, 0x64
cmp al, 3
ja 0x404194
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x38], eax
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x64]
mov dword [ebp + 0xc4], eax
push esi
mov al, byte [esi + 0x18]
mov byte [ebp + 0xf6], al
call fcn.00414fe0
lea ecx, [esp + 0x280]
call fcn.00404f20
cmp dword [esp + 0xb0], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
je 0x401be1
call esi
cmp byte [esp + 0x22], 0
jne 0x4041f7
mov ecx, dword [esp + 0x9c]
sub ecx, eax
add ecx, edi
cmp ecx, 5
jg 0x401be1
cmp edi, 0xffffffff
jle 0x40420c
xorps xmm0, xmm0
mov dword [0x521780], eax
movlpd qword [0x521770], xmm0
mov dword [0x521784], eax
mov byte [esp + 0x50], 1
mov byte [esp + 0x22], 1
jmp 0x401bdd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40429b
mov ecx, dword [0x51b98c]
mov byte [ecx + 0xe8], 1
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xe4], eax
lea eax, [esp + 0x34]
push eax
push esi
call dword [esp + 0xec]
test eax, eax
je 0x40428c
cmp dword [0x51ead4], 0
je 0x404277
mov eax, dword [0x51d3e8]
mov ecx, 0x4f03e8
test eax, eax
je 0x40426f
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [esp + 0x114]
mov eax, dword [0x51b98c]
mov edi, dword [esp + 0x18]
mov byte [eax + 0xe8], 0
jmp 0x401bd9
mov ecx, dword [0x51b98c]
mov byte [ecx + 0xe8], 0
jmp 0x4042a1
mov ecx, dword [0x51b98c]
mov eax, dword [0x51eab0]
test eax, eax
je 0x4042d7
lea ecx, [esp + 0x34]
push ecx
push eax
push dword [0x51ead8]
call dword [esp + 0xf4]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x401be1
mov ecx, dword [0x51b98c]
mov byte [ecx + 0xe8], 1
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xe4], eax
lea eax, [esp + 0x34]
push eax
call dword [esp + pe_nt_image_headers32]
lea eax, [esp + 0x34]
push eax
call dword [esp + 0x5c]
mov eax, dword [0x51b98c]
mov edi, dword [esp + 0x18]
mov byte [eax + 0xe8], 0
jmp 0x401bd9
cmp edi, 0xffffffff
jle 0x404327
xorps xmm0, xmm0
mov dword [0x521780], eax
movlpd qword [0x521770], xmm0
xor ecx, ecx
mov dword [0x521784], eax
cmp byte [esp + 0x51], cl
movzx eax, byte [0x51e997]
cmovne eax, ecx
mov byte [0x51e997], al
cmp byte [esp + 0x52], cl
je 0x404394
mov eax, dword [0x51eadc]
dec eax
mov dword [0x51eadc], eax
test edi, edi
jle 0x404394
test eax, eax
jne 0x404394
cmp dword [0x52172c], ecx
jne 0x404394
cmp dword [0x51f638], ecx
jne 0x404394
cmp byte [0x51e996], cl
je 0x404394
push 9
push dword [0x51ead8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x51e996]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x51e996], cl
mov edx, dword [esp + 0x80]
mov al, dl
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret