Function at 0x401599
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, 0x2a8
mov eax, dword [0x470504]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
mov dword [0x40a0a4], edx
mov edx, dword [ebp - 0x2c]
mov esi, eax
shl esi, 0xe
mov edi, section..ndata
shl ecx, 0xe
xor ebx, ebx
add ecx, edi
add edx, 0xfffffffe
add esi, edi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ecx
cmp edx, 0x46
ja case.0x4015ef.69
jmp dword [edx*4 + 0x402c7d]
push ebx
push eax
call fcn.00404c14
mov eax, 0x7fffffff
jmp case.0x4015ef.2
inc dword [0x4684d4]
cmp dword [ebp - 0xc], ebx
je 0x4015fd
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4015fd
push eax
call fcn.0040137e
dec eax
push ebx
push eax
call fcn.0040139a
jmp case.0x4015ef.2
push ebx
push eax
call fcn.00404c14
jmp case.0x4015ef.69
xor ecx, ecx
call fcn.00401443
cmp eax, 1
jg 0x401649
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015ef.69
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015ef.69
cmp dword [ebp - 0x20], ebx
jne 0x40168d
mov ecx, dword [eax*4 + 0x4705c0]
mov dword [eax*4 + 0x470580], ecx
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x4705c0], eax
jmp case.0x4015ef.69
mov ecx, dword [eax*4 + 0x470580]
mov dword [eax*4 + 0x4705c0], ecx
jmp case.0x4015ef.69
mov esi, dword [ebp - 0x20]
lea esi, [esi*4 + 0x4705c0]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x1c]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x28]
jmp case.0x4015ef.2
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x4705c0]
jmp 0x402c62
mov ecx, dword [0x4684e0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x4016e9
push dword [ebp - 0x24]
push ecx
call esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x4684cc]
cmp ecx, ebx
je case.0x4015ef.69
push eax
push ecx
call esi
jmp case.0x4015ef.69
push 0xfffffffffffffff0
call fcn.00401459
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015ef.69
mov dword [ebp - 4], 1
jmp case.0x4015ef.69
push 0xfffffffffffffff0
call fcn.00401459
push eax
mov dword [ebp + 8], eax
call fcn.004059a7
mov esi, eax
cmp esi, ebx
je 0x401783
push 0x5c
push esi
call fcn.00405954
mov esi, eax
movzx edi, word [esi]
push ebx
push dword [ebp + 8]
xor eax, eax
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401778
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401775
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401778
inc dword [ebp - 4]
mov word [esi], di
add esi, 2
cmp di, bx
jne 0x40173b
push 0x40e0a8
cmp dword [ebp - 0x24], ebx
je 0x4017af
push 0xffffffffffffffe6
call fcn.00404c14
push dword [ebp + 8]
push 0x4c9000
call fcn.00405c57
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015ef.69
push 0xfffffffffffffff5
jmp 0x401630
push ebx
call fcn.00401459
push eax
call fcn.00405d35
test eax, eax
je 0x401b8c
mov eax, dword [ebp - 0x24]
jmp case.0x4015ef.2
push 0xffffffffffffffd0
call fcn.00401459
push 0xffffffffffffffdf
mov esi, eax
call fcn.00401459
push 0x13
mov edi, eax
call fcn.00401459
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401803
push 0x40e0a8
push 0xffffffffffffffe3
jmp 0x401630
cmp dword [ebp - 0x20], ebx
je 0x401719
push esi
call fcn.00405d35
test eax, eax
je 0x401719
push edi
push esi
call fcn.004066c5
push 0x40e0a8
push 0xffffffffffffffe4
jmp 0x401630
push ebx
call fcn.00401459
mov esi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov edi, 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401871
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x401880
cmp word [eax], bx
je 0x401880
push esi
call fcn.00405d35
cmp eax, ebx
je 0x401871
add eax, 0x2c
push eax
push dword [ebp - 8]
call fcn.00405c57
jmp 0x401880
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
jne case.0x4015ef.69
push edi
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015ef.69
push 0xffffffffffffffff
call fcn.00401459
lea ecx, [ebp + 8]
push ecx
push esi
push 0x2000
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015ef.69
xor eax, eax
mov dword [ebp - 4], 1
mov word [esi], ax
jmp case.0x4015ef.69
push 0xffffffffffffffef
call fcn.00401459
push eax
push esi
call fcn.00405acd
jmp 0x401711
push 0x31
call fcn.00401459
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 0xc]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405973
push dword [ebp - 0xc]
mov esi, 0x40a0a8
test eax, eax
je 0x401910
push esi
call fcn.00405c57
jmp 0x401927
push 0x4c9000
push esi
call fcn.00405c57
push eax
call fcn.00406182
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00405c86
cmp dword [ebp + 8], 3
jl 0x401964
push esi
call fcn.00405d35
xor ecx, ecx
cmp eax, ebx
je 0x40194f
lea ecx, [ebp - 0x1c]
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 0x40196f
push esi
call fcn.00405a7e
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405a9e
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x4019ff
cmp dword [ebp + 8], ebx
jne 0x4019e1
push edi
push 0x4120a8
call fcn.00405c57
push esi
push edi
call fcn.00405c57
push dword [ebp - 0x14]
push 0x40e0a8
call fcn.00406265
push 0x4120a8
push edi
call fcn.00405c57
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40e0a8
call fcn.004058ee
sub eax, 4
je 0x40192d
dec eax
je 0x4019f4
push esi
push 0xfffffffffffffffa
jmp 0x4015f8
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.00404c14
cmp dword [ebp + 8], 2
jmp 0x401713
inc dword [0x4705c8]
jmp 0x402c71
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.00404c14
inc dword [0x4705f4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.0040311c
dec dword [0x4705f4]
cmp dword [ebp - 0x1c], 0xffffffff
mov edi, eax
jne 0x401a30
cmp dword [ebp - 0x18], 0xffffffff
je 0x401a3f
lea eax, [ebp - 0x1c]
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.0x4015ef.69
cmp edi, 0xfffffffe
jne 0x401a68
push 0xffffffffffffffe9
push esi
call fcn.00406265
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401a70
push 0xffffffffffffffee
push esi
call fcn.00406265
push 0x200010
push esi
call fcn.004058ee
jmp 0x4015fd
push ebx
call fcn.00401459
push dword [ebp - 0x24]
push eax
call fcn.004066f8
jmp case.0x4015ef.69
push 0x31
call fcn.00401459
push dword [ebp - 0x28]
push eax
call fcn.004058ee
cmp eax, ebx
je 0x401719
cmp eax, dword [ebp - 0x20]
jne 0x401ab9
mov eax, dword [ebp - 0x1c]
jmp case.0x4015ef.2
cmp eax, dword [ebp - 0x18]
jne case.0x4015ef.69
mov eax, dword [ebp - 0x14]
jmp case.0x4015ef.2
push 0xfffffffffffffff0
jmp 0x401a81
push 1
call fcn.00401459
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402c61
push 2
pop ecx
call fcn.00401443
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401443
push 1
mov edi, eax
call fcn.00401459
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov word [esi], cx
cmp dword [ebp - 0x20], ebx
je 0x401b12
cmp dword [ebp + 8], ebx
je case.0x4015ef.69
push eax
call sub.KERNEL32.dll_lstrlenW
cmp edi, ebx
jge 0x401b24
add edi, eax
js case.0x4015ef.69
cmp edi, eax
jle 0x401b2a
mov edi, eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.00405c57
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x4015ef.69
jge 0x401b50
push esi
call sub.KERNEL32.dll_lstrlenW
add edi, eax
jns 0x401b50
mov edi, ebx
cmp edi, 0x2000
jge case.0x4015ef.69
xor eax, eax
mov word [esi + edi*2], ax
jmp case.0x4015ef.69
push 0x20
call fcn.00401459
push 0x31
mov esi, eax
call fcn.00401459
push eax
push esi
cmp dword [ebp - 0x18], ebx
jne 0x401b94
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ab1
mov eax, dword [ebp - 0x20]
jmp case.0x4015ef.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401b84
push 1
call fcn.00401459
push 0x2000
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401bc7
cmp dword [ebp - 0x20], ebx
je 0x401bd3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401bd3
xor eax, eax
mov dword [ebp - 4], 1
mov word [esi], ax
xor eax, eax
mov word [esi + 0x3ffe], ax
jmp case.0x4015ef.69
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401443
cmp dword [ebp - 0x14], ebx
jne 0x401c09
cmp esi, eax
jl 0x401ab1
jle 0x401b8c
mov eax, dword [ebp - 0x18]
jmp case.0x4015ef.2
cmp esi, eax
jb 0x401ab1
jbe 0x401b8c
jmp 0x401c01
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov edi, eax
call fcn.00401443
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x401c35
jmp dword [eax*4 + 0x402d99]
add edi, ecx
jmp case.default.0x401c35
sub edi, ecx
jmp case.default.0x401c35
imul edi, ecx
jmp case.default.0x401c35
cmp ecx, ebx
je 0x401c54
mov eax, edi
cdq
idiv ecx
jmp 0x401c72
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401c35
or edi, ecx
jmp case.default.0x401c35
and edi, ecx
jmp case.default.0x401c35
xor edi, ecx
jmp case.default.0x401c35
xor eax, eax
cmp edi, ebx
sete al
mov edi, eax
jmp case.default.0x401c35
cmp edi, ebx
jne 0x401c7e
cmp ecx, ebx
je 0x401c87
xor edi, edi
inc edi
jmp case.default.0x401c35
cmp edi, ebx
jne 0x401c7a
xor edi, edi
jmp case.default.0x401c35
cmp ecx, ebx
je 0x401c54
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401c35
shl edi, cl
jmp case.default.0x401c35
sar edi, cl
push edi
jmp 0x402c62
push 1
call fcn.00401459
push 2
pop ecx
mov edi, eax
call fcn.00401443
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x4015ef.69
mov eax, dword [ebp - 0x20]
mov edi, dword [0x40a0a0]
cmp eax, ebx
je 0x401d22
dec eax
cmp edi, ebx
je 0x401ce2
mov edi, dword [edi]
cmp eax, ebx
jne 0x401cd3
cmp edi, ebx
jne 0x401cf5
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406265
push eax
jmp 0x401a76
add edi, 4
push edi
mov esi, 0x40a0a8
push esi
call fcn.00405c57
mov eax, dword [0x40a0a0]
add eax, 4
push eax
push edi
call fcn.00405c57
mov eax, dword [0x40a0a0]
push esi
add eax, 4
push eax
jmp 0x402a33
cmp dword [ebp - 0x24], ebx
je 0x401d46
cmp edi, ebx
je 0x401719
lea eax, [edi + 4]
push eax
push esi
call fcn.00405c57
mov eax, dword [edi]
mov dword [0x40a0a0], eax
push edi
jmp 0x402131
push 0x4004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406265
mov eax, dword [0x40a0a0]
mov dword [esi], eax
mov dword [0x40a0a0], esi
jmp case.0x4015ef.69
push 3
pop ecx
call fcn.00401443
push 4
pop ecx
mov dword [ebp - 0xc], eax
call fcn.00401443
test byte [ebp - 0x14], 1
mov dword [ebp + 8], eax
je 0x401d99
push 0x33
call fcn.00401459
mov dword [ebp - 0xc], eax
test byte [ebp - 0x14], 2
je 0x401da9
push 0x44
call fcn.00401459
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
jne 0x401df9
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov edi, eax
call fcn.00401443
mov ecx, dword [ebp - 0x14]
sar ecx, 2
cmp ecx, ebx
je 0x401de9
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401e2c
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e29
push 1
call fcn.00401459
push 0x12
mov edi, eax
call fcn.00401459
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [edi]
neg eax
push ecx
sbb eax, eax
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28], ebx
jl case.0x4015ef.69
push dword [ebp - 8]
jmp 0x402c62
xor ecx, ecx
call fcn.00401443
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4017c2
push 2
pop ecx
call fcn.00401443
xor ecx, ecx
push eax
inc ecx
call fcn.00401443
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402c61
mov eax, dword [0x470548]
add eax, dword [ebp - 0x24]
xor ecx, ecx
push eax
push 0xffffffffffffffeb
call fcn.00401443
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015ef.69
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x20]
push 0x10
push eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x20]
push eax
push ebx
push ebx
call fcn.00401459
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015ef.69
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015ef.69
push 0x48
push 0x5a
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.00401443
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x41e0a8], eax
call fcn.00401443
push dword [ebp - 0x24]
mov dword [0x41e0b8], eax
mov al, byte [ebp - 0x18]
mov cl, al
and cl, 1
mov byte [0x41e0bc], cl
mov cl, al
and cl, 2
and al, 4
push 0x41e0c4
mov byte [0x41e0bd], cl
mov byte [0x41e0be], al
mov byte [0x41e0bf], 1
call fcn.00406265
push 0x41e0a8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402c61
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401443
push eax
push esi
cmp dword [ebp - 0x1c], ebx
jne 0x401f86
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015ef.69
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015ef.69
push ebx
call fcn.00401459
push 0x31
mov esi, eax
call fcn.00401459
push 0x22
mov ebx, eax
call fcn.00401459
push 0x15
mov edi, eax
call fcn.00401459
push 0x40e0a8
push 0xffffffffffffffec
call fcn.00404c14
movzx eax, word [edi]
push dword [ebp - 0x1c]
neg eax
sbb eax, eax
and eax, edi
push 0x4c9000
push eax
movzx eax, word [esi]
neg eax
sbb eax, eax
push ebx
and eax, esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x4015ef.69
jmp 0x401719
push ebx
call fcn.00401459
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404c14
push esi
call fcn.0040588d
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x401719
cmp dword [ebp - 0x20], ebx
je 0x402067
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x402038
push 0xf
call fcn.00405d92
push 0x64
push dword [ebp - 8]
call esi
cmp eax, edi
je 0x40202a
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], ebx
jl 0x40205b
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00405b9f
jmp 0x402067
cmp dword [ebp - 0xc], ebx
je 0x402067
mov dword [ebp - 4], 1
push dword [ebp - 8]
jmp 0x4026cd
push 2
call fcn.00401459
push eax
call fcn.00405d35
mov edi, eax
cmp edi, ebx
je 0x402095
push dword [edi + 0x14]
push dword [ebp + 8]
call fcn.00405b9f
push dword [edi + 0x18]
jmp 0x402c62
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
mov word [ecx], ax
jmp 0x401719
push 0xffffffffffffffee
call fcn.00401459
lea ecx, [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x30], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, dword [ebp + 8]
mov edi, eax
xor eax, eax
mov word [esi], ax
mov word [ecx], ax
mov dword [ebp - 4], 1
cmp edi, ebx
je case.0x4015ef.69
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp eax, ebx
je case.0x4015ef.69
push eax
push edi
push ebx
push dword [ebp - 0x30]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40212e
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4082d0
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40212e
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
push esi
call fcn.00405b9f
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00405b9f
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015ef.69
push 0x11
call fcn.00401459
push 0x2000
push esi
push eax
call fcn.00406be7
add esp, 0xc
jmp 0x401711
push 0x11
call fcn.00401459
push 0x2000
push esi
push eax
call fcn.00406c59
jmp 0x40214f
mov dword [ebp - 4], 1
cmp dword [0x4705f8], ebx
jl 0x40223d
push 0xfffffffffffffff0
call fcn.00401459
push 1
mov esi, eax
call fcn.00401459
mov dword [ebp - 8], eax
cmp dword [ebp - 0x18], ebx
je 0x4021a5
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x4021b6
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x402231
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00405dc5
mov esi, eax
cmp esi, ebx
je 0x402200
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x20], ebx
je 0x4021e6
push dword [ebp - 0x20]
call fcn.00401432
call esi
test eax, eax
je 0x40220a
mov dword [ebp - 4], 1
jmp 0x40220a
push section..data
push 0x40a0a0
push edi
push 0x2000
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x40220a
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00404c14
cmp dword [ebp - 0x1c], ebx
jne case.0x4015ef.69
push dword [ebp + 8]
call fcn.004039e5
test eax, eax
je case.0x4015ef.69
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015ef.69
push 0x40e0a8
push 0xfffffffffffffff6
jmp 0x401630
push 0x40e0a8
push 0xffffffffffffffe7
jmp 0x401630
push 0xfffffffffffffff0
call fcn.00401459
push 0xffffffffffffffdf
mov dword [ebp - 0x40], eax
call fcn.00401459
push 2
mov esi, eax
call fcn.00401459
push 0xffffffffffffffcd
mov dword [ebp - 0x30], eax
call fcn.00401459
push 0x45
mov dword [ebp - 8], eax
call fcn.00401459
push esi
mov dword [ebp - 0x38], eax
call fcn.00405973
test eax, eax
jne 0x40228b
push 0x21
call fcn.00401459
lea eax, [ebp + 8]
push eax
push 0x408a0c
push 1
push ebx
push 0x408a2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402366
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408a1c
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x402359
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4c9000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x4022fd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x18]
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 0x402324
mov edx, dword [ebp - 0x18]
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 - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp edi, ebx
jl 0x402350
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x40]
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 0x402379
push 0x40e0a8
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x401630
push 0x40e0a8
push 0xfffffffffffffff4
jmp 0x401630
push ebx
call fcn.00401459
push 0x11
mov esi, eax
call fcn.00401459
push 0x23
mov edi, eax
call fcn.00401459
push esi
mov dword [ebp + 8], eax
call fcn.00405d35
test eax, eax
jne 0x4023b7
push ebx
push 0xfffffffffffffff9
call fcn.00404c14
jmp 0x401719
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push edi
mov word [esi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [edi + eax*2 + 2], cx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x48], cx
call fcn.00404c14
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015ef.69
jmp 0x4023aa
cmp eax, 0xbadf00d
jne 0x401ce2
inc dword [0x4705d4]
jmp case.0x4015ef.69
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x402433
push ebx
call fcn.00401459
mov esi, eax
cmp dword [ebp - 0x24], ebx
je 0x402441
push 0x11
call fcn.00401459
mov edi, eax
cmp dword [ebp - 0x18], ebx
je 0x40244f
push 0x22
call fcn.00401459
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00401459
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401711
mov eax, dword [0x4082c8]
mov dword [ebp - 0x44], eax
mov eax, dword [0x4082cc]
push 1
mov dword [ebp - 0x40], eax
call fcn.00401459
push 0x12
mov edi, eax
call fcn.00401459
push 0xffffffffffffffdd
mov ebx, eax
call fcn.00401459
push eax
push 0x1fff
push esi
lea eax, [ebp - 0x44]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4018b5
cmp dword [ebp - 0x18], ebx
jne 0x4024e1
push 2
call fcn.0040154d
mov esi, eax
cmp esi, ebx
je 0x401719
push 0x33
call fcn.00401459
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40250b
push 0x22
call fcn.00401459
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
jne 0x4024fb
mov ecx, dword [0x4705c4]
add ecx, 0x80000001
mov edx, dword [ebp - 0x18]
and edx, 2
push edx
push eax
push ecx
call fcn.00401497
mov edi, eax
cmp edi, ebx
je case.0x4015ef.69
jmp 0x401719
cmp eax, ebx
je 0x402520
mov edi, eax
jmp 0x40252c
mov edi, dword [0x4705c4]
add edi, 0x80000001
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
push 2
mov dword [ebp - 0x40], eax
call fcn.00401459
push 0x11
mov dword [ebp - 0x38], eax
call fcn.00401459
push ebx
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [0x4705f0]
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.0x4015ef.69
mov edi, 0x4120a8
cmp esi, 1
jne 0x40258b
push 0x23
call fcn.00401459
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x40259f
push 3
pop ecx
call fcn.00401443
push esi
mov dword [0x4120a8], eax
pop eax
cmp esi, 3
jne 0x4025b3
push 0xc000
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.0040311c
push eax
push edi
push dword [ebp - 0x40]
push ebx
push dword [ebp - 0x38]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4025cc
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015ef.69
push 0x20019
call fcn.0040154d
push 0x33
mov edi, eax
call fcn.00401459
xor ecx, ecx
mov word [esi], cx
cmp edi, ebx
je 0x401719
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
mov dword [ebp - 8], 0x4000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402651
cmp dword [ebp + 8], 4
je 0x40263c
cmp dword [ebp + 8], ecx
je 0x40262b
cmp dword [ebp + 8], 2
jne 0x402651
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov word [esi + ecx*2], ax
jmp 0x402659
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.00405b9f
jmp 0x402659
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], ecx
push edi
jmp 0x4025cf
push 0x20019
call fcn.0040154d
push 3
pop ecx
mov edi, eax
call fcn.00401443
xor ecx, ecx
mov word [esi], cx
cmp edi, ebx
je 0x401719
mov ecx, 0x1fff
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x18], ebx
je 0x402699
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4026b2
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x401719
xor eax, eax
mov word [esi + 0x3ffe], ax
jmp 0x402659
cmp word [esi], bx
je case.0x4015ef.69
push esi
call fcn.00405bb8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015ef.69
push 0xffffffffffffffed
call fcn.00401459
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405a9e
cmp eax, 0xffffffff
jne 0x402c61
xor eax, eax
mov word [esi], ax
jmp 0x401719
mov edi, 0x2000
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 8], eax
cmp dword [ebp - 0x20], ebx
je 0x402726
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
jmp 0x40274b
push 0x11
call fcn.00401459
push ebx
push ebx
push edi
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40e0a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [esi], bx
je 0x40276a
push ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp + 8]
push esi
call fcn.00405bb8
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402771
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402131
push 2
pop ecx
xor edi, edi
call fcn.00401443
mov dword [ebp - 8], eax
cmp eax, 1
jl case.0x4015ef.69
mov ecx, 0x1fff
cmp eax, ecx
jle 0x40279b
mov dword [ebp - 8], ecx
cmp word [esi], bx
je 0x402858
push esi
mov byte [ebp - 0x31], bl
call fcn.00405bb8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 8], ebx
jle 0x402858
mov esi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40285b
cmp dword [ebp - 0x40], 1
jne 0x40285b
cmp dword [ebp - 0x1c], ebx
jne 0x40281c
push 2
lea eax, [ebp - 0xc]
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 - 0x31]
cmp al, 0xd
je 0x40282c
cmp al, 0xa
je 0x40282c
mov ax, word [ebp - 0xc]
mov word [esi + edi*2], ax
mov al, byte [ebp + 0xb]
inc edi
mov byte [ebp - 0x31], al
cmp al, bl
je 0x40285b
cmp edi, dword [ebp - 8]
jl 0x4027bc
jmp 0x40285b
movzx eax, byte [ebp + 0xb]
push eax
push esi
call fcn.00405b9f
jmp 0x402c71
cmp al, byte [ebp + 0xb]
je 0x402848
cmp byte [ebp + 0xb], 0xd
je 0x40283d
cmp byte [ebp + 0xb], 0xa
jne 0x402848
mov ax, word [ebp - 0xc]
mov word [esi + edi*2], ax
inc edi
jmp 0x40285b
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40285b
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi + edi*2], ax
cmp edi, ebx
jmp 0x401713
cmp dword [ebp - 0x20], ebx
je 0x402880
xor ecx, ecx
inc ecx
call fcn.00401443
mov word [0x40e0a8], ax
xor eax, eax
inc eax
jmp 0x40288d
push 0x11
call fcn.00401459
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [esi], bx
je 0x401719
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40e0a8
push esi
call fcn.00405bb8
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401711
push 2
pop ecx
xor edi, edi
call fcn.00401443
mov dword [ebp - 0xc], eax
cmp eax, 1
jl case.0x4015ef.69
mov ecx, 0x1fff
cmp eax, ecx
jle 0x4028d7
mov dword [ebp - 0xc], ecx
cmp word [esi], bx
je 0x402858
push esi
mov dword [ebp - 8], ebx
call fcn.00405bb8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0xc], ebx
jle 0x402858
mov esi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x40]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40285b
cmp dword [ebp - 0x40], 2
jne 0x40285b
cmp dword [ebp - 0x1c], ebx
jne 0x402953
cmp word [ebp - 8], 0xd
je 0x40295c
cmp word [ebp - 8], 0xa
je 0x40295c
mov ax, word [ebp + 8]
movzx ecx, ax
mov word [esi + edi*2], ax
inc edi
mov dword [ebp - 8], ecx
cmp ax, bx
je 0x40285b
cmp edi, dword [ebp - 0xc]
jl 0x4028f8
jmp 0x40285b
movzx eax, word [ebp + 8]
jmp 0x402820
mov ax, word [ebp + 8]
cmp word [ebp - 8], ax
je 0x40297a
cmp ax, 0xd
je 0x402841
cmp ax, 0xa
je 0x402841
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x40284d
cmp word [esi], bx
je case.0x4015ef.69
push dword [ebp - 0x1c]
push ebx
push 2
pop ecx
call fcn.00401443
push eax
push esi
call fcn.00405bb8
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x4015ef.69
push eax
push dword [ebp + 8]
jmp 0x402c63
cmp word [esi], bx
je case.0x4015ef.69
push esi
call fcn.00405bb8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015ef.69
cmp word [ecx], bx
je 0x4018bd
lea eax, [ebp - 0x2a8]
push eax
push ecx
call fcn.00405bb8
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4018bd
jmp 0x402a2b
push 2
call fcn.00401459
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402a22
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
jmp 0x4026f4
push eax
push dword [ebp + 8]
call fcn.00405b9f
lea eax, [ebp - 0x27c]
push eax
push esi
call fcn.00405c57
jmp case.0x4015ef.69
push 0xfffffffffffffff0
mov dword [ebp - 8], 0xfffffd66
call fcn.00401459
mov esi, eax
push esi
mov dword [ebp - 0x38], esi
call fcn.00405973
test eax, eax
jne 0x402a61
push 0xffffffffffffffed
call fcn.00401459
push esi
call fcn.00405a7e
push 2
push 0x40000000
push esi
call fcn.00405a9e
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402b1d
mov eax, dword [0x47056c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x30], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402b14
push ebx
call fcn.00402f3c
push dword [ebp - 0x30]
push edi
call fcn.00402f0a
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x40], esi
cmp esi, ebx
je 0x402aec
push dword [ebp - 0x20]
push esi
push ebx
push dword [ebp - 0x24]
call fcn.0040311c
jmp 0x402adf
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x10], ecx
call fcn.00405a5a
add esi, dword [ebp - 0x10]
cmp byte [esi], bl
jne 0x402ac7
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x30]
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.0040311c
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
pop esi
cmp dword [ebp - 8], ebx
jge 0x402b38
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
call fcn.00401432
jmp case.0x4015ef.69
xor ecx, ecx
call fcn.00401443
mov edi, eax
cmp edi, dword [0x47052c]
jae 0x401719
mov eax, dword [ebp - 0x20]
mov esi, edi
imul esi, esi, 0x4018
add esi, dword [0x470528]
cmp eax, ebx
jl 0x402b84
mov ecx, dword [esi + eax*4]
jne 0x402b7e
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402a33
push ecx
jmp 0x4029b1
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402b9b
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp - 0x24], eax
jmp 0x402bae
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.00406265
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x1c], ebx
je case.0x4015ef.69
push edi
call fcn.00401186
jmp case.0x4015ef.69
xor ecx, ecx
call fcn.00401443
cmp eax, 0x20
jae 0x401719
cmp dword [ebp - 0x1c], ebx
je 0x402bff
cmp dword [ebp - 0x20], ebx
je 0x402bf4
push eax
call fcn.004012a6
push ebx
push ebx
call fcn.004011f8
jmp case.0x4015ef.69
push ebx
call fcn.004012f1
jmp 0x4029b0
cmp dword [ebp - 0x20], ebx
je 0x402c16
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x47050c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015ef.69
mov ecx, dword [0x47050c]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.00406265
jmp case.0x4015ef.69
mov ecx, dword [0x4561f4]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x28], ebx
je case.0x4015ef.69
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015ef.69
push 1
call fcn.00401459
push eax
call fcn.00405e0c
push eax
push esi
call fcn.00405b9f
mov eax, dword [ebp - 4]
add dword [0x4705c8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4