Function at 0x401434
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
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x429a28]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xb
add ecx, esi
mov edi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x30]
shl edi, 0xb
mov dword [0x40ce24], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.66
jmp dword [ecx*4 + 0x402c61]
push ebx
push eax
call fcn.004055c6
jmp 0x4023c2
inc dword [0x4289ec]
cmp dword [ebp - 8], ebx
je 0x4023c2
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4023c2
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.004055c6
jmp case.0x40148a.66
push ebx
call fcn.00402da9
cmp eax, 1
pop ecx
mov dword [ebp - 0x10], edx
jg 0x4014e9
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40148a.66
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40148a.66
cmp dword [ebp - 0x28], ebx
jg 0x401541
jge 0x401518
mov eax, dword [eax*4 + 0x429aa0]
mov dword [0x40ce2c], eax
jmp 0x401527
shl eax, 2
mov ecx, dword [eax + 0x429aa0]
mov dword [eax + 0x429b00], ecx
push 1
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x429aa0], eax
jmp case.0x40148a.66
shl eax, 2
cmp dword [ebp - 0x24], ebx
lea ecx, [eax + 0x429aa0]
mov eax, dword [eax + 0x429b00]
mov dword [ecx], eax
jge case.0x40148a.66
mov eax, dword [0x40ce2c]
mov dword [ecx], eax
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x429aa0]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [esi], ecx
jmp case.0x40148a.2
mov eax, dword [ebp - 0x2c]
push dword [eax*4 + 0x429aa0]
push edi
jmp 0x402bc9
mov ecx, dword [0x4289f0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x4015b1
push dword [ebp - 0x2c]
push ecx
call esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x428a04]
cmp ecx, ebx
je case.0x40148a.66
push eax
push ecx
call esi
jmp case.0x40148a.66
push 0xfffffffffffffff0
call fcn.00402dcb
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.66
jmp 0x402953
push 0xfffffffffffffff0
call fcn.00402dcb
push eax
mov dword [ebp + 8], eax
call fcn.00405ebb
mov esi, eax
cmp esi, ebx
je 0x401656
push 0x5c
push esi
call fcn.00405e3d
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401629
cmp dword [ebp - 0x28], ebx
je 0x401629
call fcn.00405b0c
test eax, eax
je 0x401629
push dword [ebp + 8]
call fcn.00405a95
jmp 0x401631
push dword [ebp + 8]
call fcn.00405aef
cmp eax, ebx
je 0x40164c
cmp eax, 0xb7
jne 0x401649
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40164c
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015fc
cmp dword [ebp - 0x2c], ebx
je 0x401688
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x435000
call fcn.00406541
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40148a.66
inc dword [ebp - 4]
jmp case.0x40148a.66
push 0xfffffffffffffff5
jmp 0x402316
push ebx
call fcn.00402dcb
push eax
call fcn.0040689e
jmp 0x401d4d
push 0xffffffffffffffd0
call fcn.00402dcb
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402dcb
push 0x13
mov edi, eax
call fcn.00402dcb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016cc
push 0xffffffffffffffe3
jmp 0x402316
cmp dword [ebp - 0x28], ebx
je 0x402953
push esi
call fcn.0040689e
test eax, eax
je 0x402953
push edi
push esi
call fcn.00406301
push 0xffffffffffffffe4
jmp 0x402316
push ebx
call fcn.00402dcb
mov edi, dword [ebp - 0xc]
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401735
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40173f
cmp word [eax], bx
je 0x40173f
push esi
call fcn.0040689e
cmp eax, ebx
je 0x401735
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00406541
jmp 0x40173f
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x28], ebx
jne case.0x40148a.66
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40148a.66
push 0xffffffffffffffff
call fcn.00402dcb
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x40148a.66
jmp 0x402921
push 0xffffffffffffffef
call fcn.00402dcb
push eax
push edi
call fcn.00406060
jmp 0x4015d9
push 0x31
call fcn.00402dcb
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405e87
push dword [ebp - 8]
mov edi, 0x40a5c8
test eax, eax
je 0x4017c3
push edi
call fcn.00406541
jmp 0x4017da
push 0x435000
push edi
call fcn.00406541
push eax
call fcn.00405e10
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.004067ef
cmp dword [ebp + 8], 3
jl 0x401817
push edi
call fcn.0040689e
xor ecx, ecx
cmp eax, ebx
je 0x401802
lea ecx, [ebp - 0x24]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x401822
push edi
call fcn.0040600c
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406031
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x4018b2
cmp dword [ebp + 8], ebx
jne 0x401894
push esi
push 0x40b5c8
call fcn.00406541
push edi
push esi
call fcn.00406541
push dword [ebp - 0x1c]
push 0x40adc8
call fcn.0040657e
push 0x40b5c8
push esi
call fcn.00406541
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40adc8
call fcn.00405ba1
sub eax, 4
je 0x4017e0
dec eax
je 0x4018a7
push edi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.004055c6
cmp dword [ebp + 8], 2
jmp 0x4015db
inc dword [0x429aa8]
jmp 0x402c58
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.004055c6
inc dword [0x429ad4]
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.004032d9
dec dword [0x429ad4]
cmp dword [ebp - 0x24], 0xffffffff
mov esi, eax
jne 0x4018e3
cmp dword [ebp - 0x20], 0xffffffff
je 0x4018f5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jge case.0x40148a.66
cmp esi, 0xfffffffe
jne 0x40191e
push 0xffffffffffffffe9
push edi
call fcn.0040657e
push dword [ebp - 8]
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401926
push 0xffffffffffffffee
push edi
call fcn.0040657e
push 0x200010
push edi
jmp 0x4023bd
push ebx
jmp 0x401968
push 0x31
call fcn.00402dcb
push dword [ebp - 0x30]
push eax
call fcn.00405ba1
cmp eax, ebx
je 0x402953
cmp eax, dword [ebp - 0x28]
je 0x401ac1
cmp eax, dword [ebp - 0x20]
jne case.0x40148a.66
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402dcb
push dword [ebp - 0x2c]
push eax
call fcn.00405c4d
jmp case.0x40148a.66
push 1
call fcn.00402dcb
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x40265d
push 2
call fcn.00402da9
push 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00402da9
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x14]
pop ecx
push 1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
mov dword [ebp + 8], eax
call fcn.00402dcb
push eax
mov dword [ebp - 0x44], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x10], ebx
mov word [edi], bx
jne 0x4019cc
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x40148a.66
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
jge 0x4019e7
lea esi, [eax + ecx]
cmp esi, ebx
jl case.0x40148a.66
cmp esi, eax
jle 0x4019ed
mov esi, eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + esi*2]
push eax
push edi
call fcn.00406541
cmp dword [ebp + 8], ebx
jge 0x401a0d
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401a0d
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x40148a.66
mov word [edi + eax*2], bx
jmp case.0x40148a.66
push 0x20
call fcn.00402dcb
push 0x31
mov esi, eax
call fcn.00402dcb
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401a4d
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ac1
mov eax, dword [ebp - 0x28]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a41
xor esi, esi
inc esi
push esi
call fcn.00402dcb
push 0x400
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a85
cmp dword [ebp - 0x28], ebx
je 0x401a8b
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a8b
mov dword [ebp - 4], esi
mov word [edi], bx
mov word [edi + 0x7fe], bx
jmp case.0x40148a.66
mov esi, dword [ebp - 0x1c]
push ebx
call fcn.00402da9
push 1
mov edi, eax
mov dword [ebp - 0x10], edx
call fcn.00402da9
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
jne 0x401abd
cmp edi, eax
jl 0x401ac1
jle 0x401a45
jmp 0x401acf
cmp edi, eax
jae 0x401ac9
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
jbe 0x401a45
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
push 1
call fcn.00402da9
mov esi, eax
push 2
mov dword [ebp - 0x10], edx
mov dword [ebp + 8], esi
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
ja case.default.0x401b00
jmp dword [eax*4 + 0x402d71]
add esi, ecx
jmp 0x401e6d
sub esi, ecx
jmp 0x401e6d
imul ecx, esi
jmp 0x401b34
cmp ecx, ebx
je 0x401b71
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401e6d
or ecx, esi
jmp 0x401b34
and ecx, esi
jmp 0x401b34
xor ecx, esi
mov esi, ecx
jmp 0x401e6d
xor eax, eax
cmp esi, ebx
sete al
jmp 0x401b23
cmp esi, ebx
jne 0x401b59
jmp 0x401b55
xor esi, esi
jmp 0x401e6d
cmp esi, ebx
je 0x401b4a
cmp ecx, ebx
je 0x401b4a
xor esi, esi
inc esi
jmp 0x401e6d
cmp ecx, ebx
je 0x401b71
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401e6d
xor esi, esi
mov dword [ebp - 4], 1
jmp 0x401e6d
shl esi, cl
jmp 0x401e6d
sar esi, cl
jmp 0x401e6d
shr esi, cl
jmp 0x401e6d
mov esi, dword [ebp + 8]
jmp 0x401e6d
push 1
call fcn.00402dcb
push 2
mov esi, eax
call fcn.00402da9
push eax
push esi
push edi
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
mov esi, dword [0x40ce28]
cmp eax, ebx
je 0x401c11
dec eax
cmp esi, ebx
je 0x4023af
mov esi, dword [esi]
cmp eax, ebx
jne 0x401bcd
cmp esi, ebx
je 0x4023af
add esi, 4
mov edi, 0x40a5c8
push esi
push edi
call fcn.00406541
mov eax, dword [0x40ce28]
add eax, 4
push eax
push esi
call fcn.00406541
mov eax, dword [0x40ce28]
push edi
add eax, 4
push eax
jmp 0x402ab9
cmp dword [ebp - 0x2c], ebx
je 0x401c3b
cmp esi, ebx
je 0x402953
lea eax, [esi + 4]
push eax
push edi
call fcn.00406541
mov eax, dword [esi]
push esi
mov dword [0x40ce28], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40148a.66
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040657e
mov eax, dword [0x40ce28]
mov dword [esi], eax
mov dword [0x40ce28], esi
jmp case.0x40148a.66
push 3
call fcn.00402da9
push 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
call fcn.00402da9
test byte [ebp - 0x1c], 1
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c94
push 0x33
call fcn.00402dcb
mov dword [ebp - 0x18], eax
test byte [ebp - 0x1c], 2
je 0x401ca4
push 0x44
call fcn.00402dcb
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
push 1
jne 0x401cf8
call fcn.00402da9
push 2
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401ce8
lea edx, [ebp - 0x38]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401d2b
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401d28
call fcn.00402dcb
push 0x12
mov esi, eax
call fcn.00402dcb
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ecx
and eax, esi
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x30], ebx
jl case.0x40148a.66
push dword [ebp - 0x38]
jmp 0x401592
push ebx
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a45
mov eax, dword [ebp - 0x2c]
jmp case.0x40148a.2
push 2
call fcn.00402da9
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x40265d
mov eax, dword [0x429a68]
mov ecx, dword [ebp - 0x2c]
push ebx
lea esi, [eax + ecx]
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.66
test byte [ebp - 0x23], 1
je 0x401db9
push 2
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
jmp 0x401dc5
push dword [ebp - 0x28]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, ecx
mov esi, ecx
and eax, 3
and esi, 4
mov dword [ebp - 0x38], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x18], eax
mov eax, ecx
shr eax, 0x1e
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x40], eax
je 0x401dfc
push 0x11
call fcn.00402dcb
jmp 0x401e00
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x38]
neg esi
push dword [ebp - 0x44]
sbb esi, esi
and esi, dword [0x429a20]
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
push esi
push dword [ebp - 0x38]
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x401e64
cmp dword [ebp - 0x38], ebx
jne 0x401e64
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x30], ebx
jl case.0x40148a.66
push esi
jmp 0x401592
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
call fcn.00402da9
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push esi
mov dword [ebp - 0x10], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp - 8]
neg eax
mov dword [0x40cdc8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402da9
mov dword [0x40cdd8], eax
mov al, byte [ebp - 0x20]
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x2c]
mov cl, al
and cl, 1
mov byte [0x40cddf], 1
mov byte [0x40cddc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40cde4
mov byte [0x40cddd], cl
mov byte [0x40cdde], al
call fcn.0040657e
push 0x40cdc8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x40265d
push ebx
call fcn.00402da9
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402da9
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], edx
push eax
push esi
jne 0x401f2c
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40148a.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40148a.66
push ebx
call fcn.00402dcb
push 0x31
mov esi, eax
call fcn.00402dcb
push 0x22
mov ebx, eax
call fcn.00402dcb
push 0x15
mov edi, eax
call fcn.00402dcb
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x7c], ebx
and eax, esi
mov dword [ebp - 0x80], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x74], 0x435000
and eax, edi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00405b67
test eax, eax
je 0x402953
test byte [ebp - 0x88], 0x40
je case.0x40148a.66
push dword [ebp - 0x54]
call fcn.004069e0
push dword [ebp - 0x54]
jmp 0x402010
push ebx
call fcn.00402dcb
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004055c6
push esi
call fcn.00405b24
mov esi, eax
cmp esi, ebx
je 0x402953
cmp dword [ebp - 0x28], ebx
je 0x40200f
push esi
call fcn.004069e0
cmp dword [ebp - 0x2c], ebx
jl 0x402004
push eax
push dword [ebp - 0xc]
call fcn.00406488
jmp 0x40200f
cmp eax, ebx
je 0x40200f
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.66
push 2
call fcn.00402dcb
push eax
call fcn.0040689e
mov esi, eax
cmp esi, ebx
je 0x402041
push dword [esi + 0x14]
push dword [ebp - 0xc]
call fcn.00406488
push dword [esi + 0x18]
jmp 0x401592
mov eax, dword [ebp - 0xc]
mov word [edi], bx
mov word [eax], bx
jmp 0x402953
push 0xffffffffffffffee
call fcn.00402dcb
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x38], eax
push ecx
push eax
push 0xb
call fcn.00406935
call eax
mov esi, eax
mov eax, dword [ebp - 0xc]
mov word [edi], bx
cmp esi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x40148a.66
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
push 0xc
call fcn.00406935
push 0xd
mov dword [ebp - 0x40], eax
call fcn.00406935
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push esi
push ebx
push dword [ebp - 0x38]
call dword [ebp - 0x40]
test eax, eax
je 0x4020f4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x18]
test eax, eax
je 0x4020f4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
push dword [eax + ecx*4 + 8]
push edi
call fcn.00406488
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
push dword [ecx + eax*4 + 0xc]
push dword [ebp - 0xc]
call fcn.00406488
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401c30
cmp dword [0x429ae0], ebx
mov dword [ebp - 4], 1
jl 0x4021c8
push 0xfffffffffffffff0
call fcn.00402dcb
push 1
mov edi, eax
call fcn.00402dcb
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], eax
je 0x402135
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402146
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4021c1
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.004069a4
mov edi, eax
cmp edi, ebx
je 0x402190
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x402176
push dword [ebp - 0x28]
call fcn.00401423
call edi
test eax, eax
je 0x40219a
mov dword [ebp - 4], 1
jmp 0x40219a
push section..data
push 0x40ce28
push esi
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x40219a
push dword [ebp - 0x44]
push 0xfffffffffffffff7
call fcn.004055c6
cmp dword [ebp - 0x24], ebx
jne case.0x40148a.66
push dword [ebp + 8]
call fcn.00403bb3
test eax, eax
je case.0x40148a.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40148a.66
push 0xfffffffffffffff6
jmp 0x402316
push 0xffffffffffffffe7
jmp 0x402316
push 0xfffffffffffffff0
call fcn.00402dcb
push 0xffffffffffffffdf
mov dword [ebp - 0x10], eax
call fcn.00402dcb
push 2
mov dword [ebp - 0x44], eax
call fcn.00402dcb
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402dcb
push 0x45
mov dword [ebp - 0x4c], eax
call fcn.00402dcb
push dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x50], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x40], eax
call fcn.00405e87
test eax, eax
jne 0x40223d
push 0x21
call fcn.00402dcb
lea eax, [ebp + 8]
push eax
push 0x4084cc
push 1
push ebx
push 0x4084dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40230d
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
push 0x4084ec
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x4022ff
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x18], eax
jne 0x402299
mov eax, dword [ebp + 8]
push 0x435000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x4022a7
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x4c]
cmp word [ecx], bx
je 0x4022c8
mov eax, dword [ebp + 8]
push dword [ebp - 0x50]
mov edx, dword [eax]
push ecx
push eax
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 - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x18], ebx
jl 0x4022f6
mov eax, dword [ebp - 0x38]
push 1
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x18], ebx
jge 0x402320
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.66
push 0xfffffffffffffff4
jmp 0x402316
push ebx
call fcn.00402dcb
push 0x11
mov esi, eax
call fcn.00402dcb
push 0x23
mov edi, eax
call fcn.00402dcb
push esi
mov dword [ebp + 8], eax
call fcn.0040689e
test eax, eax
jne 0x402356
push ebx
push 0xfffffffffffffff9
call fcn.004055c6
jmp 0x402953
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 2
call sub.KERNEL32.dll_lstrlenW
push edi
mov word [esi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [edi + eax*2 + 2], bx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x56], eax
mov word [ebp - 0x60], cx
call fcn.004055c6
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.66
jmp 0x402349
cmp eax, 0xbadf00d
je 0x4023cc
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040657e
push eax
call fcn.00405ba1
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x429ab4]
jmp case.0x40148a.66
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x4023e7
push ebx
call fcn.00402dcb
mov esi, eax
cmp dword [ebp - 0x2c], ebx
je 0x4023f5
push 0x11
call fcn.00402dcb
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x402403
push 0x22
call fcn.00402dcb
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402dcb
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015d9
mov eax, dword [0x40a010]
push 1
mov dword [ebp + 8], eax
call fcn.00402dcb
push 0x12
mov esi, eax
call fcn.00402dcb
push 0xffffffffffffffdd
mov dword [ebp - 0x10], eax
call fcn.00402dcb
push eax
push 0x3ff
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x401776
cmp dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x2c]
jne 0x40248c
push 2
call fcn.00402e0b
mov esi, eax
cmp esi, ebx
je 0x402953
push 0x33
call fcn.00402dcb
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4024a2
push 0x22
call fcn.00402dcb
mov ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402e89
mov edi, eax
cmp edi, ebx
je case.0x40148a.66
jmp 0x402953
mov esi, dword [ebp - 0x20]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x10], eax
call fcn.00402dcb
push 0x11
mov dword [ebp - 0x44], eax
call fcn.00402dcb
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402e5b
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
xor eax, eax
cmp esi, 1
mov edi, 0x40b5c8
jne 0x402503
push 0x23
call fcn.00402dcb
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x40251a
push 3
call fcn.00402da9
pop ecx
mov dword [0x40b5c8], eax
push esi
mov dword [ebp - 0x38], edx
pop eax
cmp esi, 3
jne 0x40252e
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.004032d9
push eax
push edi
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x44]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402547
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x402622
push 0x20019
call fcn.00402e0b
push 0x33
mov esi, eax
call fcn.00402dcb
cmp esi, ebx
mov word [edi], bx
je 0x402953
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push ecx
lea ecx, [ebp + 8]
push edi
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4025bb
cmp dword [ebp + 8], 4
je 0x4025a6
cmp dword [ebp + 8], ecx
je 0x40259e
cmp dword [ebp + 8], 2
jne 0x4025bb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x40261a
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00406488
jmp 0x402621
mov word [edi], bx
mov dword [ebp - 4], ecx
jmp 0x402621
push 0x20019
call fcn.00402e0b
push 3
mov esi, eax
call fcn.00402da9
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
mov word [edi], bx
je 0x402953
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4025fe
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40261a
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40261a
mov dword [ebp - 4], 1
mov word [edi + 0x7fe], bx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.66
push edi
call fcn.004064a1
cmp eax, ebx
je case.0x40148a.66
push eax
jmp 0x402010
push 0xffffffffffffffed
call fcn.00402dcb
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00406031
cmp eax, 0xffffffff
je 0x402950
push eax
jmp 0x401592
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x10], eax
sete cl
cmp eax, ebx
mov esi, ecx
je 0x402692
push 1
call fcn.00402da9
mov word [0x40adc8], ax
xor eax, eax
cmp esi, ebx
pop ecx
sete al
mov dword [ebp - 0x44], edx
inc eax
jmp 0x4026d1
cmp edx, 0x38
jne 0x4026c2
push 0x21
call fcn.00402dcb
push 0x400
push 0x40adc8
push 0x40b5c8
call fcn.00406563
add esp, 0xc
push 0x40adc8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4026d1
push 0x11
call fcn.00402dcb
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [edi], bx
mov dword [ebp + 8], eax
je 0x402953
push edi
call fcn.004064a1
or esi, dword [ebp - 0x10]
mov edi, eax
jne 0x4026fe
cmp dword [ebp - 0x24], ebx
je 0x4026fe
push edi
push edi
call fcn.00406112
test eax, eax
jl 0x402953
push dword [ebp + 8]
push 0x40adc8
push edi
call fcn.004060e3
jmp 0x4015d9
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x4c], eax
call fcn.00402da9
cmp eax, 1
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x44], eax
jl case.0x40148a.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40273c
mov dword [ebp - 0x44], ecx
cmp word [edi], bx
je 0x4028a3
push edi
mov dword [ebp - 0x38], ebx
call fcn.004064a1
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jle 0x4028a3
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x34], 0x39
jne 0x4027f9
lea eax, [ebp - 0x40]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x24]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4028a3
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x4028a3
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jne 0x40285f
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call esi
test eax, eax
jne 0x402826
mov edi, dword [ebp - 0x4c]
neg edi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x50], eax
je 0x402829
dec dword [ebp - 0x4c]
inc edi
push 1
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x40]
push eax
push 8
push ebx
call esi
test eax, eax
je 0x4027c3
jmp 0x402826
cmp dword [ebp - 0x24], ebx
jne 0x402814
cmp dword [ebp - 8], ebx
jne 0x402814
push ebx
push dword [ebp - 0x18]
call fcn.00406112
test eax, eax
jl 0x4028a3
lea eax, [ebp - 0x50]
push 2
push eax
push dword [ebp - 0x18]
call fcn.004060b4
test eax, eax
je 0x4028a3
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x24], ebx
jne 0x40285f
cmp word [ebp - 0x38], 0xd
je 0x402870
cmp word [ebp - 0x38], 0xa
je 0x402870
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
cmp ax, bx
mov word [ecx + edx*2], ax
mov dword [ebp - 0x38], eax
je 0x4028a3
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jl 0x402760
jmp 0x4028a3
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.00406488
jmp 0x402c58
cmp word [ebp - 0x38], ax
je 0x402891
cmp ax, 0xd
je 0x402882
cmp ax, 0xa
jne 0x402891
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x4028a3
mov eax, dword [ebp - 0x4c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov word [ecx + eax*2], bx
jmp 0x4015db
cmp word [edi], bx
je case.0x40148a.66
push 2
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x24]
push ebx
push eax
push edi
call fcn.004064a1
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x40148a.66
push eax
jmp 0x402bc6
push edi
call fcn.004064a1
cmp eax, ebx
je case.0x40148a.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.66
push dword [ebp - 0xc]
call fcn.004064a1
cmp eax, ebx
je 0x402921
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402968
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x40148a.66
push 2
call fcn.00402dcb
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40295f
mov eax, dword [ebp - 0xc]
mov word [eax], bx
mov word [edi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.66
push eax
push dword [ebp - 0xc]
call fcn.00406488
lea eax, [ebp - 0x2b0]
push eax
push edi
jmp 0x402ab9
push 0xfffffffffffffff0
mov edi, 0xfffffd66
call fcn.00402dcb
mov esi, eax
push esi
mov dword [ebp - 0x40], esi
call fcn.00405e87
test eax, eax
jne 0x402997
push 0xffffffffffffffed
call fcn.00402dcb
push esi
call fcn.0040600c
push 2
push 0x40000000
push esi
call fcn.00406031
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402a60
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], eax
je 0x402a48
mov eax, dword [0x429a34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x44], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402a48
push ebx
call fcn.004034d4
push dword [ebp - 0x44]
push edi
call fcn.004034be
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x402a31
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.004032d9
jmp 0x402a24
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x3c], ecx
call fcn.00405fec
add esi, dword [ebp - 0x3c]
cmp byte [esi], bl
jne 0x402a0c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x44]
push edi
push dword [ebp + 8]
call fcn.004060e3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 0x38], 0xffffffff
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x38]
call fcn.004032d9
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
cmp edi, ebx
pop esi
jge 0x402a7a
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x402316
push ebx
call fcn.00402da9
mov edi, eax
pop ecx
cmp edi, dword [0x429a4c]
mov dword [ebp - 0x10], edx
jae 0x402953
mov esi, edi
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x818
add esi, dword [0x429a48]
cmp eax, ebx
jl 0x402ac9
mov ecx, dword [esi + eax*4]
jne 0x402ac3
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.00406541
jmp case.0x40148a.66
push ecx
jmp 0x402bc6
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402ae3
push 1
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], eax
jmp 0x402af3
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.0040657e
or byte [esi + 9], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x40148a.66
push edi
call fcn.0040117d
jmp case.0x40148a.66
push ebx
call fcn.00402da9
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x10], edx
jae 0x402953
cmp dword [ebp - 0x24], ebx
je 0x402b4a
cmp dword [ebp - 0x28], ebx
je 0x402b3f
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x40148a.66
push ebx
call fcn.004012e2
jmp 0x4028e3
cmp dword [ebp - 0x28], ebx
je 0x402b64
mov edx, dword [0x429a30]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.66
mov ecx, dword [0x429a30]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.0040657e
jmp case.0x40148a.66
mov eax, dword [ebp - 0x24]
sub eax, ebx
je 0x402bd0
dec eax
jne case.0x40148a.66
push 2
call fcn.00402da9
push 4
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402da9
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov dword [ebp + 8], ebx
movzx ecx, al
shr eax, 0x18
cmp esi, ebx
jne 0x402bb6
mov esi, 0x429aa0
add eax, esi
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405fec
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00406488
jmp case.0x40148a.66
push 5
call fcn.00406935
push 0x22
mov esi, eax
call fcn.00402dcb
cmp esi, ebx
je 0x402c1b
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x402c1b
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
jl 0x402c1b
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00406541
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x40148a.66
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], 1
mov word [eax], bx
jmp case.0x40148a.66
mov ecx, dword [0x424f08]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x40148a.66
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x429aa8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4