Function at 0x40144b
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
Resolve function by parsing pe exports
Set current directory
Set file attributes
Set registry value

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4339d8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c8]
xor ebp, ebp
push edi
push 7
pop ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x20], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov eax, section..ndata
mov edx, dword [esp + 0x30]
mov edi, ecx
mov esi, edx
shl edi, 0xb
add edi, eax
shl esi, 0xb
add esi, eax
mov dword [esp + 0x14], edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], esi
mov dword [0x40a0e4], eax
mov ebx, ebp
mov eax, dword [esp + 0x28]
add eax, 0xfffffffe
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
cmp eax, 0x43
mov eax, dword [esp + 0x20]
ja case.0x4014be.65
mov ebx, dword [esp + 0x1c]
jmp dword [ebx*4 + 0x402c43]
mov eax, ecx
jmp 0x402c34
push ebp
push ecx
call fcn.0040595b
mov eax, 0x7fffffff
jmp 0x402c34
inc dword [0x4339b0]
test eax, eax
je 0x4014d3
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4014d3
push ecx
call fcn.00402ef0
dec eax
push ebp
push eax
call fcn.004013af
jmp 0x402c34
push ebp
push ecx
call fcn.0040595b
jmp case.0x4014be.65
push ebp
call fcn.00402d87
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4014be.65
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4014be.65
cmp dword [esp + 0x34], ebp
jne 0x401564
mov eax, dword [ecx*4 + 0x434aa0]
push 1
mov dword [ecx*4 + 0x434a60], eax
call fcn.00402d87
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax*4 + 0x434aa0], ecx
jmp case.0x4014be.65
mov eax, dword [ecx*4 + 0x434a60]
mov dword [ecx*4 + 0x434aa0], eax
jmp case.0x4014be.65
mov esi, dword [esp + 0x34]
xor ecx, ecx
push 4
pop eax
mov edx, dword [esi*4 + 0x434aa0]
test edx, edx
cmove ecx, eax
mov eax, dword [esp + 0x38]
and eax, edx
mov dword [esi*4 + 0x434aa0], eax
mov eax, dword [esp + ecx + 0x2c]
jmp 0x402c34
push dword [edx*4 + 0x434aa0]
push edi
call fcn.0040614c
jmp case.0x4014be.65
mov eax, dword [0x4339a8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4015cb
push edx
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x4339ac]
test eax, eax
je case.0x4014be.65
push ecx
push eax
call esi
jmp case.0x4014be.65
push 0xfffffffffffffff0
call fcn.00402dbd
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4014be.65
xor ebx, ebx
inc ebx
jmp 0x402c2c
push 0xfffffffffffffff0
call fcn.00402dbd
mov edi, eax
push edi
call fcn.004066d9
mov ebx, dword [esp + 0x10]
mov esi, eax
test esi, esi
je 0x401676
push 0x5c
push esi
call fcn.0040612d
mov esi, eax
xor eax, eax
movzx ebp, word [esi]
mov word [esi], ax
test bp, bp
jne 0x40164a
cmp dword [esp + 0x34], eax
je 0x40164a
call fcn.00406075
test eax, eax
je 0x40164a
push edi
call fcn.00405a5f
jmp 0x401650
push edi
call fcn.00405a3f
test eax, eax
je 0x401667
cmp eax, 0xb7
jne 0x401666
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401667
inc ebx
mov word [esi], bp
add esi, 2
test bp, bp
jne 0x40161c
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x30], 0
push 0x40a8e8
je 0x4016ad
push 0xffffffffffffffe6
call fcn.0040595b
push edi
push 0x440000
call fcn.00406642
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x4014be.65
inc ebx
mov dword [esp + 0x10], ebx
jmp case.0x4014be.65
push 0xfffffffffffffff5
jmp 0x401505
push ebp
call fcn.00402dbd
push eax
call fcn.00406106
mov ecx, dword [esp + 0x34]
test eax, eax
cmovne ecx, dword [esp + 0x30]
jmp case.0x4014be.2
push 0xffffffffffffffd0
call fcn.00402dbd
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402dbd
push 0x13
mov edi, eax
call fcn.00402dbd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401701
push 0x40a8e8
push 0xffffffffffffffe3
jmp 0x401505
cmp dword [esp + 0x34], ebp
je 0x4015fb
push esi
call fcn.00406106
test eax, eax
je 0x4015fb
push edi
push esi
call fcn.00405e1a
push 0x40a8e8
push 0xffffffffffffffe4
jmp 0x401505
push ebp
call fcn.00402dbd
mov edi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x401754
xor ebx, ebx
inc ebx
xor eax, eax
mov word [esi], ax
jmp 0x40177c
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x401778
cmp word [eax], bp
je 0x401778
push edi
call fcn.00406106
test eax, eax
je 0x40174a
add eax, 0x2c
push eax
push dword [esp + 0x18]
call fcn.00406642
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x34], ebp
jne 0x402c2c
push 0x400
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x402c2c
push 0xffffffffffffffff
call fcn.00402dbd
lea ecx, [esp + 0x50]
push ecx
push edi
push 0x400
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4014be.65
xor ebx, ebx
inc ebx
xor eax, eax
mov word [edi], ax
jmp 0x402c2c
push 0xffffffffffffffef
call fcn.00402dbd
push eax
push edi
call fcn.0040657a
jmp 0x4015f3
push 0x31
call fcn.00402dbd
mov esi, dword [esp + 0x2c]
mov ebx, eax
push ebx
mov dword [esp + 0x18], ebx
and esi, 7
call fcn.004068c4
push ebx
mov ebx, 0x40a0e8
test eax, eax
je 0x401807
push ebx
call fcn.00406642
jmp 0x40181e
push 0x440000
push ebx
call fcn.00406642
push eax
call fcn.0040608d
push eax
call sub.KERNEL32.dll_lstrcatW
push ebx
call fcn.00406808
xor edi, edi
inc edi
cmp esi, 3
jl 0x401859
push ebx
call fcn.00406106
mov ecx, ebp
test eax, eax
je 0x401849
lea ecx, [esp + 0x38]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
add esi, 0xfffffffd
or esi, 0x80000000
and esi, ecx
neg esi
sbb esi, esi
inc esi
test esi, esi
jne 0x401863
push ebx
call fcn.004066b1
xor eax, eax
cmp esi, edi
setne al
inc eax
push eax
push 0x40000000
push ebx
call fcn.0040644e
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x40190b
test esi, esi
jne 0x4018f2
push section..ndata
push 0x40b0e8
call fcn.00406642
push ebx
push section..ndata
call fcn.00406642
push dword [esp + 0x40]
push 0x40a8e8
call fcn.00405add
push 0x40b0e8
push section..ndata
call fcn.00406642
mov eax, dword [esp + 0x2c]
sar eax, 3
push eax
push 0x40a8e8
call fcn.004065d0
sub eax, 4
je 0x401827
sub eax, 1
je 0x4018e7
push ebx
push 0xfffffffffffffffa
jmp 0x4014ce
inc dword [0x434aa8]
jmp 0x402c32
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffe2
call fcn.0040595b
xor ebx, ebx
cmp esi, 2
sete bl
jmp 0x402c2c
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffea
call fcn.0040595b
mov esi, dword [esp + 0x1c]
inc dword [0x434ad4]
push ebp
push ebp
push esi
push dword [esp + 0x40]
call fcn.00402f4c
dec dword [0x434ad4]
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x401945
cmp dword [esp + 0x3c], 0xffffffff
je 0x401953
lea eax, [esp + 0x38]
push eax
push ebp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
jns case.0x4014be.65
cmp eax, 0xfffffffe
jne 0x40197c
push 0xffffffffffffffe9
push ebx
call fcn.00405add
push edi
push ebx
call sub.KERNEL32.dll_lstrcatW
jmp 0x401984
push 0xffffffffffffffee
push ebx
call fcn.00405add
push 0x200010
push ebx
call fcn.004065d0
jmp 0x4014d3
push ebp
call fcn.00402dbd
push dword [esp + 0x30]
push eax
call fcn.0040624a
jmp case.0x4014be.65
push 0x31
call fcn.00402dbd
push dword [esp + 0x2c]
push eax
call fcn.004065d0
test eax, eax
je 0x4015fb
cmp eax, dword [esp + 0x34]
jne 0x4019d1
mov eax, dword [esp + 0x38]
jmp 0x402c34
cmp eax, dword [esp + 0x3c]
jne case.0x4014be.65
mov eax, dword [esp + 0x40]
jmp 0x402c34
push 0xfffffffffffffff0
jmp 0x401995
push 1
call fcn.00402dbd
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x4015a9
push 2
call fcn.00402d87
push 3
mov ebp, eax
mov esi, edx
call fcn.00402d87
pop ecx
pop ecx
push 1
mov ebx, eax
call fcn.00402dbd
push eax
mov dword [esp + 0x20], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
test esi, esi
mov word [edi], cx
cmove ebp, eax
test ebp, ebp
je case.0x4014be.65
test ebx, ebx
jns 0x401a40
add ebx, eax
js case.0x4014be.65
cmp ebx, eax
cmovg ebx, eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + ebx*2]
push eax
push edi
call fcn.00406642
test ebp, ebp
jns 0x401a5f
push edi
call sub.KERNEL32.dll_lstrlenW
add ebp, eax
mov ebx, dword [esp + 0x10]
xor eax, eax
test ebp, ebp
cmovns eax, ebp
cmp eax, 0x400
jge 0x402c2c
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x402c2c
push 0x20
call fcn.00402dbd
push 0x31
mov esi, eax
call fcn.00402dbd
push eax
push esi
cmp dword [esp + 0x44], ebp
jne 0x401aaf
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4019c8
mov eax, dword [esp + 0x34]
jmp 0x402c34
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a9e
xor ebx, ebx
inc ebx
push ebx
call fcn.00402dbd
push 0x400
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401ae5
cmp dword [esp + 0x34], ebp
je 0x401aec
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401aec
xor eax, eax
mov word [edi], ax
jmp 0x401af0
mov ebx, dword [esp + 0x10]
xor eax, eax
mov word [edi + 0x7fe], ax
jmp 0x402c2c
push ebp
call fcn.00402d87
push 1
mov esi, eax
call fcn.00402d87
pop ecx
pop ecx
cmp dword [esp + 0x40], ebp
jne 0x401b28
cmp esi, eax
jl 0x4019c8
jle 0x401aa6
mov eax, dword [esp + 0x3c]
jmp 0x402c34
cmp esi, eax
jb 0x4019c8
jbe 0x401aa6
jmp 0x401b1f
xor ebx, ebx
inc ebx
push ebx
call fcn.00402d87
push 2
mov esi, eax
call fcn.00402d87
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, 0xc
ja case.default.0x401b57
jmp dword [eax*4 + 0x402d53]
add esi, ecx
jmp case.default.0x401b57
sub esi, ecx
jmp case.default.0x401b57
imul esi, ecx
jmp case.default.0x401b57
test ecx, ecx
je 0x401b78
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401b7a
mov esi, ebp
xor ebx, ebx
test ecx, ecx
sete bl
jmp 0x401bc7
or esi, ecx
jmp case.default.0x401b57
and esi, ecx
jmp case.default.0x401b57
xor esi, ecx
jmp case.default.0x401b57
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401b57
test esi, esi
je 0x401baa
mov esi, ebx
jmp case.default.0x401b57
mov esi, ebp
jmp case.default.0x401b57
test esi, esi
je 0x401ba2
test ecx, ecx
je 0x401ba2
jmp 0x401b9e
test ecx, ecx
je 0x401b78
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401b7a
shl esi, cl
jmp case.default.0x401b57
sar esi, cl
mov ebx, dword [esp + 0x10]
push esi
push edi
call fcn.0040614c
jmp 0x402c2c
push 1
call fcn.00402dbd
push 2
mov esi, eax
call fcn.00402d87
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x4014be.65
mov eax, dword [esp + 0x34]
mov esi, dword [0x40a0e0]
test eax, eax
je 0x401c56
dec eax
test esi, esi
je 0x401c43
mov esi, dword [esi]
test eax, eax
jne 0x401c02
test esi, esi
je 0x401c43
add esi, 4
mov ebx, 0x40a0e8
push esi
push ebx
call fcn.00406642
mov eax, dword [0x40a0e0]
add eax, 4
push eax
push esi
call fcn.00406642
mov eax, dword [0x40a0e0]
push ebx
add eax, 4
push eax
call fcn.00406642
jmp case.0x4014be.65
push 0x200010
push 0xffffffffffffffe8
push ebp
call fcn.00405add
push eax
jmp 0x40198a
test edx, edx
je 0x401c7f
test esi, esi
je 0x4015fb
lea eax, [esi + 4]
push eax
push edi
call fcn.00406642
mov eax, dword [esi]
push esi
mov dword [0x40a0e0], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4014be.65
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00405add
mov eax, dword [0x40a0e0]
mov dword [esi], eax
mov dword [0x40a0e0], esi
jmp case.0x4014be.65
push 3
call fcn.00402d87
mov esi, eax
push 4
mov dword [esp + 0x1c], esi
call fcn.00402d87
mov ebx, eax
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
test al, 1
je 0x401cde
push 0x33
call fcn.00402dbd
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
test al, 2
je 0x401ceb
push 0x44
call fcn.00402dbd
mov ebx, eax
cmp dword [esp + 0x28], 0x21
push 1
jne 0x401d43
call fcn.00402d87
push 2
mov dword [esp + 0x1c], eax
call fcn.00402d87
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
sar ecx, 2
test ecx, ecx
je 0x401d34
lea edx, [esp + 0x18]
push edx
push ecx
push ebp
push ebx
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb ebx, ebx
mov eax, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x401d72
push ebx
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401d6e
call fcn.00402dbd
push 0x12
mov esi, eax
call fcn.00402dbd
xor ecx, ecx
cmp word [eax], bp
cmovne ecx, eax
push ecx
xor ecx, ecx
cmp word [esi], bp
cmovne ecx, esi
push ecx
push ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], ebp
jl case.0x4014be.65
jmp 0x4019f5
push ebp
call fcn.00402d87
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4016c0
push 2
call fcn.00402d87
push 1
mov esi, eax
call fcn.00402d87
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4019f5
mov esi, dword [0x434a28]
push ebp
add esi, edx
call fcn.00402d87
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4014be.65
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x34]
mov ecx, edx
imul ecx, dword [esp + 0x5c]
imul edx, dword [esp + 0x58]
push 0x10
push ecx
push edx
push ebp
push ebp
call fcn.00402dbd
push eax
push ebp
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebp
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x4014be.65
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4014be.65
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.00402d87
pop ecx
push 0x48
push 0x5a
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x40c8e8], eax
mov eax, dword [esp + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402d87
pop ecx
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x30]
mov dword [0x40c8f8], eax
mov al, cl
and al, 1
mov byte [0x40c8ff], 1
mov byte [0x40c8fc], al
mov al, cl
and al, 2
and cl, 4
push 0x40c904
mov byte [0x40c8fd], al
mov byte [0x40c8fe], cl
call fcn.00405add
push 0x40c8e8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, dword [esp + 0x14]
push eax
push ebx
jmp 0x4015aa
push ebp
call fcn.00402d87
push 1
mov esi, eax
call fcn.00402d87
pop ecx
pop ecx
push eax
push esi
cmp dword [esp + 0x40], ebp
jne 0x401ee0
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4014be.65
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4014be.65
push ebp
call fcn.00402dbd
push 0x31
mov ebx, eax
call fcn.00402dbd
push 0x22
mov edi, eax
call fcn.00402dbd
push 0x15
mov esi, eax
call fcn.00402dbd
push 0x40a8e8
push 0xffffffffffffffec
call fcn.0040595b
push dword [esp + 0x38]
xor ecx, ecx
cmp word [esi], bp
push 0x440000
cmovne ecx, esi
xor eax, eax
cmp word [ebx], bp
push ecx
push edi
cmovne eax, ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x4014be.65
jmp 0x4015fb
push ebp
call fcn.00402dbd
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.0040595b
push esi
call fcn.00406205
mov ebx, dword [esp + 0x10]
mov esi, eax
test esi, esi
je 0x4015fb
cmp dword [esp + 0x34], ebp
je 0x401fca
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push esi
call edi
mov ebp, 0x102
jmp 0x401f95
push 0xf
call fcn.00405dea
push 0x64
push esi
call edi
cmp eax, ebp
je 0x401f89
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x30], 0
jl 0x401fbb
push dword [esp + 0x14]
push dword [esp + 0x4c]
call fcn.0040614c
jmp 0x401fca
xor eax, eax
inc eax
cmp dword [esp + 0x14], 0
cmovne ebx, eax
mov dword [esp + 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4014be.65
push 2
call fcn.00402dbd
push eax
call fcn.00406106
mov ebx, eax
test ebx, ebx
je 0x401ffa
push dword [ebx + 0x14]
push esi
call fcn.0040614c
push dword [ebx + 0x18]
jmp 0x4015a9
xor eax, eax
mov word [edi], ax
mov word [esi], ax
jmp 0x4015fb
push 0xffffffffffffffee
call fcn.00402dbd
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
push ecx
push eax
push 8
call fcn.00406419
call eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov word [edi], cx
inc ebx
mov word [esi], cx
test eax, eax
je 0x402c2c
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x402c2c
push 9
call fcn.00406419
push 0xa
mov esi, eax
call fcn.00406419
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x20]
push ebp
push dword [esp + 0x58]
call esi
test eax, eax
je 0x4020ae
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
push 0x4082c0
push dword [esp + 0x24]
call dword [esp + 0x30]
test eax, eax
je 0x4020ae
mov eax, dword [esp + 0x14]
push dword [eax + 8]
push edi
call fcn.0040614c
mov eax, dword [esp + 0x14]
push dword [eax + 0xc]
push dword [esp + 0x4c]
call fcn.0040614c
mov ebx, ebp
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x402c2c
xor esi, esi
inc esi
mov ebx, esi
cmp dword [0x434a44], ebp
jl 0x402199
push 0xfffffffffffffff0
call fcn.00402dbd
mov edi, eax
push esi
mov dword [esp + 0x20], edi
call fcn.00402dbd
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], ebp
je 0x4020fc
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x402110
mov edi, dword [esp + 0x1c]
push 8
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x402190
push dword [esp + 0x14]
push edi
call fcn.00405e46
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x402161
mov ebx, ebp
cmp dword [esp + 0x34], ebx
je 0x402141
push dword [esp + 0x34]
call fcn.00402f0e
call dword [esp + 0x1c]
test eax, eax
je 0x40216c
mov ebx, esi
jmp 0x40216c
mov eax, dword [esp + 0x20]
push section..data
push 0x40a0e0
push section..ndata
push 0x400
push eax
call ecx
add esp, 0x14
jmp 0x40216c
push dword [esp + 0x14]
push 0xfffffffffffffff7
call fcn.0040595b
cmp dword [esp + 0x38], ebp
jne 0x402c2c
push edi
call fcn.004039c5
test eax, eax
je 0x402c2c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x402c2c
push 0x40a8e8
push 0xfffffffffffffff6
jmp 0x4021a0
push 0x40a8e8
push 0xffffffffffffffe7
call fcn.0040595b
jmp 0x402c2c
push 0xfffffffffffffff0
call fcn.00402dbd
push 0xffffffffffffffdf
mov dword [esp + 0x54], eax
call fcn.00402dbd
mov ebx, eax
push 2
mov dword [esp + 0x20], ebx
call fcn.00402dbd
push 0xffffffffffffffcd
mov dword [esp + 0x74], eax
call fcn.00402dbd
push 0x45
mov dword [esp + 0x50], eax
call fcn.00402dbd
mov ecx, dword [esp + 0x3c]
mov edi, ecx
mov dword [esp + 0x44], eax
mov eax, ecx
and eax, 0xfff
sar edi, 0xc
mov dword [esp + 0x20], eax
and edi, 7
mov eax, ecx
sar ecx, 0x10
and eax, 0x8000
mov dword [esp + 0x18], eax
movzx eax, cx
push ebx
mov dword [esp + 0x4c], eax
call fcn.004068c4
test eax, eax
jne 0x402220
push 0x21
call fcn.00402dbd
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
push 0x408ad8
inc ebx
push ebx
push ebp
push 0x408af8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40230e
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x408ae8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4022f4
mov eax, dword [esp + 0x24]
push dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
cmp dword [esp + 0x18], ebp
jne 0x402284
mov eax, dword [esp + 0x24]
push 0x440000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test edi, edi
je 0x402293
mov eax, dword [esp + 0x24]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x24]
push dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x4c]
cmp word [edx], bp
je 0x4022b9
mov eax, dword [esp + 0x24]
push dword [esp + 0x20]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x24]
push dword [esp + 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x24]
push dword [esp + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
js 0x4022ea
mov eax, dword [esp + 0x14]
push ebx
push dword [esp + 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x40230e
push 0x40a8e8
push 0xfffffffffffffff4
jmp 0x401505
push 0x40a8e8
push 0xfffffffffffffff0
jmp 0x4021a0
push ebp
call fcn.00402dbd
push 0x11
mov esi, eax
call fcn.00402dbd
push 0x23
mov edi, eax
call fcn.00402dbd
push esi
mov ebx, eax
call fcn.00406106
test eax, eax
jne 0x40234b
push ebp
push 0xfffffffffffffff9
call fcn.0040595b
jmp 0x4015fb
mov eax, dword [esp + 0x20]
push esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push edi
mov word [esi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push ebx
push ebp
mov word [edi + eax*2 + 2], cx
mov ax, word [esp + 0x3c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x72], ebx
mov word [esp + 0x68], ax
call fcn.0040595b
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4014be.65
jmp 0x40233e
cmp ecx, 0xbadf00d
jne 0x401c43
inc dword [0x434ab4]
jmp case.0x4014be.65
mov esi, ebp
mov edi, ebp
test ecx, ecx
je 0x4023d2
push ebp
call fcn.00402dbd
mov edx, dword [esp + 0x30]
mov ebp, eax
test edx, edx
je 0x4023df
push 0x11
call fcn.00402dbd
mov esi, eax
cmp dword [esp + 0x3c], edi
je 0x4023ee
push 0x22
call fcn.00402dbd
mov edi, eax
push 0xffffffffffffffcd
call fcn.00402dbd
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015f3
push 0xa
pop ebp
push 1
mov dword [esp + 0x54], ebp
call fcn.00402dbd
push 0x12
mov edi, eax
call fcn.00402dbd
push 0xffffffffffffffdd
mov esi, eax
call fcn.00402dbd
mov ebx, dword [esp + 0x14]
push eax
push 0x3ff
push ebx
lea eax, [esp + 0x5c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [ebx]
mov ecx, eax
cmp ax, bp
jne 0x40244b
xor eax, eax
mov word [ebx], ax
xor ebx, ebx
cmp cx, bp
jmp 0x401903
xor esi, esi
inc esi
cmp dword [esp + 0x3c], ebp
jne 0x402485
push 2
call fcn.00402eb1
mov edi, eax
test edi, edi
je 0x4024a6
push 0x33
call fcn.00402dbd
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4024a6
push 0x22
call fcn.00402dbd
mov ecx, dword [esp + 0x3c]
and ecx, 2
push ecx
push eax
push dword [esp + 0x38]
call fcn.00402da8
push eax
call fcn.00402dfb
mov esi, eax
xor ebx, ebx
test esi, esi
setne bl
jmp 0x402c2c
push ecx
call fcn.00402da8
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
push 2
mov dword [esp + 0x54], eax
call fcn.00402dbd
push 0x11
mov dword [esp + 0x48], eax
call fcn.00402dbd
push ebp
lea ecx, [esp + 0x1c]
xor edi, edi
push ecx
mov ecx, dword [0x434ad0]
inc edi
push ebp
or ecx, 2
mov ebx, edi
push ecx
push ebp
push ebp
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402c2c
mov eax, ebp
mov esi, 0x40b0e8
cmp dword [esp + 0x14], edi
jne 0x402526
push 0x23
call fcn.00402dbd
push esi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax*2 + 2]
mov edi, dword [esp + 0x14]
cmp edi, 4
jne 0x40253e
push 3
call fcn.00402d87
pop ecx
push edi
mov dword [0x40b0e8], eax
pop eax
cmp edi, 3
jne 0x402553
push 0x1800
push esi
push ebp
push dword [esp + 0x44]
call fcn.00402f4c
push eax
push esi
push dword [esp + 0x58]
push ebp
push dword [esp + 0x54]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x18]
neg eax
sbb eax, eax
and ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402c2c
push 0x20019
call fcn.00402eb1
push 0x33
mov esi, eax
call fcn.00402dbd
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x4015fb
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0x800
push ecx
push edi
lea ecx, [esp + 0x20]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4025f6
cmp dword [esp + 0x18], 4
je 0x4025e3
cmp dword [esp + 0x18], ecx
je 0x4025d4
cmp dword [esp + 0x18], 2
jne 0x4025f6
mov ebx, dword [esp + 0x3c]
xor eax, eax
mov word [edi + 0x7fe], ax
jmp 0x4025fd
push dword [edi]
xor ebx, ebx
cmp dword [esp + 0x40], ebx
push edi
sete bl
call fcn.0040614c
jmp 0x4025fd
xor eax, eax
mov ebx, ecx
mov word [edi], ax
push esi
jmp 0x402572
push 0x20019
call fcn.00402eb1
push 3
mov esi, eax
call fcn.00402d87
pop ecx
xor ecx, ecx
mov dword [esp + 0x54], edx
mov word [edi], cx
test esi, esi
je 0x4015fb
mov ecx, 0x3ff
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x3c], ebp
je 0x402643
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40265d
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x60]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4015fb
xor eax, eax
push esi
mov word [edi + 0x7fe], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4014be.65
push edi
call fcn.00406739
test eax, eax
je case.0x4014be.65
push eax
jmp 0x401fcb
push 0xffffffffffffffed
call fcn.00402dbd
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call fcn.0040644e
cmp eax, 0xffffffff
jne 0x4019f5
xor eax, eax
mov word [edi], ax
jmp 0x4015fb
mov ecx, dword [esp + 0x28]
xor eax, eax
mov edx, dword [esp + 0x34]
cmp ecx, 0x38
mov dword [esp + 0x44], edx
mov esi, 0x40a8e8
sete al
xor ebx, ebx
inc ebx
mov dword [esp + 0x14], eax
test edx, edx
je 0x4026f1
push ebx
call fcn.00402d87
mov word [0x40a8e8], ax
xor eax, eax
cmp dword [esp + 0x18], eax
pop ecx
sete al
inc eax
mov dword [esp + 0x50], eax
mov esi, eax
jmp 0x402730
cmp ecx, 0x38
jne 0x40271f
push 0x21
call fcn.00402dbd
push ebp
push ebp
push 0x400
push esi
push 0xffffffffffffffff
push 0x40b0e8
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x402730
push 0x11
call fcn.00402dbd
push eax
call sub.KERNEL32.dll_lstrlenW
mov esi, eax
add esi, esi
cmp word [edi], bp
je 0x402c2c
push edi
call fcn.00406739
mov edi, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x44]
jne 0x402760
cmp dword [esp + 0x38], ebp
je 0x402760
push edi
push edi
call fcn.00405ffc
test eax, eax
js 0x402c2c
push esi
push 0x40a8e8
push edi
call fcn.0040652d
test eax, eax
jne case.0x4014be.65
jmp 0x402c2c
push 2
pop ecx
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
call fcn.00402d87
xor ebx, ebx
inc ebx
pop ecx
cmp eax, ebx
jl case.0x4014be.65
mov ecx, 0x3ff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x1c], eax
cmp word [edi], bp
je 0x4028fe
push edi
mov dword [esp + 0x4c], ebp
call fcn.00406739
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x1c], ebp
jle 0x4028fe
mov dword [esp + 0x44], 0xd
mov edi, ebp
cmp dword [esp + 0x28], 0x39
jne 0x40288f
push ebp
lea eax, [esp + 0x50]
push eax
push 2
pop eax
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4028fe
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4028fe
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x38], ebp
jne 0x402940
push ebx
lea eax, [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4028b9
mov ecx, dword [esp + 0x20]
mov edx, ecx
neg edx
sub dword [esp + 0x4c], 1
mov eax, 0xfffd
mov dword [esp + 0x24], eax
je 0x4028c1
push ebx
dec ecx
inc edx
push ebp
push edx
push dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x1c]
push eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
test eax, eax
je 0x402842
jmp 0x4028b9
cmp dword [esp + 0x38], ebp
jne 0x4028a8
test edi, edi
jne 0x4028a8
push ebp
push ecx
call fcn.00405ffc
test eax, eax
js 0x4028fe
mov ecx, dword [esp + 0x18]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0040647b
test eax, eax
je 0x4028fe
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebp
jne 0x402940
push 0xd
pop edx
cmp word [esp + 0x48], dx
push 0xa
pop edx
je 0x402911
cmp word [esp + 0x48], dx
je 0x402911
mov word [esi + edi*2], ax
inc edi
movzx ecx, ax
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], ecx
test ax, ax
je 0x4028fe
mov ecx, dword [esp + 0x18]
cmp edi, dword [esp + 0x1c]
jl 0x4027d1
mov eax, dword [esp + 0x14]
xor ecx, ecx
xor ebx, ebx
test eax, eax
mov word [esi + eax*2], cx
jmp 0x401903
cmp word [esp + 0x48], ax
je 0x40292f
cmp ax, word [esp + 0x44]
je 0x402924
cmp ax, dx
jne 0x40292f
mov word [esi + edi*2], ax
inc edi
mov dword [esp + 0x14], edi
jmp 0x4028fe
push ebx
push ebp
neg ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4028fe
movzx eax, ax
push eax
push esi
call fcn.0040614c
jmp 0x402c32
cmp word [edi], bp
je case.0x4014be.65
push 2
call fcn.00402d87
pop ecx
push dword [esp + 0x38]
push ebp
push eax
push edi
call fcn.00406739
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x30], ebp
jl case.0x4014be.65
push eax
push esi
jmp 0x4015aa
push edi
call fcn.00406739
test eax, eax
je case.0x4014be.65
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4014be.65
push esi
call fcn.00406739
test eax, eax
je 0x4017bb
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4017bb
lea eax, [esp + 0xa4]
push eax
push edi
jmp 0x401c39
push 2
call fcn.00402dbd
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4029f0
xor eax, eax
mov word [esi], ax
jmp 0x4026a4
push eax
push esi
call fcn.0040614c
jmp 0x4029c0
push 0xfffffffffffffff0
mov dword [esp + 0x1c], 0xfffffd66
call fcn.00402dbd
mov ebx, eax
push ebx
mov dword [esp + 0x54], ebx
call fcn.004068c4
test eax, eax
jne 0x402a1f
push 0xffffffffffffffed
call fcn.00402dbd
push ebx
call fcn.004066b1
push 2
push 0x40000000
push ebx
call fcn.0040644e
mov edi, eax
mov dword [esp + 0x70], edi
cmp edi, 0xffffffff
je 0x402af3
mov eax, dword [0x4349e4]
push eax
push 0x40
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x402aec
push ebp
call fcn.00402f35
push dword [esp + 0x14]
push esi
call fcn.00402f1f
push dword [esp + 0x34]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x44], edi
test edi, edi
je 0x402ac8
push dword [esp + 0x34]
push edi
push ebp
push dword [esp + 0x3c]
call fcn.00402f4c
cmp byte [edi], 0
je 0x402abe
mov ebx, esi
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebx
push eax
call fcn.004061e3
add edi, esi
cmp byte [edi], 0
jne 0x402a9d
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x14]
mov edi, dword [esp + 0x74]
push esi
push edi
call fcn.0040652d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
push ebp
push edi
push 0xffffffffffffffff
call fcn.00402f4c
mov dword [esp + 0x18], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
pop esi
cmp dword [esp + 0x18], ebp
jge 0x402b0b
push 0xffffffffffffffef
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
inc ebx
jmp 0x402b0f
mov ebx, dword [esp + 0x10]
push esi
call fcn.00402f0e
jmp 0x402c2c
push ebp
call fcn.00402d87
mov ebx, eax
pop ecx
cmp ebx, dword [0x434a0c]
jae 0x4015fb
mov ecx, dword [esp + 0x34]
imul edi, ebx, 0x818
add edi, dword [0x434a08]
test ecx, ecx
js 0x402b56
mov eax, dword [edi + ecx*4]
jne 0x40297d
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x401c39
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x34], eax
je 0x402b71
push 1
call fcn.00402d87
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x402b89
push dword [esp + 0x3c]
lea eax, [edi + 0x18]
push eax
call fcn.00405add
or dword [edi + 8], 0x100
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [edi + eax*4], ecx
cmp dword [esp + 0x38], ebp
je case.0x4014be.65
push ebx
call fcn.0040122b
jmp case.0x4014be.65
push ebp
call fcn.00402d87
mov edi, eax
pop ecx
cmp edi, 0x20
jae 0x4015fb
cmp dword [esp + 0x38], ebp
je 0x402bdd
cmp dword [esp + 0x34], ebp
je 0x402bd2
push edi
call fcn.0040129a
push ebp
push ebp
call fcn.004012e7
jmp case.0x4014be.65
push ebp
call fcn.004011a0
jmp 0x40297d
mov eax, dword [0x4349ec]
cmp dword [esp + 0x34], ebp
je 0x402bf5
mov ecx, dword [esp + 0x30]
mov dword [eax + edi*4 + 0x94], ecx
jmp case.0x4014be.65
push dword [eax + edi*4 + 0x94]
push esi
call fcn.00405add
jmp case.0x4014be.65
and ecx, dword [0x42ad20]
push ebp
push ecx
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x2c], ebp
je case.0x4014be.65
mov eax, dword [esp + 0x20]
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [esp + 0x10]
add dword [0x434aa8], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b8
ret 4