Function at 0x401434
Capabilities:
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x470248]
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 [0x41e634], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402ad7]
push ebx
push eax
call fcn.00405450
jmp 0x4022f7
inc dword [0x46820c]
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.00405450
jmp case.0x40148a.65
push ebx
call fcn.00402c1f
cmp eax, 1
pop ecx
mov dword [ebp - 0x4c], 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 + 0x4702e0]
push 1
mov dword [eax + 0x470320], ecx
call fcn.00402c1f
pop ecx
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x4702e0], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x470320]
mov dword [eax + 0x4702e0], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x4702e0]
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 + 0x4702e0]
push esi
jmp 0x402a6b
mov ecx, dword [0x468210]
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 [0x468224]
cmp ecx, ebx
je case.0x40148a.65
push eax
push ecx
call esi
jmp case.0x40148a.65
push 0xfffffffffffffff0
call fcn.00402c41
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.65
jmp 0x40288b
push 0xfffffffffffffff0
call fcn.00402c41
push eax
mov dword [ebp + 8], eax
call fcn.00405d68
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405cea
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.004059b9
test eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.0040591f
jmp 0x40160c
push dword [ebp + 8]
call fcn.0040599c
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.004063e8
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.00402c41
push eax
call fcn.0040672b
jmp 0x401d04
push 0xffffffffffffffd0
call fcn.00402c41
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402c41
push 0x13
mov edi, eax
call fcn.00402c41
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 0x40288b
push esi
call fcn.0040672b
test eax, eax
je 0x40288b
push edi
push esi
call fcn.004061ae
push 0xffffffffffffffe4
jmp 0x40224b
push ebx
call fcn.00402c41
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.0040672b
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004063e8
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.00402c41
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 0x402859
push 0xffffffffffffffef
call fcn.00402c41
push eax
push esi
call fcn.00405f0d
jmp 0x4015b4
push 0x31
call fcn.00402c41
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405d34
push dword [ebp - 8]
mov esi, 0x40a5d8
test eax, eax
je 0x40179e
push esi
call fcn.004063e8
jmp 0x4017b5
push 0x4c9000
push esi
call fcn.004063e8
push eax
call fcn.00405cbd
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040667c
cmp dword [ebp + 8], 3
jl 0x4017f2
push esi
call fcn.0040672b
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.00405eb9
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405ede
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push edi
push 0x4125d8
call fcn.004063e8
push esi
push edi
call fcn.004063e8
push dword [ebp - 0x14]
push 0x40e5d8
call fcn.0040640a
push 0x4125d8
push edi
call fcn.004063e8
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40e5d8
call fcn.00405a4e
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405450
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x4702e8]
jmp 0x402ace
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405450
inc dword [0x470314]
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.004031d6
dec dword [0x470314]
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.0040640a
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push esi
call fcn.0040640a
push 0x200010
push esi
jmp 0x4022f2
push ebx
jmp 0x401943
push 0x31
call fcn.00402c41
push dword [ebp - 0x28]
push eax
call fcn.00405a4e
cmp eax, ebx
je 0x40288b
cmp eax, dword [ebp - 0x20]
je 0x401a9c
cmp eax, dword [ebp - 0x18]
jne case.0x40148a.65
mov eax, dword [ebp - 0x14]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402c41
push dword [ebp - 0x24]
push eax
call fcn.00405afa
jmp case.0x40148a.65
push 1
call fcn.00402c41
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402592
push 2
call fcn.00402c1f
push 3
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call fcn.00402c1f
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x50]
pop ecx
push 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edx
mov dword [ebp + 8], eax
call fcn.00402c41
push eax
mov dword [ebp - 0x3c], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x4c], 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 - 0x3c]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.004063e8
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.00402c41
push 0x31
mov esi, eax
call fcn.00402c41
cmp dword [ebp - 0x18], ebx
push eax
push esi
jne 0x401a28
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a9c
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.00402c41
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
mov esi, dword [ebp - 0x14]
push ebx
call fcn.00402c1f
push 1
mov edi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c1f
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x4c], edx
jne 0x401a98
cmp edi, eax
jl 0x401a9c
jle 0x401a20
jmp 0x401aaa
cmp edi, eax
jae 0x401aa4
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
jbe 0x401a20
mov eax, dword [ebp - 0x18]
jmp case.0x40148a.2
push 1
call fcn.00402c1f
mov edi, eax
push 2
mov dword [ebp - 0x4c], edx
mov dword [ebp + 8], edi
call fcn.00402c1f
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xd
ja case.default.0x401ad7
jmp dword [eax*4 + 0x402be7]
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
mov edi, eax
jmp 0x401b4d
or ecx, edi
jmp 0x401b02
and ecx, edi
jmp 0x401b02
xor ecx, edi
mov edi, ecx
jmp 0x401b4d
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401af4
cmp edi, ebx
jne 0x401b21
jmp 0x401b1d
xor edi, edi
jmp 0x401b4d
cmp edi, ebx
je 0x401b15
cmp ecx, ebx
je 0x401b15
xor edi, edi
inc edi
jmp 0x401b4d
cmp ecx, ebx
je 0x401b33
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp 0x401b4d
xor 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.00402c41
push 2
mov edi, eax
call fcn.00402c1f
push eax
push edi
push esi
mov dword [ebp - 0x4c], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
mov edi, dword [0x41e638]
cmp eax, ebx
je 0x401bc8
dec eax
cmp edi, ebx
je 0x4022e4
mov edi, dword [edi]
cmp eax, ebx
jne 0x401b84
cmp edi, ebx
je 0x4022e4
add edi, 4
mov esi, 0x40a5d8
push edi
push esi
call fcn.004063e8
mov eax, dword [0x41e638]
add eax, 4
push eax
push edi
call fcn.004063e8
mov eax, dword [0x41e638]
push esi
add eax, 4
push eax
jmp 0x4029e1
cmp dword [ebp - 0x24], ebx
je 0x401bf2
cmp edi, ebx
je 0x40288b
lea eax, [edi + 4]
push eax
push esi
call fcn.004063e8
mov eax, dword [edi]
push edi
mov dword [0x41e638], 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.0040640a
mov eax, dword [0x41e638]
mov dword [esi], eax
mov dword [0x41e638], esi
jmp case.0x40148a.65
push 3
call fcn.00402c1f
push 4
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x10], eax
call fcn.00402c1f
test byte [ebp - 0x14], 1
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c4b
push 0x33
call fcn.00402c41
mov dword [ebp - 0x10], eax
test byte [ebp - 0x14], 2
je 0x401c5b
push 0x44
call fcn.00402c41
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
push 1
jne 0x401caf
call fcn.00402c1f
push 2
mov edi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c1f
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
mov ecx, dword [ebp - 0x14]
sar ecx, 2
je 0x401c9f
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 0x401ce2
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401cdf
call fcn.00402c41
push 0x12
mov edi, eax
call fcn.00402c41
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.00402c1f
pop ecx
mov dword [ebp - 0x4c], 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.00402c1f
push 1
mov edi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c1f
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402592
mov eax, dword [0x4702a8]
mov ecx, dword [ebp - 0x24]
push ebx
lea esi, [eax + ecx]
call fcn.00402c1f
pop ecx
mov dword [ebp - 0x4c], 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 - 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4c]
push 0x10
imul eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x20]
push eax
push ebx
push ebx
call fcn.00402c41
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.00402c1f
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push edi
mov dword [ebp - 0x4c], 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 [0x41e5d8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402c1f
mov dword [0x41e5e8], eax
mov al, byte [ebp - 0x18]
pop ecx
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x24]
mov cl, al
and cl, 1
mov byte [0x41e5ef], 1
mov byte [0x41e5ec], cl
mov cl, al
and cl, 2
and al, 4
push 0x41e5f4
mov byte [0x41e5ed], cl
mov byte [0x41e5ee], al
call fcn.0040640a
push 0x41e5d8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402592
push ebx
call fcn.00402c1f
push 1
mov esi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c1f
cmp dword [ebp - 0x1c], ebx
pop ecx
pop ecx
mov dword [ebp - 0x4c], edx
push eax
push esi
jne 0x401e72
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.00402c41
push 0x31
mov esi, eax
call fcn.00402c41
push 0x22
mov ebx, eax
call fcn.00402c41
push 0x15
mov edi, eax
call fcn.00402c41
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x74], ebx
and eax, esi
mov dword [ebp - 0x78], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x6c], 0x4c9000
and eax, edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
call fcn.00405a14
test eax, eax
je 0x40288b
test byte [ebp - 0x80], 0x40
je case.0x40148a.65
push dword [ebp - 0x4c]
call fcn.00406873
push dword [ebp - 0x4c]
jmp 0x401f4d
push ebx
call fcn.00402c41
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405450
push esi
call fcn.004059d1
mov esi, eax
cmp esi, ebx
je 0x40288b
cmp dword [ebp - 0x20], ebx
je 0x401f4c
push esi
call fcn.00406873
cmp dword [ebp - 0x24], ebx
jl 0x401f41
push eax
push dword [ebp - 0xc]
call fcn.0040632f
jmp 0x401f4c
cmp eax, ebx
je 0x401f4c
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.65
push 2
call fcn.00402c41
push eax
call fcn.0040672b
mov edi, eax
cmp edi, ebx
je 0x401f7e
push dword [edi + 0x14]
push dword [ebp - 0xc]
call fcn.0040632f
push dword [edi + 0x18]
jmp 0x40156d
mov eax, dword [ebp - 0xc]
mov word [esi], bx
mov word [eax], bx
jmp 0x40288b
push 0xffffffffffffffee
call fcn.00402c41
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], eax
push ecx
push eax
push 9
call fcn.004067c2
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 0xa
call fcn.004067c2
push 0xb
mov dword [ebp - 0x38], eax
call fcn.004067c2
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push edi
push ebx
push dword [ebp - 0x30]
call dword [ebp - 0x38]
test eax, eax
je 0x402029
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x402029
mov eax, dword [ebp - 0x3c]
push dword [eax + 8]
push esi
call fcn.0040632f
mov eax, dword [ebp - 0x3c]
push dword [eax + 0xc]
push dword [ebp - 0xc]
call fcn.0040632f
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401be7
cmp dword [0x470318], ebx
mov dword [ebp - 4], 1
jl 0x4020fd
push 0xfffffffffffffff0
call fcn.00402c41
push 1
mov esi, eax
call fcn.00402c41
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x3c], 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 - 0x3c]
push dword [ebp + 8]
call fcn.00406831
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 0x41e638
push edi
push 0x2000
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4020cf
push dword [ebp - 0x3c]
push 0xfffffffffffffff7
call fcn.00405450
cmp dword [ebp - 0x1c], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call fcn.00403a78
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.00402c41
push 0xffffffffffffffdf
mov dword [ebp - 0x4c], eax
call fcn.00402c41
push 2
mov dword [ebp - 0x3c], eax
call fcn.00402c41
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402c41
push 0x45
mov dword [ebp - 0x48], eax
call fcn.00402c41
push dword [ebp - 0x3c]
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 - 0x38], eax
call fcn.00405d34
test eax, eax
jne 0x402172
push 0x21
call fcn.00402c41
lea eax, [ebp + 8]
push eax
push 0x4084cc
push 1
push ebx
push 0x4084dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402242
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
push 0x4084ec
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 - 0x3c]
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 - 0x38]
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 - 0x4c]
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.00402c41
push 0x11
mov esi, eax
call fcn.00402c41
push 0x23
mov edi, eax
call fcn.00402c41
push esi
mov dword [ebp + 8], eax
call fcn.0040672b
test eax, eax
jne 0x40228b
push ebx
push 0xfffffffffffffff9
call fcn.00405450
jmp 0x40288b
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.00405450
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.0040640a
push eax
call fcn.00405a4e
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x4702f4]
jmp case.0x40148a.65
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x40231c
push ebx
call fcn.00402c41
mov esi, eax
cmp dword [ebp - 0x24], ebx
je 0x40232a
push 0x11
call fcn.00402c41
mov edi, eax
cmp dword [ebp - 0x18], ebx
je 0x402338
push 0x22
call fcn.00402c41
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402c41
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.00402c41
push 0x12
mov edi, eax
call fcn.00402c41
push 0xffffffffffffffdd
mov dword [ebp - 0x4c], eax
call fcn.00402c41
push eax
push 0x1fff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x401751
cmp dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x24]
jne 0x4023c1
push 2
call fcn.00402c81
mov esi, eax
cmp esi, ebx
je 0x40288b
push 0x33
call fcn.00402c41
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4023d7
push 0x22
call fcn.00402c41
mov ecx, dword [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402cff
mov edi, eax
cmp edi, ebx
je case.0x40148a.65
jmp 0x40288b
mov esi, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x4c], eax
call fcn.00402c41
push 0x11
mov dword [ebp - 0x3c], eax
call fcn.00402c41
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402cd1
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.65
xor eax, eax
cmp esi, 1
mov edi, 0x4125d8
jne 0x402438
push 0x23
call fcn.00402c41
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x40244f
push 3
call fcn.00402c1f
pop ecx
mov dword [0x4125d8], eax
push esi
mov dword [ebp - 0x30], edx
pop eax
cmp esi, 3
jne 0x402463
push 0xc000
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.004031d6
push eax
push edi
push dword [ebp - 0x4c]
push ebx
push dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40247c
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x402557
push 0x20019
call fcn.00402c81
push 0x33
mov edi, eax
call fcn.00402c41
cmp edi, ebx
mov word [esi], bx
je 0x40288b
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 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 0x4024f0
cmp dword [ebp + 8], 4
je 0x4024db
cmp dword [ebp + 8], ecx
je 0x4024d3
cmp dword [ebp + 8], 2
jne 0x4024f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x40254f
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.0040632f
jmp 0x402556
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x402556
push 0x20019
call fcn.00402c81
push 3
mov edi, eax
call fcn.00402c1f
cmp edi, ebx
pop ecx
mov dword [ebp - 0x4c], edx
mov word [esi], bx
je 0x40288b
cmp dword [ebp - 0x18], ebx
mov ecx, 0x1fff
mov dword [ebp + 8], ecx
je 0x402533
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40254f
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 0x40254f
mov dword [ebp - 4], 1
mov word [esi + 0x3ffe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
push esi
call fcn.00406348
cmp eax, ebx
je case.0x40148a.65
push eax
jmp 0x401f4d
push 0xffffffffffffffed
call fcn.00402c41
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405ede
cmp eax, 0xffffffff
je 0x402888
push eax
jmp 0x40156d
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x4c], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x4025c7
push 1
call fcn.00402c1f
mov word [0x40e5d8], ax
xor eax, eax
cmp edi, ebx
pop ecx
sete al
mov dword [ebp - 0x3c], edx
inc eax
jmp 0x40260a
cmp edx, 0x38
jne 0x4025fb
push 0x21
call fcn.00402c41
push ebx
push ebx
push 0x2000
push 0x40e5d8
push 0xffffffffffffffff
push 0x4125d8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40e5d8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x40260a
push 0x11
call fcn.00402c41
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x40288b
push esi
call fcn.00406348
or edi, dword [ebp - 0x4c]
mov esi, eax
jne 0x402637
cmp dword [ebp - 0x1c], ebx
je 0x402637
push esi
push esi
call fcn.00405fbf
test eax, eax
jl 0x40288b
push dword [ebp + 8]
push 0x40e5d8
push esi
call fcn.00405f90
jmp 0x4015b4
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x48], eax
call fcn.00402c1f
cmp eax, 1
pop ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], eax
jl case.0x40148a.65
mov ecx, 0x1fff
cmp eax, ecx
jle 0x402675
mov dword [ebp - 0x3c], ecx
cmp word [esi], bx
je 0x4027dc
push esi
mov dword [ebp - 0x30], ebx
call fcn.00406348
cmp dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], eax
jle 0x4027dc
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x2c], 0x39
jne 0x402732
lea eax, [ebp - 0x38]
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 0x4027dc
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x4027dc
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jne 0x402798
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 0x40275f
mov esi, dword [ebp - 0x48]
neg esi
dec dword [ebp - 0x38]
mov eax, 0xfffd
mov dword [ebp - 0x44], eax
je 0x402762
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 - 0x38]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x4026fc
jmp 0x40275f
cmp dword [ebp - 0x1c], ebx
jne 0x40274d
cmp dword [ebp - 8], ebx
jne 0x40274d
push ebx
push dword [ebp - 0x10]
call fcn.00405fbf
test eax, eax
jl 0x4027dc
lea eax, [ebp - 0x44]
push 2
push eax
push dword [ebp - 0x10]
call fcn.00405f61
test eax, eax
je 0x4027dc
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1c], ebx
jne 0x402798
cmp word [ebp - 0x30], 0xd
je 0x4027a9
cmp word [ebp - 0x30], 0xa
je 0x4027a9
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 0x4027dc
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x3c]
jl 0x402699
jmp 0x4027dc
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.0040632f
jmp 0x402ace
cmp word [ebp - 0x30], ax
je 0x4027ca
cmp ax, 0xd
je 0x4027bb
cmp ax, 0xa
jne 0x4027ca
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x4027dc
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.00402c1f
pop ecx
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x1c]
push ebx
push eax
push esi
call fcn.00406348
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x40148a.65
jmp 0x402a67
push esi
call fcn.00406348
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.00406348
cmp eax, ebx
je 0x402859
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4028a0
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40148a.65
push 2
call fcn.00402c41
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402897
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.0040632f
lea eax, [ebp - 0x2a8]
push eax
push esi
jmp 0x4029e1
push 0xfffffffffffffff0
mov dword [ebp - 0x30], 0xfffffd66
call fcn.00402c41
mov esi, eax
push esi
mov dword [ebp - 0x38], esi
call fcn.00405d34
test eax, eax
jne 0x4028d1
push 0xffffffffffffffed
call fcn.00402c41
push esi
call fcn.00405eb9
push 2
push 0x40000000
push esi
call fcn.00405ede
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402987
mov eax, dword [0x470258]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x3c], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x40297e
push ebx
call fcn.0040345d
push dword [ebp - 0x3c]
push edi
call fcn.00403447
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x4c], esi
je 0x40295c
push dword [ebp - 0x20]
push esi
push ebx
push dword [ebp - 0x24]
call fcn.004031d6
jmp 0x40294f
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.00405e99
add esi, dword [ebp - 0x34]
cmp byte [esi], bl
jne 0x402937
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x3c]
push edi
push dword [ebp + 8]
call fcn.00405f90
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004031d6
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 0x4029a2
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x40224b
push ebx
call fcn.00402c1f
mov edi, eax
pop ecx
cmp edi, dword [0x47028c]
mov dword [ebp - 0x4c], edx
jae 0x40288b
mov esi, edi
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x4018
add esi, dword [0x470288]
cmp eax, ebx
jl 0x4029ee
mov ecx, dword [esi + eax*4]
jne 0x4029eb
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.004063e8
jmp case.0x40148a.65
push ecx
jmp 0x402a68
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402a08
push 1
call fcn.00402c1f
pop ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x24], eax
jmp 0x402a18
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.0040640a
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.00402c1f
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x4c], edx
jae 0x40288b
cmp dword [ebp - 0x1c], ebx
je 0x402a72
cmp dword [ebp - 0x20], ebx
je 0x402a61
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.0040632f
jmp case.0x40148a.65
cmp dword [ebp - 0x20], ebx
je 0x402a89
mov edx, dword [0x470254]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x470254]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.0040640a
jmp case.0x40148a.65
mov ecx, dword [0x456728]
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 [0x4702e8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4