Function at 0x40154a
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Set current directory
Set file attributes
Set registry value

Disassembly:
sub esp, 0x1c0
push ebx
mov edx, dword [0x423bd8]
mov eax, section..ndata
push ebp
push esi
mov esi, dword [esp + 0x1d0]
xor ebx, ebx
push edi
push 7
pop ecx
lea edi, [esp + 0x24]
mov dword [esp + 0x14], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov edi, ecx
mov esi, dword [esp + 0x28]
mov ebp, esi
shl ebp, 0xa
add ebp, eax
shl edi, 0xa
add edi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x28]
mov dword [esp + 0x54], ecx
mov dword [0x40a0c4], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffffe
cmp eax, 0x41
ja case.0x4015ac.66
jmp dword [eax*4 + 0x402d16]
mov eax, esi
jmp 0x402d08
push ebx
push esi
call fcn.00405b2f
mov eax, 0x7fffffff
jmp 0x402d08
inc dword [0x423bcc]
test edx, edx
je 0x4015c1
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4015c1
push esi
call fcn.00402f0c
dec eax
push ebx
push eax
call fcn.00401399
jmp 0x402d08
push ebx
push esi
call fcn.00405b2f
jmp case.0x4015ac.66
push ebx
call fcn.00402e56
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015ac.66
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015ac.66
mov eax, dword [esp + 0x30]
test eax, eax
jg 0x401656
jne 0x40163c
mov eax, dword [esi*4 + 0x4244a0]
mov dword [esi*4 + 0x424460], eax
push 1
call fcn.00402e56
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [eax*4 + 0x4244a0], ecx
jmp case.0x4015ac.66
mov eax, dword [esi*4 + 0x424460]
mov dword [esi*4 + 0x4244a0], eax
jmp case.0x4015ac.66
mov ecx, dword [esp + 0x30]
push 4
mov edx, dword [ecx*4 + 0x4244a0]
mov eax, edx
and eax, dword [esp + 0x38]
mov dword [ecx*4 + 0x4244a0], eax
xor eax, eax
test edx, edx
pop ecx
cmove eax, ecx
mov eax, dword [esp + eax + 0x28]
jmp 0x402d08
push dword [ecx*4 + 0x4244a0]
push ebp
call fcn.0040639e
jmp case.0x4015ac.66
mov eax, dword [0x423bc4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4016bd
push ecx
push eax
call edi
mov esi, dword [esp + 0x28]
mov eax, dword [0x423bc8]
test eax, eax
je case.0x4015ac.66
push esi
push eax
call edi
jmp case.0x4015ac.66
push 0xfffffffffffffff0
call fcn.00402e92
push dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x4015ac.66
xor eax, eax
inc eax
jmp 0x402d00
push 0xfffffffffffffff0
call fcn.00402e92
mov edi, eax
push edi
call fcn.0040694b
mov esi, eax
test esi, esi
je 0x401762
push 0x5c
push esi
call fcn.0040637a
mov esi, eax
mov al, byte [esi]
mov byte [esp + 0x14], al
mov byte [esi], bl
test al, al
jne 0x401737
cmp dword [esp + 0x30], ebx
je 0x401737
call fcn.00406282
test eax, eax
je 0x401737
push edi
call fcn.00405c77
jmp 0x40173d
push edi
call fcn.00405c57
test eax, eax
je 0x401757
cmp eax, 0xb7
jne 0x401753
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x401757
inc dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov byte [esi], al
inc esi
test al, al
jne 0x40170a
push 0x40a4c8
cmp dword [esp + 0x30], ebx
je 0x401798
push 0xffffffffffffffe6
call fcn.00405b2f
push edi
push 0x42a800
call fcn.004068a0
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x402d00
inc eax
jmp 0x402d00
push 0xfffffffffffffff5
jmp 0x4015f3
push ebx
call fcn.00402e92
push eax
call fcn.00406353
jmp 0x401e5a
push 0xffffffffffffffd0
call fcn.00402e92
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402e92
push 0x13
mov edi, eax
call fcn.00402e92
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4017e1
push 0x40a4c8
push 0xffffffffffffffe3
jmp 0x4015f3
cmp dword [esp + 0x30], ebx
je 0x4016ed
push esi
call fcn.00406353
test eax, eax
je 0x4016ed
push edi
push esi
call fcn.0040607b
push 0x40a4c8
push 0xffffffffffffffe4
jmp 0x4015f3
push ebx
call fcn.00402e92
mov esi, eax
mov ebp, 0x400
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x401836
xor eax, eax
mov byte [edi], bl
inc eax
mov dword [esp + 0x10], eax
jmp 0x40185d
mov eax, dword [esp + 0x18]
cmp eax, esi
jbe 0x401859
cmp byte [eax], bl
je 0x401859
push esi
call fcn.00406353
test eax, eax
je 0x40182b
add eax, 0x2c
push eax
push dword [esp + 0x1c]
call fcn.004068a0
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], ebx
jne 0x402d00
push ebp
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x4015ac.66
push 0xffffffffffffffff
call fcn.00402e92
lea ecx, [esp + 0x54]
push ecx
push ebp
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x4015ac.66
xor eax, eax
inc eax
mov byte [ebp], bl
jmp 0x402d00
push 0xffffffffffffffef
call fcn.00402e92
push eax
push ebp
call fcn.004067e7
jmp 0x4016e5
push 0x31
call fcn.00402e92
mov ebp, dword [esp + 0x28]
mov esi, eax
push esi
mov dword [esp + 0x1c], esi
and ebp, 7
call fcn.00406b34
mov edi, 0x40a0c8
push esi
test eax, eax
je 0x4018e2
push edi
call fcn.004068a0
jmp 0x4018f9
push 0x42a800
push edi
call fcn.004068a0
push eax
call fcn.004062dc
push eax
call sub.KERNEL32.dll_lstrcatA
push edi
call fcn.00406a83
xor esi, esi
inc esi
cmp ebp, 3
jl 0x401934
push edi
call fcn.00406353
mov ecx, ebx
test eax, eax
je 0x401924
lea ecx, [esp + 0x34]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
add ebp, 0xfffffffd
or ebp, 0x80000000
and ebp, ecx
neg ebp
sbb ebp, ebp
inc ebp
test ebp, ebp
jne 0x40193e
push edi
call fcn.00406923
xor eax, eax
cmp ebp, esi
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.004066b0
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x4019e6
test ebp, ebp
jne 0x4019cd
push section..ndata
push 0x40a8c8
call fcn.004068a0
push edi
push section..ndata
call fcn.004068a0
push dword [esp + 0x3c]
push 0x40a4c8
call fcn.00405cf3
push 0x40a8c8
push section..ndata
call fcn.004068a0
mov eax, dword [esp + 0x28]
sar eax, 3
push eax
push 0x40a4c8
call fcn.0040682e
sub eax, 4
je 0x401902
sub eax, 1
je 0x4019c2
push edi
push 0xfffffffffffffffa
jmp 0x4015bc
inc dword [0x4244a8]
jmp 0x402d06
mov esi, dword [esp + 0x18]
push esi
push 0xffffffffffffffe2
call fcn.00405b2f
xor eax, eax
cmp ebp, 2
sete al
jmp 0x402d00
mov esi, dword [esp + 0x18]
push esi
push 0xffffffffffffffea
call fcn.00405b2f
mov ebp, dword [esp + 0x1c]
inc dword [0x4244d4]
push ebx
push ebx
push ebp
push dword [esp + 0x3c]
call fcn.004030d6
dec dword [0x4244d4]
cmp dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x401a20
cmp dword [esp + 0x38], 0xffffffff
je 0x401a2e
lea eax, [esp + 0x34]
push eax
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
jns case.0x4015ac.66
cmp eax, 0xfffffffe
jne 0x401a57
push 0xffffffffffffffe9
push edi
call fcn.00405cf3
push esi
push edi
call sub.KERNEL32.dll_lstrcatA
jmp 0x401a5f
push 0xffffffffffffffee
push edi
call fcn.00405cf3
push 0x200010
push edi
call fcn.0040682e
jmp 0x4015c1
push ebx
call fcn.00402e92
push dword [esp + 0x2c]
push eax
call fcn.00406493
jmp case.0x4015ac.66
push 0x31
call fcn.00402e92
push dword [esp + 0x28]
push eax
call fcn.0040682e
test eax, eax
je 0x4016ed
cmp eax, dword [esp + 0x30]
je 0x401bee
cmp eax, dword [esp + 0x38]
jne case.0x4015ac.66
mov eax, dword [esp + 0x3c]
jmp 0x402d08
push 0xfffffffffffffff0
jmp 0x401a70
push 1
call fcn.00402e92
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
jmp 0x40169b
push 2
call fcn.00402e56
push 3
mov edi, eax
mov esi, edx
call fcn.00402e56
pop ecx
pop ecx
push 1
mov dword [esp + 0x20], eax
call fcn.00402e92
push eax
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_lstrlenA
test esi, esi
mov byte [ebp], bl
mov ecx, eax
cmove edi, ecx
test edi, edi
je case.0x4015ac.66
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x401b1c
add eax, ecx
js case.0x4015ac.66
cmp eax, ecx
cmovg eax, ecx
add eax, dword [esp + 0x18]
push eax
push ebp
call fcn.004068a0
test edi, edi
jns 0x401b38
push ebp
call sub.KERNEL32.dll_lstrlenA
add edi, eax
xor eax, eax
test edi, edi
cmovns eax, edi
cmp eax, 0x400
jge case.0x4015ac.66
mov byte [eax + ebp], bl
jmp case.0x4015ac.66
push 0x20
call fcn.00402e92
push 0x31
mov esi, eax
call fcn.00402e92
push eax
push esi
cmp dword [esp + 0x40], ebx
jne 0x401b72
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
jmp 0x401b78
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401bee
mov eax, dword [esp + 0x30]
jmp 0x402d08
xor esi, esi
inc esi
push esi
call fcn.00402e92
push 0x400
mov edi, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401bb3
cmp dword [esp + 0x30], ebx
je 0x401bba
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401bba
mov eax, esi
mov byte [ebp], bl
jmp 0x401bbe
mov eax, dword [esp + 0x10]
mov byte [ebp + 0x3ff], bl
jmp 0x402d00
mov esi, dword [esp + 0x3c]
push ebx
call fcn.00402e56
push 1
mov edi, eax
call fcn.00402e56
pop ecx
pop ecx
test esi, esi
jne 0x401bea
cmp edi, eax
jl 0x401bee
jle 0x401b7c
jmp 0x401bf9
cmp edi, eax
jae 0x401bf7
mov eax, dword [esp + 0x34]
jmp 0x402d08
jbe 0x401b7c
mov eax, dword [esp + 0x38]
jmp 0x402d08
xor edi, edi
inc edi
push edi
call fcn.00402e56
push 2
mov esi, eax
call fcn.00402e56
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, 0xd
ja case.default.0x401c21
jmp dword [eax*4 + 0x402e1e]
add esi, ecx
jmp case.default.0x401c21
sub esi, ecx
jmp case.default.0x401c21
imul esi, ecx
jmp case.default.0x401c21
test ecx, ecx
je 0x401c42
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401c44
mov esi, ebx
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x10], eax
jmp case.default.0x401c21
or esi, ecx
jmp case.default.0x401c21
and esi, ecx
jmp case.default.0x401c21
xor esi, ecx
jmp case.default.0x401c21
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401c21
test esi, esi
jne 0x401c70
test ecx, ecx
je 0x401c78
mov esi, edi
jmp case.default.0x401c21
test esi, esi
jne 0x401c6c
mov esi, ebx
jmp case.default.0x401c21
test ecx, ecx
je 0x401c42
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401c44
shl esi, cl
jmp case.default.0x401c21
sar esi, cl
jmp case.default.0x401c21
shr esi, cl
push esi
jmp 0x40169b
push 1
call fcn.00402e92
push 2
mov esi, eax
call fcn.00402e56
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp case.0x4015ac.66
mov eax, dword [esp + 0x30]
mov esi, dword [0x40a0c0]
test eax, eax
je 0x401d1c
dec eax
test esi, esi
je 0x401d09
mov esi, dword [esi]
test eax, eax
jne 0x401cc8
test esi, esi
je 0x401d09
add esi, 4
mov edi, 0x40a0c8
push esi
push edi
call fcn.004068a0
mov eax, dword [0x40a0c0]
add eax, 4
push eax
push esi
call fcn.004068a0
mov eax, dword [0x40a0c0]
push edi
add eax, 4
push eax
call fcn.004068a0
jmp case.0x4015ac.66
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00405cf3
push eax
jmp 0x401a65
test ecx, ecx
je 0x401d45
test esi, esi
je 0x4016ed
lea eax, [esi + 4]
push eax
push ebp
call fcn.004068a0
mov eax, dword [esi]
mov dword [0x40a0c0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015ac.66
push 0x404
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00405cf3
mov eax, dword [0x40a0c0]
mov dword [esi], eax
mov dword [0x40a0c0], esi
jmp case.0x4015ac.66
push 3
call fcn.00402e56
mov esi, eax
push 4
mov dword [esp + 0x20], esi
call fcn.00402e56
mov edi, eax
mov eax, dword [esp + 0x44]
pop ecx
pop ecx
test al, 1
je 0x401da4
push 0x33
call fcn.00402e92
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
test al, 2
je 0x401db1
push 0x44
call fcn.00402e92
mov edi, eax
cmp dword [esp + 0x24], 0x21
push 1
jne 0x401e09
call fcn.00402e56
push 2
mov dword [esp + 0x20], eax
call fcn.00402e56
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
sar ecx, 2
test ecx, ecx
je 0x401dfa
lea edx, [esp + 0x14]
push edx
push ecx
push ebx
push edi
push esi
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov ecx, dword [esp + 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x401e3c
push edi
push esi
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401e32
call fcn.00402e92
push 0x12
mov esi, eax
call fcn.00402e92
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
push ecx
xor ecx, ecx
cmp byte [esi], cl
cmovne ecx, esi
push ecx
push edi
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x28], ebx
jl 0x402d00
push ecx
jmp 0x40169b
push ebx
call fcn.00402e56
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401b7c
mov eax, dword [esp + 0x2c]
jmp 0x402d08
push 2
call fcn.00402e56
push 1
mov esi, eax
call fcn.00402e56
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401acb
mov esi, dword [0x424428]
push ebx
add esi, ecx
call fcn.00402e56
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x4015ac.66
test dword [esp + 0x34], 0x100
je 0x401ebc
push 2
call fcn.00402e56
pop ecx
jmp 0x401ec7
push dword [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, eax
mov edi, eax
and ecx, 4
shr edi, 0x1e
mov dword [esp + 0x14], ecx
mov esi, eax
mov ecx, eax
and esi, 3
shr ecx, 0x1f
and edi, 1
mov dword [esp + 0x1c], ecx
test eax, 0x10000
je 0x401efc
push 0x11
call fcn.00402e92
jmp 0x401f01
movzx eax, word [esp + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
and eax, 0xfef0
push eax
mov eax, dword [esp + 0x64]
imul eax, edi
push eax
mov eax, dword [esp + 0x64]
imul eax, dword [esp + 0x24]
push eax
xor eax, eax
cmp dword [esp + 0x20], eax
push esi
push dword [esp + 0x28]
cmovne eax, dword [0x423bd4]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
push edi
push esi
push 0x172
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x401f65
test esi, esi
jne 0x401f65
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x28], 0
jl case.0x4015ac.66
push edi
jmp 0x40169b
push edx
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.00402e56
pop ecx
push 0x48
push 0x5a
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x40b4c8], eax
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402e56
pop ecx
mov ecx, dword [esp + 0x38]
push dword [esp + 0x2c]
mov dword [0x40b4d8], eax
mov al, cl
and al, 1
mov byte [0x40b4df], 1
mov byte [0x40b4dc], al
mov al, cl
and al, 2
and cl, 4
push 0x40b4e4
mov byte [0x40b4dd], al
mov byte [0x40b4de], cl
call fcn.00405cf3
push 0x40b4c8
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401acb
push ebx
call fcn.00402e56
push 1
mov esi, eax
call fcn.00402e56
pop ecx
pop ecx
push eax
push esi
cmp dword [esp + 0x3c], ebx
jne 0x402024
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015ac.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015ac.66
push ebx
call fcn.00402e92
push 0x31
mov ebx, eax
call fcn.00402e92
push 0x22
mov esi, eax
call fcn.00402e92
push 0x15
mov edi, eax
call fcn.00402e92
push 0x40a4c8
push 0xffffffffffffffec
call fcn.00405b2f
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
cmp byte [ebx], al
mov dword [esp + 0x64], esi
cmovne eax, ebx
mov dword [esp + 0x60], eax
xor eax, eax
cmp byte [edi], al
mov dword [esp + 0x6c], 0x42a800
cmovne eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
call fcn.00406784
test eax, eax
je 0x4016ed
test byte [esp + 0x58], 0x40
je case.0x4015ac.66
push dword [esp + 0x8c]
call fcn.0040629a
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015ac.66
push ebx
call fcn.00402e92
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405b2f
push esi
call fcn.00406450
mov esi, eax
test esi, esi
je 0x4016ed
cmp dword [esp + 0x30], ebx
je 0x40211e
push esi
call fcn.0040629a
mov ecx, eax
cmp dword [esp + 0x2c], ebx
jl 0x40210e
push ecx
push edi
call fcn.0040639e
jmp 0x40211e
mov eax, dword [esp + 0x10]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x10], eax
push esi
jmp 0x4020c6
push 2
call fcn.00402e92
push eax
call fcn.00406353
mov esi, eax
test esi, esi
je 0x402145
push dword [esi + 0x14]
push edi
call fcn.0040639e
push dword [esi + 0x18]
jmp 0x40169b
mov byte [ebp], bl
mov byte [edi], bl
jmp 0x4016ed
push 0xffffffffffffffee
call fcn.00402e92
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], eax
push ecx
push eax
push 0xa
call fcn.0040667b
call eax
mov ecx, eax
mov byte [ebp], bl
xor eax, eax
mov dword [esp + 0x1c], ecx
inc eax
mov byte [edi], bl
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x402d00
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x14], eax
test eax, eax
je case.0x4015ac.66
push 0xb
call fcn.0040667b
push 0xc
mov esi, eax
call fcn.0040667b
push dword [esp + 0x14]
mov dword [esp + 0x4c], eax
push dword [esp + 0x20]
push ebx
push dword [esp + 0x50]
call esi
test eax, eax
je 0x402202
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x4082a0
push dword [esp + 0x20]
call dword [esp + 0x58]
test eax, eax
je 0x402202
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.0040639e
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push dword [eax + ecx*4 + 0xc]
push edi
call fcn.0040639e
mov dword [esp + 0x10], ebx
push dword [esp + 0x14]
jmp 0x401d3a
xor ebp, ebp
inc ebp
mov dword [esp + 0x10], ebp
cmp dword [0x424440], ebx
jl 0x4022f4
push 0xfffffffffffffff0
call fcn.00402e92
mov esi, eax
push ebp
mov dword [esp + 0x4c], esi
call fcn.00402e92
mov edi, eax
mov dword [esp + 0x44], edi
cmp dword [esp + 0x38], ebx
je 0x40224e
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x402262
mov esi, dword [esp + 0x48]
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x4022e8
push edi
push esi
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x4022b5
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x30], ebx
je 0x402295
push 0x40a4c8
push dword [esp + 0x34]
call fcn.00405b2f
call edi
test eax, eax
je 0x4022c0
mov eax, ebp
mov dword [esp + 0x10], eax
jmp 0x4022c4
mov eax, dword [esp + 0x14]
push section..data
push 0x40a0c0
push section..ndata
push 0x400
push eax
call edi
add esp, 0x14
jmp 0x4022c0
push dword [esp + 0x44]
push 0xfffffffffffffff7
call fcn.00405b2f
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], ebx
jne 0x402d00
push esi
call fcn.00403b93
test eax, eax
je case.0x4015ac.66
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015ac.66
push 0x40a4c8
push 0xfffffffffffffff6
jmp 0x4015f3
push 0x40a4c8
push 0xffffffffffffffe7
jmp 0x4015f3
push 0xfffffffffffffff0
call fcn.00402e92
push 0xffffffffffffffdf
mov dword [esp + 0x58], eax
call fcn.00402e92
push 2
mov esi, eax
call fcn.00402e92
push 0xffffffffffffffcd
mov dword [esp + 0x50], eax
call fcn.00402e92
push 0x45
mov dword [esp + 0x20], eax
call fcn.00402e92
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov ecx, eax
and ecx, 0xfff
mov edi, eax
mov dword [esp + 0x50], ecx
mov ecx, eax
and ecx, 0x8000
sar eax, 0x10
sar edi, 0xc
push esi
mov dword [esp + 0x4c], ecx
and edi, 7
mov dword [esp + 0x48], eax
call fcn.00406b34
test eax, eax
jne 0x402371
push 0x21
call fcn.00402e92
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
push 0x408748
inc ebp
push ebp
push ebx
push 0x408768
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x10], eax
test eax, eax
js 0x402478
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x408758
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
test eax, eax
js 0x40246a
mov eax, dword [esp + 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x48], ebx
jne 0x4023da
mov eax, dword [esp + 0x14]
push 0x42a800
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test edi, edi
je 0x4023e9
mov eax, dword [esp + 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x14]
push dword [esp + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x1c]
cmp byte [edx], bl
je 0x40240e
mov eax, dword [esp + 0x14]
push dword [esp + 0x50]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x14]
push dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x14]
push dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [esp + 0x10], ebx
jl 0x402460
push 0x400
push esi
push 0xffffffffffffffff
push dword [esp + 0x60]
mov dword [esp + 0x20], 0x80004005
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x402460
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
sar eax, 0x1f
and eax, 0xfffffffc
push 0x40a4c8
sub eax, 0xc
push eax
call fcn.00405b2f
mov eax, dword [esp + 0x10]
shr eax, 0x1f
jmp 0x402d00
push ebx
call fcn.00402e92
push 0x11
mov esi, eax
call fcn.00402e92
push 0x23
mov edi, eax
call fcn.00402e92
push esi
mov ebp, eax
call fcn.00406353
test eax, eax
jne 0x4024c9
push ebx
push 0xfffffffffffffff9
call fcn.00405b2f
jmp 0x4016ed
mov eax, dword [esp + 0x14]
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 2
call sub.KERNEL32.dll_lstrlenA
push edi
mov byte [eax + esi + 1], bl
call sub.KERNEL32.dll_lstrlenA
push ebp
push ebx
mov byte [eax + edi + 1], bl
mov ax, word [esp + 0x38]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x76], ebp
mov word [esp + 0x6c], ax
call fcn.00405b2f
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x4015ac.66
jmp 0x4024bc
cmp esi, 0xbadf00d
jne 0x401d09
inc dword [0x4244b4]
jmp case.0x4015ac.66
mov edi, ebx
mov ebp, ebx
test esi, esi
je 0x40254a
push ebx
call fcn.00402e92
mov ecx, dword [esp + 0x2c]
mov ebx, eax
test ecx, ecx
je 0x402557
push 0x11
call fcn.00402e92
mov edi, eax
cmp dword [esp + 0x38], ebp
je 0x402566
push 0x22
call fcn.00402e92
mov ebp, eax
push 0xffffffffffffffcd
call fcn.00402e92
push eax
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4016e5
push 0xa
pop eax
push 1
mov word [esp + 0x18], ax
call fcn.00402e92
push 0x12
mov edi, eax
call fcn.00402e92
push 0xffffffffffffffdd
mov esi, eax
call fcn.00402e92
push eax
push 0x3ff
push ebp
lea eax, [esp + 0x20]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp], 0xa
jne case.0x4015ac.66
xor esi, esi
lea eax, [esi + 1]
jmp 0x40189b
xor esi, esi
inc esi
cmp dword [esp + 0x38], ebx
jne 0x4025f5
push 2
call fcn.00402ed0
mov edi, eax
test edi, edi
je 0x402643
push 0x33
call fcn.00402e92
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402643
push 0x22
call fcn.00402e92
mov ecx, dword [esp + 0x38]
mov esi, eax
sar ecx, 1
cmp byte [esi], bl
jne 0x40260f
mov esi, 0x3eb
jmp 0x402643
lea eax, [esp + 0x18]
or ecx, 0x100020
push eax
push dword [esp + 0x58]
mov dword [esp + 0x20], ecx
call fcn.00402e77
push eax
call fcn.00405f62
test eax, eax
je 0x402640
push dword [esp + 0x18]
push esi
push eax
call fcn.0040141e
mov esi, eax
jmp 0x402643
push 6
pop esi
xor eax, eax
test esi, esi
setne al
jmp 0x402d00
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
push 2
mov dword [esp + 0x50], eax
call fcn.00402e92
push 0x11
mov dword [esp + 0x54], eax
call fcn.00402e92
lea ecx, [esp + 0x54]
xor ebp, ebp
push ecx
push 0x100022
push eax
inc ebp
push esi
mov dword [esp + 0x20], ebp
call fcn.00402e77
push eax
call fcn.004060ad
mov edi, dword [esp + 0x54]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
test edi, edi
je case.0x4015ac.66
mov eax, dword [esp + 0x40]
mov esi, 0x40a8c8
cmp eax, ebp
jne 0x4026c1
push 0x23
call fcn.00402e92
push esi
call sub.KERNEL32.dll_lstrlenA
lea ebp, [eax + 1]
jmp 0x4026f0
push 4
pop ebp
cmp eax, ebp
jne 0x4026d7
push 3
call fcn.00402e56
pop ecx
mov dword [0x40a8c8], eax
jmp 0x4026f0
mov ebp, ebx
cmp eax, 3
jne 0x4026f0
push 0xc00
push esi
push ebx
push dword [esp + 0x40]
call fcn.004030d6
mov ebp, eax
push ebp
push esi
push dword [esp + 0x54]
push ebx
push dword [esp + 0x60]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
push edi
sbb eax, eax
and dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015ac.66
push 0x20019
call fcn.00402ed0
push 0x33
mov esi, eax
call fcn.00402e92
mov byte [ebp], bl
test esi, esi
je 0x4016ed
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x400
push ecx
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402793
cmp dword [esp + 0x14], 4
je 0x40277b
cmp dword [esp + 0x14], ecx
je 0x40276b
cmp dword [esp + 0x14], 2
jne 0x402793
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov byte [ebp + 0x3ff], bl
jmp 0x40279a
push dword [ebp]
xor eax, eax
cmp dword [esp + 0x3c], eax
push ebp
sete al
mov dword [esp + 0x18], eax
call fcn.0040639e
jmp 0x40279a
mov byte [ebp], bl
mov dword [esp + 0x10], ecx
push esi
jmp 0x40270b
push 0x20019
call fcn.00402ed0
push 3
mov esi, eax
call fcn.00402e56
mov byte [ebp], bl
pop ecx
test esi, esi
je 0x4016ed
mov ecx, 0x3ff
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x38], ebx
je 0x4027da
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402773
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [esp + 0x10]
xor edx, edx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x402773
push ebp
call fcn.004069b6
test eax, eax
je case.0x4015ac.66
push eax
jmp 0x4020c6
push 0xffffffffffffffed
call fcn.00402e92
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.004066b0
cmp eax, 0xffffffff
jne 0x401acb
mov byte [ebp], bl
jmp 0x4016ed
xor ebx, ebx
inc ebx
cmp dword [esp + 0x30], 0
je 0x402855
push ebx
call fcn.00402e56
pop ecx
mov byte [0x40a4c8], al
mov esi, ebx
jmp 0x402864
push 0x11
call fcn.00402e92
push eax
call sub.KERNEL32.dll_lstrlenA
mov esi, eax
cmp byte [ebp], 0
je 0x402884
push ebp
call fcn.004069b6
push esi
push 0x40a4c8
push eax
call fcn.0040679c
test eax, eax
jne case.0x4015ac.66
mov eax, ebx
jmp 0x402d00
push 2
mov dword [esp + 0x1c], ebx
call fcn.00402e56
xor esi, esi
inc esi
pop ecx
cmp eax, esi
jl case.0x4015ac.66
mov ecx, 0x3ff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x10], eax
cmp byte [ebp], bl
je 0x40290b
push ebp
mov byte [esp + 0x18], bl
call fcn.004069b6
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], ebx
jbe 0x40290b
mov ebp, ebx
push esi
lea ecx, [esp + 0x27]
push ecx
push eax
call fcn.004066dd
test eax, eax
je 0x40290b
cmp dword [esp + 0x34], ebx
jne 0x402947
mov al, byte [esp + 0x14]
cmp al, 0xd
je 0x40291b
cmp al, 0xa
je 0x40291b
mov al, byte [esp + 0x23]
mov byte [edi + ebp], al
inc ebp
mov byte [esp + 0x14], al
mov dword [esp + 0x18], ebp
test al, al
je 0x40290b
mov eax, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x10]
jl 0x4028cb
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov byte [ecx + edi], bl
jmp 0x4019de
mov cl, byte [esp + 0x23]
cmp al, cl
je 0x402937
cmp cl, 0xd
je 0x40292d
cmp cl, 0xa
jne 0x402937
mov byte [edi + ebp], cl
inc ebp
mov dword [esp + 0x18], ebp
jmp 0x40290b
push esi
push ebx
push 0xffffffffffffffff
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40290b
movzx eax, byte [esp + 0x23]
push eax
push edi
call fcn.0040639e
jmp 0x402d06
cmp byte [ebp], bl
je case.0x4015ac.66
push 2
call fcn.00402e56
pop ecx
push dword [esp + 0x34]
push ebx
push eax
push ebp
call fcn.004069b6
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x2c], ebx
jl case.0x4015ac.66
push eax
push edi
jmp 0x40169c
push ebp
call fcn.004069b6
test eax, eax
je case.0x4015ac.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015ac.66
push edi
call fcn.004069b6
test eax, eax
je 0x401898
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x401898
lea eax, [esp + 0xbc]
push eax
push ebp
jmp 0x401cff
push 2
call fcn.00402e92
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4029fc
mov byte [edi], bl
jmp 0x402833
push eax
push edi
call fcn.0040639e
jmp 0x4029cc
push 0xfffffffffffffff0
mov dword [esp + 0x20], 0xfffffd66
call fcn.00402e92
mov ebp, eax
push ebp
mov dword [esp + 0x58], ebp
call fcn.00406b34
test eax, eax
jne 0x402a2b
push 0xffffffffffffffed
call fcn.00402e92
push ebp
call fcn.00406923
push 2
push 0x40000000
push ebp
call fcn.004066b0
mov edi, eax
mov dword [esp + 0x4c], edi
cmp edi, 0xffffffff
je 0x402b17
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x30], ebx
je 0x402b03
mov eax, dword [0x4243e8]
push eax
push 0x40
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x402aff
push ebx
call fcn.00402f40
push dword [esp + 0x18]
push esi
call fcn.00402f2a
push dword [esp + 0x30]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x402ae4
push dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x38]
call fcn.004030d6
cmp byte [edi], bl
je 0x402ada
mov ebp, esi
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebp
push eax
call fcn.0040642e
add edi, esi
cmp byte [edi], bl
jne 0x402aba
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x18]
mov edi, dword [esp + 0x50]
push esi
push edi
call fcn.0040679c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x402b03
mov eax, dword [esp + 0x40]
push ebx
push ebx
push edi
push eax
call fcn.004030d6
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
pop esi
cmp dword [esp + 0x1c], ebx
jge 0x402b32
push 0xffffffffffffffef
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x10], 1
push 0x40a4c8
jmp 0x4015f2
push ebx
call fcn.00402e56
mov ebx, eax
pop ecx
cmp ebx, dword [0x42440c]
jae 0x4016ed
mov ecx, dword [esp + 0x30]
imul esi, ebx, 0x418
add esi, dword [0x424408]
test ecx, ecx
js 0x402b78
mov eax, dword [esi + ecx*4]
jne 0x402986
lea eax, [esi + 0x18]
push eax
push edi
jmp 0x401cff
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x30], eax
je 0x402b93
push 1
call fcn.00402e56
pop ecx
mov ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x402bab
push dword [esp + 0x38]
lea eax, [esi + 0x18]
push eax
call fcn.00405cf3
or dword [esi + 8], 0x100
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + eax*4], ecx
cmp dword [esp + 0x34], 0
je case.0x4015ac.66
push ebx
call fcn.00401221
jmp case.0x4015ac.66
push ebx
call fcn.00402e56
mov edx, eax
pop ecx
cmp edx, 0x20
jae 0x4016ed
cmp dword [esp + 0x34], ebx
je 0x402c03
cmp dword [esp + 0x30], ebx
je 0x402bf8
push edx
call fcn.00401290
push ebx
push ebx
call fcn.004012dd
jmp case.0x4015ac.66
push ebx
call fcn.004011a0
jmp 0x402986
mov eax, dword [0x4243f0]
cmp dword [esp + 0x30], ebx
je 0x402c1e
mov ecx, dword [esp + 0x2c]
mov dword [eax + edx*4 + 0x94], ecx
jmp case.0x4015ac.66
push dword [eax + edx*4 + 0x94]
push edi
call fcn.00405cf3
jmp case.0x4015ac.66
mov eax, dword [esp + 0x34]
sub eax, ebx
je 0x402c7e
sub eax, 1
jne case.0x4015ac.66
push 2
call fcn.00402e56
push 4
mov esi, eax
call fcn.00402e56
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x4244a0
test esi, esi
mov dword [esp + 0x1c], ebx
push edx
cmovne ecx, esi
add eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040642e
push dword [esp + 0x1c]
jmp 0x402987
push 5
call fcn.0040667b
push 0x22
mov esi, eax
call fcn.00402e92
test esi, esi
je 0x402cd0
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.00405c14
pop ecx
pop ecx
test eax, eax
js 0x402cd0
lea eax, [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x3c]
lea eax, [esp + 0x60]
push eax
call esi
test eax, eax
js 0x402cd0
push dword [esp + 0x1c]
push edi
call fcn.004069a0
pop ecx
pop ecx
push dword [esp + 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x4015ac.66
xor eax, eax
mov byte [edi], bl
inc eax
jmp 0x402d00
mov eax, dword [0x41f9b8]
push ebx
and eax, esi
push eax
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x28], ebx
je case.0x4015ac.66
mov eax, dword [esp + 0x14]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
add dword [0x4244a8], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret 4