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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1300
call fcn.004b5610
push ebx
push ebp
push esi
mov esi, edx
mov byte [esp + 0x35], 0
mov dword [esp + 0xac], esi
mov ebx, ecx
mov dword [esp + 0x28], ebx
push edi
cmp esi, 2
jne 0x40162e
cmp byte [0x4e7c9f], 0
mov esi, 1
mov dword [esp + 0xb0], esi
jne 0x40162e
mov byte [0x4e7c9f], 1
mov byte [esp + 0x39], 1
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x18], ebp
cmp ebx, 0x8000012f
jne 0x40165b
mov ebx, 0xa
mov byte [esp + 0x33], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x9c], 0
jmp 0x40167b
cmp ebx, 5
setle byte [esp + 0x33]
jg 0x401672
mov dword [esp + 0x9c], 0
jmp 0x40167b
call ebp
mov dword [esp + 0x9c], eax
cmp dword [0x4e8048], 0
je 0x401689
call fcn.00403fa0
cmp dword [0x4e95c8], 0
mov edi, 1
mov byte [esp + 0x7c], 0
je 0x4016b1
call fcn.00403c70
mov ecx, dword [esp + 0x7c]
test al, al
movzx ecx, cl
cmovne ecx, edi
mov dword [esp + 0x7c], ecx
test ebx, ebx
jle 0x4016eb
cmp esi, 1
jne 0x4016eb
inc dword [0x4e7cd0]
cmp byte [0x4e7c9e], 0
mov byte [esp + 0x3a], 1
jne 0x4016f0
push 0
push 0xa
push 9
push dword [0x4e7ccc]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne byte [0x4e7c9e]
jmp 0x4016f0
mov byte [esp + 0x3a], 0
mov eax, dword [sym.imp.USER32.dll_GetMessageW]
xor cl, cl
mov dword [esp + 0x15c], eax
xor esi, esi
mov eax, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0xd4], 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 + 0x160], 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 + 0xdc], eax
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esp + 0x90], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x168], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x3c], eax
mov eax, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov dword [esp + 0xd8], eax
mov eax, dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x16c], eax
mov eax, dword [sym.imp.SHELL32.dll_DragFinish]
mov dword [esp + 0x88], eax
mov eax, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x84], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esp + 0xe4], eax
mov eax, dword [sym.imp.USER32.dll_CountClipboardFormats]
mov dword [esp + 0x180], eax
mov eax, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [esp + 0x184], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0xe0], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x188], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [esp + 0x18c], eax
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x164], eax
mov eax, dword [sym.imp.USER32.dll_GetClassLongW]
mov dword [esp + 0xbc], eax
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0xd0], eax
mov eax, dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esp + 0x94], eax
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [esp + 0x17c], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x170], eax
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov byte [esp + 0x3b], 0
mov dword [esp + 0x174], eax
mov al, byte [esp + 0x3b]
mov byte [esp + 0x17], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], eax
jmp 0x401892
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
jmp 0x40188a
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
jmp 0x401892
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
jmp 0x401892
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov cl, byte [esp + 0x17]
test ebx, ebx
jle 0x401942
test cl, cl
jne 0x401942
cmp byte [0x4e7c9f], cl
jne 0x40194f
cmp dword [0x4e37f0], 0
je 0x401917
cmp dword [0x4e7ca4], 0
jne 0x401917
cmp dword [0x4e7cbc], 0
jne 0x4018d0
mov ecx, 1
jmp 0x401919
mov ecx, dword [0x4e37f8]
cmp byte [ecx + 0x53], 0
jne 0x40190c
cmp dword [ecx + 0x44], 0xffffffff
jle 0x40190c
call ebp
mov ecx, dword [0x4e37f8]
sub eax, dword [ecx + 0x48]
cmp eax, dword [ecx + 0x44]
jb 0x40190c
cmp dword [ecx + 0x40], 0
je 0x40190c
cmp byte [ecx + 0x96], 0
mov byte [ecx + 0x53], 1
jne 0x40190c
mov dword [ecx + 0x5c], 5
mov eax, dword [0x4e37f8]
movzx ecx, byte [eax + 0x53]
jmp 0x401919
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
cmovne eax, edx
push eax
push edx
push edx
lea eax, [esp + 0x50]
push eax
call dword [esp + 0x16c]
cmp eax, 0xffffffff
je 0x401d14
jmp 0x401c1c
cmp byte [0x4e7c9f], 0
je 0x401b06
call edx
mov esi, eax
test esi, esi
je 0x401b06
push 0
push esi
call dword [esp + 0xdc]
cmp eax, dword [0x4e8f18]
jne 0x401b06
cmp dword [0x4e7cc8], 0
je 0x4019d1
push 0x20
lea eax, [esp + 0x21c]
push eax
push esi
mov esi, dword [esp + 0xc0]
call esi
mov ecx, 0x4cdeb8
lea eax, [esp + 0x218]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4019c6
test dx, dx
je 0x4019c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4019c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4019a0
xor eax, eax
jmp 0x4019cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x401a2a
jmp 0x4019d8
mov esi, dword [esp + 0xb4]
call dword [esp + 0x160]
test eax, eax
je 0x401b06
push 0x20
lea ecx, [esp + 0x21c]
push ecx
push eax
call esi
lea eax, [esp + 0x218]
push 0x4cdec8
push eax
call fcn.0049ed01
add esp, 8
test eax, eax
je 0x401a2a
lea eax, [esp + 0x218]
push 0x4cdee4
push eax
call fcn.0049ed01
add esp, 8
test eax, eax
jne 0x401b06
cmp dword [0x4e37f0], 0
je 0x401a8e
cmp dword [0x4e7ca4], 0
jne 0x401a8e
cmp dword [0x4e7cbc], 0
jne 0x401a4c
mov eax, 1
jmp 0x401a90
mov ecx, dword [0x4e37f8]
cmp byte [ecx + 0x53], 0
jne 0x401a88
cmp dword [ecx + 0x44], 0xffffffff
jle 0x401a88
call ebp
mov ecx, dword [0x4e37f8]
sub eax, dword [ecx + 0x48]
cmp eax, dword [ecx + 0x44]
jb 0x401a88
cmp dword [ecx + 0x40], 0
je 0x401a88
cmp byte [ecx + 0x96], 0
mov byte [ecx + 0x53], 1
jne 0x401a88
mov dword [ecx + 0x5c], 5
movzx eax, byte [ecx + 0x53]
jmp 0x401a90
xor eax, eax
push 0
test eax, eax
mov esi, 0x311
push 0x1ff
mov eax, 0xffffffff
push 0
cmovne esi, eax
lea eax, [esp + 0x50]
push 0
push eax
call edi
test eax, eax
lea eax, [esp + 0x44]
jne 0x401ac6
push 1
push esi
push 0x20f
jmp 0x401b86
mov edi, dword [esp + 0x54]
push 0
push esi
push 0x20f
push 0
push eax
call dword [esp + 0x34]
push 1
test eax, eax
jne 0x401aed
mov edi, dword [esp + 0x24]
push 0x1ff
jmp 0x401b80
mov eax, dword [esp + 0x58]
sub eax, edi
mov edi, dword [esp + 0x24]
test eax, eax
lea eax, [esp + 0x48]
jle 0x401abb
push 0x1ff
jmp 0x401b84
cmp dword [0x4e37f0], 0
je 0x401b6f
cmp dword [0x4e7ca4], 0
jne 0x401b6f
cmp dword [0x4e7cbc], 0
jne 0x401b28
mov ecx, 1
jmp 0x401b71
mov ecx, dword [0x4e37f8]
cmp byte [ecx + 0x53], 0
jne 0x401b64
cmp dword [ecx + 0x44], 0xffffffff
jle 0x401b64
call ebp
mov ecx, dword [0x4e37f8]
sub eax, dword [ecx + 0x48]
cmp eax, dword [ecx + 0x44]
jb 0x401b64
cmp dword [ecx + 0x40], 0
je 0x401b64
cmp byte [ecx + 0x96], 0
mov byte [ecx + 0x53], 1
jne 0x401b64
mov dword [ecx + 0x5c], 5
mov eax, dword [0x4e37f8]
movzx ecx, byte [eax + 0x53]
jmp 0x401b71
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
push 1
cmovne eax, edx
push eax
lea eax, [esp + 0x4c]
push 0
push 0
push eax
call edi
test eax, eax
jne 0x401c18
test ebx, ebx
jne 0x401bb7
cmp byte [esp + 0x3b], bl
jne 0x401bb7
push ebx
call dword [esp + 0xbc]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x3b], 1
jmp 0x40188e
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x401be5
cmp byte [esp + 0x33], 0
je 0x401be5
test ebx, ebx
jle 0x401bd3
push 5
call dword [esp + 0xbc]
mov edx, dword [esp + 0x24]
mov esi, 1
mov dword [esp + 0x1c], esi
jmp 0x40188e
call ebp
cmp byte [esp + 0x33], 0
jne 0x403aeb
mov ecx, dword [esp + 0x9c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x403aeb
push 5
call dword [esp + 0xbc]
mov edx, dword [esp + 0x24]
jmp 0x40188e
mov esi, dword [esp + 0x1c]
inc esi
cmp dword [0x4e8f28], 0
mov dword [esp + 0x1c], esi
je 0x401c57
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x1c4]
mov ecx, dword [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.00404070
add esp, 0x10
test al, al
jne 0x401d14
cmp dword [0x4e7cd4], 0
mov edx, dword [esp + 0x48]
je 0x401cdd
cmp edx, 0x100
jb 0x401c74
cmp edx, 0x109
jbe 0x401c7f
lea eax, [edx - 0x200]
cmp eax, 0xe
ja 0x401cdd
mov esi, dword [esp + 0x44]
test esi, esi
je 0x401cd7
nop word [eax + eax]
push 0xffffffffffffffe0
push esi
call dword [esp + 0xc4]
movzx eax, ax
cmp ax, word [0x4e98b4]
jne 0x401cb7
push 0xffffffffffffffeb
push esi
call dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
jne 0x401ce6
push 0xfffffffffffffff0
push esi
call dword [esp + 0x70]
test eax, 0x40000000
je 0x401cd3
push esi
call dword [esp + 0x168]
mov esi, eax
test esi, esi
jne 0x401c90
mov edx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x4c]
jmp 0x4020f9
mov eax, dword [edi + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xf0], ebx
test eax, eax
je 0x401d25
lea ecx, [esp + 0x44]
push ecx
push eax
push dword [edi + 0x1c]
call dword [esp + 0xe8]
test eax, eax
je 0x401d25
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
cmp edx, 0x100
jne 0x401de7
cmp byte [edi + 0xbc], 0
je 0x401d95
cmp esi, 0x22
je 0x401d5b
cmp esi, 0x21
je 0x401d5b
cmp esi, 9
je 0x401d5b
cmp esi, 0x25
je 0x401d5b
cmp esi, 0x27
jne 0x401d95
push ebx
mov ecx, edi
call fcn.00401590
mov ecx, eax
cmp ecx, 0x2af8
jne 0x401e1c
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp edx, 0x100
jne 0x401de7
mov ebx, dword [esp + 0xf0]
mov edi, dword [esp + 0x28]
cmp esi, 0x1b
je 0x401dc0
cmp esi, 9
je 0x401dc0
cmp esi, 0x41
jne 0x401de7
mov ebp, dword [esp + 0x90]
push 0x11
call ebp
test ax, ax
jns 0x401ddf
push 0xa5
call ebp
test ax, ax
js 0x401ddf
push ebx
mov ecx, edi
call fcn.00401590
mov ecx, eax
cmp ecx, 0x2af8
jne 0x401f99
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [0x4e8d60]
test eax, eax
je 0x4020a9
cmp edx, 0x100
jne 0x4020a9
cmp esi, 0xd
jne 0x402091
push 0
push 0
push 0x1116
push eax
call dword [esp + 0x4c]
jmp 0x401f7c
mov eax, dword [edi + 0x2c]
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0x80], ebx
test ebx, ebx
je 0x401d7a
mov al, byte [ebx + 0x30]
cmp al, 0xf
je 0x401d7a
mov esi, dword [esp + 0x4c]
xor edi, edi
cmp al, 0x13
jne 0x401e77
mov edi, ebx
cmp esi, 0x25
je 0x401e52
cmp esi, 0x27
jne 0x401e77
mov ecx, dword [esp + 0x28]
cmp esi, 0x27
push 0
sete al
push 0
movzx eax, al
push eax
push ebx
call fcn.00470a10
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
jmp 0x401886
cmp esi, 0x25
je 0x401d7e
cmp esi, 0x27
je 0x401d7e
mov ebp, dword [esp + 0x90]
push 0x11
call ebp
test ax, ax
jns 0x401d7a
mov esi, dword [esp + 0x4c]
cmp esi, 9
jne 0x401ec1
cmp byte [ebx + 0x30], 0xc
jne 0x401ec1
push 0xfffffffffffffff0
push dword [ebx + 0x18]
call dword [esp + 0x70]
test al, 4
jne 0x401d7a
mov esi, dword [esp + 0x4c]
test edi, edi
jne 0x401f3e
mov eax, dword [esp + 0x28]
mov ch, byte [ebx + 0x32]
lea ebp, [eax + 0x5c]
cmp ch, 0xff
je 0x401f02
mov ebx, dword [ebp]
xor cl, cl
xor edx, edx
test ebx, ebx
je 0x401f02
mov eax, dword [eax + 0x2c]
mov edi, dword [eax]
cmp byte [edi + 0x30], 0x13
jne 0x401ef0
cmp cl, ch
je 0x401efa
inc cl
inc edx
add eax, 4
cmp edx, ebx
jb 0x401ee2
jmp 0x401efe
test edi, edi
jne 0x401f37
mov eax, dword [esp + 0x28]
mov ebx, dword [ebp]
xor cl, cl
xor edx, edx
test ebx, ebx
je 0x401d7e
mov eax, dword [eax + 0x2c]
mov edi, dword [eax]
cmp byte [edi + 0x30], 0x13
jne 0x401f22
test cl, cl
je 0x401f2f
inc cl
inc edx
add eax, 4
cmp edx, ebx
jb 0x401f14
jmp 0x401d7e
test edi, edi
je 0x401d7e
mov ebp, dword [esp + 0x90]
push dword [edi + 0x18]
call dword [esp + 0x16c]
test eax, eax
je 0x401d7a
mov eax, dword [esp + 0x4c]
cmp eax, 0x22
je 0x401f6b
cmp eax, 9
jne 0x401f67
push 0x10
call ebp
test ax, ax
jns 0x401f6b
xor al, al
jmp 0x401f6d
mov al, 1
mov ecx, dword [esp + 0x28]
push 1
push 1
push eax
push edi
call fcn.00470a10
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
mov eax, dword [edi + 0x2c]
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0x80], ebx
test ebx, ebx
je 0x401ddf
cmp byte [ebx + 0x30], 0xc
jne 0x401ddf
mov esi, dword [esp + 0x4c]
cmp esi, 0x1b
je 0x402017
mov al, byte [ebx + 0x31]
cmp esi, 0x41
je 0x401ffa
test al, al
jns 0x401de3
push 0xfffffffffffffff0
push dword [ebx + 0x18]
call dword [esp + 0x70]
test eax, 0x800
jne 0x401ddf
push 0x4cdf00
push 1
push 0xc2
push dword [ebx + 0x18]
call dword [esp + 0x4c]
jmp 0x401f7c
test al, 2
jne 0x401de3
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebx + 0x18]
call dword [esp + 0x4c]
jmp 0x401f7c
mov edx, dword [edi + 0x54]
xor ecx, ecx
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
test edx, edx
jle 0x401886
mov eax, dword [edi + 0x4c]
add eax, 0xa
cmp dword [eax - 6], 3
jne 0x402041
cmp byte [eax], 0
je 0x402062
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x402036
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
push 0
push 0x2af80003
push 0x414
push dword [edi + 0x1c]
call dword [esp + 0xe0]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
cmp esi, 0x1b
jne 0x4020a9
push 0
push 1
push 0x1116
push eax
call dword [esp + 0x4c]
jmp 0x401f7c
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x5c], 0
jne 0x4020bb
cmp edx, 0x106
je 0x4020f5
mov ecx, dword [0x4e37f8]
mov byte [ecx + 0x52], 1
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x4c], eax
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x1c]
call dword [esp + 0xe0]
mov ecx, dword [0x4e37f8]
mov byte [ecx + 0x52], 0
test eax, eax
jne 0x401f7c
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
cmp edx, 0x400
ja 0x40231a
je case.0x402330.1025
cmp edx, 0x100
ja 0x4021aa
je 0x402171
cmp edx, 0x12
je 0x40214c
cmp edx, 0x4b
jne case.0x402330.1027
mov ebp, dword [esp + 0x18]
mov cl, 1
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [0x4e7cb8], 0
mov byte [esp + 0x17], cl
jmp 0x401892
push 4
mov ecx, 0x4e8f30
call fcn.0043a040
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
mov eax, dword [esp + 0x44]
cmp eax, dword [0x4e7cb4]
jne case.0x402330.1027
cmp esi, 0x1b
jne case.0x402330.1027
push 0
push dword [0x4e7ccc]
call dword [esp + 0xe8]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
cmp edx, 0x113
je 0x402235
cmp edx, 0x312
je case.0x402330.1026
call dword [esp + 0x24]
mov esi, eax
test esi, esi
je 0x403a76
push 0
push esi
call dword [esp + 0xdc]
cmp eax, dword [0x4e8f18]
jne 0x403a76
push 0x20
lea eax, [esp + 0x21c]
push eax
push esi
call dword [esp + 0xc0]
mov ecx, 0x4cdeb8
lea eax, [esp + 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403a1d
test dx, dx
je 0x40222e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403a1d
add eax, 4
add ecx, 4
test dx, dx
jne 0x402204
xor eax, eax
jmp 0x403a22
cmp dword [esp + 0x50], 0
jne case.0x402330.1027
mov eax, dword [esp + 0x44]
cmp eax, dword [0x4e7ccc]
jne case.0x402330.1027
cmp dword [0x4e8048], 0
je 0x40225a
call fcn.00403fa0
cmp dword [0x4e95c8], 0
je 0x40227d
call fcn.00403c70
mov edx, dword [esp + 0x7c]
test al, al
movzx ecx, dl
mov eax, 1
cmovne ecx, eax
mov byte [esp + 0x7c], cl
cmp dword [esp + 0xb0], 0
je 0x401f7c
cmp ebx, 1
jl 0x401f7c
mov ebp, dword [esp + 0x18]
call ebp
cmp byte [esp + 0x33], 0
jne 0x4022b5
mov ecx, dword [esp + 0x9c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jg 0x401f84
cmp byte [esp + 0x39], 0
mov dword [0x4e961c], eax
je 0x4022c8
mov byte [0x4e7c9f], 0
cmp byte [esp + 0x3a], 0
je 0x40230c
sub dword [0x4e7cd0], 1
jne 0x40230c
cmp dword [0x4e95c8], 0
jne 0x40230c
cmp dword [0x4e8048], 0
jne 0x40230c
cmp byte [0x4e7c9e], 0
je 0x40230c
push 9
push dword [0x4e7ccc]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x40230c
mov byte [0x4e7c9e], 0
mov edx, dword [esp + 0x7c]
mov al, dl
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x401]
cmp eax, 0x1d
ja case.0x402330.1027
movzx eax, byte [eax + 0x403b30]
jmp dword [eax*4 + 0x403b24]
mov edi, dword [esp + 0x44]
test edi, edi
je case.0x402330.1026
cmp edi, dword [0x4e7ccc]
jne case.0x402330.1027
lea eax, [edx - 0x401]
xor ebp, ebp
cmp eax, 0x1d
ja case.0x402363.1027
movzx eax, byte [eax + 0x403b6c]
jmp dword [eax*4 + 0x403b50]
mov edi, dword [esp + 0x44]
push 0xffffffffffffffe0
push edi
call dword [esp + 0xc4]
movzx eax, ax
cmp ax, word [0x4e98b4]
je 0x40238f
xor eax, eax
mov dword [esp + 0x28], eax
jmp case.0x402330.1027
push 0xffffffffffffffeb
push edi
call dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
je case.0x402330.1027
mov ecx, dword [esp + 0x4c]
mov ebx, ecx
mov edx, dword [esp + 0x50]
movzx eax, cl
shr ebx, 8
shr ecx, 0x10
mov dword [esp + 0x40], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x98], eax
cmp ecx, dword [edi + 0x5c]
jae 0x4023e5
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x8c]
jmp 0x4023e7
xor ecx, ecx
xor bl, bl
mov dword [esp + 0x80], ecx
dec eax
mov byte [esp + 0x38], 0
mov byte [esp + 0xa0], bl
lea esi, [edi + 0x4c]
cmp eax, 0x10
ja case.0x40240c.6
movzx eax, byte [eax + 0x403ba0]
jmp dword [eax*4 + 0x403b8c]
mov ebp, dword [edi + 0x34]
test ebp, ebp
je 0x401f7c
push 0
push 0
push 0xffffffffffffffff
push ebp
call dword [esp + 0x17c]
mov edx, eax
mov dword [esp + 0x40], edx
test edx, edx
jne case.0x40240c.2
push ebp
call dword [esp + 0x8c]
mov dword [edi + 0x34], 0
jmp 0x401f7c
mov bl, 2
mov dword [esp + 0x98], edx
mov byte [esp + 0xa0], bl
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
test ecx, ecx
je 0x401860
lea esi, [ecx + 0x20]
mov byte [esp + 0x38], 1
test esi, esi
je case.0x40240c.5
mov ecx, dword [esi + 4]
test ecx, ecx
je case.0x40240c.5
nop dword [eax]
cmp byte [ecx + 0x10], 0
jne 0x4024a5
mov eax, dword [ecx + 8]
mov edx, dword [esi]
mov edi, dword [esp + 0x98]
lea eax, [eax + eax*2]
cmp dword [edx + eax*4 + 4], edi
mov edi, dword [esp + 0x28]
jne 0x4024a5
cmp byte [edx + eax*4 + 0xa], bl
je 0x4024b7
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x402480
mov edx, dword [esp + 0x48]
xor edi, edi
jmp 0x402872
test ebp, ebp
jne 0x402436
jmp 0x401f7c
test esi, esi
je 0x402511
push 0xffffffffffffffe0
push esi
call dword [esp + 0xc4]
movzx eax, ax
cmp ax, word [0x4e98b4]
je 0x4024e6
xor esi, esi
mov dword [esp + 0x28], esi
jmp 0x4024f7
push 0xffffffffffffffeb
push esi
call dword [esp + 0x70]
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
jne 0x40250b
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40250b
cmp eax, dword [0x4e7ccc]
jne case.0x402330.1027
mov edx, dword [esp + 0x48]
jmp 0x402517
xor esi, esi
mov dword [esp + 0x28], esi
mov ecx, dword [0x4e95cc]
test ecx, ecx
je 0x402547
mov eax, dword [esp + 0x50]
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x64], ebx
test ebx, ebx
je 0x402540
cmp dword [ebx + 0x14], eax
je 0x402550
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x64], ebx
test ebx, ebx
jne 0x402530
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x402525
mov dword [esp + 0x64], ebp
jmp 0x401f7c
cmp dword [ebx + 8], ebp
je 0x401f7c
mov edi, dword [ebx + 0x18]
jmp 0x40287a
cmp esi, dword [0x4e8044]
jae 0x401f7c
mov eax, dword [0x4e8040]
mov esi, dword [eax + esi*4]
mov dword [esp + 0xa4], esi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4025af
mov edx, dword [esi + 4]
call fcn.00413970
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4025c3
mov eax, dword [esi + 0x10]
mov al, byte [eax]
cmp al, 2
je 0x4025af
cmp al, 4
je 0x4025af
cmp al, 5
jne 0x4025b3
mov eax, dword [0x4e7cc4]
mov dword [esp + 0x6c], eax
jmp 0x4025b3
mov dword [esp + 0x6c], ebp
push dword [esp + 0x50]
mov ecx, esi
call fcn.00416110
cmp dword [esi + 0xc], ebp
je 0x4025dc
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
cmp byte [esi + 0x2a], 0
je 0x4025f9
mov ax, word [esp + 0x50]
mov edx, dword [esp + 0x48]
mov word [0x4e95e0], ax
mov edi, dword [esi + 0x14]
jmp 0x402872
mov edx, dword [esp + 0x48]
xor eax, eax
mov word [0x4e95e0], ax
mov edi, dword [esi + 0x14]
jmp 0x402872
cmp byte [0x4e95b4], 0
jne 0x401f7c
xor edi, edi
jmp 0x402872
mov ebx, esi
mov dword [esp + 0x60], ebx
test ebx, ebx
je 0x4026e3
mov edi, dword [0x4e7cc0]
cmp edi, ebx
jne 0x402640
mov ecx, 0x4e7cc0
jmp 0x40266a
mov eax, edi
test eax, eax
je 0x4026e3
nop word [eax + eax]
lea ecx, [eax + 4]
mov eax, dword [ecx]
cmp eax, esi
je 0x402666
test eax, eax
jne 0x402650
mov dword [esp + 0x60], ebp
jmp 0x401f7c
test ecx, ecx
je 0x4026e3
cmp dword [esi], 1
je 0x402686
mov eax, dword [esi + 4]
mov dword [ecx], eax
call fcn.00413740
mov dword [ebx + 4], ebp
mov edx, dword [esp + 0x48]
mov edi, dword [0x4e7cc0]
cmp dword [ebx + 8], ebp
je 0x4026e3
test edi, edi
jne 0x4026a9
cmp dword [0x4e8054], ebp
jne 0x4026a9
test byte [0x4e805e], 1
jne 0x4026a9
call fcn.00413cc0
mov edx, dword [esp + 0x48]
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x368], ebp
je 0x4026bb
xor edi, edi
jmp 0x402872
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [0x4e7cbc], ebp
jne 0x4026e3
mov ecx, 0x4e8f30
call fcn.00439d00
test al, al
jne 0x4026e3
push 6
mov ecx, 0x4e8f30
call fcn.0043a040
mov dword [esp + 0x60], ebp
jmp 0x401f7c
mov ebx, dword [0x4e7cc0]
mov edi, dword [esp + 0x20]
mov cl, byte [esp + 0x17]
mov dword [esp + 0x60], ebx
test ebx, ebx
je 0x40186a
cmp ebx, esi
je 0x40272e
mov ebx, dword [ebx + 4]
mov dword [esp + 0x60], ebx
test ebx, ebx
jne 0x402706
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
jmp 0x401892
mov eax, dword [ebx + 8]
cmp edx, 0x41c
jne 0x402741
mov eax, dword [eax + 0x36c]
jmp 0x402757
cmp edx, 0x41e
jne 0x402751
mov eax, dword [eax + 0x374]
jmp 0x402757
mov eax, dword [eax + 0x370]
test eax, eax
je 0x401f7c
xor edi, edi
jmp 0x402872
mov eax, esi
and eax, 0x7fff
cmp ax, word [0x4e805c]
jae 0x401f7c
mov ecx, eax
shr esi, 0x10
mov eax, dword [0x4e804c]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0xac], edi
test si, si
je 0x4027c9
mov ebx, dword [edi + 0x20]
add esi, 0xffff
mov dword [esp + 0xa8], ebx
test si, si
je 0x4027c5
nop dword [eax + eax]
mov ebx, dword [ebx + 0xc]
add esi, 0xffff
test si, si
jne 0x4027b0
mov dword [esp + 0xa8], ebx
test ebx, ebx
jne 0x402817
cmp edx, 0x400
jne 0x4027e1
mov eax, dword [esp + 0x50]
mov ecx, 0xffc3d44d
shr eax, 0x10
sub ecx, eax
jmp 0x4027e3
xor ecx, ecx
push 0
push ecx
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.004141b0
mov edi, dword [esp + 0x20]
mov ebx, eax
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa8], ebx
test ebx, ebx
je 0x40187c
mov edx, dword [esp + 0x48]
mov cl, byte [ebx + 0x1a]
cmp cl, byte [ebx + 0x1b]
jb 0x40284b
cmp byte [ebx + 0x1e], 0
je 0x402829
mov byte [ebx + 0x1f], 1
mov ebp, dword [esp + 0x18]
call ebp
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov ebx, dword [esp + 0x2c]
jmp 0x401892
mov eax, dword [ebx + 8]
test eax, eax
je 0x40286b
mov al, byte [eax]
cmp al, 2
je 0x40286b
cmp al, 4
je 0x40286b
cmp al, 5
jne 0x40286f
mov eax, dword [0x4e7cc4]
mov dword [esp + 0x6c], eax
jmp 0x40286f
mov dword [esp + 0x6c], ebp
mov edi, dword [ebx + 0x14]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x64]
mov eax, dword [0x4e7cbc]
cmp eax, dword [0x4e37f4]
jl 0x4028bc
test ebp, ebp
je 0x40289e
push ebp
call dword [esp + 0x8c]
mov dword [esi + 0x34], 0
mov edx, dword [esp + 0x48]
cmp edx, 0x41b
jne 0x401f7c
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401f7c
mov eax, dword [0x4e37f8]
cmp edi, dword [eax + 0x3c]
jge 0x4028ea
test ebp, ebp
je 0x4028dd
push ebp
call dword [esp + 0x8c]
mov dword [esi + 0x34], 0
mov edx, dword [esp + 0x48]
cmp edx, 0x41b
je 0x4028aa
jmp 0x401f7c
lea eax, [edx - 0x402]
mov byte [esp + 0x7c], 1
cmp eax, 0x1c
ja case.0x402901.1027
movzx eax, byte [eax + 0x403bbc]
jmp dword [eax*4 + 0x403bb4]
mov eax, dword [0x4e957c]
mov dword [0x4e9580], eax
mov eax, dword [0x4e95d8]
mov dword [0x4e95dc], eax
cmp edx, 0x401
jne 0x402930
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 4]
jmp 0x40293a
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0x1c]
mov dword [0x4e957c], eax
call dword [esp + 0x18]
mov dword [0x4e95d8], eax
mov esi, dword [0x4e37f8]
inc dword [0x4e7cbc]
add esi, 0xa0
mov eax, dword [0x4e7ca8]
mov dword [0x4e37f8], esi
test eax, eax
je 0x40296e
add eax, 0x58
jmp 0x402970
xor eax, eax
test esi, esi
je 0x402979
lea ecx, [esi + 0x58]
jmp 0x40297b
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x58
push 0
movups xmmword [ecx], xmm0
push esi
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
call fcn.0049d610
add esp, 0xc
mov byte [esi + 0x53], 1
mov ecx, 0x4e8f30
mov dword [esi + 0x3c], edi
push 0
call fcn.004396e0
mov al, byte [esi + 0x96]
test al, al
jne 0x4029cf
mov byte [esi + 0x96], al
cmp dword [0x4e9618], 0
je 0x4029e1
cmp dword [0x4e9614], 0
jne 0x4029e5
test al, al
je 0x402a15
mov dword [esi + 0x5c], 0x10
mov byte [esi + 0x53], 0
test al, al
jne 0x402a15
cmp dword [0x4e9618], 0
jge 0x402a06
mov dword [esi + 0x44], 0xffffffff
jmp 0x402a15
call dword [esp + 0x18]
mov dword [esi + 0x48], eax
mov eax, dword [0x4e9618]
mov dword [esi + 0x44], eax
mov esi, dword [0x4e37f8]
call dword [esp + 0x18]
mov edi, dword [esp + 0x48]
mov dword [0x4e961c], eax
lea eax, [edi - 0x401]
cmp eax, 0x1d
ja case.0x402a3e.1027
movzx eax, byte [eax + 0x403bfc]
jmp dword [eax*4 + 0x403bdc]
mov esi, dword [esp + 0x34]
mov ecx, esi
mov edi, dword [esp + 0x28]
add ecx, ecx
mov ebx, dword [esp + 0x80]
inc esi
cmp byte [esp + 0x38], 0
mov eax, edi
mov dword [esp + 0x34], esi
cmovne eax, ebx
mov dword [esp + ecx*8 + 0x100], 5
mov dword [esp + ecx*8 + 0xf8], eax
mov ecx, dword [esp + 0x8c]
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.0x402a93.6
movzx eax, byte [eax + 0x403c30]
jmp dword [eax*4 + 0x403c1c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
test ebx, ebx
je 0x402cd6
cmp byte [esp + 0x78], 0
je 0x402bf8
movzx eax, byte [ebx + 0x30]
add eax, 0xfffffff7
mov dword [esp + 0xc0], VariantInit
cmp eax, 8
ja case.0x402ad8.12
jmp dword [eax*4 + 0x403c44]
mov ebp, dword [esp + 0x3c]
push 0
push 0
push 0x19f
push dword [ebx + 0x18]
call ebp
cmp eax, 0xffffffff
je case.0x402ad8.12
lea ecx, [esp + 0xc0]
push ecx
push eax
push 0x198
push dword [ebx + 0x18]
call ebp
jmp case.0x402ad8.12
mov ebp, dword [esp + 0x3c]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x18]
call ebp
cmp eax, 0xffffffff
je case.0x402ad8.12
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 2
push ecx
push eax
push 0x100e
push dword [ebx + 0x18]
call ebp
jmp case.0x402ad8.12
mov ebp, dword [esp + 0x3c]
push 0
push 9
push 0x110a
push dword [ebx + 0x18]
call ebp
test eax, eax
je case.0x402ad8.12
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xc0]
push eax
push 1
push 0x1104
push dword [ebx + 0x18]
call ebp
jmp case.0x402ad8.12
lea eax, [esp + 0xc0]
push eax
push 0
push 0x419
push dword [ebx + 0x18]
call dword [esp + 0x4c]
cmp dword [esp + 0xc0], 0x80000000
lea ecx, [esp + 0xc0]
mov eax, dword [ebx + 0x18]
jne 0x402bb4
push ecx
push eax
call dword [esp + 0x178]
jmp 0x402bc1
push 2
push ecx
push 0
push eax
call dword [esp + 0x184]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xcc]
sub eax, ecx
mov eax, eax
test eax, eax
jns 0x402be5
add eax, 1
sar eax, 1
mov edx, dword [esp + 0x5c]
add ecx, 2
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x74], eax
movzx eax, byte [ebx + 0x30]
sub eax, 9
je 0x402cc0
sub eax, 1
je 0x402ca3
sub eax, 1
jne 0x402cd6
cmp byte [esp + 0x78], al
je 0x402c5b
push eax
push 9
push 0x110a
push dword [ebx + 0x18]
call dword [esp + 0x4c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x70]
push eax
push dword [edi + 0x1c]
call dword [esp + 0x8c]
mov eax, esi
lea ecx, [esp + 0xf8]
shl eax, 4
mov esi, ebx
add ecx, eax
mov edi, 5
mov edx, ecx
jmp 0x402d10
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x1c8]
push eax
push dword [ebx + 0x18]
mov dword [esp + 0x1d0], ecx
mov dword [esp + 0x1d4], edx
call ebp
lea eax, [esp + 0x1c8]
push eax
push 0
push 0x1111
push dword [ebx + 0x18]
call dword [esp + 0x4c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x70]
push eax
push dword [edi + 0x1c]
call ebp
jmp 0x402c3f
cmp byte [esp + 0x78], 0
je 0x402c30
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x18]
call dword [esp + 0x4c]
inc eax
jmp 0x402c2c
push 0
push 0
push 0x19f
push dword [ebx + 0x18]
call dword [esp + 0x4c]
inc eax
jmp 0x402c2c
lea eax, [esp + 0x70]
push eax
push dword [edi + 0x1c]
call dword [esp + 0x8c]
mov eax, esi
lea ecx, [esp + 0xf8]
shl eax, 4
add ecx, eax
mov edx, ecx
test ebx, ebx
je 0x402d02
mov esi, ebx
mov edi, 5
jmp 0x402d10
mov dword [ecx + 4], 0xffffffff
mov esi, 0x4cdea8
xor edi, edi
mov ebp, dword [esp + 0x40]
mov dword [ecx + 8], edi
mov dword [edx], esi
mov edx, dword [esp + 0x34]
mov dword [esp + eax + 0x110], 1
mov dword [esp + eax + 0x108], ebp
mov dword [esp + eax + 0x10c], 0
xor eax, eax
mov edi, dword [esp + 0x28]
lea ecx, [edx + 2]
add ecx, ecx
lea esi, [edx + 4]
cmp byte [esp + 0x78], al
push edi
sete al
mov dword [esp + ecx*8 + 0xfc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + ecx*8 + 0x104], 1
mov dword [esp + ecx*8 + 0x100], 0
cdq
mov dword [esp + ecx*8 + 0x10c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + ecx*8 + 0x110], edx
mov dword [esp + ecx*8 + 0x114], 1
mov ecx, esi
add ecx, ecx
cdq
inc esi
mov dword [esp + 0x38], esi
mov dword [esp + ecx*8 + 0x104], 1
mov dword [esp + ecx*8 + 0xfc], eax
mov dword [esp + ecx*8 + 0x100], edx
mov eax, dword [edi]
call dword [eax + 4]
jmp 0x40319a
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x78], ecx
push dword [edi + 0x1c]
call dword [esp + 0x8c]
push 0xffffffffffffffec
push dword [edi + 0x1c]
call dword [esp + 0x70]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push dword [edi + 0x1c]
call dword [esp + 0xf0]
mov edi, dword [esp + 0x34]
test ebx, ebx
je 0x402e05
mov ecx, ebx
mov edx, 5
jmp 0x402e1b
mov eax, esi
mov ecx, 0x4cdea8
add eax, eax
xor edx, edx
mov dword [esp + eax*8 + 0xfc], 0xffffffff
mov eax, edi
lea esi, [esp + 0xf8]
add eax, eax
mov dword [esi + eax*8 + 8], edx
mov dword [esi + eax*8], ecx
lea esi, [edi + 1]
mov ecx, ebp
add esi, esi
call fcn.004654f0
mov dword [esp + esi*8 + 0xf8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + esi*8 + 0x100], 5
cmp byte [eax + 0xc6], 0
je 0x402e6d
push dword [0x4e8f1c]
push 0x60
push dword [esp + 0x78]
call dword [esp + 0xa0]
jmp 0x402e71
mov eax, dword [esp + 0x70]
cdq
mov dword [esp + esi*8 + 0x108], eax
lea eax, [edi + 4]
mov dword [esp + esi*8 + 0x110], 1
mov dword [esp + esi*8 + 0x10c], edx
lea esi, [edi + 3]
mov edi, dword [esp + 0x28]
add esi, esi
mov dword [esp + 0x34], eax
cmp byte [edi + 0xc6], 0
je 0x402eb9
push dword [0x4e8f1c]
push 0x60
push dword [esp + 0x7c]
call dword [esp + 0xa0]
jmp 0x402ebd
mov eax, dword [esp + 0x74]
cdq
push ebp
mov dword [esp + esi*8 + 0x104], 1
mov dword [esp + esi*8 + 0xfc], eax
mov dword [esp + esi*8 + 0x100], edx
call dword [esp + 0x8c]
mov dword [edi + 0x34], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ebp, dword [esp + 0x40]
jmp 0x402fa8
mov ebp, dword [esp + 0x40]
cmp ecx, 4
jne 0x403186
mov eax, dword [esp + 0x78]
add esi, esi
movsx eax, al
cdq
mov dword [esp + esi*8 + 0xf8], eax
mov dword [esp + esi*8 + 0x100], 1
mov dword [esp + esi*8 + 0xfc], edx
cmp byte [edi + 0xc6], 0
movzx eax, bp
je 0x402f41
push dword [0x4e8f1c]
push 0x60
push eax
call dword [esp + 0xa0]
cdq
mov dword [esp + esi*8 + 0x108], eax
mov eax, dword [esp + 0x34]
mov dword [esp + esi*8 + 0x110], 1
mov dword [esp + esi*8 + 0x10c], edx
mov esi, eax
add eax, 3
add esi, esi
mov dword [esp + 0x34], eax
mov eax, ebp
shr eax, 0x10
cmp byte [edi + 0xc6], 0
je 0x402f88
push dword [0x4e8f1c]
push 0x60
push eax
call dword [esp + 0xa0]
cdq
mov dword [esp + esi*8 + 0x120], 1
mov dword [esp + esi*8 + 0x118], eax
mov dword [esp + esi*8 + 0x11c], edx
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp byte [esp + 0x38], 0
lea eax, [esp + 0x178]
push eax
push edi
push dword [esp + 0xa8]
lea eax, [esp + 0x104]
push dword [esp + 0xa4]
lea esi, [edi + 0x4c]
push dword [esp + 0x44]
lea ecx, [ebx + 0x20]
push eax
cmove ecx, esi
call fcn.00479e10
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x4032f0
mov eax, dword [esp + 0x8c]
sub eax, 1
je 0x40326f
sub eax, 1
jne 0x4032f0
cmp dword [esp + 0x178], eax
jne 0x403304
push eax
push edi
call dword [esp + 0xe8]
mov edi, dword [esp + 0x28]
push dword [edi + 0x1c]
call dword [esp + 0x180]
mov ecx, eax
test ecx, ecx
setne al
cmp al, byte [edi + 0xc9]
je 0x403243
mov byte [edi + 0xc9], al
mov eax, dword [edi]
push edi
test ecx, ecx
je 0x403240
call dword [eax + 4]
jmp 0x403243
cmp byte [ebx + 0x30], 0x17
jne 0x403113
cmp ecx, 7
jne 0x403113
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x258], 0xd
lea eax, [ebp - 1]
mov dword [esp + 0x25c], eax
lea eax, [esp + 0x258]
push eax
push 0
push 0x703
push dword [ebx + 0x18]
call dword [esp + 0x4c]
test eax, eax
je 0x4030a0
mov ax, word [esp + 0x268]
mov ecx, esi
add ecx, ecx
test ax, ax
je 0x4030c6
lea eax, [esp + 0x268]
mov dword [esp + ecx*8 + 0xfc], 0xffffffff
mov dword [esp + ecx*8 + 0xf8], eax
xor eax, eax
jmp 0x4030dc
mov eax, ebp
cdq
mov dword [esp + ecx*8 + 0xf8], eax
mov eax, 1
mov dword [esp + ecx*8 + 0xfc], edx
mov dword [esp + ecx*8 + 0x100], eax
add esi, 2
lea eax, [esp + 0x2c8]
mov dword [esp + ecx*8 + 0x110], 0
mov dword [esp + ecx*8 + 0x108], eax
mov dword [esp + ecx*8 + 0x10c], 0xffffffff
mov dword [esp + 0x34], esi
jmp 0x402fa2
mov ebp, dword [esp + 0x40]
mov eax, esi
add eax, eax
inc esi
mov dword [esp + 0x34], esi
mov dword [esp + eax*8 + 0x100], 1
mov dword [esp + eax*8 + 0xf8], ebp
mov dword [esp + eax*8 + 0xfc], 0
mov eax, ecx
sub eax, 0xa
je 0x403156
sub eax, 1
je 0x403150
sub eax, 2
je 0x403156
jmp 0x403186
cmp byte [ebx + 0x30], 0xa
jne 0x403186
mov eax, dword [esp + 0x78]
mov ecx, esi
add ecx, ecx
movzx eax, al
inc esi
cdq
sub eax, 1
mov dword [esp + 0x34], esi
sbb edx, 0
mov dword [esp + ecx*8 + 0x100], 1
mov dword [esp + ecx*8 + 0xf8], eax
mov dword [esp + ecx*8 + 0xfc], edx
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp dword [esp + 0x8c], 5
jne 0x402fa8
test ebx, ebx
je 0x402fa8
push 0
push edi
push dword [esp + 0xa8]
lea eax, [esi - 1]
push dword [esp + 0xa4]
lea ecx, [ebx + 0x20]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00479e10
cmp eax, 7
je 0x4031d6
cmp dword [edi + 0x1c], 0
jne 0x402fa8
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebp, dword [esp + 0x18]
call fcn.00404430
cmp dword [esp + 0xb0], 0
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
je 0x401892
call ebp
cmp byte [esp + 0x33], 0
jne 0x403224
mov ecx, dword [esp + 0x9c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jg 0x401f80
mov esi, dword [esp + 0x1c]
mov cl, 1
mov edx, dword [esp + 0x24]
mov dword [0x4e961c], eax
mov byte [esp + 0x17], cl
mov byte [esp + 0x33], cl
jmp 0x401892
call dword [eax + 8]
cmp dword [0x4e7cbc], 0
jne 0x4031d6
mov ecx, 0x4e8f30
call fcn.00439d00
test al, al
jne 0x4031d6
push 4
mov ecx, 0x4e8f30
call fcn.0043a040
jmp 0x4031d6
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x403293
mov eax, dword [esi]
add eax, 0xa
nop dword [eax]
cmp dword [eax - 6], 1
jne 0x40328b
cmp byte [eax], 0
je 0x4032b2
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x403280
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
lea eax, [esi - 3]
add eax, eax
mov eax, dword [esp + eax*8 + 0xf8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4031d6
push 0xffffffffffffffec
push edi
call dword [esp + 0x70]
mov edi, dword [esp + 0x28]
or eax, 0x10
push eax
push 0xffffffffffffffec
push dword [edi + 0x1c]
call dword [esp + 0xf0]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], esi
lea eax, [esi - 3]
add eax, eax
mov eax, dword [esp + eax*8 + 0xf8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4031d6
cmp dword [esp + 0x8c], 1
mov edi, dword [esp + 0x28]
jne 0x4031d6
jmp 0x403297
mov edi, dword [esp + 0x28]
jmp 0x4031d6
mov edi, dword [esp + 0x28]
test edi, edi
je 0x403327
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov esi, dword [ebx + 0x10]
push esi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x190], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x198], 0
mov dword [esp + 0x194], 0xffffffff
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40336c
nop dword [eax + eax]
cmp eax, ebx
je 0x40336f
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x403360
or ecx, 0xffffffff
lea eax, [ecx + 1]
mov dword [esp + 0x1a8], 1
mov ecx, dword [0x4e8eac]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1b8], 5
mov dword [esp + 0x1b0], esi
cmp ecx, dword [0x4e8eb0]
jne 0x4033ba
call fcn.0040709e
mov ecx, dword [0x4e8eac]
cmp ecx, dword [0x4e8ea8]
jb 0x4033cf
mov eax, dword [0x4e9574]
mov dword [ecx], eax
mov ecx, dword [0x4e8eac]
add ecx, 0xc
lea eax, [esp + 0x190]
mov dword [0x4e8eac], ecx
push 0
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cdeac
mov dword [ecx + 8], 0
mov ecx, dword [ebx + 8]
mov edx, ecx
push ecx
push 0
push 3
push eax
push 0
call fcn.00473ae0
mov eax, dword [0x4e8eac]
add esp, 0x18
sub eax, 0xc
mov dword [0x4e8eac], eax
cmp eax, dword [0x4e8ea8]
jb 0x40342b
mov eax, dword [eax]
mov dword [0x4e8ebc], eax
mov dword [0x4e9574], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
test edi, edi
je 0x4031dc
jmp 0x4031d6
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x20], eax
mov al, byte [ecx + 0x21]
mov byte [esi + 0x99], al
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x58], eax
mov esi, ecx
mov al, byte [esi + 0x24]
cmp al, byte [esi + 0x25]
jae 0x4031dc
mov byte [0x4e95e2], 0
mov eax, dword [esi + 4]
inc byte [esi + 0x24]
push 0
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x1dc]
push 1
push eax
push dword [0x4e957c]
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1ec], 0xffffffff
call fcn.00479c40
dec byte [esi + 0x24]
jmp 0x4031dc
call dword [esp + 0x180]
test eax, eax
je 0x4034e6
mov ebx, dword [esp + 0x184]
push 0xd
call ebx
test eax, eax
jne 0x4034dd
push 0xf
call ebx
test eax, eax
jne 0x4034dd
mov eax, 2
xor ecx, ecx
jmp 0x403500
mov eax, 1
xor ecx, ecx
jmp 0x403500
xorps xmm0, xmm0
movlpd qword [esp + 0xf0], xmm0
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x1ec], ecx
mov ecx, dword [0x4e8eac]
mov dword [esp + 0x1f0], 1
mov dword [esp + 0x1e8], eax
mov byte [0x4e95b4], 1
cmp ecx, dword [0x4e8eb0]
jne 0x403539
call fcn.0040709e
mov ecx, dword [0x4e8eac]
cmp ecx, dword [0x4e8ea8]
jb 0x40354e
mov eax, dword [0x4e9574]
mov dword [ecx], eax
mov ecx, dword [0x4e8eac]
add ecx, 0xc
lea eax, [esp + 0x1e8]
push 0
mov dword [0x4e8eac], ecx
push 1
push 1
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cdf04
mov dword [ecx + 8], 0
mov ecx, 0x4e9594
push eax
call fcn.00479ce0
mov eax, dword [0x4e8eac]
sub eax, 0xc
mov dword [0x4e8eac], eax
cmp eax, dword [0x4e8ea8]
jb 0x4035a4
mov eax, dword [eax]
mov dword [0x4e8ebc], eax
mov dword [0x4e9574], eax
mov byte [0x4e95b4], 0
jmp 0x4031dc
mov ebx, dword [esp + 0x60]
mov ecx, dword [0x4e8eac]
mov dword [esp + 0x210], 5
mov esi, dword [ebx + 8]
mov dword [esp + 0x208], esi
mov esi, dword [esi + 0x368]
cmp ecx, dword [0x4e8eb0]
jne 0x4035e8
call fcn.0040709e
mov ecx, dword [0x4e8eac]
cmp ecx, dword [0x4e8ea8]
jb 0x4035fd
mov eax, dword [0x4e9574]
mov dword [ecx], eax
mov ecx, dword [0x4e8eac]
add ecx, 0xc
lea eax, [esp + 0x208]
push 0
push ecx
push 0
mov dword [0x4e8eac], ecx
mov edx, esi
push 1
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cdf28
mov dword [ecx + 8], 0
mov ecx, esi
push 0
call fcn.00473ae0
mov eax, dword [0x4e8eac]
add esp, 0x18
sub eax, 0xc
mov dword [0x4e8eac], eax
cmp eax, dword [0x4e8ea8]
jb 0x403658
mov eax, dword [eax]
mov dword [0x4e8ebc], eax
mov dword [0x4e9574], eax
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4031dc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x198], 5
mov dword [esp + 0x1a8], 1
mov esi, dword [eax + 8]
movzx eax, cl
cdq
sar ecx, 0x10
mov dword [esp + 0x1a0], eax
movzx eax, cx
mov dword [esp + 0x1a4], edx
cdq
mov dword [esp + 0x190], esi
mov dword [esp + 0x1b8], 1
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
cmp edi, 0x41c
jne 0x4036d0
mov esi, dword [esi + 0x36c]
jmp 0x4036d6
mov esi, dword [esi + 0x374]
mov ecx, dword [0x4e8eac]
cmp ecx, dword [0x4e8eb0]
jne 0x4036ef
call fcn.0040709e
mov ecx, dword [0x4e8eac]
cmp ecx, dword [0x4e8ea8]
jb 0x403704
mov eax, dword [0x4e9574]
mov dword [ecx], eax
mov ecx, dword [0x4e8eac]
add ecx, 0xc
lea eax, [esp + 0x190]
push 0
push ecx
push 0
mov dword [0x4e8eac], ecx
mov edx, esi
push 3
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cdf28
mov dword [ecx + 8], 0
mov ecx, esi
push 0
call fcn.00473ae0
mov eax, dword [0x4e8eac]
add esp, 0x18
mov ebp, dword [esp + 0x18]
sub eax, 0xc
mov dword [0x4e8eac], eax
cmp eax, dword [0x4e8ea8]
jb 0x4031e0
mov eax, dword [eax]
mov dword [0x4e8ebc], eax
mov dword [0x4e9574], eax
jmp 0x4031e0
mov eax, dword [esp + 0x50]
mov ecx, dword [0x4e8eac]
mov word [esp + 0xe8], ax
sar eax, 0x10
mov word [esp + 0xea], ax
xor eax, eax
mov word [esp + 0xec], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x198], 5
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1a4], 0xffffffff
mov esi, dword [eax + 8]
lea eax, [esp + 0xe8]
mov dword [esp + 0x190], esi
mov dword [esp + 0x1a0], eax
mov esi, dword [esi + 0x370]
cmp ecx, dword [0x4e8eb0]
jne 0x4037e9
call fcn.0040709e
mov ecx, dword [0x4e8eac]
cmp ecx, dword [0x4e8ea8]
jb 0x4037fe
mov eax, dword [0x4e9574]
mov dword [ecx], eax
mov ecx, dword [0x4e8eac]
add ecx, 0xc
lea eax, [esp + 0x190]
push 0
push ecx
push 0
mov dword [0x4e8eac], ecx
mov edx, esi
push 2
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cdf28
mov dword [ecx + 8], 0
mov ecx, esi
push 0
call fcn.00473ae0
mov eax, dword [0x4e8eac]
add esp, 0x18
mov ebp, dword [esp + 0x18]
sub eax, 0xc
mov dword [0x4e8eac], eax
cmp eax, dword [0x4e8ea8]
jb 0x4031e0
mov eax, dword [eax]
mov dword [0x4e8ebc], eax
mov dword [0x4e9574], eax
jmp 0x4031e0
mov eax, dword [esp + 0xac]
mov al, byte [eax + 0x10]
add al, 0x64
cmp al, 3
ja 0x40387e
movzx eax, word [esp + 0x50]
mov dword [esi + 0x24], eax
cmp byte [0x4e98cc], 0
mov ebx, dword [esp + 0xa8]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x20], eax
mov al, byte [ebx + 0x1c]
mov byte [esi + 0x99], al
mov eax, dword [ebx + 8]
mov dword [esi + 0x58], eax
jne 0x4031dc
cmp dword [0x4e8064], 0
mov ebp, dword [esp + 0x18]
jne 0x4038bc
call ebp
mov dword [0x4e8064], eax
inc dword [0x4e98c8]
call ebp
mov edi, dword [0x4e98c8]
mov ecx, eax
sub ecx, dword [0x4e8064]
mov edx, dword [0x4e3d64]
mov dword [0x4e8060], eax
cmp edi, dword [0x4e3d68]
jbe 0x4038f0
cmp ecx, edx
jae 0x4038f0
mov esi, 1
jmp 0x4038f2
xor esi, esi
test esi, esi
je 0x40396c
push ecx
push edi
push 0x4d2dc0
lea eax, [esp + 0x264]
push 0x800
push eax
call fcn.004816a0
add esp, 0x14
call fcn.00413930
push 0
push 0
xorps xmm3, xmm3
mov byte [0x4e98cc], 1
mov edx, 4
mov dword [0x4e37f0], 0
lea ecx, [esp + 0x260]
call fcn.00486b20
add esp, 8
cmp eax, 7
jne 0x403954
push 4
mov ecx, 0x4e8f30
call fcn.0043a040
mov eax, dword [0x4e8060]
mov dword [0x4e37f0], 1
mov byte [0x4e98cc], 0
jmp 0x403970
cmp ecx, edx
jbe 0x403987
mov dword [0x4e98c8], 0
mov dword [0x4e8064], eax
test esi, esi
jne 0x4031e0
mov edi, dword [esp + 0xac]
mov ecx, ebx
push 0
push 1
mov dword [esp + 0x208], 0
mov al, byte [edi + 0xf]
mov byte [0x4e95e2], al
inc byte [ebx + 0x1a]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x200], eax
lea eax, [esp + 0x200]
push eax
push dword [0x4e957c]
mov dword [esp + 0x20c], 0xffffffff
call fcn.00479c40
dec byte [ebx + 0x1a]
test eax, eax
jne 0x4039e1
mov byte [ebx + 0x1f], al
jmp 0x4031e0
cmp byte [ebx + 0x1f], 0
je 0x4031e0
mov byte [ebx + 0x1f], 0
call ebp
sub eax, dword [ebx + 0x10]
cmp eax, 0x3e8
ja 0x4031e0
movzx eax, word [edi + 4]
push 0
push eax
push 0x312
push dword [0x4e7ccc]
call dword [esp + 0xe0]
jmp 0x4031e0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x403a76
mov ecx, dword [0x4e37f8]
mov byte [ecx + 0x52], 1
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x4c], eax
lea eax, [esp + 0x44]
push eax
push esi
call dword [esp + 0xe0]
test eax, eax
je 0x403a6a
mov eax, dword [0x4e37f8]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
mov byte [eax + 0x52], 0
jmp 0x401892
mov ecx, dword [0x4e37f8]
mov byte [ecx + 0x52], 0
jmp 0x403a7c
mov ecx, dword [0x4e37f8]
mov eax, dword [0x4e7cb0]
test eax, eax
je 0x403aa6
lea ecx, [esp + 0x44]
push ecx
push eax
push dword [0x4e7ccc]
call dword [esp + 0xe8]
test eax, eax
jne 0x401f7c
mov ecx, dword [0x4e37f8]
mov byte [ecx + 0x52], 1
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x4c], eax
lea eax, [esp + 0x44]
push eax
call dword [esp + 0x18c]
lea eax, [esp + 0x44]
push eax
call dword [esp + 0x190]
mov eax, dword [0x4e37f8]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x24]
mov byte [eax + 0x52], 0
jmp 0x401892
cmp byte [esp + 0x39], 0
mov dword [0x4e961c], eax
je 0x403afe
mov byte [0x4e7c9f], 0
cmp byte [esp + 0x3a], 0
je 0x40230c
mov eax, dword [0x4e7cd0]
dec eax
mov dword [0x4e7cd0], eax
test ebx, ebx
jle 0x40230c
test eax, eax
jmp 0x4022d6