Function at 0x40160c
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
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x2e4
mov eax, dword [0x434a08]
and dword [ebp + 0x70], 0
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 9
pop ecx
lea edi, [ebp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x48]
mov esi, dword [ebp + 0x40]
mov ecx, edx
shl ecx, 0xb
mov edi, section..ndata
add ecx, edi
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x68], ecx
lea ecx, [ebp + 0x44]
mov ebx, eax
shl ebx, 0xb
mov dword [0x40a100], ecx
lea ecx, [esi - 2]
add ebx, edi
cmp ecx, 0x45
ja case.0x401665.68
jmp dword [ecx*4 + 0x402f18]
push 0
push eax
call fcn.004050db
mov eax, 0x7fffffff
jmp case.0x401665.2
inc dword [0x4339d4]
cmp dword [ebp + 0x64], 0
je 0x401674
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401674
push eax
call fcn.0040137c
dec eax
push 0
push eax
call fcn.00401398
jmp case.0x401665.2
push 0
push eax
call fcn.004050db
jmp case.0x401665.68
xor ecx, ecx
call fcn.00401443
cmp eax, 1
mov dword [ebp + 0x18], edx
jg 0x4016c7
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401665.68
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401665.68
shl eax, 2
cmp dword [ebp + 0x4c], 0
jne 0x401710
mov ecx, dword [eax + 0x434ac0]
mov dword [eax + 0x434a80], ecx
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp + 0x44]
mov dword [ebp + 0x18], edx
mov dword [ecx*4 + 0x434ac0], eax
jmp case.0x401665.68
mov ecx, dword [eax + 0x434a80]
mov dword [eax + 0x434ac0], ecx
jmp case.0x401665.68
mov edx, dword [ebp + 0x4c]
lea edx, [edx*4 + 0x434ac0]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp + 0x50]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 + 0x44]
jmp case.0x401665.2
push dword [edx*4 + 0x434ac0]
push ebx
call fcn.004062c4
jmp case.0x401665.68
mov ecx, dword [0x4339e0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x40176b
push edx
push ecx
call esi
mov eax, dword [ebp + 0x44]
mov ecx, dword [0x4339cc]
test ecx, ecx
je case.0x401665.68
push eax
push ecx
call esi
jmp case.0x401665.68
push 0xfffffffffffffff0
pop esi
call fcn.00401460
push dword [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401665.68
mov dword [ebp + 0x70], 1
jmp case.0x401665.68
push 0xfffffffffffffff0
pop esi
call fcn.00401460
mov ebx, eax
push ebx
call fcn.00405f13
mov esi, eax
test esi, esi
je 0x401815
push 0x5c
push esi
call fcn.00405ebf
mov esi, eax
movzx edi, word [esi]
xor eax, eax
mov word [esi], ax
test di, di
jne 0x4017ec
cmp dword [ebp + 0x4c], 0
je 0x4017ec
call fcn.004065ed
test eax, eax
je 0x4017ec
push ebx
call fcn.00405d3d
jmp 0x4017f2
push ebx
call fcn.00405dbf
test eax, eax
je 0x40180b
cmp eax, 0xb7
jne 0x401808
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40180b
inc dword [ebp + 0x70]
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x4017be
cmp dword [ebp + 0x48], 0
je 0x401844
push 0xffffffffffffffe6
call fcn.00401432
push ebx
push 0x440000
call fcn.0040637d
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x401665.68
inc dword [ebp + 0x70]
jmp case.0x401665.68
push 0xfffffffffffffff5
call fcn.00401432
jmp case.0x401665.68
xor esi, esi
call fcn.00401460
push eax
call fcn.0040646b
test eax, eax
je 0x401ce5
mov eax, dword [ebp + 0x48]
jmp case.0x401665.2
push 0xffffffffffffffd0
pop esi
call fcn.00401460
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401460
push 0x13
pop esi
mov ebx, eax
call fcn.00401460
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401899
push 0xffffffffffffffe3
jmp 0x401846
cmp dword [ebp + 0x4c], 0
je 0x40179c
push edi
call fcn.0040646b
test eax, eax
je 0x40179c
push ebx
push edi
call fcn.00406b67
push 0xffffffffffffffe4
jmp 0x401846
xor esi, esi
call fcn.00401460
mov ebx, dword [ebp + 0x68]
mov esi, eax
lea eax, [ebp + 0x7c]
push eax
push ebx
mov edi, 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401903
mov eax, dword [ebp + 0x7c]
cmp eax, esi
jbe 0x40190f
cmp word [eax], 0
je 0x40190f
push esi
call fcn.0040646b
test eax, eax
je 0x401903
add eax, 0x2c
push eax
push dword [ebp + 0x7c]
call fcn.0040637d
jmp 0x40190f
xor eax, eax
mov word [ebx], ax
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x4c], 0
jne case.0x401665.68
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401665.68
or esi, 0xffffffff
call fcn.00401460
lea ecx, [ebp + 0x7c]
push ecx
push ebx
push 0x400
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401665.68
xor eax, eax
mov dword [ebp + 0x70], 1
mov word [ebx], ax
jmp case.0x401665.68
push 0xffffffffffffffef
pop esi
call fcn.00401460
push eax
push ebx
call fcn.0040603f
jmp 0x401794
push 0x31
pop esi
call fcn.00401460
mov esi, eax
mov eax, dword [ebp + 0x44]
and eax, 7
push esi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x7c], eax
call fcn.00405ede
push esi
mov esi, 0x40a168
test eax, eax
je 0x40199f
push esi
call fcn.0040637d
jmp 0x4019b6
push 0x440000
push esi
call fcn.0040637d
push eax
call fcn.0040664d
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004063ba
mov ebx, 0x40b168
cmp dword [ebp + 0x7c], 3
jl 0x4019f8
push esi
call fcn.0040646b
xor ecx, ecx
test eax, eax
je 0x4019e3
lea ecx, [ebp + 0x54]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 0x7c]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x7c], 0
jne 0x401a04
push esi
call fcn.00405fea
xor eax, eax
cmp dword [ebp + 0x7c], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406010
mov dword [ebp + 0x28], eax
cmp eax, 0xffffffff
jne 0x401a8d
cmp dword [ebp + 0x7c], 0
jne 0x401a6f
push edi
push ebx
call fcn.0040637d
push esi
push edi
call fcn.0040637d
push dword [ebp + 0x5c]
push 0x40a968
call fcn.00406778
push ebx
push edi
call fcn.0040637d
mov eax, dword [ebp + 0x44]
sar eax, 3
push eax
push 0x40a968
call fcn.00405e59
sub eax, 4
je 0x4019c1
dec eax
je 0x401a82
push esi
push 0xfffffffffffffffa
jmp 0x40166f
push dword [ebp + 0x6c]
push 0xffffffffffffffe2
call fcn.004050db
cmp dword [ebp + 0x7c], 2
jmp 0x401796
inc dword [0x434ac8]
jmp 0x402f0a
push dword [ebp + 0x6c]
push 0xffffffffffffffea
call fcn.004050db
push dword [ebp + 0x60]
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x4c]
inc dword [0x434af4]
xor edi, edi
cmp dword [ebp + 0x40], 0x15
push edi
push edi
push dword [ebp + 0x28]
push ecx
push eax
jne 0x401ab9
push 1
jmp 0x401aba
push edi
call fcn.00403285
dec dword [0x434af4]
cmp dword [ebp + 0x54], 0xffffffff
mov ebx, edx
mov dword [ebp + 0x14], eax
jne 0x401ad6
cmp dword [ebp + 0x58], 0xffffffff
je 0x401ae5
lea eax, [ebp + 0x54]
push eax
push edi
push eax
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
jg case.0x401665.68
jl 0x401b02
cmp dword [ebp + 0x14], 0
jae case.0x401665.68
cmp dword [ebp + 0x14], 0xfffffffe
jne 0x401b20
cmp ebx, 0xffffffff
jne 0x401b20
push 0xffffffffffffffe9
push esi
call fcn.00406778
push dword [ebp + 0x6c]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401b28
push 0xffffffffffffffee
push esi
call fcn.00406778
push 0x200010
push esi
call fcn.00405e59
jmp 0x401674
cmp dword [0x40a014], 0xffffffff
mov dword [ebp + 0x70], 1
je 0x401b51
cmp dword [0x434a60], 0
jmp 0x401bb9
cmp dword [0x434a60], 0
je case.0x401665.68
xor esi, esi
call fcn.00401460
mov edi, eax
push edi
call fcn.00405ede
test eax, eax
jne 0x401b9e
push 0x442800
mov esi, 0x40a968
push esi
call fcn.0040637d
push esi
call fcn.004066a9
push eax
push esi
call fcn.0040637d
push esi
push 0x4082b4
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
call fcn.004063ba
push 3
push 0x80000000
push edi
call fcn.00406010
mov dword [0x40a014], eax
cmp eax, 0xffffffff
je case.0x401665.68
and dword [ebp + 0x70], 0
jmp case.0x401665.68
xor esi, esi
call fcn.00401460
push dword [ebp + 0x48]
push eax
call fcn.00406b93
jmp case.0x401665.68
push 0x31
pop esi
call fcn.00401460
push dword [ebp + 0x44]
push eax
call fcn.00405e59
test eax, eax
je 0x40179c
cmp eax, dword [ebp + 0x4c]
jne 0x401c03
mov eax, dword [ebp + 0x50]
jmp case.0x401665.2
cmp eax, dword [ebp + 0x54]
jne case.0x401665.68
mov eax, dword [ebp + 0x58]
jmp case.0x401665.2
push 0xfffffffffffffff0
pop esi
jmp 0x401bca
xor esi, esi
inc esi
call fcn.00401460
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x401749
push 2
pop ecx
call fcn.00401443
push 3
pop ecx
mov esi, eax
mov dword [ebp + 0x3c], edx
call fcn.00401443
mov dword [ebp + 0x7c], esi
xor esi, esi
inc esi
mov edi, eax
mov dword [ebp + 0x18], edx
call fcn.00401460
push eax
mov dword [ebp + 0x18], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [ebx], cx
mov esi, eax
cmp dword [ebp + 0x3c], ecx
je 0x401c6a
mov esi, dword [ebp + 0x7c]
test esi, esi
je case.0x401665.68
test edi, edi
jge 0x401c7e
add edi, eax
js case.0x401665.68
cmp edi, eax
jle 0x401c84
mov edi, eax
mov eax, dword [ebp + 0x18]
lea eax, [eax + edi*2]
push eax
push ebx
call fcn.0040637d
test esi, esi
jge 0x401ca6
push ebx
call sub.KERNEL32.dll_lstrlenW
add esi, eax
jns 0x401ca6
and dword [ebp + 0x7c], 0
mov esi, dword [ebp + 0x7c]
cmp esi, 0x400
jge case.0x401665.68
xor eax, eax
mov word [ebx + esi*2], ax
jmp case.0x401665.68
push 0x20
pop esi
call fcn.00401460
push 0x31
pop esi
mov edi, eax
call fcn.00401460
cmp dword [ebp + 0x54], 0
push eax
push edi
jne 0x401ced
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401bfb
mov eax, dword [ebp + 0x4c]
jmp case.0x401665.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401cdd
xor esi, esi
inc esi
call fcn.00401460
push 0x400
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401d22
cmp dword [ebp + 0x4c], 0
je 0x401d2a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401d2a
xor eax, eax
mov dword [ebp + 0x70], esi
mov word [ebx], ax
xor eax, eax
mov word [ebx + 0x7fe], ax
jmp case.0x401665.68
mov esi, dword [ebp + 0x58]
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov edi, eax
mov dword [ebp + 0x18], edx
call fcn.00401443
mov dword [ebp + 0x18], edx
test esi, esi
jne 0x401d68
cmp edi, eax
jl 0x401bfb
jle 0x401ce5
mov eax, dword [ebp + 0x54]
jmp case.0x401665.2
cmp edi, eax
jb 0x401bfb
jbe 0x401ce5
jmp 0x401d60
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov esi, eax
mov dword [ebp + 0x18], edx
call fcn.00401443
mov ecx, eax
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x18], edx
cmp eax, 0xd
ja case.default.0x401d9a
jmp dword [eax*4 + 0x403030]
add esi, ecx
jmp case.default.0x401d9a
sub esi, ecx
jmp case.default.0x401d9a
imul ecx, esi
mov esi, ecx
jmp case.default.0x401d9a
test ecx, ecx
je 0x401dbb
mov eax, esi
cdq
idiv ecx
jmp 0x401dd9
xor esi, esi
mov dword [ebp + 0x70], 1
jmp case.default.0x401d9a
or ecx, esi
jmp 0x401dac
and ecx, esi
jmp 0x401dac
xor ecx, esi
jmp 0x401dac
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401d9a
test esi, esi
jne 0x401de5
test ecx, ecx
je 0x401dee
xor esi, esi
inc esi
jmp case.default.0x401d9a
test esi, esi
jne 0x401de1
xor esi, esi
jmp case.default.0x401d9a
test ecx, ecx
je 0x401dbb
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401d9a
shl esi, cl
jmp case.default.0x401d9a
sar esi, cl
jmp case.default.0x401d9a
shr esi, cl
push esi
jmp 0x401749
xor esi, esi
inc esi
call fcn.00401460
push 2
pop ecx
mov esi, eax
call fcn.00401443
push eax
push esi
push ebx
mov dword [ebp + 0x18], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x401665.68
mov eax, dword [ebp + 0x4c]
mov esi, dword [0x40a104]
test eax, eax
je 0x401e92
dec eax
test esi, esi
je 0x401e51
mov esi, dword [esi]
test eax, eax
jne 0x401e42
test esi, esi
jne 0x401e65
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406778
push eax
jmp 0x401b2e
lea edi, [esi + 4]
push edi
mov esi, 0x40a168
push esi
call fcn.0040637d
mov eax, dword [0x40a104]
add eax, 4
push eax
push edi
call fcn.0040637d
mov eax, dword [0x40a104]
push esi
add eax, 4
push eax
jmp 0x402c34
test edx, edx
je 0x401eb5
test esi, esi
je 0x40179c
lea eax, [esi + 4]
push eax
push ebx
call fcn.0040637d
mov eax, dword [esi]
mov dword [0x40a104], eax
push esi
jmp 0x402369
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 0x44]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406778
mov eax, dword [0x40a104]
mov dword [esi], eax
mov dword [0x40a104], esi
jmp case.0x401665.68
push 3
pop ecx
call fcn.00401443
push 4
pop ecx
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x28], eax
call fcn.00401443
test byte [ebp + 0x58], 1
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x7c], eax
je 0x401f0f
push 0x33
pop esi
call fcn.00401460
mov dword [ebp + 0x28], eax
test byte [ebp + 0x58], 2
je 0x401f20
push 0x44
pop esi
call fcn.00401460
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x40], 0x23
jne 0x401f77
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov esi, eax
mov dword [ebp + 0x18], edx
call fcn.00401443
mov ecx, dword [ebp + 0x58]
sar ecx, 2
mov dword [ebp + 0x18], edx
test ecx, ecx
je 0x401f67
lea edx, [ebp + 0x6c]
push edx
push ecx
push 0
push dword [ebp + 0x7c]
push dword [ebp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x70], eax
jmp 0x401fac
push dword [ebp + 0x7c]
push dword [ebp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401fa9
xor esi, esi
inc esi
call fcn.00401460
push 0x12
pop esi
mov edi, eax
call fcn.00401460
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 + 0x7c]
push dword [ebp + 0x28]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 0x6c], eax
cmp dword [ebp + 0x44], 0
jl case.0x401665.68
push dword [ebp + 0x6c]
jmp 0x401749
xor ecx, ecx
call fcn.00401443
push eax
mov dword [ebp + 0x18], edx
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x40185d
push 2
pop ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp + 0x18], edx
call fcn.00401443
push esi
push eax
mov dword [ebp + 0x18], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401c27
mov eax, dword [0x434a48]
xor ecx, ecx
lea esi, [eax + edx]
call fcn.00401443
push esi
push 0xffffffffffffffeb
push eax
mov dword [ebp + 0x18], edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401665.68
test dword [ebp + 0x50], 0x100
je 0x402030
push 2
pop ecx
call fcn.00401443
mov dword [ebp + 0x18], edx
jmp 0x40203c
push dword [ebp + 0x4c]
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x7c], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp + 0x30], eax
mov eax, ecx
shr eax, 0x1e
mov esi, ecx
mov edi, ecx
and esi, 3
and eax, 1
and edi, 4
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x6c], eax
test ecx, 0x10000
je 0x402077
push 0x11
pop esi
call fcn.00401460
mov esi, dword [ebp + 0x3c]
jmp 0x40207b
movzx eax, word [ebp + 0x48]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x50]
and eax, 0xfef0
push eax
mov eax, dword [ebp + 0x28]
imul eax, dword [ebp + 0x6c]
push eax
mov eax, dword [ebp + 0x24]
imul eax, dword [ebp + 0x30]
push eax
neg edi
push esi
push dword [ebp + 0x18]
sbb edi, edi
and edi, dword [0x434a0c]
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
push edi
push esi
push 0x172
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4020da
test esi, esi
jne 0x4020da
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp + 0x44], 0
jl case.0x401665.68
push edi
jmp 0x401749
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_GetDC]
push 2
pop ecx
mov esi, eax
call fcn.00401443
push 0x48
push 0x5a
push esi
mov edi, eax
mov dword [ebp + 0x18], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp + 0x64]
neg eax
mov dword [0x40a108], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.00401443
push dword [ebp + 0x48]
mov dword [0x40a118], eax
mov al, byte [ebp + 0x54]
mov cl, al
and cl, 1
mov byte [0x40a11c], cl
mov cl, al
and cl, 2
and al, 4
push 0x40a124
mov dword [ebp + 0x18], edx
mov byte [0x40a11d], cl
mov byte [0x40a11e], al
mov byte [0x40a11f], 1
call fcn.00406778
push 0x40a108
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401c27
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp + 0x18], edx
call fcn.00401443
cmp dword [ebp + 0x50], 0
push eax
mov dword [ebp + 0x18], edx
push esi
jne 0x4021a4
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401665.68
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401665.68
xor esi, esi
call fcn.00401460
push 0x31
pop esi
mov edi, eax
call fcn.00401460
push 0x22
pop esi
mov dword [ebp + 0x7c], eax
call fcn.00401460
push 0x15
pop esi
mov ebx, eax
call fcn.00401460
push 0xffffffffffffffec
call fcn.00401432
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 4], eax
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x10], eax
movzx eax, word [ebx]
neg eax
sbb eax, eax
and eax, ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 8], 0x440000
call fcn.00405e1f
test eax, eax
je 0x40179c
test byte [ebp - 0x1c], 0x40
je case.0x401665.68
push dword [ebp + 0x18]
call fcn.004065ab
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401665.68
xor esi, esi
call fcn.00401460
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004050db
push esi
call fcn.00405ddc
mov esi, eax
test esi, esi
je 0x40179c
cmp dword [ebp + 0x4c], 0
je 0x40228d
push esi
call fcn.004065ab
cmp dword [ebp + 0x48], 0
jl 0x402282
push eax
push dword [ebp + 0x68]
call fcn.004062c4
jmp 0x40228d
test eax, eax
je 0x40228d
mov dword [ebp + 0x70], 1
push esi
jmp 0x402239
push 2
pop esi
call fcn.00401460
push eax
call fcn.0040646b
mov esi, eax
test esi, esi
je 0x4022b7
push dword [esi + 0x14]
push dword [ebp + 0x68]
call fcn.004062c4
push dword [esi + 0x18]
jmp 0x401749
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov word [ebx], ax
mov word [ecx], ax
jmp 0x40179c
push 0xffffffffffffffee
pop esi
call fcn.00401460
mov edi, eax
lea eax, [ebp + 0x30]
push eax
push edi
push 0xa
call fcn.00406502
call eax
mov ecx, dword [ebp + 0x68]
mov esi, eax
xor eax, eax
mov word [ebx], ax
mov word [ecx], ax
mov dword [ebp + 0x70], 1
test esi, esi
je case.0x401665.68
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 0x7c], eax
test eax, eax
je case.0x401665.68
push 0xb
call fcn.00406502
push 0xc
mov dword [ebp + 0x3c], eax
call fcn.00406502
push dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
push esi
push 0
push edi
call dword [ebp + 0x3c]
test eax, eax
je 0x402366
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x4082b0
push dword [ebp + 0x7c]
call dword [ebp + 0x6c]
test eax, eax
je 0x402366
mov eax, dword [ebp + 0x18]
push dword [eax + 8]
push ebx
call fcn.004062c4
mov eax, dword [ebp + 0x18]
push dword [eax + 0xc]
push dword [ebp + 0x68]
call fcn.004062c4
and dword [ebp + 0x70], 0
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401665.68
cmp dword [0x434af8], 0
mov dword [ebp + 0x70], 1
jl 0x402440
push 0xfffffffffffffff0
pop esi
call fcn.00401460
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401460
cmp dword [ebp + 0x54], 0
mov dword [ebp + 0x7c], eax
je 0x4023b0
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x4023c1
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402439
push dword [ebp + 0x7c]
push esi
call fcn.0040656f
mov ebx, eax
test ebx, ebx
je 0x40240b
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x4c], 0
je 0x4023f1
push dword [ebp + 0x4c]
call fcn.00401432
call ebx
test eax, eax
je 0x402415
mov dword [ebp + 0x70], 1
jmp 0x402415
push section..data
push 0x40a104
push edi
push 0x400
push dword [ebp + 0x64]
call ebx
add esp, 0x14
jmp 0x402415
push dword [ebp + 0x7c]
push 0xfffffffffffffff7
call fcn.004050db
cmp dword [ebp + 0x50], 0
jne case.0x401665.68
push esi
call fcn.00403e6b
test eax, eax
je case.0x401665.68
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401665.68
push 0xfffffffffffffff6
jmp 0x401846
push 0xffffffffffffffe7
jmp 0x401846
push 0xfffffffffffffff0
pop esi
call fcn.00401460
push 0xffffffffffffffdf
pop esi
mov dword [ebp + 0x68], eax
call fcn.00401460
push 2
pop esi
mov dword [ebp + 0x18], eax
call fcn.00401460
push 0xffffffffffffffcd
pop esi
mov dword [ebp + 0x34], eax
call fcn.00401460
push 0x45
pop esi
mov dword [ebp + 0x30], eax
call fcn.00401460
push dword [ebp + 0x18]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x54]
mov ecx, eax
mov ebx, eax
mov edi, eax
sar eax, 0x10
and ecx, 0xfff
and eax, 0xffff
sar edi, 0xc
mov dword [ebp + 0x28], ecx
and ebx, 0x8000
and edi, 7
mov dword [ebp + 0x6c], eax
call fcn.00405ede
test eax, eax
jne 0x4024bb
push 0x21
pop esi
call fcn.00401460
lea eax, [ebp + 0x7c]
push eax
push 0x408ad8
push 1
push 0
push 0x408af8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402588
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp + 0x3c]
push edx
push 0x408ae8
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x40257b
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
test ebx, ebx
jne 0x402516
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push 0x440000
push eax
call dword [ecx + 0x24]
test edi, edi
je 0x402524
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp + 0x30]
cmp word [ecx], 0
je 0x402546
push dword [ebp + 0x28]
mov eax, dword [ebp + 0x7c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test esi, esi
jl 0x402572
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x68]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jge 0x402596
mov dword [ebp + 0x70], 1
push 0xfffffffffffffff0
jmp 0x401846
push 0xfffffffffffffff4
jmp 0x401846
xor esi, esi
call fcn.00401460
push 0x11
pop esi
mov edi, eax
call fcn.00401460
push 0x23
pop esi
mov ebx, eax
call fcn.00401460
push edi
mov esi, eax
call fcn.0040646b
test eax, eax
jne 0x4025d2
push 0
push 0xfffffffffffffff9
call fcn.004050db
jmp 0x40179c
mov eax, dword [ebp + 0x64]
push edi
mov dword [ebp - 4], eax
mov dword [ebp], 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 + 0x4c]
push esi
push ecx
mov dword [ebp + 4], edi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x16], esi
mov word [ebp + 0xc], ax
call fcn.004050db
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401665.68
jmp 0x4025c4
cmp eax, 0xbadf00d
jne 0x401e51
inc dword [0x434ad4]
jmp case.0x401665.68
xor ebx, ebx
xor edi, edi
mov dword [ebp + 0x7c], ebx
cmp eax, ebx
je 0x402652
xor esi, esi
call fcn.00401460
mov edx, dword [ebp + 0x48]
mov edi, eax
test edx, edx
je 0x402661
push 0x11
pop esi
call fcn.00401460
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x54], ebx
je 0x402670
push 0x22
pop esi
call fcn.00401460
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401460
push eax
push ebx
push dword [ebp + 0x7c]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401794
xor esi, esi
inc esi
mov dword [ebp + 0x7c], 0xa
call fcn.00401460
push 0x12
pop esi
mov edi, eax
call fcn.00401460
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 0x18], eax
call fcn.00401460
push eax
push 0x3ff
push ebx
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebx], 0xa
jmp 0x401946
cmp dword [ebp + 0x54], 0
mov edi, edx
jne 0x402700
push 2
pop eax
call fcn.004014aa
mov edi, eax
test edi, edi
je 0x40179c
push 0x33
pop esi
call fcn.00401460
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402718
push 0x22
pop esi
call fcn.00401460
mov ecx, dword [ebp + 0x54]
sar ecx, 1
push ecx
push edi
mov esi, eax
call fcn.004015cc
mov esi, eax
test esi, esi
je case.0x401665.68
jmp 0x40179c
mov edi, eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x5c]
push 2
pop esi
mov dword [ebp + 0x3c], eax
call fcn.00401460
push 0x11
pop esi
mov dword [ebp + 0x6c], eax
call fcn.00401460
lea ecx, [ebp + 0x18]
push ecx
push 0x100022
push eax
mov eax, edi
mov dword [ebp + 0x70], 1
call fcn.00401498
push eax
call fcn.00406216
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, dword [ebp + 0x18]
je case.0x401665.68
xor esi, esi
xor eax, eax
cmp dword [ebp + 0x7c], 1
mov ebx, 0x40b168
jne 0x402798
push 0x23
pop esi
call fcn.00401460
push ebx
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
xor esi, esi
cmp dword [ebp + 0x7c], 4
jne 0x4027b1
push 3
pop ecx
call fcn.00401443
push 4
mov dword [0x40b168], eax
mov dword [ebp + 0x30], edx
pop eax
cmp dword [ebp + 0x7c], 3
jne 0x4027db
push dword [ebp + 0x60]
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x50]
push 0x1800
push ebx
push esi
push ecx
push eax
cmp dword [0x434a60], esi
je 0x4027d5
push 1
jmp 0x4027d6
push esi
call fcn.00403285
push eax
push ebx
push dword [ebp + 0x3c]
push esi
push dword [ebp + 0x6c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4027f2
mov dword [ebp + 0x70], esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401665.68
mov eax, 0x20019
call fcn.004014aa
push 0x33
pop esi
mov edi, eax
call fcn.00401460
xor ecx, ecx
mov word [ebx], cx
test edi, edi
je 0x40179c
lea ecx, [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp + 0x7c]
push ecx
push 0
push eax
push edi
mov dword [ebp + 0x18], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40287a
cmp dword [ebp + 0x7c], 4
je 0x402862
cmp dword [ebp + 0x7c], ecx
je 0x402851
cmp dword [ebp + 0x7c], 2
jne 0x40287a
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x70], eax
xor eax, eax
mov word [ebx + 0x7fe], ax
jmp 0x4027f2
push dword [ebx]
xor eax, eax
cmp dword [ebp + 0x54], eax
push ebx
sete al
mov dword [ebp + 0x70], eax
call fcn.004062c4
jmp 0x4027f2
xor eax, eax
mov word [ebx], ax
mov dword [ebp + 0x70], ecx
jmp 0x4027f2
mov eax, 0x20019
call fcn.004014aa
push 3
pop ecx
mov esi, eax
call fcn.00401443
mov dword [ebp + 0x18], edx
xor ecx, ecx
xor edx, edx
mov word [ebx], cx
cmp esi, edx
je 0x40179c
mov ecx, 0x3ff
mov dword [ebp + 0x7c], ecx
cmp dword [ebp + 0x54], edx
je 0x4028c6
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4028e2
push edx
push edx
push edx
push edx
lea ecx, [ebp + 0x7c]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4028e2
mov dword [ebp + 0x70], 1
xor eax, eax
mov word [ebx + 0x7fe], ax
push esi
jmp 0x4027f3
push ebx
call fcn.004062dd
test eax, eax
je case.0x401665.68
push eax
jmp 0x402239
push 0xffffffffffffffed
pop esi
call fcn.00401460
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
push eax
call fcn.00406010
cmp eax, 0xffffffff
jne 0x401c27
xor eax, eax
mov word [ebx], ax
jmp 0x40179c
mov eax, dword [ebp + 0x4c]
xor ecx, ecx
cmp esi, 0x3a
sete cl
mov dword [ebp + 0x7c], eax
mov edi, ecx
test eax, eax
je 0x40295b
xor ecx, ecx
inc ecx
call fcn.00401443
mov word [0x40a968], ax
xor eax, eax
test edi, edi
sete al
mov dword [ebp + 0x18], edx
inc eax
jmp 0x402987
cmp esi, 0x3a
jne 0x40298b
push 0x21
pop esi
call fcn.00401460
push 0x400
mov esi, 0x40a968
push esi
push 0x40b168
call fcn.0040639f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x40299d
push 0x11
pop esi
call fcn.00401460
push eax
call sub.KERNEL32.dll_lstrlenW
mov esi, eax
add esi, esi
cmp word [ebx], 0
je 0x40179c
push ebx
call fcn.004062dd
or edi, dword [ebp + 0x7c]
mov ebx, eax
jne 0x4029c8
cmp dword [ebp + 0x50], edi
je 0x4029c8
push ebx
push ebx
call fcn.004060f1
test eax, eax
jl 0x40179c
push esi
push 0x40a968
push ebx
call fcn.004060c2
jmp 0x401794
push 2
pop ecx
xor esi, esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x34], ecx
call fcn.00401443
cmp eax, 1
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x18], eax
jl case.0x401665.68
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402a04
mov dword [ebp + 0x18], ecx
xor edi, edi
cmp word [ebx], di
je 0x402b6e
push ebx
mov dword [ebp + 0x6c], edi
call fcn.004062dd
cmp dword [ebp + 0x18], edi
mov dword [ebp + 0x28], eax
jle 0x402b6e
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp + 0x40], 0x3b
jne 0x402b02
push edi
lea eax, [ebp + 0x30]
push eax
push 2
pop eax
sub eax, dword [ebp + 0x50]
push eax
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402b6e
mov ecx, dword [ebp + 0x30]
cmp ecx, edi
je 0x402b6e
movzx ax, byte [ebp + 0x7c]
movzx eax, ax
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x50], edi
jne 0x402b2f
push 1
lea eax, [ebp + 0x64]
push eax
push ecx
lea eax, [ebp + 0x7c]
push eax
push 8
push edi
call ebx
test eax, eax
jne 0x402b2a
mov esi, dword [ebp + 0x34]
neg esi
dec dword [ebp + 0x30]
mov eax, 0xfffd
mov dword [ebp + 0x64], eax
je 0x402acb
dec dword [ebp + 0x34]
push 1
push edi
inc esi
push esi
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x30]
lea eax, [ebp + 0x7c]
push eax
push 8
push edi
call ebx
test eax, eax
je 0x402a94
mov eax, dword [ebp + 0x64]
mov esi, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], edi
jne 0x402b2f
cmp word [ebp + 0x6c], 0xd
je 0x402b40
cmp word [ebp + 0x6c], 0xa
je 0x402b40
mov ecx, dword [ebp + 0x68]
mov word [ecx + esi*2], ax
movzx ecx, ax
inc esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x6c], ecx
cmp ax, di
je 0x402b6e
cmp esi, dword [ebp + 0x18]
jl 0x402a2a
jmp 0x402b6e
cmp dword [ebp + 0x50], edi
jne 0x402b18
cmp esi, edi
jne 0x402b18
push edi
push dword [ebp + 0x28]
call fcn.004060f1
test eax, eax
jl 0x402b6e
push 2
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x28]
call fcn.00406093
test eax, eax
je 0x402b6e
mov eax, dword [ebp + 0x64]
jmp 0x402ace
movzx eax, ax
push eax
push dword [ebp + 0x68]
call fcn.004062c4
jmp 0x402f0a
cmp word [ebp + 0x6c], ax
je 0x402b5c
cmp ax, 0xd
je 0x402b52
cmp ax, 0xa
jne 0x402b5c
mov ecx, dword [ebp + 0x68]
mov word [ecx + esi*2], ax
inc esi
jmp 0x402b6e
mov eax, dword [ebp + 0x34]
push 1
push edi
neg eax
push eax
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov word [ecx + esi*2], ax
cmp esi, edi
jmp 0x401796
cmp word [ebx], 0
je case.0x401665.68
push 2
pop ecx
call fcn.00401443
push dword [ebp + 0x50]
mov dword [ebp + 0x18], edx
push 0
push eax
push ebx
call fcn.004062dd
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x48], 0
jl case.0x401665.68
push eax
push dword [ebp + 0x68]
jmp 0x40174a
push ebx
call fcn.004062dd
test eax, eax
je case.0x401665.68
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401665.68
push dword [ebp + 0x68]
call fcn.004062dd
test eax, eax
je 0x40194c
lea ecx, [ebp - 0x270]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40194c
jmp 0x402c2c
push 2
pop esi
call fcn.00401460
lea ecx, [ebp - 0x270]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402c23
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov word [ecx], ax
jmp 0x402922
push eax
push dword [ebp + 0x68]
call fcn.004062c4
lea eax, [ebp - 0x244]
push eax
push ebx
call fcn.0040637d
jmp case.0x401665.68
push 0xfffffffffffffff0
pop esi
mov dword [ebp + 0x24], 0xfffffd66
or ebx, 0xffffffff
call fcn.00401460
mov edi, eax
push edi
mov dword [ebp + 0x30], edi
call fcn.00405ede
test eax, eax
jne 0x402c67
push 0xffffffffffffffec
pop esi
call fcn.00401460
push edi
call fcn.00405fea
push 2
push 0x40000000
push edi
call fcn.00406010
mov dword [ebp + 0x6c], eax
cmp eax, ebx
je 0x402d54
mov eax, dword [0x434a74]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp + 0x18], eax
call esi
xor edi, edi
mov dword [ebp + 0x7c], eax
cmp eax, edi
je 0x402d49
push edi
call fcn.004031b2
push dword [ebp + 0x18]
push dword [ebp + 0x7c]
call fcn.00403156
push dword [ebp + 0x50]
push 0x40
call esi
mov esi, eax
mov dword [ebp + 0x3c], esi
cmp esi, edi
je 0x402d0f
push dword [ebp + 0x58]
mov ecx, dword [ebp + 0x4c]
push dword [ebp + 0x50]
mov eax, dword [ebp + 0x48]
push esi
push edi
push ecx
push eax
cmp dword [0x434a60], edi
je 0x402ce2
push 1
jmp 0x402ce3
push edi
call fcn.00403285
jmp 0x402d01
mov ebx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x7c]
push ebx
add esi, 8
push esi
add eax, ecx
push eax
call fcn.00405fc6
add esi, ebx
cmp byte [esi], 0
jne 0x402cea
push dword [ebp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0x18]
push dword [ebp + 0x7c]
push dword [ebp + 0x6c]
call fcn.004060c2
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0x5c]
push edi
push edi
push dword [ebp + 0x6c]
push 0xffffffffffffffff
push 0xffffffffffffffff
cmp dword [0x434a60], edi
je 0x402d3e
push 1
jmp 0x402d3f
push edi
call fcn.00403285
mov ebx, edx
mov dword [ebp + 0x24], eax
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402d56
xor edi, edi
cmp ebx, edi
push 0xfffffffffffffff3
pop esi
jg 0x402d77
jl 0x402d64
cmp dword [ebp + 0x24], edi
jae 0x402d77
push 0xffffffffffffffef
pop esi
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp + 0x70], 1
push esi
jmp 0x401846
xor ecx, ecx
call fcn.00401443
mov edi, eax
mov dword [ebp + 0x18], edx
cmp edi, dword [0x434a2c]
jae 0x40179c
mov eax, dword [ebp + 0x4c]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x434a28]
test eax, eax
jl 0x402dc1
mov ecx, dword [esi + eax*4]
jne 0x402dbb
add esi, 0x18
push esi
push dword [ebp + 0x68]
jmp 0x402c34
push ecx
jmp 0x402bb1
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp + 0x4c], ecx
je 0x402ddb
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x48], eax
jmp 0x402dee
push dword [ebp + 0x54]
lea eax, [esi + 0x18]
push eax
call fcn.00406778
or dword [esi + 8], 0x100
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
mov dword [esi + eax*4], ecx
cmp dword [ebp + 0x50], 0
je case.0x401665.68
push edi
call fcn.00401186
jmp case.0x401665.68
xor ecx, ecx
call fcn.00401443
mov dword [ebp + 0x18], edx
cmp eax, 0x20
jae 0x40179c
xor esi, esi
cmp dword [ebp + 0x50], esi
je 0x402e48
cmp dword [ebp + 0x4c], esi
je 0x402e3d
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x401665.68
push esi
call fcn.004012f1
jmp 0x402bb0
cmp dword [ebp + 0x4c], esi
je 0x402e62
mov ecx, dword [ebp + 0x48]
mov edx, dword [0x434a10]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x401665.68
mov ecx, dword [0x434a10]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 0x68]
call fcn.00406778
jmp case.0x401665.68
push 5
call fcn.00406502
push 0x22
pop esi
mov edi, eax
call fcn.00401460
test edi, edi
je 0x402ec9
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x402ec9
lea eax, [ebp + 0x7c]
push eax
push 0
push dword [ebp + 0x50]
lea eax, [ebp + 0xc]
push eax
call edi
test eax, eax
jl 0x402ec9
push dword [ebp + 0x7c]
push dword [ebp + 0x68]
call fcn.0040637d
push dword [ebp + 0x7c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x401665.68
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov dword [ebp + 0x70], 1
mov word [ecx], ax
jmp case.0x401665.68
mov ecx, dword [0x42ed70]
xor esi, esi
push esi
and ecx, eax
push ecx
push 0xb
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x44], esi
je case.0x401665.68
push esi
push esi
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x70]
add dword [0x434ac8], eax
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4