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 [0x42a208]
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 edi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
sub ebx, ebx
shl ecx, 0xb
add ecx, edi
push eax
pop esi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x30]
shl esi, 0xb
mov dword [0x40ce04], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402b44]
push ebx
push eax
call fcn.00405361
jmp 0x402364
inc dword [0x4291cc]
cmp dword [ebp - 8], ebx
je 0x402364
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402364
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.00405361
jmp case.0x40148a.65
push ebx
call fcn.00402c8c
cmp eax, 1
pop ecx
mov dword [ebp - 0xc], edx
jg 0x4014e9
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40148a.65
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40148a.65
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x401531
mov ecx, dword [eax + 0x42a2a0]
push 1
mov dword [eax + 0x42a2e0], ecx
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x42a2a0], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x42a2e0]
mov dword [eax + 0x42a2a0], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x42a2a0]
sub 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 + 0x42a2a0]
push esi
jmp 0x402ad8
mov ecx, dword [0x4291d0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x40158c
push dword [ebp - 0x2c]
push ecx
call esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x4291e4]
cmp ecx, ebx
je case.0x40148a.65
push eax
push ecx
call esi
jmp case.0x40148a.65
push 0xfffffffffffffff0
call fcn.00402cae
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
or eax, eax
jne case.0x40148a.65
jmp 0x4028f8
push 0xfffffffffffffff0
call fcn.00402cae
push eax
mov dword [ebp + 8], eax
call fcn.00405c79
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405bfb
push eax
pop esi
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401604
cmp dword [ebp - 0x28], ebx
je 0x401604
call fcn.004058ca
or eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.00405830
jmp 0x40160c
push dword [ebp + 8]
call fcn.004058ad
cmp eax, ebx
je 0x401627
cmp eax, 0xb7
jne 0x401624
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401627
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015d7
cmp dword [ebp - 0x2c], ebx
je 0x401663
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x436000
call fcn.004062f9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40148a.65
inc dword [ebp - 4]
jmp case.0x40148a.65
push 0xfffffffffffffff5
jmp 0x4022b8
push ebx
call fcn.00402cae
push eax
call fcn.0040663c
jmp 0x401d04
push 0xffffffffffffffd0
call fcn.00402cae
push 0xffffffffffffffdf
push eax
pop esi
call fcn.00402cae
push 0x13
mov edi, eax
call fcn.00402cae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or eax, eax
je 0x4016a7
push 0xffffffffffffffe3
jmp 0x4022b8
cmp dword [ebp - 0x28], ebx
je 0x4028f8
push esi
call fcn.0040663c
test eax, eax
je 0x4028f8
push edi
push esi
call fcn.004060bf
push 0xffffffffffffffe4
jmp 0x4022b8
push ebx
call fcn.00402cae
mov edi, dword [ebp - 0x14]
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
or eax, eax
je 0x401710
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40171a
cmp word [eax], bx
je 0x40171a
push esi
call fcn.0040663c
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004062f9
jmp 0x40171a
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x28], ebx
jne case.0x40148a.65
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40148a.65
push 0xffffffffffffffff
call fcn.00402cae
lea ecx, [ebp + 8]
push ecx
push esi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
or eax, eax
jne case.0x40148a.65
jmp 0x4028c6
push 0xffffffffffffffef
call fcn.00402cae
push eax
push esi
call fcn.00405e1e
jmp 0x4015b4
push 0x31
call fcn.00402cae
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405c45
push dword [ebp - 8]
mov esi, 0x40a5a8
or eax, eax
je 0x40179e
push esi
call fcn.004062f9
jmp 0x4017b5
push 0x436000
push esi
call fcn.004062f9
push eax
call fcn.00405bce
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040658d
cmp dword [ebp + 8], 3
jl 0x4017f2
push esi
call fcn.0040663c
xor ecx, ecx
cmp eax, ebx
je 0x4017dd
lea ecx, [ebp - 0x24]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push eax
pop ecx
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 0x4017fd
push esi
call fcn.00405dca
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405def
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push edi
push 0x40b5a8
call fcn.004062f9
push esi
push edi
call fcn.004062f9
push dword [ebp - 0x1c]
push 0x40ada8
call fcn.0040631b
push 0x40b5a8
push edi
call fcn.004062f9
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40ada8
call fcn.0040595f
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405361
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x42a2a8]
jmp 0x402b3b
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405361
inc dword [0x42a2d4]
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.00403181
dec dword [0x42a2d4]
cmp dword [ebp - 0x24], 0xffffffff
mov edi, eax
jne 0x4018be
cmp dword [ebp - 0x20], 0xffffffff
je 0x4018d0
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 edi, ebx
jge case.0x40148a.65
cmp edi, 0xfffffffe
jne 0x4018f9
push 0xffffffffffffffe9
push esi
call fcn.0040631b
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push esi
call fcn.0040631b
push 0x200010
push esi
jmp 0x40235f
push ebx
jmp 0x401943
push 0x31
call fcn.00402cae
push dword [ebp - 0x30]
push eax
call fcn.0040595f
cmp eax, ebx
je 0x4028f8
cmp eax, dword [ebp - 0x28]
je 0x401a9c
cmp eax, dword [ebp - 0x20]
jne case.0x40148a.65
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402cae
push dword [ebp - 0x2c]
push eax
call fcn.00405a0b
jmp case.0x40148a.65
push 1
call fcn.00402cae
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4025ff
push 2
call fcn.00402c8c
push 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call fcn.00402c8c
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x10]
pop ecx
push 1
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
mov dword [ebp + 8], eax
call fcn.00402cae
push eax
mov dword [ebp - 0x44], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0xc], ebx
mov word [esi], bx
jne 0x4019a7
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x40148a.65
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
jge 0x4019c2
lea edi, [eax + ecx]
cmp edi, ebx
jl case.0x40148a.65
cmp edi, eax
jle 0x4019c8
mov edi, eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.004062f9
cmp dword [ebp + 8], ebx
jge 0x4019e8
push esi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x4019e8
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x40148a.65
mov word [esi + eax*2], bx
jmp case.0x40148a.65
push 0x20
call fcn.00402cae
push 0x31
push eax
pop esi
call fcn.00402cae
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401a28
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a9c
mov eax, dword [ebp - 0x28]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a1c
sub edi, edi
inc edi
push edi
call fcn.00402cae
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a60
cmp dword [ebp - 0x28], ebx
je 0x401a66
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
or eax, eax
jne 0x401a66
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x40148a.65
mov esi, dword [ebp - 0x1c]
push ebx
call fcn.00402c8c
push 1
push eax
pop edi
mov dword [ebp - 0xc], edx
call fcn.00402c8c
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0xc], edx
jne 0x401a98
cmp edi, eax
jl 0x401a9c
jle 0x401a20
jmp 0x401aaa
cmp edi, eax
jae 0x401aa4
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
jbe 0x401a20
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
push 1
call fcn.00402c8c
mov edi, eax
push 2
mov dword [ebp - 0xc], edx
mov dword [ebp + 8], edi
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
ja case.default.0x401ad7
jmp dword [eax*4 + 0x402c54]
add edi, ecx
jmp 0x401b4d
sub edi, ecx
jmp 0x401b4d
imul ecx, edi
jmp 0x401b02
cmp ecx, ebx
je 0x401b33
mov eax, edi
cdq
idiv ecx
push eax
pop edi
jmp 0x401b4d
or ecx, edi
jmp 0x401b02
and ecx, edi
jmp 0x401b02
xor ecx, edi
push ecx
pop edi
jmp 0x401b4d
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401af4
cmp edi, ebx
jne 0x401b21
jmp 0x401b1d
sub edi, edi
jmp 0x401b4d
cmp edi, ebx
je 0x401b15
cmp ecx, ebx
je 0x401b15
sub edi, edi
inc edi
jmp 0x401b4d
cmp ecx, ebx
je 0x401b33
push edi
pop eax
cdq
idiv ecx
mov edi, edx
jmp 0x401b4d
sub edi, edi
mov dword [ebp - 4], 1
jmp 0x401b4d
shl edi, cl
jmp 0x401b4d
sar edi, cl
jmp 0x401b4d
shr edi, cl
jmp 0x401b4d
mov edi, dword [ebp + 8]
push edi
jmp 0x40156d
push 1
call fcn.00402cae
push 2
push eax
pop edi
call fcn.00402c8c
push eax
push edi
push esi
mov dword [ebp - 0xc], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.65
mov eax, dword [ebp - 0x28]
mov edi, dword [0x40ce08]
cmp eax, ebx
je 0x401bc8
dec eax
cmp edi, ebx
je 0x402351
mov edi, dword [edi]
cmp eax, ebx
jne 0x401b84
cmp edi, ebx
je 0x402351
add edi, 4
mov esi, 0x40a5a8
push edi
push esi
call fcn.004062f9
mov eax, dword [0x40ce08]
add eax, 4
push eax
push edi
call fcn.004062f9
mov eax, dword [0x40ce08]
push esi
add eax, 4
push eax
jmp 0x402a4e
cmp dword [ebp - 0x2c], ebx
je 0x401bf2
cmp edi, ebx
je 0x4028f8
lea eax, [edi + 4]
push eax
push esi
call fcn.004062f9
mov eax, dword [edi]
push edi
mov dword [0x40ce08], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40148a.65
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.0040631b
mov eax, dword [0x40ce08]
mov dword [esi], eax
mov dword [0x40ce08], esi
jmp case.0x40148a.65
push 3
call fcn.00402c8c
push 4
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], eax
call fcn.00402c8c
test byte [ebp - 0x1c], 1
pop ecx
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c4b
push 0x33
call fcn.00402cae
mov dword [ebp - 0x18], eax
test byte [ebp - 0x1c], 2
je 0x401c5b
push 0x44
call fcn.00402cae
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
push 1
jne 0x401caf
call fcn.00402c8c
push 2
push eax
pop edi
mov dword [ebp - 0xc], edx
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
pop ecx
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401c9f
lea edx, [ebp - 0x38]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401ce2
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401cdf
call fcn.00402cae
push 0x12
mov edi, eax
call fcn.00402cae
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [edi]
neg ax
sbb eax, eax
push ecx
and eax, edi
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.65
push dword [ebp - 0x38]
jmp 0x40156d
push ebx
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a20
mov eax, dword [ebp - 0x2c]
jmp case.0x40148a.2
push 2
call fcn.00402c8c
push 1
push eax
pop edi
mov dword [ebp - 0xc], edx
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
pop ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4025ff
mov eax, dword [0x42a268]
mov ecx, dword [ebp - 0x2c]
push ebx
lea esi, [eax + ecx]
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.65
test byte [ebp - 0x27], 1
je 0x401d70
push 1
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
jmp 0x401d7c
push dword [ebp - 0x2c]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov eax, ecx
push ecx
pop edi
shr eax, 0x1f
mov dword [ebp - 0x40], eax
mov eax, ecx
push ecx
pop esi
and edi, 3
shr eax, 0x1e
and esi, 4
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x38], eax
je 0x401daf
push ebx
call fcn.00402cae
jmp 0x401db3
movzx eax, word [ebp - 0x30]
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 - 0x28]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x40]
neg esi
push eax
push edi
push dword [ebp - 0x44]
sbb esi, esi
and esi, dword [0x42a200]
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push edi
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x40148a.65
cmp edi, ebx
jne case.0x40148a.65
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40148a.65
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 2
push eax
pop edi
call fcn.00402c8c
pop ecx
push eax
pop ebx
push 0x48
push 0x5a
push edi
mov dword [ebp - 0xc], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 8]
neg eax
mov dword [0x40cda8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402c8c
mov dword [0x40cdb8], eax
mov al, byte [ebp - 0x20]
pop ecx
mov dword [ebp - 0xc], edx
push dword [ebp - 0x2c]
mov cl, al
and cl, 1
mov byte [0x40cdbf], 1
mov byte [0x40cdbc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40cdc4
mov byte [0x40cdbd], cl
mov byte [0x40cdbe], al
call fcn.0040631b
push 0x40cda8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4025ff
push ebx
call fcn.00402c8c
push 1
mov esi, eax
mov dword [ebp - 0xc], edx
call fcn.00402c8c
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], edx
push eax
push esi
jne 0x401ed6
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40148a.65
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40148a.65
push ebx
call fcn.00402cae
push 0x31
mov esi, eax
call fcn.00402cae
push 0x22
mov ebx, eax
call fcn.00402cae
push 0x15
push eax
pop edi
call fcn.00402cae
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], 0x436000
and eax, edi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00405925
test eax, eax
je 0x4028f8
test byte [ebp - 0x88], 0x40
je case.0x40148a.65
push dword [ebp - 0x54]
call fcn.00406784
push dword [ebp - 0x54]
jmp 0x401fba
push ebx
call fcn.00402cae
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405361
push esi
call fcn.004058e2
push eax
pop esi
cmp esi, ebx
je 0x4028f8
cmp dword [ebp - 0x28], ebx
je 0x401fb9
push esi
call fcn.00406784
cmp dword [ebp - 0x2c], ebx
jl 0x401fae
push eax
push dword [ebp - 0x14]
call fcn.00406240
jmp 0x401fb9
cmp eax, ebx
je 0x401fb9
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.65
push 2
call fcn.00402cae
push eax
call fcn.0040663c
push eax
pop edi
cmp edi, ebx
je 0x401feb
push dword [edi + 0x14]
push dword [ebp - 0x14]
call fcn.00406240
push dword [edi + 0x18]
jmp 0x40156d
mov eax, dword [ebp - 0x14]
mov word [esi], bx
mov word [eax], bx
jmp 0x4028f8
push 0xffffffffffffffee
call fcn.00402cae
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x38], eax
push ecx
push eax
push 9
call fcn.004066d3
call eax
mov edi, eax
mov eax, dword [ebp - 0x14]
mov word [esi], bx
cmp edi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x40148a.65
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.65
push 0xa
call fcn.004066d3
push 0xb
mov dword [ebp - 0x40], eax
call fcn.004066d3
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push edi
push ebx
push dword [ebp - 0x38]
call dword [ebp - 0x40]
test eax, eax
je 0x402096
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 0x402096
mov eax, dword [ebp - 0x44]
push dword [eax + 8]
push esi
call fcn.00406240
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push dword [ebp - 0x14]
call fcn.00406240
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401be7
cmp dword [0x42a2d8], ebx
mov dword [ebp - 4], 1
jl 0x40216a
push 0xfffffffffffffff0
call fcn.00402cae
push 1
push eax
pop esi
call fcn.00402cae
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], eax
je 0x4020d7
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4020e8
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402163
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.00406742
mov esi, eax
cmp esi, ebx
je 0x402132
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x402118
push dword [ebp - 0x28]
call fcn.00401423
call esi
or eax, eax
je 0x40213c
mov dword [ebp - 4], 1
jmp 0x40213c
push section..data
push 0x40ce08
push edi
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x40213c
push dword [ebp - 0x44]
push 0xfffffffffffffff7
call fcn.00405361
cmp dword [ebp - 0x24], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call fcn.0040397f
or eax, eax
je case.0x40148a.65
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40148a.65
push 0xfffffffffffffff6
jmp 0x4022b8
push 0xffffffffffffffe7
jmp 0x4022b8
push 0xfffffffffffffff0
call fcn.00402cae
push 0xffffffffffffffdf
mov dword [ebp - 0xc], eax
call fcn.00402cae
push 2
mov dword [ebp - 0x44], eax
call fcn.00402cae
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402cae
push 0x45
mov dword [ebp - 0x4c], eax
call fcn.00402cae
push dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov ecx, eax
push eax
pop edi
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.00405c45
test eax, eax
jne 0x4021df
push 0x21
call fcn.00402cae
lea eax, [ebp + 8]
push eax
push 0x4084d4
push 1
push ebx
push 0x4084e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4022af
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
push 0x4084f4
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x4022a1
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 0x40223b
mov eax, dword [ebp + 8]
push 0x436000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x402249
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 0x40226a
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 - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x18], ebx
jl 0x402298
mov eax, dword [ebp - 0x38]
push 1
push dword [ebp - 0xc]
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 0x4022c2
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.65
push 0xfffffffffffffff4
jmp 0x4022b8
push ebx
call fcn.00402cae
push 0x11
push eax
pop esi
call fcn.00402cae
push 0x23
mov edi, eax
call fcn.00402cae
push esi
mov dword [ebp + 8], eax
call fcn.0040663c
test eax, eax
jne 0x4022f8
push ebx
push 0xfffffffffffffff9
call fcn.00405361
jmp 0x4028f8
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.00405361
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
or eax, eax
je case.0x40148a.65
jmp 0x4022eb
cmp eax, 0xbadf00d
je 0x40236e
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040631b
push eax
call fcn.0040595f
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x42a2b4]
jmp case.0x40148a.65
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x402389
push ebx
call fcn.00402cae
mov esi, eax
cmp dword [ebp - 0x2c], ebx
je 0x402397
push 0x11
call fcn.00402cae
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x4023a5
push 0x22
call fcn.00402cae
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402cae
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015b4
mov eax, dword [0x40a010]
push 1
mov dword [ebp + 8], eax
call fcn.00402cae
push 0x12
push eax
pop edi
call fcn.00402cae
push 0xffffffffffffffdd
mov dword [ebp - 0xc], eax
call fcn.00402cae
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x401751
cmp dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x2c]
jne 0x40242e
push 2
call fcn.00402cee
push eax
pop esi
cmp esi, ebx
je 0x4028f8
push 0x33
call fcn.00402cae
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402444
push 0x22
call fcn.00402cae
mov ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402d6c
push eax
pop edi
cmp edi, ebx
je case.0x40148a.65
jmp 0x4028f8
mov esi, dword [ebp - 0x20]
push eax
pop edi
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0xc], eax
call fcn.00402cae
push 0x11
mov dword [ebp - 0x44], eax
call fcn.00402cae
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402d3e
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.65
sub eax, eax
cmp esi, 1
mov edi, 0x40b5a8
jne 0x4024a5
push 0x23
call fcn.00402cae
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x4024bc
push 3
call fcn.00402c8c
pop ecx
mov dword [0x40b5a8], eax
push esi
mov dword [ebp - 0x38], edx
pop eax
cmp esi, 3
jne 0x4024d0
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.00403181
push eax
push edi
push dword [ebp - 0xc]
push ebx
push dword [ebp - 0x44]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4024e9
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x4025c4
push 0x20019
call fcn.00402cee
push 0x33
push eax
pop edi
call fcn.00402cae
cmp edi, ebx
mov word [esi], bx
je 0x4028f8
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x800
push ecx
lea ecx, [ebp + 8]
push esi
push ecx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub ecx, ecx
inc ecx
or eax, eax
jne 0x40255d
cmp dword [ebp + 8], 4
je 0x402548
cmp dword [ebp + 8], ecx
je 0x402540
cmp dword [ebp + 8], 2
jne 0x40255d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x4025bc
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.00406240
jmp 0x4025c3
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x4025c3
push 0x20019
call fcn.00402cee
push 3
mov edi, eax
call fcn.00402c8c
cmp edi, ebx
pop ecx
mov dword [ebp - 0xc], edx
mov word [esi], bx
je 0x4028f8
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4025a0
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4025bc
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4025bc
mov dword [ebp - 4], 1
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
push esi
call fcn.00406259
cmp eax, ebx
je case.0x40148a.65
push eax
jmp 0x401fba
push 0xffffffffffffffed
call fcn.00402cae
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00405def
cmp eax, 0xffffffff
je 0x4028f5
push eax
jmp 0x40156d
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0xc], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x402634
push 1
call fcn.00402c8c
mov word [0x40ada8], ax
sub eax, eax
cmp edi, ebx
pop ecx
sete al
mov dword [ebp - 0x44], edx
inc eax
jmp 0x402677
cmp edx, 0x38
jne 0x402668
push 0x21
call fcn.00402cae
push ebx
push ebx
push 0x400
push 0x40ada8
push 0xffffffffffffffff
push 0x40b5a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40ada8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402677
push 0x11
call fcn.00402cae
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x4028f8
push esi
call fcn.00406259
or edi, dword [ebp - 0xc]
mov esi, eax
jne 0x4026a4
cmp dword [ebp - 0x24], ebx
je 0x4026a4
push esi
push esi
call fcn.00405ed0
test eax, eax
jl 0x4028f8
push dword [ebp + 8]
push 0x40ada8
push esi
call fcn.00405ea1
jmp 0x4015b4
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x4c], eax
call fcn.00402c8c
cmp eax, 1
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x44], eax
jl case.0x40148a.65
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4026e2
mov dword [ebp - 0x44], ecx
cmp word [esi], bx
je 0x402849
push esi
mov dword [ebp - 0x38], ebx
call fcn.00406259
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jle 0x402849
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x34], 0x39
jne 0x40279f
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]
or eax, eax
je 0x402849
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x402849
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jne 0x402805
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call edi
or eax, eax
jne 0x4027cc
mov esi, dword [ebp - 0x4c]
neg esi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x50], eax
je 0x4027cf
dec dword [ebp - 0x4c]
inc esi
push 1
push ebx
push esi
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 edi
or eax, eax
je 0x402769
jmp 0x4027cc
cmp dword [ebp - 0x24], ebx
jne 0x4027ba
cmp dword [ebp - 8], ebx
jne 0x4027ba
push ebx
push dword [ebp - 0x18]
call fcn.00405ed0
or eax, eax
jl 0x402849
lea eax, [ebp - 0x50]
push 2
push eax
push dword [ebp - 0x18]
call fcn.00405e72
test eax, eax
je 0x402849
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x24], ebx
jne 0x402805
cmp word [ebp - 0x38], 0xd
je 0x402816
cmp word [ebp - 0x38], 0xa
je 0x402816
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
cmp ax, bx
mov word [ecx + edx*2], ax
mov dword [ebp - 0x38], eax
je 0x402849
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jl 0x402706
jmp 0x402849
movzx eax, ax
push eax
push dword [ebp - 0x14]
call fcn.00406240
jmp 0x402b3b
cmp word [ebp - 0x38], ax
je 0x402837
cmp ax, 0xd
je 0x402828
cmp ax, 0xa
jne 0x402837
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x402849
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 - 0x14]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov word [ecx + eax*2], bx
jmp 0x4015b6
cmp word [esi], bx
je case.0x40148a.65
push 2
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
push dword [ebp - 0x24]
push ebx
push eax
push esi
call fcn.00406259
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x40148a.65
jmp 0x402ad4
push esi
call fcn.00406259
cmp eax, ebx
je case.0x40148a.65
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.65
push dword [ebp - 0x14]
call fcn.00406259
cmp eax, ebx
je 0x4028c6
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40290d
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40148a.65
push 2
call fcn.00402cae
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402904
mov eax, dword [ebp - 0x14]
mov word [eax], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.65
push eax
push dword [ebp - 0x14]
call fcn.00406240
lea eax, [ebp - 0x2b0]
push eax
push esi
jmp 0x402a4e
push 0xfffffffffffffff0
mov dword [ebp - 0x38], 0xfffffd66
call fcn.00402cae
push eax
pop esi
push esi
mov dword [ebp - 0x40], esi
call fcn.00405c45
or eax, eax
jne 0x40293e
push 0xffffffffffffffed
call fcn.00402cae
push esi
call fcn.00405dca
push 2
push 0x40000000
push esi
call fcn.00405def
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4029f4
mov eax, dword [0x42a218]
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 0x4029eb
push ebx
call fcn.0040337c
push dword [ebp - 0x44]
push edi
call fcn.00403366
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xc], esi
je 0x4029c9
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.00403181
jmp 0x4029bc
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.00405daa
add esi, dword [ebp - 0x3c]
cmp byte [esi], bl
jne 0x4029a4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x44]
push edi
push dword [ebp + 8]
call fcn.00405ea1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403181
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402a0f
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4022b8
push ebx
call fcn.00402c8c
mov edi, eax
pop ecx
cmp edi, dword [0x42a24c]
mov dword [ebp - 0xc], edx
jae 0x4028f8
push edi
pop esi
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x818
add esi, dword [0x42a248]
cmp eax, ebx
jl 0x402a5b
mov ecx, dword [esi + eax*4]
jne 0x402a58
add esi, 0x18
push esi
push dword [ebp - 0x14]
call fcn.004062f9
jmp case.0x40148a.65
push ecx
jmp 0x402ad5
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402a75
push 1
call fcn.00402c8c
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x2c], eax
jmp 0x402a85
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.0040631b
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.65
push edi
call fcn.0040117d
jmp case.0x40148a.65
push ebx
call fcn.00402c8c
cmp eax, 0x20
pop ecx
mov dword [ebp - 0xc], edx
jae 0x4028f8
cmp dword [ebp - 0x24], ebx
je 0x402adf
cmp dword [ebp - 0x28], ebx
je 0x402ace
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x40148a.65
push ebx
call fcn.004012e2
push eax
push dword [ebp - 0x14]
call fcn.00406240
jmp case.0x40148a.65
cmp dword [ebp - 0x28], ebx
je 0x402af6
mov edx, dword [0x42a214]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x42a214]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x14]
call fcn.0040631b
jmp case.0x40148a.65
mov ecx, dword [0x4256e8]
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.65
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x42a2a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4