Function at 0x401434
Capabilities:
Copy file
Create process on windows
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, 0x2b8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x434ee8]
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov edi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
shl ecx, 0xb
add ecx, edi
mov esi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x28]
shl esi, 0xb
mov dword [0x40cdd0], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402aed]
push ebx
push eax
call fcn.00405243
jmp 0x4022f7
inc dword [0x433eac]
cmp dword [ebp - 8], ebx
je 0x4022f7
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4022f7
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.00405243
jmp case.0x40148a.65
push ebx
call fcn.00402c31
cmp eax, 1
pop ecx
mov dword [ebp - 0x50], 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 - 0x20], ebx
jne 0x401531
mov ecx, dword [eax + 0x434f60]
push 1
mov dword [eax + 0x434fa0], ecx
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x434f60], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x434fa0]
mov dword [eax + 0x434f60], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x434f60]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [esi], ecx
jmp case.0x40148a.2
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x434f60]
push esi
jmp 0x402a81
mov ecx, dword [0x433eb0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x40158c
push dword [ebp - 0x24]
push ecx
call esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x433ec4]
cmp ecx, ebx
je case.0x40148a.65
push eax
push ecx
call esi
jmp case.0x40148a.65
push 0xfffffffffffffff0
call fcn.00402c53
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.65
jmp 0x4028a1
push 0xfffffffffffffff0
call fcn.00402c53
push eax
mov dword [ebp + 8], eax
call fcn.00405b43
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405ac5
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401604
cmp dword [ebp - 0x20], ebx
je 0x401604
call fcn.004057ac
test eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.00405712
jmp 0x40160c
push dword [ebp + 8]
call fcn.0040578f
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 - 0x24], ebx
je 0x401663
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x440000
call fcn.004060e4
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 0x40224b
push ebx
call fcn.00402c53
push eax
call fcn.00406427
jmp 0x401cfe
push 0xffffffffffffffd0
call fcn.00402c53
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402c53
push 0x13
mov edi, eax
call fcn.00402c53
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016a7
push 0xffffffffffffffe3
jmp 0x40224b
cmp dword [ebp - 0x20], ebx
je 0x4028a1
push esi
call fcn.00406427
test eax, eax
je 0x4028a1
push edi
push esi
call fcn.00405f85
push 0xffffffffffffffe4
jmp 0x40224b
push ebx
call fcn.00402c53
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 0x401710
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40171a
cmp word [eax], bx
je 0x40171a
push esi
call fcn.00406427
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004060e4
jmp 0x40171a
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x20], 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.00402c53
lea ecx, [ebp + 8]
push ecx
push esi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x40148a.65
jmp 0x40286f
push 0xffffffffffffffef
call fcn.00402c53
push eax
push esi
call fcn.00405ce8
jmp 0x4015b4
push 0x31
call fcn.00402c53
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405b0f
push dword [ebp - 8]
mov esi, 0x40a5d0
test eax, eax
je 0x40179e
push esi
call fcn.004060e4
jmp 0x4017b5
push 0x440000
push esi
call fcn.004060e4
push eax
call fcn.00405a98
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406378
cmp dword [ebp + 8], 3
jl 0x4017f2
push esi
call fcn.00406427
xor ecx, ecx
cmp eax, ebx
je 0x4017dd
lea ecx, [ebp - 0x1c]
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 0x4017fd
push esi
call fcn.00405c94
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405cb9
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push edi
push 0x40b5d0
call fcn.004060e4
push esi
push edi
call fcn.004060e4
push dword [ebp - 0x14]
push 0x40add0
call fcn.00406106
push 0x40b5d0
push edi
call fcn.004060e4
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40add0
call fcn.00405829
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405243
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x434f68]
jmp 0x402ae4
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405243
inc dword [0x434f94]
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.004030bb
dec dword [0x434f94]
cmp dword [ebp - 0x1c], 0xffffffff
mov edi, eax
jne 0x4018be
cmp dword [ebp - 0x18], 0xffffffff
je 0x4018d0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x30]
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.00406106
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push esi
call fcn.00406106
push 0x200010
push esi
jmp 0x4022f2
push ebx
jmp 0x401943
push 0x31
call fcn.00402c53
push dword [ebp - 0x28]
push eax
call fcn.00405829
cmp eax, ebx
je 0x4028a1
cmp eax, dword [ebp - 0x20]
je 0x401a9a
cmp eax, dword [ebp - 0x18]
jne case.0x40148a.65
mov eax, dword [ebp - 0x14]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402c53
push dword [ebp - 0x24]
push eax
call fcn.004058d5
jmp case.0x40148a.65
push 1
call fcn.00402c53
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4025a8
push 2
call fcn.00402c31
push 3
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call fcn.00402c31
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x54]
pop ecx
push 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edx
mov dword [ebp + 8], eax
call fcn.00402c53
push eax
mov dword [ebp - 0x38], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x50], 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 - 0x34]
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 - 0x38]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.004060e4
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.00402c53
push 0x31
mov esi, eax
call fcn.00402c53
cmp dword [ebp - 0x18], ebx
push eax
push esi
jne 0x401a28
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a9a
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a1c
xor edi, edi
inc edi
push edi
call fcn.00402c53
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 - 0x20], ebx
je 0x401a66
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a66
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x40148a.65
push ebx
call fcn.00402c31
push 1
mov esi, eax
mov dword [ebp - 0x50], edx
call fcn.00402c31
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
mov dword [ebp - 0x50], edx
jne 0x401a96
cmp esi, eax
jl 0x401a9a
jle 0x401a20
jmp 0x401aa8
cmp esi, eax
jae 0x401aa2
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
jbe 0x401a20
mov eax, dword [ebp - 0x18]
jmp case.0x40148a.2
push 1
call fcn.00402c31
mov edi, eax
push 2
mov dword [ebp - 0x50], edx
mov dword [ebp + 8], edi
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x401ad5
jmp dword [eax*4 + 0x402bfd]
add ecx, edi
jmp 0x401b47
sub edi, ecx
jmp 0x401b40
imul ecx, edi
jmp 0x401b47
cmp ecx, ebx
je 0x401b2f
mov eax, edi
cdq
idiv ecx
mov ecx, eax
jmp 0x401b47
or ecx, edi
jmp 0x401b47
and ecx, edi
jmp 0x401b47
xor ecx, edi
jmp 0x401b47
xor ecx, ecx
cmp edi, ebx
sete cl
jmp 0x401b47
cmp edi, ebx
jne 0x401b1d
jmp 0x401b19
xor ecx, ecx
jmp 0x401b47
cmp edi, ebx
je 0x401b11
cmp ecx, ebx
je 0x401b11
xor ecx, ecx
inc ecx
jmp 0x401b47
cmp ecx, ebx
je 0x401b2f
mov eax, edi
cdq
idiv ecx
mov ecx, edx
jmp 0x401b47
xor ecx, ecx
mov dword [ebp - 4], 1
jmp 0x401b47
shl edi, cl
jmp 0x401b40
sar edi, cl
mov ecx, edi
jmp 0x401b47
mov ecx, dword [ebp + 8]
push ecx
jmp 0x40156d
push 1
call fcn.00402c53
push 2
mov edi, eax
call fcn.00402c31
push eax
push edi
push esi
mov dword [ebp - 0x50], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
mov edi, dword [0x40cdd4]
cmp eax, ebx
je 0x401bc2
dec eax
cmp edi, ebx
je 0x4022e4
mov edi, dword [edi]
cmp eax, ebx
jne 0x401b7e
cmp edi, ebx
je 0x4022e4
add edi, 4
mov esi, 0x40a5d0
push edi
push esi
call fcn.004060e4
mov eax, dword [0x40cdd4]
add eax, 4
push eax
push edi
call fcn.004060e4
mov eax, dword [0x40cdd4]
push esi
add eax, 4
push eax
jmp 0x4029f7
cmp dword [ebp - 0x24], ebx
je 0x401bec
cmp edi, ebx
je 0x4028a1
lea eax, [edi + 4]
push eax
push esi
call fcn.004060e4
mov eax, dword [edi]
push edi
mov dword [0x40cdd4], 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 - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406106
mov eax, dword [0x40cdd4]
mov dword [esi], eax
mov dword [0x40cdd4], esi
jmp case.0x40148a.65
push 3
call fcn.00402c31
push 4
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x10], eax
call fcn.00402c31
test byte [ebp - 0x14], 1
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c45
push 0x33
call fcn.00402c53
mov dword [ebp - 0x10], eax
test byte [ebp - 0x14], 2
je 0x401c55
push 0x44
call fcn.00402c53
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
push 1
jne 0x401ca9
call fcn.00402c31
push 2
mov edi, eax
mov dword [ebp - 0x50], edx
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
mov ecx, dword [ebp - 0x14]
sar ecx, 2
je 0x401c99
lea edx, [ebp - 0x30]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401cdc
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401cd9
call fcn.00402c53
push 0x12
mov edi, eax
call fcn.00402c53
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 - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x28], ebx
jl case.0x40148a.65
push dword [ebp - 0x30]
jmp 0x40156d
push ebx
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a20
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
push 2
call fcn.00402c31
push 1
mov edi, eax
mov dword [ebp - 0x50], edx
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4025a8
mov eax, dword [0x434f28]
mov ecx, dword [ebp - 0x24]
push ebx
lea esi, [eax + ecx]
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.65
push dword [ebp - 0x24]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x50]
push 0x10
imul eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x20]
push eax
push ebx
push ebx
call fcn.00402c53
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 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
mov edi, eax
call fcn.00402c31
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push edi
mov dword [ebp - 0x50], 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 [0x40cdd8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402c31
mov dword [0x40cde8], eax
mov al, byte [ebp - 0x18]
pop ecx
mov dword [ebp - 0x50], edx
push dword [ebp - 0x24]
mov cl, al
and cl, 1
mov byte [0x40cdef], 1
mov byte [0x40cdec], cl
mov cl, al
and cl, 2
and al, 4
push 0x40cdf4
mov byte [0x40cded], cl
mov byte [0x40cdee], al
call fcn.00406106
push 0x40cdd8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4025a8
push ebx
call fcn.00402c31
push 1
mov esi, eax
mov dword [ebp - 0x50], edx
call fcn.00402c31
cmp dword [ebp - 0x1c], ebx
pop ecx
pop ecx
mov dword [ebp - 0x50], edx
push eax
push esi
jne 0x401e6c
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.00402c53
push 0x31
mov esi, eax
call fcn.00402c53
push 0x22
mov ebx, eax
call fcn.00402c53
push 0x15
mov edi, eax
call fcn.00402c53
push 0xffffffffffffffec
call fcn.00401423
mov ax, word [edi]
push dword [ebp - 0x1c]
neg ax
sbb eax, eax
push 0x440000
and eax, edi
push eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ebx
and eax, esi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x40148a.65
jmp 0x4028a1
push ebx
call fcn.00402c53
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405243
push esi
call fcn.004057c4
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4028a1
cmp dword [ebp - 0x20], ebx
je 0x401f4a
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x401f1b
push 0xf
call fcn.004064fa
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x401f0d
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], ebx
jl 0x401f3e
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call fcn.0040602b
jmp 0x401f4a
cmp dword [ebp - 0x38], ebx
je 0x401f4a
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.65
push 2
call fcn.00402c53
push eax
call fcn.00406427
mov edi, eax
cmp edi, ebx
je 0x401f7e
push dword [edi + 0x14]
push dword [ebp - 0xc]
call fcn.0040602b
push dword [edi + 0x18]
jmp 0x40156d
mov eax, dword [ebp - 0xc]
mov word [esi], bx
mov word [eax], bx
jmp 0x4028a1
push 0xffffffffffffffee
call fcn.00402c53
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], eax
push ecx
push eax
push 8
call fcn.004064be
call eax
mov edi, eax
mov eax, dword [ebp - 0xc]
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 9
call fcn.004064be
push 0xa
mov dword [ebp - 0x40], eax
call fcn.004064be
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push edi
push ebx
push dword [ebp - 0x30]
call dword [ebp - 0x40]
test eax, eax
je 0x402029
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x402029
mov eax, dword [ebp - 0x38]
push dword [eax + 8]
push esi
call fcn.0040602b
mov eax, dword [ebp - 0x38]
push dword [eax + 0xc]
push dword [ebp - 0xc]
call fcn.0040602b
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401be1
cmp dword [0x434f98], ebx
mov dword [ebp - 4], 1
jl 0x4020fd
push 0xfffffffffffffff0
call fcn.00402c53
push 1
mov esi, eax
call fcn.00402c53
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x38], eax
je 0x40206a
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x40207b
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4020f6
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.0040652d
mov esi, eax
cmp esi, ebx
je 0x4020c5
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x4020ab
push dword [ebp - 0x20]
call fcn.00401423
call esi
test eax, eax
je 0x4020cf
mov dword [ebp - 4], 1
jmp 0x4020cf
push section..data
push 0x40cdd4
push edi
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4020cf
push dword [ebp - 0x38]
push 0xfffffffffffffff7
call fcn.00405243
cmp dword [ebp - 0x1c], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call fcn.004038cd
test eax, eax
je case.0x40148a.65
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40148a.65
push 0xfffffffffffffff6
jmp 0x40224b
push 0xffffffffffffffe7
jmp 0x40224b
push 0xfffffffffffffff0
call fcn.00402c53
push 0xffffffffffffffdf
mov dword [ebp - 0x50], eax
call fcn.00402c53
push 2
mov dword [ebp - 0x38], eax
call fcn.00402c53
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402c53
push 0x45
mov dword [ebp - 0x48], eax
call fcn.00402c53
push dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x44], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x40], eax
call fcn.00405b0f
test eax, eax
jne 0x402172
push 0x21
call fcn.00402c53
lea eax, [ebp + 8]
push eax
push 0x4085e0
push 1
push ebx
push 0x4085f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402242
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
push 0x408600
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x402234
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x10], eax
jne 0x4021ce
mov eax, dword [ebp + 8]
push 0x440000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x4021dc
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 - 0x48]
cmp word [ecx], bx
je 0x4021fd
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
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 - 0x10], ebx
jl 0x40222b
mov eax, dword [ebp - 0x30]
push 1
push dword [ebp - 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
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 - 0x10], ebx
jge 0x402255
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.65
push 0xfffffffffffffff4
jmp 0x40224b
push ebx
call fcn.00402c53
push 0x11
mov esi, eax
call fcn.00402c53
push 0x23
mov edi, eax
call fcn.00402c53
push esi
mov dword [ebp + 8], eax
call fcn.00406427
test eax, eax
jne 0x40228b
push ebx
push 0xfffffffffffffff9
call fcn.00405243
jmp 0x4028a1
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 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 - 0x20]
push eax
push ebx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4e], eax
mov word [ebp - 0x58], cx
call fcn.00405243
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.65
jmp 0x40227e
cmp eax, 0xbadf00d
je 0x402301
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406106
push eax
call fcn.00405829
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x434f74]
jmp case.0x40148a.65
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x40231c
push ebx
call fcn.00402c53
mov esi, eax
cmp dword [ebp - 0x24], ebx
je 0x40232a
push 0x11
call fcn.00402c53
mov edi, eax
cmp dword [ebp - 0x18], ebx
je 0x402338
push 0x22
call fcn.00402c53
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402c53
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.00402c53
push 0x12
mov edi, eax
call fcn.00402c53
push 0xffffffffffffffdd
mov dword [ebp - 0x50], eax
call fcn.00402c53
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x401751
cmp dword [ebp - 0x18], ebx
jne 0x4023be
push 2
call fcn.00402d5d
mov esi, eax
cmp esi, ebx
je 0x4028a1
push 0x33
call fcn.00402c53
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4023dd
push 0x22
call fcn.00402c53
mov ecx, dword [ebp - 0x18]
and ecx, 2
push ecx
push eax
push dword [ebp - 0x24]
call fcn.00402d48
push eax
call fcn.00402c93
mov edi, eax
cmp edi, ebx
je case.0x40148a.65
jmp 0x4028a1
push eax
call fcn.00402d48
mov esi, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x50], eax
call fcn.00402c53
push 0x11
mov dword [ebp - 0x38], eax
call fcn.00402c53
lea ecx, [ebp + 8]
push ebx
push ecx
mov ecx, dword [0x434f90]
or ecx, 2
push ebx
push ecx
push ebx
push ebx
push ebx
push eax
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne case.0x40148a.65
cmp esi, 1
mov edi, 0x40b5d0
jne 0x402451
push 0x23
call fcn.00402c53
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x402468
push 3
call fcn.00402c31
pop ecx
mov dword [0x40b5d0], eax
push esi
mov dword [ebp - 0x30], edx
pop eax
cmp esi, 3
jne 0x40247c
push 0x1800
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.004030bb
push eax
push edi
push dword [ebp - 0x50]
push ebx
push dword [ebp - 0x38]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402495
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x40256d
push 0x20019
call fcn.00402d5d
push 0x33
mov edi, eax
call fcn.00402c53
cmp edi, ebx
mov word [esi], bx
je 0x4028a1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x800
push ecx
lea ecx, [ebp + 8]
push esi
push ecx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402509
cmp dword [ebp + 8], 4
je 0x4024f4
cmp dword [ebp + 8], ecx
je 0x4024ec
cmp dword [ebp + 8], 2
jne 0x402509
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x402565
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.0040602b
jmp 0x40256c
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x40256c
push 0x20019
call fcn.00402d5d
push 3
mov edi, eax
call fcn.00402c31
cmp edi, ebx
pop ecx
mov dword [ebp - 0x50], edx
mov word [esi], bx
je 0x4028a1
cmp dword [ebp - 0x18], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x40254c
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402565
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
jne 0x4028a1
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
push esi
call fcn.00406044
cmp eax, ebx
je case.0x40148a.65
push eax
jmp 0x401f4d
push 0xffffffffffffffed
call fcn.00402c53
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405cb9
cmp eax, 0xffffffff
je 0x40289e
push eax
jmp 0x40156d
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x50], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x4025dd
push 1
call fcn.00402c31
mov word [0x40add0], ax
xor eax, eax
cmp edi, ebx
pop ecx
sete al
mov dword [ebp - 0x38], edx
inc eax
jmp 0x402620
cmp edx, 0x38
jne 0x402611
push 0x21
call fcn.00402c53
push ebx
push ebx
push 0x400
push 0x40add0
push 0xffffffffffffffff
push 0x40b5d0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40add0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402620
push 0x11
call fcn.00402c53
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x4028a1
push esi
call fcn.00406044
or edi, dword [ebp - 0x50]
mov esi, eax
jne 0x40264d
cmp dword [ebp - 0x1c], ebx
je 0x40264d
push esi
push esi
call fcn.00405d9a
test eax, eax
jl 0x4028a1
push dword [ebp + 8]
push 0x40add0
push esi
call fcn.00405d6b
jmp 0x4015b4
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x48], eax
call fcn.00402c31
cmp eax, 1
pop ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x38], eax
jl case.0x40148a.65
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40268b
mov dword [ebp - 0x38], ecx
cmp word [esi], bx
je 0x4027f2
push esi
mov dword [ebp - 0x30], ebx
call fcn.00406044
cmp dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], eax
jle 0x4027f2
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x2c], 0x39
jne 0x402748
lea eax, [ebp - 0x40]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4027f2
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x4027f2
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jne 0x4027ae
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call edi
test eax, eax
jne 0x402775
mov esi, dword [ebp - 0x48]
neg esi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x44], eax
je 0x402778
dec dword [ebp - 0x48]
inc esi
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x40]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x402712
jmp 0x402775
cmp dword [ebp - 0x1c], ebx
jne 0x402763
cmp dword [ebp - 8], ebx
jne 0x402763
push ebx
push dword [ebp - 0x10]
call fcn.00405d9a
test eax, eax
jl 0x4027f2
lea eax, [ebp - 0x44]
push 2
push eax
push dword [ebp - 0x10]
call fcn.00405d3c
test eax, eax
je 0x4027f2
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1c], ebx
jne 0x4027ae
cmp word [ebp - 0x30], 0xd
je 0x4027bf
cmp word [ebp - 0x30], 0xa
je 0x4027bf
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 - 0x30], eax
je 0x4027f2
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x38]
jl 0x4026af
jmp 0x4027f2
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.0040602b
jmp 0x402ae4
cmp word [ebp - 0x30], ax
je 0x4027e0
cmp ax, 0xd
je 0x4027d1
cmp ax, 0xa
jne 0x4027e0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x4027f2
mov eax, dword [ebp - 0x48]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x10]
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 0x4015b6
cmp word [esi], bx
je case.0x40148a.65
push 2
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
push dword [ebp - 0x1c]
push ebx
push eax
push esi
call fcn.00406044
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x40148a.65
jmp 0x402a7d
push esi
call fcn.00406044
cmp eax, ebx
je case.0x40148a.65
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.65
push dword [ebp - 0xc]
call fcn.00406044
cmp eax, ebx
je 0x40286f
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4028b6
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40148a.65
push 2
call fcn.00402c53
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4028ad
mov eax, dword [ebp - 0xc]
mov word [eax], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.65
push eax
push dword [ebp - 0xc]
call fcn.0040602b
lea eax, [ebp - 0x28c]
push eax
push esi
jmp 0x4029f7
push 0xfffffffffffffff0
mov dword [ebp - 0x30], 0xfffffd66
call fcn.00402c53
mov esi, eax
push esi
mov dword [ebp - 0x40], esi
call fcn.00405b0f
test eax, eax
jne 0x4028e7
push 0xffffffffffffffed
call fcn.00402c53
push esi
call fcn.00405c94
push 2
push 0x40000000
push esi
call fcn.00405cb9
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40299d
mov eax, dword [0x434ef4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x38], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402994
push ebx
call fcn.004032ec
push dword [ebp - 0x38]
push edi
call fcn.004032d6
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x50], esi
je 0x402972
push dword [ebp - 0x20]
push esi
push ebx
push dword [ebp - 0x24]
call fcn.004030bb
jmp 0x402965
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x34], ecx
call fcn.00405c74
add esi, dword [ebp - 0x34]
cmp byte [esi], bl
jne 0x40294d
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x38]
push edi
push dword [ebp + 8]
call fcn.00405d6b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004030bb
mov dword [ebp - 0x30], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
push 0xfffffffffffffff3
pop esi
jge 0x4029b8
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x40224b
push ebx
call fcn.00402c31
mov edi, eax
pop ecx
cmp edi, dword [0x434f0c]
mov dword [ebp - 0x50], edx
jae 0x4028a1
mov esi, edi
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x818
add esi, dword [0x434f08]
cmp eax, ebx
jl 0x402a04
mov ecx, dword [esi + eax*4]
jne 0x402a01
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.004060e4
jmp case.0x40148a.65
push ecx
jmp 0x402a7e
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402a1e
push 1
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x24], eax
jmp 0x402a2e
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.00406106
or byte [esi + 9], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x1c], ebx
je case.0x40148a.65
push edi
call fcn.0040117d
jmp case.0x40148a.65
push ebx
call fcn.00402c31
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x50], edx
jae 0x4028a1
cmp dword [ebp - 0x1c], ebx
je 0x402a88
cmp dword [ebp - 0x20], ebx
je 0x402a77
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 - 0xc]
call fcn.0040602b
jmp case.0x40148a.65
cmp dword [ebp - 0x20], ebx
je 0x402a9f
mov edx, dword [0x434ef0]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x434ef0]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.00406106
jmp case.0x40148a.65
mov ecx, dword [0x42f248]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x28], 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 [0x434f68], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4