Function at 0x401593
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
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
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x4705b4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
imul ecx, ecx, 0x4008
mov edi, esi
imul edi, edi, 0x4008
mov edx, section..ndata
add ecx, edx
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x30]
mov dword [0x40a0a4], ecx
mov ecx, dword [ebp - 0x34]
xor ebx, ebx
add ecx, 0xfffffffe
add edi, edx
cmp ecx, 0x44
mov dword [ebp - 4], ebx
ja case.0x4015f1.67
jmp dword [ecx*4 + 0x402c6b]
mov eax, esi
jmp 0x402c62
push ebx
push esi
call fcn.00404ac7
mov eax, 0x7fffffff
jmp 0x402c62
inc dword [0x468574]
cmp dword [ebp - 8], ebx
je 0x401606
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401606
push esi
call fcn.00401373
dec eax
push ebx
push eax
call fcn.00401392
jmp 0x402c62
push ebx
push esi
call fcn.00404ac7
jmp case.0x4015f1.67
xor ecx, ecx
call fcn.0040143d
cmp eax, 1
jg 0x401652
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015f1.67
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015f1.67
mov eax, esi
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x401699
mov ecx, dword [eax + 0x470660]
mov dword [eax + 0x470620], ecx
xor ecx, ecx
inc ecx
call fcn.0040143d
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x470660], eax
jmp case.0x4015f1.67
mov ecx, dword [eax + 0x470620]
mov dword [eax + 0x470660], ecx
jmp case.0x4015f1.67
mov esi, dword [ebp - 0x28]
lea esi, [esi*4 + 0x470660]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x30]
jmp 0x402c62
push dword [eax*4 + 0x470660]
jmp 0x402c51
mov ecx, dword [0x468580]
cmp ecx, ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4016ee
push eax
push ecx
call edi
mov esi, dword [ebp - 0x30]
mov eax, dword [0x46856c]
cmp eax, ebx
je case.0x4015f1.67
push esi
push eax
call edi
jmp case.0x4015f1.67
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015f1.67
mov dword [ebp - 4], 1
jmp case.0x4015f1.67
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push eax
mov dword [ebp + 8], eax
call fcn.00405839
mov esi, eax
cmp esi, ebx
je 0x401786
push 0x5c
push esi
call fcn.004057e5
mov esi, eax
movzx edi, word [esi]
push ebx
push dword [ebp + 8]
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40177c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401779
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40177c
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x401741
cmp dword [ebp - 0x2c], ebx
je 0x4017ad
push 0xffffffffffffffe6
call fcn.0040142c
push dword [ebp + 8]
push 0x4c90b0
call fcn.00405ae6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015f1.67
push 0xfffffffffffffff5
call fcn.0040142c
jmp case.0x4015f1.67
xor esi, esi
call fcn.00401453
push eax
call fcn.00405bc4
test eax, eax
je 0x401b95
mov eax, dword [ebp - 0x2c]
jmp 0x402c62
push 0xffffffffffffffd0
pop esi
call fcn.00401453
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401453
push 0x13
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401805
push 0xffffffffffffffe3
jmp 0x4017af
cmp dword [ebp - 0x28], ebx
je 0x40171e
push edi
call fcn.00405bc4
test eax, eax
je 0x40171e
push dword [ebp + 8]
push edi
call fcn.00406547
push 0xffffffffffffffe4
jmp 0x4017af
xor esi, esi
call fcn.00401453
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x2004
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x40186e
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x401878
cmp word [eax], bx
je 0x401878
push esi
call fcn.00405bc4
cmp eax, ebx
je 0x40186e
add eax, 0x2c
push eax
push dword [ebp - 0x10]
call fcn.00405ae6
jmp 0x401878
mov word [edi], bx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], ebx
jne case.0x4015f1.67
push 0x2004
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015f1.67
or esi, 0xffffffff
call fcn.00401453
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015f1.67
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x4015f1.67
push 0xffffffffffffffef
pop esi
call fcn.00401453
push eax
push edi
call fcn.0040595f
jmp 0x401716
push 0x31
pop esi
call fcn.00401453
mov esi, eax
mov eax, dword [ebp - 0x30]
and eax, 7
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], eax
call fcn.00405804
test eax, eax
push esi
mov esi, 0x40a0a8
je 0x401907
push esi
call fcn.00405ae6
jmp 0x40191e
push 0x4c90b0
push esi
call fcn.00405ae6
push eax
call fcn.00406008
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00405b15
mov edi, 0x4120b8
cmp dword [ebp + 8], 3
jl 0x401960
push esi
call fcn.00405bc4
xor ecx, ecx
cmp eax, ebx
je 0x40194b
lea ecx, [ebp - 0x24]
push ecx
add eax, 0x14
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 0x40196b
push esi
call fcn.00405910
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405930
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4019ff
cmp dword [ebp + 8], ebx
jne 0x4019e1
push section..ndata
push edi
call fcn.00405ae6
push esi
push section..ndata
call fcn.00405ae6
push dword [ebp - 0x1c]
push 0x40e0b0
call fcn.004060eb
push edi
push section..ndata
call fcn.00405ae6
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40e0b0
call fcn.00405781
sub eax, 4
je 0x401929
dec eax
je 0x4019f4
push esi
push 0xfffffffffffffffa
jmp 0x401601
push dword [ebp - 0x10]
push 0xffffffffffffffe2
call fcn.00404ac7
cmp dword [ebp + 8], 2
jmp 0x401718
inc dword [0x470668]
jmp 0x402c60
push dword [ebp - 0x10]
push 0xffffffffffffffea
call fcn.00404ac7
inc dword [0x470694]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x28]
call fcn.004030ae
dec dword [0x470694]
cmp dword [ebp - 0x24], 0xffffffff
mov edi, eax
jne 0x401a30
cmp dword [ebp - 0x20], 0xffffffff
je 0x401a3f
lea eax, [ebp - 0x24]
push eax
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015f1.67
cmp edi, 0xfffffffe
jne 0x401a68
push 0xffffffffffffffe9
push esi
call fcn.004060eb
push dword [ebp - 0x10]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401a70
push 0xffffffffffffffee
push esi
call fcn.004060eb
push 0x200010
push esi
call fcn.00405781
jmp 0x401606
xor esi, esi
call fcn.00401453
push dword [ebp - 0x2c]
push eax
call fcn.0040657a
jmp case.0x4015f1.67
push 0x31
pop esi
call fcn.00401453
push dword [ebp - 0x30]
push eax
call fcn.00405781
cmp eax, ebx
je 0x40171e
cmp eax, dword [ebp - 0x28]
jne 0x401abb
mov eax, dword [ebp - 0x24]
jmp 0x402c62
cmp eax, dword [ebp - 0x20]
jne case.0x4015f1.67
mov eax, dword [ebp - 0x1c]
jmp 0x402c62
push 0xfffffffffffffff0
pop esi
jmp 0x401a82
xor esi, esi
inc esi
call fcn.00401453
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402c50
push 2
pop ecx
call fcn.0040143d
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.0040143d
xor esi, esi
inc esi
mov dword [ebp - 8], eax
call fcn.00401453
cmp dword [ebp - 0x28], ebx
mov esi, eax
mov word [edi], bx
je 0x401b15
cmp dword [ebp + 8], ebx
je case.0x4015f1.67
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 8], ebx
jge 0x401b29
add dword [ebp - 8], eax
js case.0x4015f1.67
mov ecx, dword [ebp - 8]
cmp ecx, eax
jle 0x401b32
mov ecx, eax
lea eax, [esi + ecx*2]
push eax
push edi
call fcn.00405ae6
cmp dword [ebp + 8], ebx
je case.0x4015f1.67
jge 0x401b55
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401b55
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0x2004
jge case.0x4015f1.67
mov eax, dword [ebp + 8]
mov word [edi + eax*2], bx
jmp case.0x4015f1.67
push 0x20
pop esi
call fcn.00401453
push 0x31
pop esi
mov edi, eax
call fcn.00401453
cmp dword [ebp - 0x20], ebx
push eax
push edi
jne 0x401b9d
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ab3
mov eax, dword [ebp - 0x28]
jmp 0x402c62
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401b8d
xor esi, esi
inc esi
call fcn.00401453
push 0x2004
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401bd1
cmp dword [ebp - 0x28], ebx
je 0x401bdb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401bdb
mov dword [ebp - 4], 1
mov word [edi], bx
mov word [edi + 0x4006], bx
jmp case.0x4015f1.67
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143d
cmp dword [ebp - 0x1c], ebx
jne 0x401c0f
cmp esi, eax
jl 0x401ab3
jle 0x401b95
mov eax, dword [ebp - 0x20]
jmp 0x402c62
cmp esi, eax
jb 0x401ab3
jbe 0x401b95
jmp 0x401c07
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
call fcn.0040143d
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xc
ja case.default.0x401c3b
jmp dword [eax*4 + 0x402d7f]
add esi, ecx
jmp case.default.0x401c3b
sub esi, ecx
jmp case.default.0x401c3b
imul ecx, esi
mov esi, ecx
jmp case.default.0x401c3b
cmp ecx, ebx
je 0x401c5c
mov eax, esi
cdq
idiv ecx
jmp 0x401c7a
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401c3b
or esi, ecx
jmp case.default.0x401c3b
and esi, ecx
jmp case.default.0x401c3b
xor esi, ecx
jmp case.default.0x401c3b
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401c3b
cmp esi, ebx
jne 0x401c86
cmp ecx, ebx
je 0x401c8f
xor esi, esi
inc esi
jmp case.default.0x401c3b
cmp esi, ebx
jne 0x401c82
xor esi, esi
jmp case.default.0x401c3b
cmp ecx, ebx
je 0x401c5c
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401c3b
shl esi, cl
jmp case.default.0x401c3b
sar esi, cl
push esi
jmp 0x402c51
xor esi, esi
inc esi
call fcn.00401453
push 2
pop ecx
mov esi, eax
call fcn.0040143d
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x4015f1.67
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
mov esi, dword [0x40a0a0]
je 0x401d2b
dec ecx
cmp esi, ebx
je 0x401ceb
cmp ecx, ebx
mov esi, dword [esi]
jne 0x401cdc
cmp esi, ebx
jne 0x401cfe
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004060eb
push eax
jmp 0x401a76
lea edi, [esi + 4]
push edi
mov esi, 0x40a0a8
push esi
call fcn.00405ae6
mov eax, dword [0x40a0a0]
add eax, 4
push eax
push edi
call fcn.00405ae6
mov eax, dword [0x40a0a0]
push esi
add eax, 4
push eax
jmp 0x402a25
cmp eax, ebx
je 0x401d4e
cmp esi, ebx
je 0x40171e
lea eax, [esi + 4]
push eax
push edi
call fcn.00405ae6
mov eax, dword [esi]
mov dword [0x40a0a0], eax
push esi
jmp 0x402143
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004060eb
mov eax, dword [0x40a0a0]
mov dword [esi], eax
mov dword [0x40a0a0], esi
jmp case.0x4015f1.67
push 3
pop ecx
call fcn.0040143d
push 4
pop ecx
mov dword [ebp - 8], eax
call fcn.0040143d
test byte [ebp - 0x1c], 1
mov dword [ebp + 8], eax
je 0x401da2
push 0x33
pop esi
call fcn.00401453
mov dword [ebp - 8], eax
test byte [ebp - 0x1c], 2
je 0x401db3
push 0x44
pop esi
call fcn.00401453
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
jne 0x401e01
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
call fcn.0040143d
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401df1
lea edx, [ebp - 0x10]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401e3c
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e39
xor esi, esi
inc esi
call fcn.00401453
push 0x12
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401453
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0xc]
push ecx
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x30], ebx
jl case.0x4015f1.67
push dword [ebp - 0x10]
jmp 0x402c51
xor ecx, ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4017c6
push 2
pop ecx
call fcn.0040143d
xor ecx, ecx
push eax
inc ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402c50
mov ecx, dword [0x4705e8]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015f1.67
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x28]
push 0x10
push eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x28]
push eax
push ebx
xor esi, esi
call fcn.00401453
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015f1.67
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015f1.67
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.0040143d
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x41e0d0], eax
call fcn.0040143d
push dword [ebp - 0x2c]
mov dword [0x41e0e0], eax
mov al, byte [ebp - 0x20]
mov cl, al
and cl, 1
mov byte [0x41e0e4], cl
mov cl, al
and cl, 2
and al, 4
push 0x41e0ec
mov byte [0x41e0e5], cl
mov byte [0x41e0e6], al
mov byte [0x41e0e7], 1
call fcn.004060eb
push 0x41e0d0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402c50
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143d
cmp dword [ebp - 0x24], ebx
push eax
push esi
jne 0x401f95
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015f1.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015f1.67
xor esi, esi
call fcn.00401453
push 0x31
pop esi
mov edi, eax
call fcn.00401453
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push 0x15
pop esi
mov ebx, eax
call fcn.00401453
push 0xffffffffffffffec
call fcn.0040142c
mov ax, word [ebx]
push dword [ebp - 0x24]
neg ax
push 0x4c90b0
sbb eax, eax
and eax, ebx
push eax
mov ax, word [edi]
push dword [ebp + 8]
neg ax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x4015f1.67
jmp 0x40171e
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404ac7
push esi
call fcn.00405720
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x40171e
cmp dword [ebp - 0x28], ebx
je 0x40207b
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x40204c
push 0xf
call fcn.00405c22
push 0x64
push dword [ebp - 0x10]
call esi
cmp eax, edi
je 0x40203e
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x2c], ebx
jl 0x40206f
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00405a2d
jmp 0x40207b
cmp dword [ebp - 8], ebx
je 0x40207b
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
jmp 0x4026ba
push 2
pop esi
call fcn.00401453
push eax
call fcn.00405bc4
mov esi, eax
cmp esi, ebx
je 0x4020aa
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00405a2d
push dword [esi + 0x18]
jmp 0x402c51
mov eax, dword [ebp + 8]
mov word [edi], bx
mov word [eax], bx
jmp 0x40171e
push 0xffffffffffffffee
pop esi
call fcn.00401453
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0xc], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 8]
mov word [edi], bx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x4015f1.67
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
je case.0x4015f1.67
push eax
push esi
push ebx
push dword [ebp - 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402140
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4082c8
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x402140
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.00405a2d
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00405a2d
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015f1.67
cmp dword [0x470698], ebx
mov dword [ebp - 4], 1
jl 0x40220a
push 0xfffffffffffffff0
pop esi
call fcn.00401453
xor esi, esi
inc esi
mov edi, eax
call fcn.00401453
cmp dword [ebp - 0x20], ebx
mov dword [ebp + 8], eax
je 0x402188
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
jne 0x402198
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x402203
push dword [ebp + 8]
push esi
call fcn.00405c55
mov edi, eax
cmp edi, ebx
je 0x4021e4
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x4021c6
push dword [ebp - 0x28]
call fcn.0040142c
call edi
test eax, eax
je 0x4021ee
mov dword [ebp - 4], 1
jmp 0x4021ee
push section..data
push 0x40a0a0
push section..ndata
push 0x2004
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x4021ee
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404ac7
cmp dword [ebp - 0x24], ebx
jne case.0x4015f1.67
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015f1.67
push 0xfffffffffffffff6
jmp 0x4017af
push 0xffffffffffffffe7
jmp 0x4017af
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401453
push 2
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401453
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401453
push 0x45
pop esi
mov dword [ebp - 8], eax
call fcn.00401453
push dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
call fcn.00405804
test eax, eax
jne 0x40225c
push 0x21
pop esi
call fcn.00401453
lea eax, [ebp + 8]
push eax
push 0x4089e8
push 1
push ebx
push 0x4089f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402339
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408a08
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x40232c
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4c90b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x4022d0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x4022f7
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and edx, esi
push edx
push dword [ebp - 8]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp edi, ebx
jl 0x402323
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jge 0x402347
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4017af
push 0xfffffffffffffff4
jmp 0x4017af
xor esi, esi
call fcn.00401453
push 0x11
pop esi
mov edi, eax
call fcn.00401453
push 0x23
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push edi
mov dword [ebp - 0x18], eax
call fcn.00405bc4
test eax, eax
jne 0x402384
push ebx
push 0xfffffffffffffff9
call fcn.00404ac7
jmp 0x40171e
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 2
call sub.KERNEL32.dll_lstrlenW
mov esi, dword [ebp + 8]
push esi
mov word [edi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [esi + eax*2 + 2], bx
mov eax, dword [ebp - 0x18]
mov cx, word [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x42], eax
mov word [ebp - 0x4c], cx
call fcn.00404ac7
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015f1.67
jmp 0x402377
cmp esi, 0xbadf00d
jne 0x401ceb
inc dword [0x470674]
jmp case.0x4015f1.67
xor edi, edi
cmp esi, ebx
mov dword [ebp + 8], ebx
je 0x402405
xor esi, esi
call fcn.00401453
mov edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x402414
push 0x11
pop esi
call fcn.00401453
mov dword [ebp + 8], eax
cmp dword [ebp - 0x20], ebx
je 0x402423
push 0x22
pop esi
call fcn.00401453
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401453
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401716
mov eax, dword [0x4082c0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4082c4]
xor esi, esi
inc esi
mov dword [ebp - 0x44], eax
call fcn.00401453
push 0x12
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401453
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push eax
push 0x2003
push edi
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4018ae
cmp dword [ebp - 0x20], ebx
jne 0x4024c2
push 2
call fcn.00401544
mov edi, eax
cmp edi, ebx
je 0x40171e
push 0x33
pop esi
call fcn.00401453
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4024ed
push 0x22
pop esi
call fcn.00401453
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jne 0x4024dd
mov ecx, dword [0x470664]
add ecx, 0x80000001
mov edx, dword [ebp - 0x20]
and edx, 2
push edx
push eax
push ecx
call fcn.0040148e
mov esi, eax
cmp esi, ebx
je case.0x4015f1.67
jmp 0x40171e
cmp esi, ebx
je 0x402502
mov edi, esi
jmp 0x40250e
mov edi, dword [0x470664]
add edi, 0x80000001
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
push 2
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401453
push 0x11
pop esi
mov dword [ebp - 0x44], eax
call fcn.00401453
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [0x470690]
push ebx
or ecx, 2
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.0x4015f1.67
cmp dword [ebp + 8], 1
mov edi, 0x4120b8
jne 0x402574
push 0x23
pop esi
call fcn.00401453
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp dword [ebp + 8], 4
jne 0x40258a
push 3
pop ecx
call fcn.0040143d
push 4
mov dword [0x4120b8], eax
pop eax
cmp dword [ebp + 8], 3
jne 0x40259f
push 0xc018
push edi
push ebx
push dword [ebp - 0x24]
call fcn.004030ae
push eax
push edi
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x44]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4025b8
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015f1.67
push 0x20019
call fcn.00401544
push 0x33
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401453
cmp dword [ebp - 0x10], ebx
mov word [edi], bx
je 0x40171e
lea ecx, [ebp - 0xc]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40263e
cmp dword [ebp + 8], 4
je 0x402629
cmp dword [ebp + 8], ecx
je 0x40261a
cmp dword [ebp + 8], 2
jne 0x40263e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov word [edi + eax*2], bx
jmp 0x402644
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405a2d
jmp 0x402644
mov word [edi], bx
mov dword [ebp - 4], ecx
push dword [ebp - 0x10]
jmp 0x4025bb
push 0x20019
call fcn.00401544
push 3
pop ecx
mov esi, eax
call fcn.0040143d
cmp esi, ebx
mov word [edi], bx
je 0x40171e
cmp dword [ebp - 0x20], ebx
mov ecx, 0x2003
mov dword [ebp + 8], ecx
je 0x402684
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40269d
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40171e
mov word [edi + 0x4006], bx
push esi
jmp 0x4025bb
cmp word [edi], bx
je case.0x4015f1.67
push edi
call fcn.00405a46
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015f1.67
push 0xffffffffffffffed
pop esi
call fcn.00401453
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00405930
cmp eax, 0xffffffff
jne 0x402c50
mov word [edi], bx
jmp 0x40171e
push 0x2004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x28], ebx
mov esi, eax
mov dword [ebp + 8], esi
je 0x402710
xor ecx, ecx
inc ecx
call fcn.0040143d
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x40273a
push 0x11
pop esi
call fcn.00401453
push ebx
push ebx
push 0x2004
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40e0b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [edi], bx
je 0x402759
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.00405a46
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402760
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402143
push 2
pop ecx
xor esi, esi
call fcn.0040143d
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015f1.67
mov ecx, 0x2003
cmp eax, ecx
jle 0x40278a
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x402847
push edi
mov byte [ebp - 0x35], bl
call fcn.00405a46
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x402847
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40284a
cmp dword [ebp - 0x18], 1
jne 0x40284a
cmp dword [ebp - 0x24], ebx
jne 0x40280b
push 2
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x35]
cmp al, 0xd
je 0x40281b
cmp al, 0xa
je 0x40281b
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
cmp al, bl
mov byte [ebp - 0x35], al
je 0x40284a
cmp esi, dword [ebp - 0x10]
jl 0x4027ab
jmp 0x40284a
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.00405a2d
jmp 0x402c60
cmp al, byte [ebp + 0xb]
je 0x402837
cmp byte [ebp + 0xb], 0xd
je 0x40282c
cmp byte [ebp + 0xb], 0xa
jne 0x402837
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
inc esi
jmp 0x40284a
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40284a
mov edi, dword [ebp + 8]
mov word [edi + esi*2], bx
cmp esi, ebx
jmp 0x401718
cmp dword [ebp - 0x28], ebx
je 0x40286d
xor ecx, ecx
inc ecx
call fcn.0040143d
mov word [0x40e0b0], ax
xor eax, eax
inc eax
jmp 0x40287b
push 0x11
pop esi
call fcn.00401453
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], bx
je 0x40171e
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40e0b0
push edi
call fcn.00405a46
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401716
push 2
pop ecx
xor esi, esi
call fcn.0040143d
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015f1.67
mov ecx, 0x2003
cmp eax, ecx
jle 0x4028c5
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x402847
push edi
mov dword [ebp - 8], ebx
call fcn.00405a46
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x402847
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40284a
cmp dword [ebp - 0x18], 2
jne 0x40284a
cmp dword [ebp - 0x24], ebx
jne 0x402941
cmp word [ebp - 8], 0xd
je 0x40294a
cmp word [ebp - 8], 0xa
je 0x40294a
mov ax, word [ebp + 8]
movzx ecx, ax
mov word [edi + esi*2], ax
inc esi
cmp ax, bx
mov dword [ebp - 8], ecx
je 0x40284a
cmp esi, dword [ebp - 0x10]
jl 0x4028e6
jmp 0x40284a
movzx eax, word [ebp + 8]
jmp 0x40280f
mov ax, word [ebp + 8]
cmp word [ebp - 8], ax
je 0x402968
cmp ax, 0xd
je 0x402830
cmp ax, 0xa
je 0x402830
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x40283c
cmp word [edi], bx
je case.0x4015f1.67
push dword [ebp - 0x24]
push ebx
push 2
pop ecx
call fcn.0040143d
push eax
push edi
call fcn.00405a46
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x4015f1.67
push eax
push dword [ebp + 8]
jmp 0x402c52
cmp word [edi], bx
je case.0x4015f1.67
push edi
call fcn.00405a46
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015f1.67
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4018b6
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp + 8]
call fcn.00405a46
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4018b6
jmp 0x402a1d
push 2
pop esi
call fcn.00401453
lea ecx, [ebp - 0x2ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402a14
mov eax, dword [ebp + 8]
mov word [eax], bx
jmp 0x4026e2
push eax
push dword [ebp + 8]
call fcn.00405a2d
lea eax, [ebp - 0x280]
push eax
push edi
call fcn.00405ae6
jmp case.0x4015f1.67
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 0x10], 0xfffffd66
call fcn.00401453
mov edi, eax
push edi
mov dword [ebp - 0x44], edi
call fcn.00405804
test eax, eax
jne 0x402a55
push 0xffffffffffffffed
pop esi
call fcn.00401453
push edi
call fcn.00405910
push 2
push 0x40000000
push edi
call fcn.00405930
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402b11
mov eax, dword [0x47060c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0xc], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402b08
push ebx
call fcn.00402f19
push dword [ebp - 0xc]
push edi
call fcn.00402ee7
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x402ae0
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.004030ae
jmp 0x402ad3
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x14], ecx
call fcn.004058ec
add esi, dword [ebp - 0x14]
cmp byte [esi], bl
jne 0x402abb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004030ae
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402b2c
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4017af
xor ecx, ecx
call fcn.0040143d
mov edi, eax
cmp edi, dword [0x4705cc]
jae 0x40171e
mov eax, dword [ebp - 0x28]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x4705c8]
cmp eax, ebx
jl 0x402b73
mov ecx, dword [esi + eax*4]
jne 0x402b6d
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402a25
push ecx
jmp 0x40299f
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402b8a
xor ecx, ecx
inc ecx
call fcn.0040143d
mov dword [ebp - 0x2c], eax
jmp 0x402b9d
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.004060eb
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x4015f1.67
push edi
call fcn.0040117d
jmp case.0x4015f1.67
xor ecx, ecx
call fcn.0040143d
cmp eax, 0x20
jae 0x40171e
cmp dword [ebp - 0x24], ebx
je 0x402bee
cmp dword [ebp - 0x28], ebx
je 0x402be3
push eax
call fcn.0040129d
push ebx
push ebx
call fcn.004011ef
jmp case.0x4015f1.67
push ebx
call fcn.004012e8
jmp 0x40299e
cmp dword [ebp - 0x28], ebx
je 0x402c05
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x4705bc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015f1.67
mov ecx, dword [0x4705bc]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.004060eb
jmp case.0x4015f1.67
mov eax, dword [0x45625c]
push ebx
and eax, esi
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x4015f1.67
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015f1.67
xor esi, esi
inc esi
call fcn.00401453
push eax
call fcn.00405c9c
push eax
push edi
call fcn.00405a2d
mov eax, dword [ebp - 4]
add dword [0x470668], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4