Function at 0x40158d
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6ac
mov eax, dword [0x42a4e4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
shl ecx, 0xb
mov edx, section..ndata
add ecx, edx
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x30]
mov dword [0x40a0a4], ecx
mov ecx, dword [ebp - 0x34]
mov edi, esi
shl edi, 0xb
xor ebx, ebx
add ecx, 0xfffffffe
add edi, edx
cmp ecx, 0x44
mov dword [ebp - 4], ebx
ja case.0x4015e5.67
jmp dword [ecx*4 + 0x402c41]
mov eax, esi
jmp 0x402c39
push ebx
push esi
call fcn.004048e2
mov eax, 0x7fffffff
jmp 0x402c39
inc dword [0x4294b4]
cmp dword [ebp - 8], ebx
je 0x4015fa
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4015fa
push esi
call fcn.00401373
dec eax
push ebx
push eax
call fcn.0040138f
jmp 0x402c39
push ebx
push esi
call fcn.004048e2
jmp case.0x4015e5.67
xor ecx, ecx
call fcn.0040143a
cmp eax, 1
jg 0x401646
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015e5.67
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015e5.67
mov eax, esi
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x40168d
mov ecx, dword [eax + 0x42a5a0]
mov dword [eax + 0x42a560], ecx
xor ecx, ecx
inc ecx
call fcn.0040143a
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x42a5a0], eax
jmp case.0x4015e5.67
mov ecx, dword [eax + 0x42a560]
mov dword [eax + 0x42a5a0], ecx
jmp case.0x4015e5.67
mov esi, dword [ebp - 0x28]
lea esi, [esi*4 + 0x42a5a0]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x30]
jmp 0x402c39
push dword [eax*4 + 0x42a5a0]
jmp 0x402c28
mov ecx, dword [0x4294c0]
cmp ecx, ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4016e2
push eax
push ecx
call edi
mov esi, dword [ebp - 0x30]
mov eax, dword [0x4294ac]
cmp eax, ebx
je case.0x4015e5.67
push esi
push eax
call edi
jmp case.0x4015e5.67
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015e5.67
mov dword [ebp - 4], 1
jmp case.0x4015e5.67
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push eax
mov dword [ebp + 8], eax
call fcn.00405654
mov esi, eax
cmp esi, ebx
je 0x40177a
push 0x5c
push esi
call fcn.00405600
mov esi, eax
movzx edi, word [esi]
push ebx
push dword [ebp + 8]
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401770
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40176d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401770
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x401735
cmp dword [ebp - 0x2c], ebx
je 0x4017a1
push 0xffffffffffffffe6
call fcn.00401429
push dword [ebp + 8]
push 0x436000
call fcn.00405901
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015e5.67
push 0xfffffffffffffff5
call fcn.00401429
jmp case.0x4015e5.67
xor esi, esi
call fcn.00401450
push eax
call fcn.004059df
test eax, eax
je 0x401b89
mov eax, dword [ebp - 0x2c]
jmp 0x402c39
push 0xffffffffffffffd0
pop esi
call fcn.00401450
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401450
push 0x13
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4017f9
push 0xffffffffffffffe3
jmp 0x4017a3
cmp dword [ebp - 0x28], ebx
je 0x401712
push edi
call fcn.004059df
test eax, eax
je 0x401712
push dword [ebp + 8]
push edi
call fcn.0040635a
push 0xffffffffffffffe4
jmp 0x4017a3
xor esi, esi
call fcn.00401450
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401862
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x40186c
cmp word [eax], bx
je 0x40186c
push esi
call fcn.004059df
cmp eax, ebx
je 0x401862
add eax, 0x2c
push eax
push dword [ebp - 0x10]
call fcn.00405901
jmp 0x40186c
mov word [edi], bx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], ebx
jne case.0x4015e5.67
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015e5.67
or esi, 0xffffffff
call fcn.00401450
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015e5.67
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x4015e5.67
push 0xffffffffffffffef
pop esi
call fcn.00401450
push eax
push edi
call fcn.0040577a
jmp 0x40170a
push 0x31
pop esi
call fcn.00401450
mov esi, eax
mov eax, dword [ebp - 0x30]
and eax, 7
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], eax
call fcn.0040561f
test eax, eax
push esi
mov esi, 0x40a0a8
je 0x4018fb
push esi
call fcn.00405901
jmp 0x401912
push 0x436000
push esi
call fcn.00405901
push eax
call fcn.00405e1e
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00405930
mov edi, 0x40b0a8
cmp dword [ebp + 8], 3
jl 0x401954
push esi
call fcn.004059df
xor ecx, ecx
cmp eax, ebx
je 0x40193f
lea ecx, [ebp - 0x24]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x40195f
push esi
call fcn.0040572b
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.0040574b
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4019f3
cmp dword [ebp + 8], ebx
jne 0x4019d5
push section..ndata
push edi
call fcn.00405901
push esi
push section..ndata
call fcn.00405901
push dword [ebp - 0x1c]
push 0x40a8a8
call fcn.00405f01
push edi
push section..ndata
call fcn.00405901
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40a8a8
call fcn.0040559c
sub eax, 4
je 0x40191d
dec eax
je 0x4019e8
push esi
push 0xfffffffffffffffa
jmp 0x4015f5
push dword [ebp - 0x10]
push 0xffffffffffffffe2
call fcn.004048e2
cmp dword [ebp + 8], 2
jmp 0x40170c
inc dword [0x42a5a8]
jmp 0x402c37
push dword [ebp - 0x10]
push 0xffffffffffffffea
call fcn.004048e2
inc dword [0x42a5d4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x28]
call fcn.00402eb3
dec dword [0x42a5d4]
cmp dword [ebp - 0x24], 0xffffffff
mov edi, eax
jne 0x401a24
cmp dword [ebp - 0x20], 0xffffffff
je 0x401a33
lea eax, [ebp - 0x24]
push eax
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015e5.67
cmp edi, 0xfffffffe
jne 0x401a5c
push 0xffffffffffffffe9
push esi
call fcn.00405f01
push dword [ebp - 0x10]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401a64
push 0xffffffffffffffee
push esi
call fcn.00405f01
push 0x200010
push esi
call fcn.0040559c
jmp 0x4015fa
xor esi, esi
call fcn.00401450
push dword [ebp - 0x2c]
push eax
call fcn.0040638d
jmp case.0x4015e5.67
push 0x31
pop esi
call fcn.00401450
push dword [ebp - 0x30]
push eax
call fcn.0040559c
cmp eax, ebx
je 0x401712
cmp eax, dword [ebp - 0x28]
jne 0x401aaf
mov eax, dword [ebp - 0x24]
jmp 0x402c39
cmp eax, dword [ebp - 0x20]
jne case.0x4015e5.67
mov eax, dword [ebp - 0x1c]
jmp 0x402c39
push 0xfffffffffffffff0
pop esi
jmp 0x401a76
xor esi, esi
inc esi
call fcn.00401450
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402c27
push 2
pop ecx
call fcn.0040143a
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.0040143a
xor esi, esi
inc esi
mov dword [ebp - 8], eax
call fcn.00401450
cmp dword [ebp - 0x28], ebx
mov esi, eax
mov word [edi], bx
je 0x401b09
cmp dword [ebp + 8], ebx
je case.0x4015e5.67
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 8], ebx
jge 0x401b1d
add dword [ebp - 8], eax
js case.0x4015e5.67
mov ecx, dword [ebp - 8]
cmp ecx, eax
jle 0x401b26
mov ecx, eax
lea eax, [esi + ecx*2]
push eax
push edi
call fcn.00405901
cmp dword [ebp + 8], ebx
je case.0x4015e5.67
jge 0x401b49
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401b49
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0x400
jge case.0x4015e5.67
mov eax, dword [ebp + 8]
mov word [edi + eax*2], bx
jmp case.0x4015e5.67
push 0x20
pop esi
call fcn.00401450
push 0x31
pop esi
mov edi, eax
call fcn.00401450
cmp dword [ebp - 0x20], ebx
push eax
push edi
jne 0x401b91
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401aa7
mov eax, dword [ebp - 0x28]
jmp 0x402c39
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401b81
xor esi, esi
inc esi
call fcn.00401450
push 0x400
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401bc5
cmp dword [ebp - 0x28], ebx
je 0x401bcf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401bcf
mov dword [ebp - 4], 1
mov word [edi], bx
mov word [edi + 0x7fe], bx
jmp case.0x4015e5.67
xor ecx, ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143a
cmp dword [ebp - 0x1c], ebx
jne 0x401c03
cmp esi, eax
jl 0x401aa7
jle 0x401b89
mov eax, dword [ebp - 0x20]
jmp 0x402c39
cmp esi, eax
jb 0x401aa7
jbe 0x401b89
jmp 0x401bfb
xor ecx, ecx
inc ecx
call fcn.0040143a
push 2
pop ecx
mov esi, eax
call fcn.0040143a
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xc
ja case.default.0x401c2f
jmp dword [eax*4 + 0x402d55]
add esi, ecx
jmp case.default.0x401c2f
sub esi, ecx
jmp case.default.0x401c2f
imul ecx, esi
mov esi, ecx
jmp case.default.0x401c2f
cmp ecx, ebx
je 0x401c50
mov eax, esi
cdq
idiv ecx
jmp 0x401c6e
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401c2f
or esi, ecx
jmp case.default.0x401c2f
and esi, ecx
jmp case.default.0x401c2f
xor esi, ecx
jmp case.default.0x401c2f
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401c2f
cmp esi, ebx
jne 0x401c7a
cmp ecx, ebx
je 0x401c83
xor esi, esi
inc esi
jmp case.default.0x401c2f
cmp esi, ebx
jne 0x401c76
xor esi, esi
jmp case.default.0x401c2f
cmp ecx, ebx
je 0x401c50
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401c2f
shl esi, cl
jmp case.default.0x401c2f
sar esi, cl
push esi
jmp 0x402c28
xor esi, esi
inc esi
call fcn.00401450
push 2
pop ecx
mov esi, eax
call fcn.0040143a
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x4015e5.67
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
mov esi, dword [0x40a0a0]
je 0x401d1f
dec ecx
cmp esi, ebx
je 0x401cdf
cmp ecx, ebx
mov esi, dword [esi]
jne 0x401cd0
cmp esi, ebx
jne 0x401cf2
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00405f01
push eax
jmp 0x401a6a
lea edi, [esi + 4]
push edi
mov esi, 0x40a0a8
push esi
call fcn.00405901
mov eax, dword [0x40a0a0]
add eax, 4
push eax
push edi
call fcn.00405901
mov eax, dword [0x40a0a0]
push esi
add eax, 4
push eax
jmp 0x4029fc
cmp eax, ebx
je 0x401d42
cmp esi, ebx
je 0x401712
lea eax, [esi + 4]
push eax
push edi
call fcn.00405901
mov eax, dword [esi]
mov dword [0x40a0a0], eax
push esi
jmp 0x402137
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00405f01
mov eax, dword [0x40a0a0]
mov dword [esi], eax
mov dword [0x40a0a0], esi
jmp case.0x4015e5.67
push 3
pop ecx
call fcn.0040143a
push 4
pop ecx
mov dword [ebp - 8], eax
call fcn.0040143a
test byte [ebp - 0x1c], 1
mov dword [ebp + 8], eax
je 0x401d96
push 0x33
pop esi
call fcn.00401450
mov dword [ebp - 8], eax
test byte [ebp - 0x1c], 2
je 0x401da7
push 0x44
pop esi
call fcn.00401450
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
jne 0x401df5
xor ecx, ecx
inc ecx
call fcn.0040143a
push 2
pop ecx
mov esi, eax
call fcn.0040143a
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401de5
lea edx, [ebp - 0x10]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401e30
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e2d
xor esi, esi
inc esi
call fcn.00401450
push 0x12
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401450
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0xc]
push ecx
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x30], ebx
jl case.0x4015e5.67
push dword [ebp - 0x10]
jmp 0x402c28
xor ecx, ecx
call fcn.0040143a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4017ba
push 2
pop ecx
call fcn.0040143a
xor ecx, ecx
push eax
inc ecx
call fcn.0040143a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402c27
mov ecx, dword [0x42a528]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.0040143a
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015e5.67
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x28]
push 0x10
push eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x28]
push eax
push ebx
xor esi, esi
call fcn.00401450
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015e5.67
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015e5.67
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.0040143a
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40c8a8], eax
call fcn.0040143a
push dword [ebp - 0x2c]
mov dword [0x40c8b8], eax
mov al, byte [ebp - 0x20]
mov cl, al
and cl, 1
mov byte [0x40c8bc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40c8c4
mov byte [0x40c8bd], cl
mov byte [0x40c8be], al
mov byte [0x40c8bf], 1
call fcn.00405f01
push 0x40c8a8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402c27
xor ecx, ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143a
cmp dword [ebp - 0x24], ebx
push eax
push esi
jne 0x401f89
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015e5.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015e5.67
xor esi, esi
call fcn.00401450
push 0x31
pop esi
mov edi, eax
call fcn.00401450
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
push 0x15
pop esi
mov ebx, eax
call fcn.00401450
push 0xffffffffffffffec
call fcn.00401429
mov ax, word [ebx]
push dword [ebp - 0x24]
neg ax
push 0x436000
sbb eax, eax
and eax, ebx
push eax
mov ax, word [edi]
push dword [ebp + 8]
neg ax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x4015e5.67
jmp 0x401712
xor esi, esi
call fcn.00401450
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004048e2
push esi
call fcn.0040553b
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x401712
cmp dword [ebp - 0x28], ebx
je 0x40206f
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x402040
push 0xf
call fcn.00405a3d
push 0x64
push dword [ebp - 0x10]
call esi
cmp eax, edi
je 0x402032
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x2c], ebx
jl 0x402063
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00405848
jmp 0x40206f
cmp dword [ebp - 8], ebx
je 0x40206f
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
jmp 0x4026ae
push 2
pop esi
call fcn.00401450
push eax
call fcn.004059df
mov esi, eax
cmp esi, ebx
je 0x40209e
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00405848
push dword [esi + 0x18]
jmp 0x402c28
mov eax, dword [ebp + 8]
mov word [edi], bx
mov word [eax], bx
jmp 0x401712
push 0xffffffffffffffee
pop esi
call fcn.00401450
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0xc], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 8]
mov word [edi], bx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x4015e5.67
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
je case.0x4015e5.67
push eax
push esi
push ebx
push dword [ebp - 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402134
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4082c8
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x402134
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.00405848
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00405848
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015e5.67
cmp dword [0x42a5d8], ebx
mov dword [ebp - 4], 1
jl 0x4021fe
push 0xfffffffffffffff0
pop esi
call fcn.00401450
xor esi, esi
inc esi
mov edi, eax
call fcn.00401450
cmp dword [ebp - 0x20], ebx
mov dword [ebp + 8], eax
je 0x40217c
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
jne 0x40218c
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x4021f7
push dword [ebp + 8]
push esi
call fcn.00405a70
mov edi, eax
cmp edi, ebx
je 0x4021d8
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x4021ba
push dword [ebp - 0x28]
call fcn.00401429
call edi
test eax, eax
je 0x4021e2
mov dword [ebp - 4], 1
jmp 0x4021e2
push section..data
push 0x40a0a0
push section..ndata
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x4021e2
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.004048e2
cmp dword [ebp - 0x24], ebx
jne case.0x4015e5.67
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015e5.67
push 0xfffffffffffffff6
jmp 0x4017a3
push 0xffffffffffffffe7
jmp 0x4017a3
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401450
push 2
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401450
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401450
push 0x45
pop esi
mov dword [ebp - 8], eax
call fcn.00401450
push dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
call fcn.0040561f
test eax, eax
jne 0x402250
push 0x21
pop esi
call fcn.00401450
lea eax, [ebp + 8]
push eax
push 0x408a90
push 1
push ebx
push 0x408aa0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40232d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408ab0
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x402320
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x436000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x4022c4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x4022eb
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and edx, esi
push edx
push dword [ebp - 8]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp edi, ebx
jl 0x402317
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jge 0x40233b
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4017a3
push 0xfffffffffffffff4
jmp 0x4017a3
xor esi, esi
call fcn.00401450
push 0x11
pop esi
mov edi, eax
call fcn.00401450
push 0x23
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
push edi
mov dword [ebp - 0x18], eax
call fcn.004059df
test eax, eax
jne 0x402378
push ebx
push 0xfffffffffffffff9
call fcn.004048e2
jmp 0x401712
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 2
call sub.KERNEL32.dll_lstrlenW
mov esi, dword [ebp + 8]
push esi
mov word [edi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [esi + eax*2 + 2], bx
mov eax, dword [ebp - 0x18]
mov cx, word [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x42], eax
mov word [ebp - 0x4c], cx
call fcn.004048e2
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015e5.67
jmp 0x40236b
cmp esi, 0xbadf00d
jne 0x401cdf
inc dword [0x42a5b4]
jmp case.0x4015e5.67
xor edi, edi
cmp esi, ebx
mov dword [ebp + 8], ebx
je 0x4023f9
xor esi, esi
call fcn.00401450
mov edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x402408
push 0x11
pop esi
call fcn.00401450
mov dword [ebp + 8], eax
cmp dword [ebp - 0x20], ebx
je 0x402417
push 0x22
pop esi
call fcn.00401450
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401450
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40170a
mov eax, dword [0x4082c0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4082c4]
xor esi, esi
inc esi
mov dword [ebp - 0x44], eax
call fcn.00401450
push 0x12
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401450
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
push eax
push 0x3ff
push edi
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4018a2
cmp dword [ebp - 0x20], ebx
jne 0x4024b6
push 2
call fcn.0040153e
mov edi, eax
cmp edi, ebx
je 0x401712
push 0x33
pop esi
call fcn.00401450
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4024e1
push 0x22
pop esi
call fcn.00401450
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jne 0x4024d1
mov ecx, dword [0x42a5a4]
add ecx, 0x80000001
mov edx, dword [ebp - 0x20]
and edx, 2
push edx
push eax
push ecx
call fcn.00401488
mov esi, eax
cmp esi, ebx
je case.0x4015e5.67
jmp 0x401712
cmp esi, ebx
je 0x4024f6
mov edi, esi
jmp 0x402502
mov edi, dword [0x42a5a4]
add edi, 0x80000001
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
push 2
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401450
push 0x11
pop esi
mov dword [ebp - 0x44], eax
call fcn.00401450
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [0x42a5d0]
push ebx
or ecx, 2
push ecx
push ebx
push ebx
push ebx
push eax
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne case.0x4015e5.67
cmp dword [ebp + 8], 1
mov edi, 0x40b0a8
jne 0x402568
push 0x23
pop esi
call fcn.00401450
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp dword [ebp + 8], 4
jne 0x40257e
push 3
pop ecx
call fcn.0040143a
push 4
mov dword [0x40b0a8], eax
pop eax
cmp dword [ebp + 8], 3
jne 0x402593
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.00402eb3
push eax
push edi
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x44]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4025ac
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015e5.67
push 0x20019
call fcn.0040153e
push 0x33
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401450
cmp dword [ebp - 0x10], ebx
mov word [edi], bx
je 0x401712
lea ecx, [ebp - 0xc]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402632
cmp dword [ebp + 8], 4
je 0x40261d
cmp dword [ebp + 8], ecx
je 0x40260e
cmp dword [ebp + 8], 2
jne 0x402632
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov word [edi + eax*2], bx
jmp 0x402638
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405848
jmp 0x402638
mov word [edi], bx
mov dword [ebp - 4], ecx
push dword [ebp - 0x10]
jmp 0x4025af
push 0x20019
call fcn.0040153e
push 3
pop ecx
mov esi, eax
call fcn.0040143a
cmp esi, ebx
mov word [edi], bx
je 0x401712
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x402678
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402691
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x401712
mov word [edi + 0x7fe], bx
push esi
jmp 0x4025af
cmp word [edi], bx
je case.0x4015e5.67
push edi
call fcn.00405861
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015e5.67
push 0xffffffffffffffed
pop esi
call fcn.00401450
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.0040574b
cmp eax, 0xffffffff
jne 0x402c27
mov word [edi], bx
jmp 0x401712
cmp dword [ebp - 0x28], ebx
je 0x4026f6
xor ecx, ecx
inc ecx
call fcn.0040143a
mov byte [ebp - 0x6ac], al
xor eax, eax
inc eax
jmp 0x402728
push 0x11
pop esi
call fcn.00401450
push ebx
push ebx
push 0x400
lea eax, [ebp - 0x6ac]
push eax
push 0xffffffffffffffff
push 0x40a8a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x6ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [edi], bx
je 0x401712
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x6ac]
push eax
push edi
call fcn.00405861
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40170a
push 2
pop ecx
xor esi, esi
call fcn.0040143a
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015e5.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402772
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x40282f
push edi
mov byte [ebp - 0x35], bl
call fcn.00405861
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x40282f
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402832
cmp dword [ebp - 0x18], 1
jne 0x402832
cmp dword [ebp - 0x24], ebx
jne 0x4027f3
push 2
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x35]
cmp al, 0xd
je 0x402803
cmp al, 0xa
je 0x402803
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
cmp al, bl
mov byte [ebp - 0x35], al
je 0x402832
cmp esi, dword [ebp - 0x10]
jl 0x402793
jmp 0x402832
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.00405848
jmp 0x402c37
cmp al, byte [ebp + 0xb]
je 0x40281f
cmp byte [ebp + 0xb], 0xd
je 0x402814
cmp byte [ebp + 0xb], 0xa
jne 0x40281f
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
inc esi
jmp 0x402832
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402832
mov edi, dword [ebp + 8]
mov word [edi + esi*2], bx
cmp esi, ebx
jmp 0x40170c
cmp dword [ebp - 0x28], ebx
je 0x402855
xor ecx, ecx
inc ecx
call fcn.0040143a
mov word [0x40a8a8], ax
xor eax, eax
inc eax
jmp 0x402863
push 0x11
pop esi
call fcn.00401450
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], bx
je 0x401712
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40a8a8
jmp 0x40273e
push 2
pop ecx
xor esi, esi
call fcn.0040143a
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015e5.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4028a0
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x40282f
push edi
mov dword [ebp - 8], ebx
call fcn.00405861
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x40282f
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402832
cmp dword [ebp - 0x18], 2
jne 0x402832
cmp dword [ebp - 0x24], ebx
jne 0x402918
cmp word [ebp - 8], 0xd
je 0x402921
cmp word [ebp - 8], 0xa
je 0x402921
mov ax, word [ebp + 8]
movzx ecx, ax
mov word [edi + esi*2], ax
inc esi
cmp ax, bx
mov dword [ebp - 8], ecx
je 0x402832
cmp esi, dword [ebp - 0x10]
jl 0x4028bd
jmp 0x402832
movzx eax, word [ebp + 8]
jmp 0x4027f7
mov ax, word [ebp + 8]
cmp word [ebp - 8], ax
je 0x40293f
cmp ax, 0xd
je 0x402818
cmp ax, 0xa
je 0x402818
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x402824
cmp word [edi], bx
je case.0x4015e5.67
push dword [ebp - 0x24]
push ebx
push 2
pop ecx
call fcn.0040143a
push eax
push edi
call fcn.00405861
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x4015e5.67
push eax
push dword [ebp + 8]
jmp 0x402c29
cmp word [edi], bx
je case.0x4015e5.67
push edi
call fcn.00405861
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015e5.67
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4018aa
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp + 8]
call fcn.00405861
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4018aa
jmp 0x4029f4
push 2
pop esi
call fcn.00401450
lea ecx, [ebp - 0x2ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4029eb
mov eax, dword [ebp + 8]
mov word [eax], bx
jmp 0x4026d6
push eax
push dword [ebp + 8]
call fcn.00405848
lea eax, [ebp - 0x280]
push eax
push edi
call fcn.00405901
jmp case.0x4015e5.67
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 0x10], 0xfffffd66
call fcn.00401450
mov edi, eax
push edi
mov dword [ebp - 0x44], edi
call fcn.0040561f
test eax, eax
jne 0x402a2c
push 0xffffffffffffffed
pop esi
call fcn.00401450
push edi
call fcn.0040572b
push 2
push 0x40000000
push edi
call fcn.0040574b
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402ae8
mov eax, dword [0x42a54c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0xc], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402adf
push ebx
call fcn.00402e9c
push dword [ebp - 0xc]
push edi
call fcn.00402e6a
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x402ab7
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.00402eb3
jmp 0x402aaa
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x14], ecx
call fcn.00405707
add esi, dword [ebp - 0x14]
cmp byte [esi], bl
jne 0x402a92
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00402eb3
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402b03
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4017a3
xor ecx, ecx
call fcn.0040143a
mov edi, eax
cmp edi, dword [0x42a50c]
jae 0x401712
mov eax, dword [ebp - 0x28]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x42a508]
cmp eax, ebx
jl 0x402b4a
mov ecx, dword [esi + eax*4]
jne 0x402b44
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x4029fc
push ecx
jmp 0x402976
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402b61
xor ecx, ecx
inc ecx
call fcn.0040143a
mov dword [ebp - 0x2c], eax
jmp 0x402b74
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.00405f01
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x4015e5.67
push edi
call fcn.0040117d
jmp case.0x4015e5.67
xor ecx, ecx
call fcn.0040143a
cmp eax, 0x20
jae 0x401712
cmp dword [ebp - 0x24], ebx
je 0x402bc5
cmp dword [ebp - 0x28], ebx
je 0x402bba
push eax
call fcn.0040129d
push ebx
push ebx
call fcn.004011ef
jmp case.0x4015e5.67
push ebx
call fcn.004012e8
jmp 0x402975
cmp dword [ebp - 0x28], ebx
je 0x402bdc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x42a4ec]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015e5.67
mov ecx, dword [0x42a4ec]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.00405f01
jmp case.0x4015e5.67
mov eax, dword [0x4251dc]
push ebx
and eax, esi
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x4015e5.67
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015e5.67
push 2
pop esi
call fcn.00401450
push eax
call fcn.00405ab2
push eax
push edi
call fcn.00405848
mov eax, dword [ebp - 4]
add dword [0x42a5a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4