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 [0x470208]
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, 0xe
add ecx, edi
mov esi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x28]
shl esi, 0xe
mov dword [0x41e5a8], 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.0040520d
jmp 0x4022f7
inc dword [0x4681cc]
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.0040520d
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 + 0x470280]
push 1
mov dword [eax + 0x4702c0], ecx
call fcn.00402c31
pop ecx
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x470280], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x4702c0]
mov dword [eax + 0x470280], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x470280]
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 + 0x470280]
push esi
jmp 0x402a81
mov ecx, dword [0x4681d0]
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 [0x4681e4]
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.00405b0d
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405a8f
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.00405776
test eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.004056dc
jmp 0x40160c
push dword [ebp + 8]
call fcn.00405759
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 0x4c9000
call fcn.004060ae
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.004063f1
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.004063f1
test eax, eax
je 0x4028a1
push edi
push esi
call fcn.00405f4f
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 0x2000
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.004063f1
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004060ae
jmp 0x40171a
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x20], ebx
jne case.0x40148a.65
push 0x2000
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 0x2000
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.00405cb2
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.00405ad9
push dword [ebp - 8]
mov esi, 0x40a5a8
test eax, eax
je 0x40179e
push esi
call fcn.004060ae
jmp 0x4017b5
push 0x4c9000
push esi
call fcn.004060ae
push eax
call fcn.00405a62
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406342
cmp dword [ebp + 8], 3
jl 0x4017f2
push esi
call fcn.004063f1
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.00405c5e
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405c83
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push edi
push 0x4125a8
call fcn.004060ae
push esi
push edi
call fcn.004060ae
push dword [ebp - 0x14]
push 0x40e5a8
call fcn.004060d0
push 0x4125a8
push edi
call fcn.004060ae
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40e5a8
call fcn.004057f3
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.0040520d
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x470288]
jmp 0x402ae4
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.0040520d
inc dword [0x4702b4]
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.004030bb
dec dword [0x4702b4]
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.004060d0
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push esi
call fcn.004060d0
push 0x200010
push esi
jmp 0x4022f2
push ebx
jmp 0x401943
push 0x31
call fcn.00402c53
push dword [ebp - 0x28]
push eax
call fcn.004057f3
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.0040589f
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.004060ae
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, 0x2000
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 0x2000
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 + 0x3ffe], 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 [0x41e5ac]
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, 0x40a5a8
push edi
push esi
call fcn.004060ae
mov eax, dword [0x41e5ac]
add eax, 4
push eax
push edi
call fcn.004060ae
mov eax, dword [0x41e5ac]
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.004060ae
mov eax, dword [edi]
push edi
mov dword [0x41e5ac], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40148a.65
push 0x4004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004060d0
mov eax, dword [0x41e5ac]
mov dword [esi], eax
mov dword [0x41e5ac], 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 [0x470248]
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 [0x41e5b0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402c31
mov dword [0x41e5c0], 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 [0x41e5c7], 1
mov byte [0x41e5c4], cl
mov cl, al
and cl, 2
and al, 4
push 0x41e5cc
mov byte [0x41e5c5], cl
mov byte [0x41e5c6], al
call fcn.004060d0
push 0x41e5b0
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 0x4c9000
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.0040520d
push esi
call fcn.0040578e
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.004064c4
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.00405ff5
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.004063f1
mov edi, eax
cmp edi, ebx
je 0x401f7e
push dword [edi + 0x14]
push dword [ebp - 0xc]
call fcn.00405ff5
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.00406488
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.00406488
push 0xa
mov dword [ebp - 0x40], eax
call fcn.00406488
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.00405ff5
mov eax, dword [ebp - 0x38]
push dword [eax + 0xc]
push dword [ebp - 0xc]
call fcn.00405ff5
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401be1
cmp dword [0x4702b8], 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.004064f7
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 0x41e5ac
push edi
push 0x2000
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4020cf
push dword [ebp - 0x38]
push 0xfffffffffffffff7
call fcn.0040520d
cmp dword [ebp - 0x1c], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call fcn.00403897
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.00405ad9
test eax, eax
jne 0x402172
push 0x21
call fcn.00402c53
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 0x402242
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
push 0x4084f4
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 0x4c9000
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.004063f1
test eax, eax
jne 0x40228b
push ebx
push 0xfffffffffffffff9
call fcn.0040520d
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.0040520d
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.004060d0
push eax
call fcn.004057f3
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x470294]
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 0x1fff
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 [0x4702b0]
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, 0x4125a8
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 [0x4125a8], eax
push esi
mov dword [ebp - 0x30], edx
pop eax
cmp esi, 3
jne 0x40247c
push 0xc000
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], 0x4000
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.00405ff5
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, 0x1fff
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 + 0x3ffe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
push esi
call fcn.0040600e
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.00405c83
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 [0x40e5a8], 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 0x2000
push 0x40e5a8
push 0xffffffffffffffff
push 0x4125a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40e5a8
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.0040600e
or edi, dword [ebp - 0x50]
mov esi, eax
jne 0x40264d
cmp dword [ebp - 0x1c], ebx
je 0x40264d
push esi
push esi
call fcn.00405d64
test eax, eax
jl 0x4028a1
push dword [ebp + 8]
push 0x40e5a8
push esi
call fcn.00405d35
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, 0x1fff
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.0040600e
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.00405d64
test eax, eax
jl 0x4027f2
lea eax, [ebp - 0x44]
push 2
push eax
push dword [ebp - 0x10]
call fcn.00405d06
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.00405ff5
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.0040600e
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x40148a.65
jmp 0x402a7d
push esi
call fcn.0040600e
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.0040600e
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.00405ff5
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.00405ad9
test eax, eax
jne 0x4028e7
push 0xffffffffffffffed
call fcn.00402c53
push esi
call fcn.00405c5e
push 2
push 0x40000000
push esi
call fcn.00405c83
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40299d
mov eax, dword [0x470214]
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.004032b6
push dword [ebp - 0x38]
push edi
call fcn.004032a0
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.00405c3e
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.00405d35
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 [0x47022c]
mov dword [ebp - 0x50], edx
jae 0x4028a1
mov esi, edi
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x4018
add esi, dword [0x470228]
cmp eax, ebx
jl 0x402a04
mov ecx, dword [esi + eax*4]
jne 0x402a01
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.004060ae
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.004060d0
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.00405ff5
jmp case.0x40148a.65
cmp dword [ebp - 0x20], ebx
je 0x402a9f
mov edx, dword [0x470210]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x470210]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.004060d0
jmp case.0x40148a.65
mov ecx, dword [0x4566e8]
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 [0x470288], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4