Function at 0x40165c
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, 0x2a4
mov eax, dword [0x4745d4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebp - 4], 0
push 7
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov edi, eax
mov ebx, edx
imul edi, edi, 0x4008
imul ebx, ebx, 0x4008
mov ecx, section..ndata
add edi, ecx
add ebx, ecx
lea ecx, [ebp - 0x24]
mov dword [0x40a0c4], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffffe
cmp ecx, 0x44
ja case.0x4016b6.67
jmp dword [ecx*4 + 0x402d2c]
push 0
push eax
call fcn.00404e92
mov eax, 0x7fffffff
jmp case.0x4016b6.2
inc dword [0x46c594]
cmp dword [ebp - 8], 0
je 0x4016c5
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4016c5
push eax
call fcn.0040137c
dec eax
push 0
push eax
call fcn.0040139b
jmp case.0x4016b6.2
push 0
push eax
call fcn.00404e92
jmp case.0x4016b6.67
xor ecx, ecx
call fcn.00401506
cmp eax, 1
jg 0x401715
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4016b6.67
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4016b6.67
shl eax, 2
cmp dword [ebp - 0x1c], 0
jne 0x40175b
mov ecx, dword [eax + 0x474680]
mov dword [eax + 0x474640], ecx
xor ecx, ecx
inc ecx
call fcn.00401506
mov ecx, dword [ebp - 0x24]
mov dword [ecx*4 + 0x474680], eax
jmp case.0x4016b6.67
mov ecx, dword [eax + 0x474640]
mov dword [eax + 0x474680], ecx
jmp case.0x4016b6.67
mov edx, dword [ebp - 0x1c]
lea edx, [edx*4 + 0x474680]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x24]
jmp case.0x4016b6.2
push dword [edx*4 + 0x474680]
jmp 0x402d12
mov ecx, dword [0x46c5a0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x4017b0
push edx
push ecx
call esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x46c58c]
test ecx, ecx
je case.0x4016b6.67
push eax
push ecx
call esi
jmp case.0x4016b6.67
push 0xfffffffffffffff0
pop esi
call fcn.0040151c
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4016b6.67
mov dword [ebp - 4], 1
jmp case.0x4016b6.67
push 0xfffffffffffffff0
pop esi
call fcn.0040151c
mov ebx, eax
push ebx
call fcn.00405cc0
mov esi, eax
test esi, esi
je 0x401846
push 0x5c
push esi
call fcn.00405c6c
mov esi, eax
movzx edi, word [esi]
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40183c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401839
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40183c
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x401803
cmp dword [ebp - 0x20], 0
je 0x40186a
push 0xffffffffffffffe6
call fcn.004014f5
push ebx
push 0x4cd0b0
call fcn.00405fcf
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4016b6.67
push 0xfffffffffffffff5
call fcn.004014f5
jmp case.0x4016b6.67
xor esi, esi
call fcn.0040151c
push eax
call fcn.0040611e
test eax, eax
je 0x401c50
mov eax, dword [ebp - 0x20]
jmp case.0x4016b6.2
push 0xffffffffffffffd0
pop esi
call fcn.0040151c
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.0040151c
push 0x13
pop esi
mov ebx, eax
call fcn.0040151c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4018bf
push 0xffffffffffffffe3
jmp 0x40186c
cmp dword [ebp - 0x1c], 0
je 0x4017e1
push edi
call fcn.0040611e
test eax, eax
je 0x4017e1
push ebx
push edi
call fcn.00406aac
push 0xffffffffffffffe4
jmp 0x40186c
xor esi, esi
call fcn.0040151c
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x2004
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401925
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401931
cmp word [eax], 0
je 0x401931
push esi
call fcn.0040611e
test eax, eax
je 0x401925
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00405fcf
jmp 0x401931
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne case.0x4016b6.67
push 0x2004
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4016b6.67
or esi, 0xffffffff
call fcn.0040151c
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4016b6.67
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
jmp case.0x4016b6.67
push 0xffffffffffffffef
pop esi
call fcn.0040151c
push eax
push edi
call fcn.00405e44
jmp 0x4017d9
push 0x31
pop esi
call fcn.0040151c
mov esi, eax
mov eax, dword [ebp - 0x24]
and eax, 7
push esi
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], eax
call fcn.00405c8b
push esi
mov esi, 0x40a0c8
test eax, eax
je 0x4019c5
push esi
call fcn.00405fcf
jmp 0x4019dc
push 0x4cd0b0
push esi
call fcn.00405fcf
push eax
call fcn.0040656c
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040606d
mov edi, 0x4120d8
mov ebx, section..ndata
cmp dword [ebp + 8], 3
jl 0x401a23
push esi
call fcn.0040611e
xor ecx, ecx
test eax, eax
je 0x401a0e
lea ecx, [ebp - 0x18]
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], 0
jne 0x401a2f
push esi
call fcn.00405df5
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405e15
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x401ab8
cmp dword [ebp + 8], 0
jne 0x401a9a
push ebx
push edi
call fcn.00405fcf
push esi
push ebx
call fcn.00405fcf
push dword [ebp - 0x10]
push 0x40e0d0
call fcn.00406650
push edi
push ebx
call fcn.00405fcf
mov eax, dword [ebp - 0x24]
sar eax, 3
push eax
push 0x40e0d0
call fcn.00405c06
sub eax, 4
je 0x4019ec
dec eax
je 0x401aad
push esi
push 0xfffffffffffffffa
jmp 0x4016c0
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.00404e92
cmp dword [ebp + 8], 2
jmp 0x4017db
inc dword [0x474688]
jmp 0x402d21
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.00404e92
inc dword [0x4746b4]
xor edi, edi
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.00403178
dec dword [0x4746b4]
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, eax
jne 0x401aeb
cmp dword [ebp - 0x14], 0xffffffff
je 0x401afa
lea eax, [ebp - 0x18]
push eax
push edi
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 ebx, edi
jge case.0x4016b6.67
cmp ebx, 0xfffffffe
jne 0x401b23
push 0xffffffffffffffe9
push esi
call fcn.00406650
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401b2b
push 0xffffffffffffffee
push esi
call fcn.00406650
push 0x200010
push esi
call fcn.00405c06
jmp 0x4016c5
xor esi, esi
call fcn.0040151c
push dword [ebp - 0x20]
push eax
call fcn.00406adf
jmp case.0x4016b6.67
push 0x31
pop esi
call fcn.0040151c
push dword [ebp - 0x24]
push eax
call fcn.00405c06
test eax, eax
je 0x4017e1
cmp eax, dword [ebp - 0x1c]
jne 0x401b76
mov eax, dword [ebp - 0x18]
jmp case.0x4016b6.2
cmp eax, dword [ebp - 0x14]
jne case.0x4016b6.67
mov eax, dword [ebp - 0x10]
jmp case.0x4016b6.2
push 0xfffffffffffffff0
pop esi
jmp 0x401b3d
xor esi, esi
inc esi
call fcn.0040151c
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402d11
push 2
pop ecx
call fcn.00401506
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401506
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040151c
mov esi, eax
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x1c], eax
je 0x401bd1
cmp dword [ebp + 8], eax
je case.0x4016b6.67
push esi
call sub.KERNEL32.dll_lstrlenW
test ebx, ebx
jge 0x401be3
add ebx, eax
js case.0x4016b6.67
cmp ebx, eax
jle 0x401be9
mov ebx, eax
lea eax, [esi + ebx*2]
push eax
push edi
call fcn.00405fcf
mov esi, dword [ebp + 8]
test esi, esi
je case.0x4016b6.67
jge 0x401c11
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
jns 0x401c11
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2004
jge case.0x4016b6.67
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x4016b6.67
push 0x20
pop esi
call fcn.0040151c
push 0x31
pop esi
mov edi, eax
call fcn.0040151c
cmp dword [ebp - 0x14], 0
push eax
push edi
jne 0x401c58
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b6e
mov eax, dword [ebp - 0x1c]
jmp case.0x4016b6.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401c48
xor esi, esi
inc esi
call fcn.0040151c
push 0x2004
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401c8d
cmp dword [ebp - 0x1c], 0
je 0x401c95
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c95
xor eax, eax
mov dword [ebp - 4], esi
mov word [edi], ax
xor eax, eax
mov word [edi + 0x4006], ax
jmp case.0x4016b6.67
xor ecx, ecx
call fcn.00401506
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401506
cmp dword [ebp - 0x10], 0
jne 0x401ccc
cmp esi, eax
jl 0x401b6e
jle 0x401c50
mov eax, dword [ebp - 0x14]
jmp case.0x4016b6.2
cmp esi, eax
jb 0x401b6e
jbe 0x401c50
jmp 0x401cc4
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.00401506
push 2
pop ecx
mov esi, eax
call fcn.00401506
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xc
ja case.default.0x401cfa
jmp dword [eax*4 + 0x402e40]
add esi, ecx
jmp case.default.0x401cfa
sub esi, ecx
jmp case.default.0x401cfa
imul ecx, esi
mov esi, ecx
jmp case.default.0x401cfa
test ecx, ecx
je 0x401d1b
mov eax, esi
cdq
idiv ecx
jmp 0x401d35
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401cfa
or esi, ecx
jmp case.default.0x401cfa
and esi, ecx
jmp case.default.0x401cfa
xor esi, ecx
jmp case.default.0x401cfa
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401cfa
test esi, esi
jne 0x401d41
test ecx, ecx
je 0x401d49
mov esi, ebx
jmp case.default.0x401cfa
test esi, esi
jne 0x401d3d
xor esi, esi
jmp case.default.0x401cfa
test ecx, ecx
je 0x401d1b
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401cfa
shl esi, cl
jmp case.default.0x401cfa
sar esi, cl
push esi
jmp 0x402d12
xor esi, esi
inc esi
call fcn.0040151c
push 2
pop ecx
mov esi, eax
call fcn.00401506
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x4016b6.67
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x40a0c0]
test eax, eax
je 0x401de6
dec eax
test esi, esi
je 0x401da5
mov esi, dword [esi]
test eax, eax
jne 0x401d96
test esi, esi
jne 0x401db9
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406650
push eax
jmp 0x401b31
lea edi, [esi + 4]
push edi
mov esi, 0x40a0c8
push esi
call fcn.00405fcf
mov eax, dword [0x40a0c0]
add eax, 4
push eax
push edi
call fcn.00405fcf
mov eax, dword [0x40a0c0]
push esi
add eax, 4
push eax
jmp 0x402ae5
test edx, edx
je 0x401e09
test esi, esi
je 0x4017e1
lea eax, [esi + 4]
push eax
push edi
call fcn.00405fcf
mov eax, dword [esi]
mov dword [0x40a0c0], eax
push esi
jmp 0x4021f9
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x24]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406650
mov eax, dword [0x40a0c0]
mov dword [esi], eax
mov dword [0x40a0c0], esi
jmp case.0x4016b6.67
push 3
pop ecx
call fcn.00401506
push 4
pop ecx
mov dword [ebp - 8], eax
call fcn.00401506
test byte [ebp - 0x10], 1
mov dword [ebp + 8], eax
je 0x401e5d
push 0x33
pop esi
call fcn.0040151c
mov dword [ebp - 8], eax
test byte [ebp - 0x10], 2
je 0x401e6e
push 0x44
pop esi
call fcn.0040151c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x28], 0x21
jne 0x401ebf
xor ecx, ecx
inc ecx
call fcn.00401506
push 2
pop ecx
mov esi, eax
call fcn.00401506
mov ecx, dword [ebp - 0x10]
sar ecx, 2
test ecx, ecx
je 0x401eaf
lea edx, [ebp - 0xc]
push edx
push ecx
push 0
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 0x401ef4
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401ef1
xor esi, esi
inc esi
call fcn.0040151c
push 0x12
pop esi
mov ebx, eax
call fcn.0040151c
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [ebx]
neg eax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0
jl case.0x4016b6.67
push dword [ebp - 0xc]
jmp 0x402d12
xor ecx, ecx
call fcn.00401506
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x401883
push 2
pop ecx
call fcn.00401506
xor ecx, ecx
push eax
inc ecx
call fcn.00401506
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402d11
mov eax, dword [0x474608]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401506
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4016b6.67
push edx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x1c]
push 0x10
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x1c]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.0040151c
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.0x4016b6.67
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4016b6.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.00401506
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x41e0f0], eax
call fcn.00401506
push dword [ebp - 0x20]
mov dword [0x41e100], eax
mov al, byte [ebp - 0x14]
mov cl, al
and cl, 1
mov byte [0x41e104], cl
mov cl, al
and cl, 2
and al, 4
push 0x41e10c
mov byte [0x41e105], cl
mov byte [0x41e106], al
mov byte [0x41e107], 1
call fcn.00406650
push 0x41e0f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402d11
xor ecx, ecx
call fcn.00401506
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401506
cmp dword [ebp - 0x18], 0
push eax
push esi
jne 0x402050
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4016b6.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4016b6.67
xor esi, esi
call fcn.0040151c
push 0x31
pop esi
mov edi, eax
call fcn.0040151c
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.0040151c
push 0x15
pop esi
mov ebx, eax
call fcn.0040151c
push 0xffffffffffffffec
call fcn.004014f5
movzx eax, word [ebx]
push dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, ebx
push 0x4cd0b0
push eax
movzx eax, word [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x4016b6.67
jmp 0x4017e1
xor esi, esi
call fcn.0040151c
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404e92
push esi
call fcn.00405ba5
mov dword [ebp + 8], eax
test eax, eax
je 0x4017e1
cmp dword [ebp - 0x1c], 0
je 0x402135
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x402106
push 0xf
call fcn.0040617c
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x4020f8
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x20], 0
jl 0x402128
push dword [ebp - 0xc]
push ebx
call fcn.00405f16
jmp 0x402135
cmp dword [ebp - 0xc], 0
je 0x402135
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x40277d
push 2
pop esi
call fcn.0040151c
push eax
call fcn.0040611e
mov esi, eax
test esi, esi
je 0x402162
push dword [esi + 0x14]
push ebx
call fcn.00405f16
push dword [esi + 0x18]
jmp 0x402d12
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
jmp 0x4017e1
push 0xffffffffffffffee
pop esi
call fcn.0040151c
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x2c], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
mov dword [ebp - 4], 1
test esi, esi
je case.0x4016b6.67
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
je case.0x4016b6.67
push eax
push esi
push 0
push dword [ebp - 0x2c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4021f6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
push 0x4082d0
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4021f6
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.00405f16
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push ebx
call fcn.00405f16
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4016b6.67
cmp dword [0x4746b8], 0
mov dword [ebp - 4], 1
jl 0x4022d1
push 0xfffffffffffffff0
pop esi
call fcn.0040151c
xor esi, esi
inc esi
mov edi, eax
call fcn.0040151c
xor esi, esi
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], esi
je 0x402241
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
cmp ebx, esi
jne 0x402251
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
je 0x4022ca
push dword [ebp + 8]
push ebx
call fcn.004061af
mov edi, eax
cmp edi, esi
je 0x40229d
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
je 0x40227f
push dword [ebp - 0x1c]
call fcn.004014f5
call edi
test eax, eax
je 0x4022a7
mov dword [ebp - 4], 1
jmp 0x4022a7
push section..data
push 0x40a0c0
push section..ndata
push 0x2004
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x4022a7
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404e92
cmp dword [ebp - 0x18], esi
jne case.0x4016b6.67
push ebx
call fcn.00403c57
test eax, eax
je case.0x4016b6.67
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4016b6.67
push 0xfffffffffffffff6
jmp 0x40186c
push 0xffffffffffffffe7
jmp 0x40186c
push 0xfffffffffffffff0
pop esi
call fcn.0040151c
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x3c], eax
call fcn.0040151c
push 2
pop esi
mov ebx, eax
call fcn.0040151c
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 8], eax
call fcn.0040151c
push 0x45
pop esi
mov dword [ebp - 0x2c], eax
call fcn.0040151c
push ebx
mov dword [ebp - 0x34], eax
call fcn.00405c8b
test eax, eax
jne 0x402320
push 0x21
pop esi
call fcn.0040151c
lea eax, [ebp + 8]
push eax
push 0x408a48
push 1
push 0
push 0x408a68
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4023fb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408a58
push eax
call dword [ecx]
mov edi, eax
test edi, edi
jl 0x4023ee
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4cd0b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x402393
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0
je 0x4023b9
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and ebx, esi
push ebx
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test edi, edi
jl 0x4023e5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x3c]
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]
test edi, edi
jge 0x402409
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x40186c
push 0xfffffffffffffff4
jmp 0x40186c
xor esi, esi
call fcn.0040151c
push 0x11
pop esi
mov edi, eax
call fcn.0040151c
push 0x23
pop esi
mov ebx, eax
call fcn.0040151c
push edi
mov esi, eax
call fcn.0040611e
test eax, eax
jne 0x402445
push 0
push 0xfffffffffffffff9
call fcn.00404e92
jmp 0x4017e1
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push ebx
mov word [edi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ax, word [ebp - 0x1c]
push esi
push ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3a], esi
mov word [ebp - 0x44], ax
call fcn.00404e92
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4016b6.67
jmp 0x402437
cmp eax, 0xbadf00d
jne 0x401da5
inc dword [0x474694]
jmp case.0x4016b6.67
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
cmp eax, ebx
je 0x4024c5
xor esi, esi
call fcn.0040151c
mov edx, dword [ebp - 0x20]
mov edi, eax
test edx, edx
je 0x4024d4
push 0x11
pop esi
call fcn.0040151c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], ebx
je 0x4024e3
push 0x22
pop esi
call fcn.0040151c
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.0040151c
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4017d9
mov eax, dword [0x4082c8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4082cc]
xor esi, esi
inc esi
mov dword [ebp - 0x3c], eax
call fcn.0040151c
push 0x12
pop esi
mov ebx, eax
call fcn.0040151c
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.0040151c
push eax
push 0x2003
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x40196a
cmp dword [ebp - 0x14], 0
jne 0x402580
push 2
call fcn.0040160d
mov edi, eax
test edi, edi
je 0x4017e1
push 0x33
pop esi
call fcn.0040151c
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4025ab
push 0x22
pop esi
call fcn.0040151c
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x40259b
mov ecx, dword [0x474684]
add ecx, 0x80000001
mov edx, dword [ebp - 0x14]
and edx, 2
push edx
push eax
push ecx
call fcn.00401557
mov esi, eax
test esi, esi
je case.0x4016b6.67
jmp 0x4017e1
test eax, eax
je 0x4025c0
mov edi, eax
jmp 0x4025cc
mov edi, dword [0x474684]
add edi, 0x80000001
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push 2
pop esi
mov dword [ebp - 0x3c], eax
call fcn.0040151c
push 0x11
pop esi
mov dword [ebp - 0x34], eax
call fcn.0040151c
xor ecx, ecx
push ecx
lea edx, [ebp + 8]
push edx
mov edx, dword [0x4746b0]
push ecx
or edx, 2
push edx
push ecx
push ecx
push ecx
push eax
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne case.0x4016b6.67
mov edi, 0x4120d8
cmp ebx, 1
jne 0x402630
push 0x23
pop esi
call fcn.0040151c
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp ebx, 4
jne 0x402644
push 3
pop ecx
call fcn.00401506
push ebx
mov dword [0x4120d8], eax
pop eax
cmp ebx, 3
jne 0x402659
push 0xc018
push edi
push 0
push dword [ebp - 0x18]
call fcn.00403178
push eax
push edi
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x34]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402673
and dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4016b6.67
push 0x20019
call fcn.0040160d
push 0x33
pop esi
mov ebx, eax
call fcn.0040151c
xor ecx, ecx
mov word [edi], cx
test ebx, ebx
je 0x4017e1
lea ecx, [ebp - 0xc]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 0xc], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4026fa
cmp dword [ebp + 8], 4
je 0x4026e5
cmp dword [ebp + 8], ecx
je 0x4026d4
cmp dword [ebp + 8], 2
jne 0x4026fa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x402702
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x14], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405f16
jmp 0x402702
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], ecx
push ebx
jmp 0x402676
push 0x20019
call fcn.0040160d
push 3
pop ecx
mov esi, eax
call fcn.00401506
xor ecx, ecx
xor edx, edx
mov word [edi], cx
cmp esi, edx
je 0x4017e1
mov ecx, 0x2003
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x14], edx
je 0x402744
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40275d
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4017e1
xor eax, eax
mov word [edi + 0x4006], ax
push esi
jmp 0x402676
cmp word [edi], 0
je case.0x4016b6.67
push edi
call fcn.00405f2f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4016b6.67
push 0xffffffffffffffed
pop esi
call fcn.0040151c
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call fcn.00405e15
cmp eax, 0xffffffff
jne 0x402d11
xor eax, eax
mov word [edi], ax
jmp 0x4017e1
mov ebx, 0x2004
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x1c], 0
mov esi, eax
mov dword [ebp + 8], esi
je 0x4027d7
xor ecx, ecx
inc ecx
call fcn.00401506
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x4027ff
push 0x11
pop esi
call fcn.0040151c
xor eax, eax
push eax
push eax
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40e0d0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [edi], 0
je 0x402820
push 0
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.00405f2f
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402827
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x4021f9
push 2
pop ecx
xor esi, esi
call fcn.00401506
cmp eax, 1
mov dword [ebp - 0xc], eax
jl case.0x4016b6.67
mov ecx, 0x2003
cmp eax, ecx
jle 0x402851
mov dword [ebp - 0xc], ecx
cmp word [edi], si
je 0x40290d
push edi
mov byte [ebp - 0x2d], 0
call fcn.00405f2f
cmp dword [ebp - 0xc], esi
mov dword [ebp - 0x2c], eax
jle 0x40290d
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40290d
cmp dword [ebp - 0x3c], 1
jne 0x40290d
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x4028d3
push 2
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x2d]
cmp al, 0xd
je 0x4028e3
cmp al, 0xa
je 0x4028e3
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
mov byte [ebp - 0x2d], al
test al, al
je 0x40290d
cmp esi, dword [ebp - 0xc]
jl 0x402870
jmp 0x40290d
movzx eax, byte [ebp + 0xb]
push eax
push ebx
call fcn.00405f16
jmp 0x402d21
cmp al, byte [ebp + 0xb]
je 0x4028ff
cmp byte [ebp + 0xb], 0xd
je 0x4028f4
cmp byte [ebp + 0xb], 0xa
jne 0x4028ff
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
inc esi
jmp 0x40290d
push 1
push edi
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov word [ebx + esi*2], ax
test esi, esi
jmp 0x4017db
cmp dword [ebp - 0x1c], 0
je 0x402933
xor ecx, ecx
inc ecx
call fcn.00401506
mov word [0x40e0d0], ax
xor eax, eax
inc eax
jmp 0x402941
push 0x11
pop esi
call fcn.0040151c
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], 0
je 0x4017e1
push 0
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40e0d0
push edi
call fcn.00405f2f
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4017d9
push 2
pop ecx
xor esi, esi
call fcn.00401506
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x4016b6.67
mov ecx, 0x2003
cmp eax, ecx
jle 0x40298d
mov dword [ebp - 8], ecx
cmp word [edi], si
je 0x40290d
and dword [ebp + 8], esi
push edi
call fcn.00405f2f
cmp dword [ebp - 8], esi
mov dword [ebp - 0x2c], eax
jle 0x40290d
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x3c]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40290d
cmp dword [ebp - 0x3c], 2
jne 0x40290d
cmp dword [ebp - 0x18], 0
jne 0x402a06
cmp di, 0xd
je 0x402a0f
cmp di, 0xa
je 0x402a0f
mov ax, word [ebp + 8]
mov word [ebx + esi*2], ax
inc esi
movzx edi, ax
test ax, ax
je 0x40290d
cmp esi, dword [ebp - 8]
jl 0x4029ae
jmp 0x40290d
movzx eax, word [ebp + 8]
jmp 0x4028d7
mov ax, word [ebp + 8]
cmp di, ax
je 0x402a2c
cmp ax, 0xd
je 0x4028f8
cmp ax, 0xa
je 0x4028f8
push 1
push 0
push 0xfffffffffffffffe
jmp 0x402904
cmp word [edi], 0
je case.0x4016b6.67
push dword [ebp - 0x18]
push 0
push 2
pop ecx
call fcn.00401506
push eax
push edi
call fcn.00405f2f
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0
jl case.0x4016b6.67
push eax
push ebx
jmp 0x402d13
cmp word [edi], 0
je case.0x4016b6.67
push edi
call fcn.00405f2f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4016b6.67
cmp word [ebx], 0
je 0x401972
lea eax, [ebp - 0x2a4]
push eax
push ebx
call fcn.00405f2f
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401972
jmp 0x402add
push 2
pop esi
call fcn.0040151c
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402ad6
xor eax, eax
mov word [ebx], ax
jmp 0x4027a5
push eax
push ebx
call fcn.00405f16
lea eax, [ebp - 0x278]
push eax
push edi
call fcn.00405fcf
jmp case.0x4016b6.67
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.0040151c
mov edi, eax
push edi
mov dword [ebp - 0x34], edi
call fcn.00405c8b
test eax, eax
jne 0x402b13
push 0xffffffffffffffed
pop esi
call fcn.0040151c
push edi
call fcn.00405df5
push 2
push 0x40000000
push edi
call fcn.00405e15
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402bcf
mov eax, dword [0x47462c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x2c], eax
call esi
mov edi, eax
test edi, edi
je 0x402bc6
push 0
call fcn.00402fe3
push dword [ebp - 0x2c]
push edi
call fcn.00402fb1
push dword [ebp - 0x1c]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x402b9d
push dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x20]
call fcn.00403178
jmp 0x402b8f
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405dd1
add esi, ebx
cmp byte [esi], 0
jne 0x402b7b
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403178
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
pop esi
test ebx, ebx
jge 0x402be9
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x40186c
xor ecx, ecx
call fcn.00401506
mov edi, eax
cmp edi, dword [0x4745ec]
jae 0x4017e1
mov eax, dword [ebp - 0x1c]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x4745e8]
test eax, eax
jl 0x402c2e
mov ecx, dword [esi + eax*4]
jne 0x402c28
add esi, 0x18
push esi
push ebx
jmp 0x402ae5
push ecx
jmp 0x402a67
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x402c45
xor ecx, ecx
inc ecx
call fcn.00401506
mov dword [ebp - 0x20], eax
jmp 0x402c58
push dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.00406650
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x18], 0
je case.0x4016b6.67
push edi
call fcn.00401186
jmp case.0x4016b6.67
xor ecx, ecx
call fcn.00401506
cmp eax, 0x20
jae 0x4017e1
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x402cac
cmp dword [ebp - 0x1c], esi
je 0x402ca1
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x4016b6.67
push esi
call fcn.004012f1
jmp 0x402a66
cmp dword [ebp - 0x1c], esi
je 0x402cc3
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x4745dc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4016b6.67
mov ecx, dword [0x4745dc]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.00406650
jmp case.0x4016b6.67
mov ecx, dword [0x45a294]
push 0
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x24], 0
je case.0x4016b6.67
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4016b6.67
xor esi, esi
inc esi
call fcn.0040151c
push eax
call fcn.004061f6
push eax
push edi
call fcn.00405f16
mov eax, dword [ebp - 4]
add dword [0x474688], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4