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, 0x2ac
mov eax, dword [0x7a8d24]
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, 0x46
mov dword [ebp - 4], ebx
ja case.0x4015e5.69
jmp dword [ecx*4 + 0x402c9d]
mov eax, esi
jmp 0x402c96
push ebx
push esi
call fcn.00404a81
mov eax, 0x7fffffff
jmp 0x402c96
inc dword [0x7a7cf4]
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 0x402c96
push ebx
push esi
call fcn.00404a81
jmp case.0x4015e5.69
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.69
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015e5.69
mov eax, esi
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x40168d
mov ecx, dword [eax + 0x7a8de0]
mov dword [eax + 0x7a8da0], ecx
xor ecx, ecx
inc ecx
call fcn.0040143a
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x7a8de0], eax
jmp case.0x4015e5.69
mov ecx, dword [eax + 0x7a8da0]
mov dword [eax + 0x7a8de0], ecx
jmp case.0x4015e5.69
mov esi, dword [ebp - 0x28]
lea esi, [esi*4 + 0x7a8de0]
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 0x402c96
push dword [eax*4 + 0x7a8de0]
jmp 0x402c85
mov ecx, dword [0x7a7d00]
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 [0x7a7cec]
cmp eax, ebx
je case.0x4015e5.69
push esi
push eax
call edi
jmp case.0x4015e5.69
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.69
mov dword [ebp - 4], 1
jmp case.0x4015e5.69
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push eax
mov dword [ebp + 8], eax
call fcn.00405808
mov esi, eax
cmp esi, ebx
je 0x40177a
push 0x5c
push esi
call fcn.004057b4
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 0x7b4000
call fcn.00405b29
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015e5.69
push 0xfffffffffffffff5
call fcn.00401429
jmp case.0x4015e5.69
xor esi, esi
call fcn.00401450
push eax
call fcn.00405c07
test eax, eax
je 0x401b89
mov eax, dword [ebp - 0x2c]
jmp 0x402c96
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.00405c07
test eax, eax
je 0x401712
push dword [ebp + 8]
push edi
call fcn.004066b4
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.00405c07
cmp eax, ebx
je 0x401862
add eax, 0x2c
push eax
push dword [ebp - 0x10]
call fcn.00405b29
jmp 0x40186c
mov word [edi], bx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], ebx
jne case.0x4015e5.69
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015e5.69
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.69
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x4015e5.69
push 0xffffffffffffffef
pop esi
call fcn.00401450
push eax
push edi
call fcn.004059a2
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.004057d3
test eax, eax
push esi
mov esi, 0x40a0a8
je 0x4018fb
push esi
call fcn.00405b29
jmp 0x401912
push 0x7b4000
push esi
call fcn.00405b29
push eax
call fcn.004060cd
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00405b58
mov edi, 0x40b0a8
cmp dword [ebp + 8], 3
jl 0x401954
push esi
call fcn.00405c07
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.00405982
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.004061b0
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4019f3
cmp dword [ebp + 8], ebx
jne 0x4019d5
push section..ndata
push edi
call fcn.00405b29
push esi
push section..ndata
call fcn.00405b29
push dword [ebp - 0x1c]
push 0x40a8a8
call fcn.0040625b
push edi
push section..ndata
call fcn.00405b29
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40a8a8
call fcn.00405750
sub eax, 4
je 0x40191d
dec eax
je 0x4019e8
push esi
push 0xfffffffffffffffa
jmp 0x4015f5
push dword [ebp - 0x10]
push 0xffffffffffffffe2
call fcn.00404a81
cmp dword [ebp + 8], 2
jmp 0x40170c
inc dword [0x7a8de8]
jmp 0x402c94
push dword [ebp - 0x10]
push 0xffffffffffffffea
call fcn.00404a81
inc dword [0x7a8e14]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x28]
call fcn.00402f20
dec dword [0x7a8e14]
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.69
cmp edi, 0xfffffffe
jne 0x401a5c
push 0xffffffffffffffe9
push esi
call fcn.0040625b
push dword [ebp - 0x10]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401a64
push 0xffffffffffffffee
push esi
call fcn.0040625b
push 0x200010
push esi
call fcn.00405750
jmp 0x4015fa
xor esi, esi
call fcn.00401450
push dword [ebp - 0x2c]
push eax
call fcn.004066e7
jmp case.0x4015e5.69
push 0x31
pop esi
call fcn.00401450
push dword [ebp - 0x30]
push eax
call fcn.00405750
cmp eax, ebx
je 0x401712
cmp eax, dword [ebp - 0x28]
jne 0x401aaf
mov eax, dword [ebp - 0x24]
jmp 0x402c96
cmp eax, dword [ebp - 0x20]
jne case.0x4015e5.69
mov eax, dword [ebp - 0x1c]
jmp 0x402c96
push 0xfffffffffffffff0
pop esi
jmp 0x401a76
xor esi, esi
inc esi
call fcn.00401450
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402c84
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.69
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 8], ebx
jge 0x401b1d
add dword [ebp - 8], eax
js case.0x4015e5.69
mov ecx, dword [ebp - 8]
cmp ecx, eax
jle 0x401b26
mov ecx, eax
lea eax, [esi + ecx*2]
push eax
push edi
call fcn.00405b29
cmp dword [ebp + 8], ebx
je case.0x4015e5.69
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.69
mov eax, dword [ebp + 8]
mov word [edi + eax*2], bx
jmp case.0x4015e5.69
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 0x402c96
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.69
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 0x402c96
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 + 0x402db9]
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 0x402c85
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.69
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.0040625b
push eax
jmp 0x401a6a
lea edi, [esi + 4]
push edi
mov esi, 0x40a0a8
push esi
call fcn.00405b29
mov eax, dword [0x40a0a0]
add eax, 4
push eax
push edi
call fcn.00405b29
mov eax, dword [0x40a0a0]
push esi
add eax, 4
push eax
jmp 0x402a59
cmp eax, ebx
je 0x401d42
cmp esi, ebx
je 0x401712
lea eax, [esi + 4]
push eax
push edi
call fcn.00405b29
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.0040625b
mov eax, dword [0x40a0a0]
mov dword [esi], eax
mov dword [0x40a0a0], esi
jmp case.0x4015e5.69
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.69
push dword [ebp - 0x10]
jmp 0x402c85
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 0x402c84
mov ecx, dword [0x7a8d68]
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.69
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.69
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015e5.69
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.0040625b
push 0x40c8a8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402c84
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.69
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015e5.69
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 0x7b4000
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.69
jmp 0x401712
xor esi, esi
call fcn.00401450
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404a81
push esi
call fcn.004056ef
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.00405ce7
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.00405a70
jmp 0x40206f
cmp dword [ebp - 8], ebx
je 0x40206f
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
jmp 0x4026ee
push 2
pop esi
call fcn.00401450
push eax
call fcn.00405c07
mov esi, eax
cmp esi, ebx
je 0x40209e
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00405a70
push dword [esi + 0x18]
jmp 0x402c85
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.69
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
je case.0x4015e5.69
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.00405a70
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00405a70
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015e5.69
push 0x11
pop esi
call fcn.00401450
push 0x400
push edi
push eax
call fcn.00406b1e
add esp, 0xc
jmp 0x40170a
push 0x11
pop esi
call fcn.00401450
push 0x400
push edi
push eax
call fcn.00406b8f
jmp 0x402156
cmp dword [0x7a8e18], ebx
mov dword [ebp - 4], 1
jl 0x40223e
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 0x4021ae
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
jne 0x4021be
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x402237
push dword [ebp + 8]
push esi
call fcn.00405d1a
mov edi, eax
cmp edi, ebx
je 0x40220a
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x4021ec
push dword [ebp - 0x28]
call fcn.00401429
call edi
test eax, eax
je 0x402214
mov dword [ebp - 4], 1
jmp 0x402214
push section..data
push 0x40a0a0
push section..ndata
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x402214
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404a81
cmp dword [ebp - 0x24], ebx
jne case.0x4015e5.69
push esi
call fcn.00403861
test eax, eax
je case.0x4015e5.69
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015e5.69
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.004057d3
test eax, eax
jne 0x402290
push 0x21
pop esi
call fcn.00401450
lea eax, [ebp + 8]
push eax
push 0x408a14
push 1
push ebx
push 0x408a24
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40236d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408a34
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x402360
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 0x7b4000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x402304
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 0x40232b
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 0x402357
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 0x40237b
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.00405c07
test eax, eax
jne 0x4023b8
push ebx
push 0xfffffffffffffff9
call fcn.00404a81
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.00404a81
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015e5.69
jmp 0x4023ab
cmp esi, 0xbadf00d
jne 0x401cdf
inc dword [0x7a8df4]
jmp case.0x4015e5.69
xor edi, edi
cmp esi, ebx
mov dword [ebp + 8], ebx
je 0x402439
xor esi, esi
call fcn.00401450
mov edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x402448
push 0x11
pop esi
call fcn.00401450
mov dword [ebp + 8], eax
cmp dword [ebp - 0x20], ebx
je 0x402457
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 0x4024f6
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 0x402521
push 0x22
pop esi
call fcn.00401450
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jne 0x402511
mov ecx, dword [0x7a8de4]
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.69
jmp 0x401712
cmp esi, ebx
je 0x402536
mov edi, esi
jmp 0x402542
mov edi, dword [0x7a8de4]
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 [0x7a8e10]
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.69
cmp dword [ebp + 8], 1
mov edi, 0x40b0a8
jne 0x4025a8
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 0x4025be
push 3
pop ecx
call fcn.0040143a
push 4
mov dword [0x40b0a8], eax
pop eax
cmp dword [ebp + 8], 3
jne 0x4025d3
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.00402f20
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 0x4025ec
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015e5.69
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 0x402672
cmp dword [ebp + 8], 4
je 0x40265d
cmp dword [ebp + 8], ecx
je 0x40264e
cmp dword [ebp + 8], 2
jne 0x402672
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov word [edi + eax*2], bx
jmp 0x402678
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405a70
jmp 0x402678
mov word [edi], bx
mov dword [ebp - 4], ecx
push dword [ebp - 0x10]
jmp 0x4025ef
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 0x4026b8
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4026d1
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 0x4025ef
cmp word [edi], bx
je case.0x4015e5.69
push edi
call fcn.00405a89
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015e5.69
push 0xffffffffffffffed
pop esi
call fcn.00401450
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.004061b0
cmp eax, 0xffffffff
jne 0x402c84
mov word [edi], bx
jmp 0x401712
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x28], ebx
mov esi, eax
mov dword [ebp + 8], esi
je 0x402744
xor ecx, ecx
inc ecx
call fcn.0040143a
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x40276e
push 0x11
pop esi
call fcn.00401450
push ebx
push ebx
push 0x400
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40a8a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [edi], bx
je 0x40278d
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.00405a89
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402794
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402137
push 2
pop ecx
xor esi, esi
call fcn.0040143a
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015e5.69
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4027be
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x40287b
push edi
mov byte [ebp - 0x35], bl
call fcn.00405a89
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x40287b
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 0x40287e
cmp dword [ebp - 0x18], 1
jne 0x40287e
cmp dword [ebp - 0x24], ebx
jne 0x40283f
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 0x40284f
cmp al, 0xa
je 0x40284f
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 0x40287e
cmp esi, dword [ebp - 0x10]
jl 0x4027df
jmp 0x40287e
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.00405a70
jmp 0x402c94
cmp al, byte [ebp + 0xb]
je 0x40286b
cmp byte [ebp + 0xb], 0xd
je 0x402860
cmp byte [ebp + 0xb], 0xa
jne 0x40286b
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
inc esi
jmp 0x40287e
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40287e
mov edi, dword [ebp + 8]
mov word [edi + esi*2], bx
cmp esi, ebx
jmp 0x40170c
cmp dword [ebp - 0x28], ebx
je 0x4028a1
xor ecx, ecx
inc ecx
call fcn.0040143a
mov word [0x40a8a8], ax
xor eax, eax
inc eax
jmp 0x4028af
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
push edi
call fcn.00405a89
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.69
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4028f9
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x40287b
push edi
mov dword [ebp - 8], ebx
call fcn.00405a89
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x40287b
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 0x40287e
cmp dword [ebp - 0x18], 2
jne 0x40287e
cmp dword [ebp - 0x24], ebx
jne 0x402975
cmp word [ebp - 8], 0xd
je 0x40297e
cmp word [ebp - 8], 0xa
je 0x40297e
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 0x40287e
cmp esi, dword [ebp - 0x10]
jl 0x40291a
jmp 0x40287e
movzx eax, word [ebp + 8]
jmp 0x402843
mov ax, word [ebp + 8]
cmp word [ebp - 8], ax
je 0x40299c
cmp ax, 0xd
je 0x402864
cmp ax, 0xa
je 0x402864
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x402870
cmp word [edi], bx
je case.0x4015e5.69
push dword [ebp - 0x24]
push ebx
push 2
pop ecx
call fcn.0040143a
push eax
push edi
call fcn.00405a89
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x4015e5.69
push eax
push dword [ebp + 8]
jmp 0x402c86
cmp word [edi], bx
je case.0x4015e5.69
push edi
call fcn.00405a89
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015e5.69
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4018aa
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp + 8]
call fcn.00405a89
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4018aa
jmp 0x402a51
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 0x402a48
mov eax, dword [ebp + 8]
mov word [eax], bx
jmp 0x402716
push eax
push dword [ebp + 8]
call fcn.00405a70
lea eax, [ebp - 0x280]
push eax
push edi
call fcn.00405b29
jmp case.0x4015e5.69
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 0x10], 0xfffffd66
call fcn.00401450
mov edi, eax
push edi
mov dword [ebp - 0x44], edi
call fcn.004057d3
test eax, eax
jne 0x402a89
push 0xffffffffffffffed
pop esi
call fcn.00401450
push edi
call fcn.00405982
push 2
push 0x40000000
push edi
call fcn.004061b0
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402b45
mov eax, dword [0x7a8d8c]
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 0x402b3c
push ebx
call fcn.00402f09
push dword [ebp - 0xc]
push edi
call fcn.00402ed7
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x402b14
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.00402f20
jmp 0x402b07
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.0040595e
add esi, dword [ebp - 0x14]
cmp byte [esi], bl
jne 0x402aef
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.00402f20
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 0x402b60
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 [0x7a8d4c]
jae 0x401712
mov eax, dword [ebp - 0x28]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x7a8d48]
cmp eax, ebx
jl 0x402ba7
mov ecx, dword [esi + eax*4]
jne 0x402ba1
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402a59
push ecx
jmp 0x4029d3
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402bbe
xor ecx, ecx
inc ecx
call fcn.0040143a
mov dword [ebp - 0x2c], eax
jmp 0x402bd1
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.0040625b
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.69
push edi
call fcn.0040117d
jmp case.0x4015e5.69
xor ecx, ecx
call fcn.0040143a
cmp eax, 0x20
jae 0x401712
cmp dword [ebp - 0x24], ebx
je 0x402c22
cmp dword [ebp - 0x28], ebx
je 0x402c17
push eax
call fcn.0040129d
push ebx
push ebx
call fcn.004011ef
jmp case.0x4015e5.69
push ebx
call fcn.004012e8
jmp 0x4029d2
cmp dword [ebp - 0x28], ebx
je 0x402c39
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x7a8d2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015e5.69
mov ecx, dword [0x7a8d2c]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.0040625b
jmp case.0x4015e5.69
mov eax, dword [0x7a3a1c]
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.69
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015e5.69
xor esi, esi
inc esi
call fcn.00401450
push eax
call fcn.00405d61
push eax
push edi
call fcn.00405a70
mov eax, dword [ebp - 4]
add dword [0x7a8de8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4