Function at 0x40159b
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, 0x2bc
mov eax, dword [0x42b844]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 8], eax
push 7
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ecx, section..soy3o
shl eax, 0xb
add eax, ecx
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
shl edi, 0xb
mov dword [ebp - 4], ebx
add edi, ecx
mov dword [0x40b0c4], eax
call fcn.00406111
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
cmp eax, 0x46
ja case.0x4015f3.69
jmp dword [eax*4 + 0x402ce7]
mov eax, dword [ebp - 0x2c]
jmp 0x402cde
push ebx
push dword [ebp - 0x2c]
call fcn.00404b98
mov eax, 0x7fffffff
jmp 0x402cde
inc dword [0x42a814]
cmp dword [ebp - 8], ebx
je 0x40160b
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40160b
push dword [ebp - 0x2c]
call fcn.0040137b
dec eax
push ebx
push eax
call fcn.00401397
jmp 0x402cde
push ebx
push dword [ebp - 0x2c]
call fcn.00404b98
jmp case.0x4015f3.69
xor ecx, ecx
call fcn.00401442
cmp eax, 1
jg 0x40165b
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015f3.69
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015f3.69
mov eax, dword [ebp - 0x2c]
shl eax, 2
cmp dword [ebp - 0x24], ebx
jne 0x4016a3
mov ecx, dword [eax + 0x42b900]
mov dword [eax + 0x42b8c0], ecx
xor ecx, ecx
inc ecx
call fcn.00401442
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x42b900], eax
jmp case.0x4015f3.69
mov ecx, dword [eax + 0x42b8c0]
mov dword [eax + 0x42b900], ecx
jmp case.0x4015f3.69
mov esi, dword [ebp - 0x24]
lea esi, [esi*4 + 0x42b900]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x20]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x2c]
jmp 0x402cde
mov eax, dword [ebp - 0x28]
push dword [eax*4 + 0x42b900]
jmp 0x402ccd
mov eax, dword [0x42a820]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x4016f9
push dword [ebp - 0x28]
push eax
call esi
mov eax, dword [0x42a80c]
cmp eax, ebx
je case.0x4015f3.69
push dword [ebp - 0x2c]
push eax
call esi
jmp case.0x4015f3.69
push 0xfffffffffffffff0
pop esi
call fcn.00401458
push dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015f3.69
mov dword [ebp - 4], 1
jmp case.0x4015f3.69
push 0xfffffffffffffff0
pop esi
call fcn.00401458
push eax
mov dword [ebp + 8], eax
call fcn.00405887
mov esi, eax
cmp esi, ebx
je 0x401795
push 0x5c
push esi
call fcn.00405833
mov esi, eax
movzx edi, word [esi]
push ebx
push dword [ebp + 8]
xor eax, eax
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40178b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401788
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40178b
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x40174e
cmp dword [ebp - 0x28], ebx
je 0x4017bc
push 0xffffffffffffffe6
call fcn.00401431
push dword [ebp + 8]
push 0x44d000
call fcn.00405a3b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015f3.69
push 0xfffffffffffffff5
call fcn.00401431
jmp case.0x4015f3.69
xor esi, esi
call fcn.00401458
push eax
call fcn.00405a6a
test eax, eax
je 0x401bac
mov eax, dword [ebp - 0x28]
jmp 0x402cde
push 0xffffffffffffffd0
pop esi
call fcn.00401458
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401458
push 0x13
pop esi
mov dword [ebp + 8], eax
call fcn.00401458
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401814
push 0xffffffffffffffe3
jmp 0x4017be
cmp dword [ebp - 0x24], ebx
je 0x40172b
push edi
call fcn.00405a6a
test eax, eax
je 0x40172b
push dword [ebp + 8]
push edi
call fcn.00406945
push 0xffffffffffffffe4
jmp 0x4017be
xor esi, esi
call fcn.00401458
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x40187d
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x401889
cmp word [eax], bx
je 0x401889
push esi
call fcn.00405a6a
cmp eax, ebx
je 0x40187d
add eax, 0x2c
push eax
push dword [ebp - 0x10]
call fcn.00405a3b
jmp 0x401889
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], ebx
jne case.0x4015f3.69
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015f3.69
or esi, 0xffffffff
call fcn.00401458
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015f3.69
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
jmp case.0x4015f3.69
push 0xffffffffffffffef
pop esi
call fcn.00401458
push eax
push edi
call fcn.00406353
jmp 0x401723
push 0x31
pop esi
call fcn.00401458
mov esi, eax
mov eax, dword [ebp - 0x2c]
and eax, 7
push esi
mov dword [ebp - 8], esi
mov dword [ebp + 8], eax
call fcn.00405852
push esi
mov esi, 0x40b0c8
test eax, eax
je 0x40191a
push esi
call fcn.00405a3b
jmp 0x401931
push 0x44d000
push esi
call fcn.00405a3b
push eax
call fcn.00406235
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004063ac
mov edi, 0x40c0c8
cmp dword [ebp + 8], 3
jl 0x401973
push esi
call fcn.00405a6a
xor ecx, ecx
cmp eax, ebx
je 0x40195e
lea ecx, [ebp - 0x20]
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 0x40197e
push esi
call fcn.004058e4
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.0040631a
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x401a12
cmp dword [ebp + 8], ebx
jne 0x4019f4
push section..soy3o
push edi
call fcn.00405a3b
push esi
push section..soy3o
call fcn.00405a3b
push dword [ebp - 0x18]
push 0x40b8c8
call fcn.004064e7
push edi
push section..soy3o
call fcn.00405a3b
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40b8c8
call fcn.004061c1
sub eax, 4
je 0x40193c
dec eax
je 0x401a07
push esi
push 0xfffffffffffffffa
jmp 0x401606
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00404b98
cmp dword [ebp + 8], 2
jmp 0x401725
inc dword [0x42b908]
jmp 0x402cdc
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00404b98
inc dword [0x42b934]
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.00402f77
dec dword [0x42b934]
cmp dword [ebp - 0x20], 0xffffffff
mov edi, eax
jne 0x401a43
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401a52
lea eax, [ebp - 0x20]
push eax
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015f3.69
cmp edi, 0xfffffffe
jne 0x401a7b
push 0xffffffffffffffe9
push esi
call fcn.004064e7
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401a83
push 0xffffffffffffffee
push esi
call fcn.004064e7
push 0x200010
push esi
call fcn.004061c1
jmp 0x40160b
xor esi, esi
call fcn.00401458
push dword [ebp - 0x28]
push eax
call fcn.00406978
jmp case.0x4015f3.69
push 0x31
pop esi
call fcn.00401458
push dword [ebp - 0x2c]
push eax
call fcn.004061c1
cmp eax, ebx
je 0x40172b
cmp eax, dword [ebp - 0x24]
jne 0x401ace
mov eax, dword [ebp - 0x20]
jmp 0x402cde
cmp eax, dword [ebp - 0x1c]
jne case.0x4015f3.69
mov eax, dword [ebp - 0x18]
jmp 0x402cde
push 0xfffffffffffffff0
pop esi
jmp 0x401a95
xor esi, esi
inc esi
call fcn.00401458
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402ccc
push 2
pop ecx
call fcn.00401442
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401442
xor esi, esi
inc esi
mov dword [ebp - 8], eax
call fcn.00401458
mov esi, eax
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x24], ebx
je 0x401b2a
cmp dword [ebp + 8], ebx
je case.0x4015f3.69
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 8], ebx
jge 0x401b3e
add dword [ebp - 8], eax
js case.0x4015f3.69
mov ecx, dword [ebp - 8]
cmp ecx, eax
jle 0x401b47
mov ecx, eax
lea eax, [esi + ecx*2]
push eax
push edi
call fcn.00405a3b
cmp dword [ebp + 8], ebx
je case.0x4015f3.69
jge 0x401b6a
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401b6a
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0x400
jge case.0x4015f3.69
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [edi + ecx*2], ax
jmp case.0x4015f3.69
push 0x20
pop esi
call fcn.00401458
push 0x31
pop esi
mov edi, eax
call fcn.00401458
push eax
push edi
cmp dword [ebp - 0x1c], ebx
jne 0x401bb4
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ac6
mov eax, dword [ebp - 0x24]
jmp 0x402cde
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401ba4
xor esi, esi
inc esi
call fcn.00401458
push 0x400
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401be8
cmp dword [ebp - 0x24], ebx
je 0x401bf4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401bf4
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
xor eax, eax
mov word [edi + 0x7fe], ax
jmp case.0x4015f3.69
xor ecx, ecx
call fcn.00401442
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401442
cmp dword [ebp - 0x18], ebx
jne 0x401c2a
cmp esi, eax
jl 0x401ac6
jle 0x401bac
mov eax, dword [ebp - 0x1c]
jmp 0x402cde
cmp esi, eax
jb 0x401ac6
jbe 0x401bac
jmp 0x401c22
xor ecx, ecx
inc ecx
call fcn.00401442
push 2
pop ecx
mov esi, eax
call fcn.00401442
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401c56
jmp dword [eax*4 + 0x402e03]
add esi, ecx
jmp case.default.0x401c56
sub esi, ecx
jmp case.default.0x401c56
imul ecx, esi
mov esi, ecx
jmp case.default.0x401c56
cmp ecx, ebx
je 0x401c77
mov eax, esi
cdq
idiv ecx
jmp 0x401c95
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401c56
or esi, ecx
jmp case.default.0x401c56
and esi, ecx
jmp case.default.0x401c56
xor esi, ecx
jmp case.default.0x401c56
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401c56
cmp esi, ebx
jne 0x401ca1
cmp ecx, ebx
je 0x401caa
xor esi, esi
inc esi
jmp case.default.0x401c56
cmp esi, ebx
jne 0x401c9d
xor esi, esi
jmp case.default.0x401c56
cmp ecx, ebx
je 0x401c77
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401c56
shl esi, cl
jmp case.default.0x401c56
sar esi, cl
push esi
jmp 0x402ccd
xor esi, esi
inc esi
call fcn.00401458
push 2
pop ecx
mov esi, eax
call fcn.00401442
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x4015f3.69
mov eax, dword [ebp - 0x24]
mov esi, dword [0x40b0c0]
cmp eax, ebx
je 0x401d46
dec eax
cmp esi, ebx
je 0x401d06
mov esi, dword [esi]
cmp eax, ebx
jne 0x401cf7
cmp esi, ebx
jne 0x401d19
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004064e7
push eax
jmp 0x401a89
lea edi, [esi + 4]
push edi
mov esi, 0x40b0c8
push esi
call fcn.00405a3b
mov eax, dword [0x40b0c0]
add eax, 4
push eax
push edi
call fcn.00405a3b
mov eax, dword [0x40b0c0]
push esi
add eax, 4
push eax
jmp 0x402a95
cmp dword [ebp - 0x28], ebx
je 0x401d6a
cmp esi, ebx
je 0x40172b
lea eax, [esi + 4]
push eax
push edi
call fcn.00405a3b
mov eax, dword [esi]
mov dword [0x40b0c0], eax
push esi
jmp 0x402165
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004064e7
mov eax, dword [0x40b0c0]
mov dword [esi], eax
mov dword [0x40b0c0], esi
jmp case.0x4015f3.69
push 3
pop ecx
call fcn.00401442
push 4
pop ecx
mov dword [ebp - 8], eax
call fcn.00401442
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401dbe
push 0x33
pop esi
call fcn.00401458
mov dword [ebp - 8], eax
test byte [ebp - 0x18], 2
je 0x401dcf
push 0x44
pop esi
call fcn.00401458
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
jne 0x401e1f
xor ecx, ecx
inc ecx
call fcn.00401442
push 2
pop ecx
mov esi, eax
call fcn.00401442
mov ecx, dword [ebp - 0x18]
sar ecx, 2
cmp ecx, ebx
je 0x401e0f
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 0x401e58
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e55
xor esi, esi
inc esi
call fcn.00401458
push 0x12
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401458
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0xc]
push ecx
movzx ecx, word [eax]
neg ecx
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 - 0x2c], ebx
jl case.0x4015f3.69
push dword [ebp - 0x10]
jmp 0x402ccd
xor ecx, ecx
call fcn.00401442
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4017d5
push 2
pop ecx
call fcn.00401442
xor ecx, ecx
push eax
inc ecx
call fcn.00401442
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402ccc
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x42b888]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401442
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015f3.69
push dword [ebp - 0x28]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x24]
push 0x10
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x24]
push eax
push ebx
xor esi, esi
call fcn.00401458
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.0x4015f3.69
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015f3.69
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.00401442
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40d8c8], eax
call fcn.00401442
push dword [ebp - 0x28]
mov dword [0x40d8d8], eax
mov al, byte [ebp - 0x1c]
mov cl, al
and cl, 1
mov byte [0x40d8dc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40d8e4
mov byte [0x40d8dd], cl
mov byte [0x40d8de], al
mov byte [0x40d8df], 1
call fcn.004064e7
push 0x40d8c8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402ccc
xor ecx, ecx
call fcn.00401442
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401442
push eax
push esi
cmp dword [ebp - 0x20], ebx
jne 0x401fb5
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015f3.69
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015f3.69
xor esi, esi
call fcn.00401458
push 0x31
pop esi
mov edi, eax
call fcn.00401458
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401458
push 0x15
pop esi
mov ebx, eax
call fcn.00401458
push 0xffffffffffffffec
call fcn.00401431
movzx eax, word [ebx]
push dword [ebp - 0x20]
neg eax
sbb eax, eax
and eax, ebx
push 0x44d000
push eax
movzx eax, word [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x4015f3.69
jmp 0x40172b
xor esi, esi
call fcn.00401458
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404b98
push esi
call fcn.0040617d
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40172b
cmp dword [ebp - 0x24], ebx
je 0x402099
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x40206a
push 0xf
call fcn.00405ac8
push 0x64
push dword [ebp - 0x10]
call esi
cmp eax, edi
je 0x40205c
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x40208d
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00405982
jmp 0x402099
cmp dword [ebp - 8], ebx
je 0x402099
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
jmp 0x402726
push 2
pop esi
call fcn.00401458
push eax
call fcn.00405a6a
mov esi, eax
cmp esi, ebx
je 0x4020c8
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00405982
push dword [esi + 0x18]
jmp 0x402ccd
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [edi], ax
mov word [ecx], ax
jmp 0x40172b
push 0xffffffffffffffee
pop esi
call fcn.00401458
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0xc], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, dword [ebp + 8]
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ecx], ax
mov dword [ebp - 4], 1
cmp esi, ebx
je case.0x4015f3.69
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp eax, ebx
je case.0x4015f3.69
push eax
push esi
push ebx
push dword [ebp - 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402162
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4092e0
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x402162
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.00405982
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00405982
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015f3.69
push 0x11
pop esi
call fcn.00401458
push 0x400
push edi
push eax
call fcn.00406e7d
add esp, 0xc
jmp 0x401723
push 0x11
pop esi
call fcn.00401458
push 0x400
push edi
push eax
call fcn.00406eef
jmp 0x402184
cmp dword [0x42b938], ebx
mov dword [ebp - 4], 1
jl 0x40226c
push 0xfffffffffffffff0
pop esi
call fcn.00401458
xor esi, esi
inc esi
mov edi, eax
call fcn.00401458
mov dword [ebp + 8], eax
cmp dword [ebp - 0x1c], ebx
je 0x4021dc
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
jne 0x4021ec
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x402265
push dword [ebp + 8]
push esi
call fcn.00405afb
mov edi, eax
cmp edi, ebx
je 0x402238
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], ebx
je 0x40221a
push dword [ebp - 0x24]
call fcn.00401431
call edi
test eax, eax
je 0x402242
mov dword [ebp - 4], 1
jmp 0x402242
push section..data
push 0x40b0c0
push section..soy3o
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x402242
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404b98
cmp dword [ebp - 0x20], ebx
jne case.0x4015f3.69
push esi
call fcn.0040396b
test eax, eax
je case.0x4015f3.69
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015f3.69
push 0xfffffffffffffff6
jmp 0x4017be
push 0xffffffffffffffe7
jmp 0x4017be
push 0xfffffffffffffff0
pop esi
call fcn.00401458
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401458
push 2
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401458
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x4c], eax
call fcn.00401458
push 0x45
pop esi
mov dword [ebp - 8], eax
call fcn.00401458
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call fcn.00405852
test eax, eax
jne 0x4022be
push 0x21
pop esi
call fcn.00401458
lea eax, [ebp + 8]
push eax
push 0x409774
push 1
push ebx
push 0x409794
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40239b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x409784
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x40238e
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 0x44d000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x402332
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x1c]
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 0x402359
mov edx, dword [ebp - 0x1c]
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 - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp edi, ebx
jl 0x402385
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x3c]
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 0x4023a9
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4017be
push 0xfffffffffffffff4
jmp 0x4017be
xor esi, esi
call fcn.00401458
push 0x11
pop esi
mov edi, eax
call fcn.00401458
push 0x23
pop esi
mov dword [ebp + 8], eax
call fcn.00401458
push edi
mov dword [ebp - 0x3c], eax
call fcn.00405a6a
test eax, eax
jne 0x4023e6
push ebx
push 0xfffffffffffffff9
call fcn.00404b98
jmp 0x40172b
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 2
call sub.KERNEL32.dll_lstrlenW
mov esi, dword [ebp + 8]
xor ecx, ecx
push esi
mov word [edi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [esi + eax*2 + 2], cx
mov eax, dword [ebp - 0x3c]
mov cx, word [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x52], eax
mov word [ebp - 0x5c], cx
call fcn.00404b98
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015f3.69
jmp 0x4023d9
cmp dword [ebp - 0x2c], 0xbadf00d
jne 0x401d06
inc dword [0x42b914]
jmp case.0x4015f3.69
xor edi, edi
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x2c], ebx
je 0x40246b
xor esi, esi
call fcn.00401458
mov dword [ebp + 8], eax
cmp dword [ebp - 0x28], ebx
je 0x40247a
push 0x11
pop esi
call fcn.00401458
mov edi, eax
cmp dword [ebp - 0x1c], ebx
je 0x402489
push 0x22
pop esi
call fcn.00401458
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401458
push eax
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401723
mov eax, dword [0x4092d8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4092dc]
xor esi, esi
inc esi
mov dword [ebp - 0x3c], eax
call fcn.00401458
push 0x12
pop esi
mov ebx, eax
call fcn.00401458
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.00401458
push eax
push 0x3ff
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4018bf
cmp dword [ebp - 0x1c], ebx
jne 0x402525
push 2
call fcn.00401546
mov edi, eax
cmp edi, ebx
je 0x40172b
push 0x33
pop esi
call fcn.00401458
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402550
push 0x22
pop esi
call fcn.00401458
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
jne 0x402540
mov ecx, dword [0x42b904]
add ecx, 0x80000001
mov edx, dword [ebp - 0x1c]
and edx, 2
push edx
push eax
push ecx
call fcn.00401490
mov esi, eax
cmp esi, ebx
je case.0x4015f3.69
jmp 0x40172b
mov edi, dword [ebp - 0x2c]
cmp edi, ebx
jne 0x402570
mov edi, dword [0x42b904]
add edi, 0x80000001
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
push 2
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401458
push 0x11
pop esi
mov dword [ebp - 0x38], eax
call fcn.00401458
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [0x42b930]
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.0x4015f3.69
cmp dword [ebp + 8], 1
mov edi, 0x40c0c8
jne 0x4025d6
push 0x23
pop esi
call fcn.00401458
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp dword [ebp + 8], 4
jne 0x4025ec
push 3
pop ecx
call fcn.00401442
push 4
mov dword [0x40c0c8], eax
pop eax
cmp dword [ebp + 8], 3
jne 0x402601
push 0x1800
push edi
push ebx
push dword [ebp - 0x20]
call fcn.00402f77
push eax
push edi
push dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40261a
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015f3.69
push 0x20019
call fcn.00401546
push 0x33
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401458
xor ecx, ecx
mov word [edi], cx
cmp dword [ebp - 0x10], ebx
je 0x40172b
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], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4026a4
cmp dword [ebp + 8], 4
je 0x40268f
cmp dword [ebp + 8], ecx
je 0x40267e
cmp dword [ebp + 8], 2
jne 0x4026a4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x4026ac
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405982
jmp 0x4026ac
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], ecx
push dword [ebp - 0x10]
jmp 0x40261d
push 0x20019
call fcn.00401546
push 3
pop ecx
mov esi, eax
call fcn.00401442
xor ecx, ecx
mov word [edi], cx
cmp esi, ebx
je 0x40172b
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x1c], ebx
je 0x4026ee
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402707
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 0x40172b
xor eax, eax
mov word [edi + 0x7fe], ax
push esi
jmp 0x40261d
cmp word [edi], bx
je case.0x4015f3.69
push edi
call fcn.0040599b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015f3.69
push 0xffffffffffffffed
pop esi
call fcn.00401458
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.0040631a
cmp eax, 0xffffffff
jne 0x402ccc
xor eax, eax
mov word [edi], ax
jmp 0x40172b
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp + 8], esi
cmp dword [ebp - 0x24], ebx
je 0x40277e
xor ecx, ecx
inc ecx
call fcn.00401442
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x4027a8
push 0x11
pop esi
call fcn.00401458
push ebx
push ebx
push 0x400
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40b8c8
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 0x4027c7
push ebx
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.0040599b
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4027ce
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402165
push 2
pop ecx
xor esi, esi
call fcn.00401442
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015f3.69
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4027f8
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x4028b5
push edi
mov byte [ebp - 0x31], bl
call fcn.0040599b
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x4028b5
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x3c]
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 0x4028b8
cmp dword [ebp - 0x3c], 1
jne 0x4028b8
cmp dword [ebp - 0x20], ebx
jne 0x402879
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 - 0x31]
cmp al, 0xd
je 0x402889
cmp al, 0xa
je 0x402889
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
mov byte [ebp - 0x31], al
cmp al, bl
je 0x4028b8
cmp esi, dword [ebp - 0x10]
jl 0x402819
jmp 0x4028b8
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.00405982
jmp 0x402cdc
cmp al, byte [ebp + 0xb]
je 0x4028a5
cmp byte [ebp + 0xb], 0xd
je 0x40289a
cmp byte [ebp + 0xb], 0xa
jne 0x4028a5
mov ax, word [ebp - 8]
mov word [edi + esi*2], ax
inc esi
jmp 0x4028b8
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4028b8
mov edi, dword [ebp + 8]
xor eax, eax
mov word [edi + esi*2], ax
cmp esi, ebx
jmp 0x401725
cmp dword [ebp - 0x24], ebx
je 0x4028dd
xor ecx, ecx
inc ecx
call fcn.00401442
mov word [0x40b8c8], ax
xor eax, eax
inc eax
jmp 0x4028eb
push 0x11
pop esi
call fcn.00401458
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], bx
je 0x40172b
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40b8c8
push edi
call fcn.0040599b
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401723
push 2
pop ecx
xor esi, esi
call fcn.00401442
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015f3.69
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402935
mov dword [ebp - 0x10], ecx
cmp word [edi], bx
je 0x4028b5
push edi
mov dword [ebp - 8], ebx
call fcn.0040599b
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
jle 0x4028b5
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x3c]
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 0x4028b8
cmp dword [ebp - 0x3c], 2
jne 0x4028b8
cmp dword [ebp - 0x20], ebx
jne 0x4029b1
cmp word [ebp - 8], 0xd
je 0x4029ba
cmp word [ebp - 8], 0xa
je 0x4029ba
mov ax, word [ebp + 8]
movzx ecx, ax
mov word [edi + esi*2], ax
inc esi
mov dword [ebp - 8], ecx
cmp ax, bx
je 0x4028b8
cmp esi, dword [ebp - 0x10]
jl 0x402956
jmp 0x4028b8
movzx eax, word [ebp + 8]
jmp 0x40287d
mov ax, word [ebp + 8]
cmp word [ebp - 8], ax
je 0x4029d8
cmp ax, 0xd
je 0x40289e
cmp ax, 0xa
je 0x40289e
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x4028aa
cmp word [edi], bx
je case.0x4015f3.69
push dword [ebp - 0x20]
push ebx
push 2
pop ecx
call fcn.00401442
push eax
push edi
call fcn.0040599b
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x4015f3.69
push eax
push dword [ebp + 8]
jmp 0x402cce
cmp word [edi], bx
je case.0x4015f3.69
push edi
call fcn.0040599b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015f3.69
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4018c7
lea ecx, [ebp - 0x2bc]
push ecx
push eax
call fcn.0040599b
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4018c7
jmp 0x402a8d
push 2
pop esi
call fcn.00401458
lea ecx, [ebp - 0x2bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402a84
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
jmp 0x40274e
push eax
push dword [ebp + 8]
call fcn.00405982
lea eax, [ebp - 0x290]
push eax
push edi
call fcn.00405a3b
jmp case.0x4015f3.69
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 0x10], 0xfffffd66
call fcn.00401458
mov edi, eax
push edi
mov dword [ebp - 0x38], edi
call fcn.00405852
test eax, eax
jne 0x402ac5
push 0xffffffffffffffed
pop esi
call fcn.00401458
push edi
call fcn.004058e4
push 0x200010
push edi
call fcn.004061c1
push 2
push 0x40000000
push edi
call fcn.0040631a
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402b8c
mov eax, dword [0x42b8ac]
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 0x402b83
push ebx
call fcn.00402f5a
push dword [ebp - 0xc]
push edi
call fcn.00402f21
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp esi, ebx
je 0x402b5b
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.00402f77
jmp 0x402b4e
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.004062ed
add esi, dword [ebp - 0x14]
cmp byte [esi], bl
jne 0x402b36
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x4c]
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.00402f77
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 0x402ba7
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4017be
xor ecx, ecx
call fcn.00401442
mov edi, eax
cmp edi, dword [0x42b86c]
jae 0x40172b
mov eax, dword [ebp - 0x24]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x42b868]
cmp eax, ebx
jl 0x402bee
mov ecx, dword [esi + eax*4]
jne 0x402be8
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402a95
push ecx
jmp 0x402a0f
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x402c05
xor ecx, ecx
inc ecx
call fcn.00401442
mov dword [ebp - 0x28], eax
jmp 0x402c18
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.004064e7
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], ebx
je case.0x4015f3.69
push edi
call fcn.00401185
jmp case.0x4015f3.69
xor ecx, ecx
call fcn.00401442
cmp eax, 0x20
jae 0x40172b
cmp dword [ebp - 0x20], ebx
je 0x402c69
cmp dword [ebp - 0x24], ebx
je 0x402c5e
push eax
call fcn.004012a5
push ebx
push ebx
call fcn.004011f7
jmp case.0x4015f3.69
push ebx
call fcn.004012f0
jmp 0x402a0e
cmp dword [ebp - 0x24], ebx
je 0x402c80
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x42b84c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015f3.69
mov ecx, dword [0x42b84c]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.004064e7
jmp case.0x4015f3.69
mov eax, dword [0x426204]
and eax, dword [ebp - 0x2c]
push ebx
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x2c], ebx
je case.0x4015f3.69
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015f3.69
xor esi, esi
inc esi
call fcn.00401458
push eax
call fcn.00405b42
push eax
push edi
call fcn.00405982
mov eax, dword [ebp - 4]
add dword [0x42b908], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4