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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x429a28]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xb
add ecx, esi
mov edi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x30]
shl edi, 0xb
mov dword [0x40ce24], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.66
jmp dword [ecx*4 + 0x402c41]
push ebx
push eax
call fcn.004055a6
jmp 0x4023a2
inc dword [0x4289ec]
cmp dword [ebp - 8], ebx
je 0x4023a2
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4023a2
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.004055a6
jmp case.0x40148a.66
push ebx
call fcn.00402d89
cmp eax, 1
pop ecx
mov dword [ebp - 0x10], edx
jg 0x4014e9
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40148a.66
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40148a.66
cmp dword [ebp - 0x28], ebx
jg 0x401533
jne 0x401519
shl eax, 2
mov ecx, dword [eax + 0x429aa0]
mov dword [eax + 0x429b00], ecx
push 1
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x429aa0], eax
jmp case.0x40148a.66
shl eax, 2
mov ecx, dword [eax + 0x429b00]
mov dword [eax + 0x429aa0], ecx
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x429aa0]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [esi], ecx
jmp case.0x40148a.2
mov eax, dword [ebp - 0x2c]
push dword [eax*4 + 0x429aa0]
push edi
jmp 0x402ba9
mov ecx, dword [0x4289f0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x401591
push dword [ebp - 0x2c]
push ecx
call esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x428a04]
cmp ecx, ebx
je case.0x40148a.66
push eax
push ecx
call esi
jmp case.0x40148a.66
push 0xfffffffffffffff0
call fcn.00402dab
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.66
jmp 0x402933
push 0xfffffffffffffff0
call fcn.00402dab
push eax
mov dword [ebp + 8], eax
call fcn.00405e9b
mov esi, eax
cmp esi, ebx
je 0x401636
push 0x5c
push esi
call fcn.00405e1d
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401609
cmp dword [ebp - 0x28], ebx
je 0x401609
call fcn.00405aec
test eax, eax
je 0x401609
push dword [ebp + 8]
call fcn.00405a75
jmp 0x401611
push dword [ebp + 8]
call fcn.00405acf
cmp eax, ebx
je 0x40162c
cmp eax, 0xb7
jne 0x401629
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40162c
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015dc
cmp dword [ebp - 0x2c], ebx
je 0x401668
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x435000
call fcn.00406521
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40148a.66
inc dword [ebp - 4]
jmp case.0x40148a.66
push 0xfffffffffffffff5
jmp 0x4022f6
push ebx
call fcn.00402dab
push eax
call fcn.0040687e
jmp 0x401d2d
push 0xffffffffffffffd0
call fcn.00402dab
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402dab
push 0x13
mov edi, eax
call fcn.00402dab
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016ac
push 0xffffffffffffffe3
jmp 0x4022f6
cmp dword [ebp - 0x28], ebx
je 0x402933
push esi
call fcn.0040687e
test eax, eax
je 0x402933
push edi
push esi
call fcn.004062e1
push 0xffffffffffffffe4
jmp 0x4022f6
push ebx
call fcn.00402dab
mov edi, dword [ebp - 0xc]
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401715
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40171f
cmp word [eax], bx
je 0x40171f
push esi
call fcn.0040687e
cmp eax, ebx
je 0x401715
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00406521
jmp 0x40171f
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x28], ebx
jne case.0x40148a.66
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40148a.66
push 0xffffffffffffffff
call fcn.00402dab
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.0x40148a.66
jmp 0x402901
push 0xffffffffffffffef
call fcn.00402dab
push eax
push edi
call fcn.00406040
jmp 0x4015b9
push 0x31
call fcn.00402dab
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405e67
push dword [ebp - 8]
mov edi, 0x40a5c8
test eax, eax
je 0x4017a3
push edi
call fcn.00406521
jmp 0x4017ba
push 0x435000
push edi
call fcn.00406521
push eax
call fcn.00405df0
push eax
call fcn.0040653d
push edi
call fcn.004067cf
cmp dword [ebp + 8], 3
jl 0x4017f7
push edi
call fcn.0040687e
xor ecx, ecx
cmp eax, ebx
je 0x4017e2
lea ecx, [ebp - 0x24]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x401802
push edi
call fcn.00405fec
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406011
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x401892
cmp dword [ebp + 8], ebx
jne 0x401874
push esi
push 0x40b5c8
call fcn.00406521
push edi
push esi
call fcn.00406521
push dword [ebp - 0x1c]
push 0x40adc8
call fcn.0040655e
push 0x40b5c8
push esi
call fcn.00406521
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40adc8
call fcn.00405b81
sub eax, 4
je 0x4017c0
dec eax
je 0x401887
push edi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.004055a6
cmp dword [ebp + 8], 2
jmp 0x4015bb
inc dword [0x429aa8]
jmp 0x402c38
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.004055a6
inc dword [0x429ad4]
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.004032b9
dec dword [0x429ad4]
cmp dword [ebp - 0x24], 0xffffffff
mov esi, eax
jne 0x4018c3
cmp dword [ebp - 0x20], 0xffffffff
je 0x4018d5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jge case.0x40148a.66
cmp esi, 0xfffffffe
jne 0x4018fe
push 0xffffffffffffffe9
push edi
call fcn.0040655e
push dword [ebp - 8]
push edi
call fcn.0040653d
jmp 0x401906
push 0xffffffffffffffee
push edi
call fcn.0040655e
push 0x200010
push edi
jmp 0x40239d
push ebx
jmp 0x401948
push 0x31
call fcn.00402dab
push dword [ebp - 0x30]
push eax
call fcn.00405b81
cmp eax, ebx
je 0x402933
cmp eax, dword [ebp - 0x28]
je 0x401aa1
cmp eax, dword [ebp - 0x20]
jne case.0x40148a.66
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402dab
push dword [ebp - 0x2c]
push eax
call fcn.00405c2d
jmp case.0x40148a.66
push 1
call fcn.00402dab
push eax
call fcn.00406537
jmp 0x40263d
push 2
call fcn.00402d89
push 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00402d89
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x14]
pop ecx
push 1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
mov dword [ebp + 8], eax
call fcn.00402dab
push eax
mov dword [ebp - 0x44], eax
call fcn.00406537
cmp dword [ebp - 0x10], ebx
mov word [edi], bx
jne 0x4019ac
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x40148a.66
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
jge 0x4019c7
lea esi, [eax + ecx]
cmp esi, ebx
jl case.0x40148a.66
cmp esi, eax
jle 0x4019cd
mov esi, eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + esi*2]
push eax
push edi
call fcn.00406521
cmp dword [ebp + 8], ebx
jge 0x4019ed
push edi
call fcn.00406537
add dword [ebp + 8], eax
jns 0x4019ed
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x40148a.66
mov word [edi + eax*2], bx
jmp case.0x40148a.66
push 0x20
call fcn.00402dab
push 0x31
mov esi, eax
call fcn.00402dab
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401a2d
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401aa1
mov eax, dword [ebp - 0x28]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a21
xor esi, esi
inc esi
push esi
call fcn.00402dab
push 0x400
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a65
cmp dword [ebp - 0x28], ebx
je 0x401a6b
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a6b
mov dword [ebp - 4], esi
mov word [edi], bx
mov word [edi + 0x7fe], bx
jmp case.0x40148a.66
mov esi, dword [ebp - 0x1c]
push ebx
call fcn.00402d89
push 1
mov edi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d89
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
jne 0x401a9d
cmp edi, eax
jl 0x401aa1
jle 0x401a25
jmp 0x401aaf
cmp edi, eax
jae 0x401aa9
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
jbe 0x401a25
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
push 1
call fcn.00402d89
mov esi, eax
push 2
mov dword [ebp - 0x10], edx
mov dword [ebp + 8], esi
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
ja case.default.0x401ae0
jmp dword [eax*4 + 0x402d51]
add esi, ecx
jmp 0x401e4d
sub esi, ecx
jmp 0x401e4d
imul ecx, esi
jmp 0x401b14
cmp ecx, ebx
je 0x401b51
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401e4d
or ecx, esi
jmp 0x401b14
and ecx, esi
jmp 0x401b14
xor ecx, esi
mov esi, ecx
jmp 0x401e4d
xor eax, eax
cmp esi, ebx
sete al
jmp 0x401b03
cmp esi, ebx
jne 0x401b39
jmp 0x401b35
xor esi, esi
jmp 0x401e4d
cmp esi, ebx
je 0x401b2a
cmp ecx, ebx
je 0x401b2a
xor esi, esi
inc esi
jmp 0x401e4d
cmp ecx, ebx
je 0x401b51
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401e4d
xor esi, esi
mov dword [ebp - 4], 1
jmp 0x401e4d
shl esi, cl
jmp 0x401e4d
sar esi, cl
jmp 0x401e4d
shr esi, cl
jmp 0x401e4d
mov esi, dword [ebp + 8]
jmp 0x401e4d
push 1
call fcn.00402dab
push 2
mov esi, eax
call fcn.00402d89
push eax
push esi
push edi
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
mov esi, dword [0x40ce28]
cmp eax, ebx
je 0x401bf1
dec eax
cmp esi, ebx
je 0x40238f
mov esi, dword [esi]
cmp eax, ebx
jne 0x401bad
cmp esi, ebx
je 0x40238f
add esi, 4
mov edi, 0x40a5c8
push esi
push edi
call fcn.00406521
mov eax, dword [0x40ce28]
add eax, 4
push eax
push esi
call fcn.00406521
mov eax, dword [0x40ce28]
push edi
add eax, 4
push eax
jmp 0x402a99
cmp dword [ebp - 0x2c], ebx
je 0x401c1b
cmp esi, ebx
je 0x402933
lea eax, [esi + 4]
push eax
push edi
call fcn.00406521
mov eax, dword [esi]
push esi
mov dword [0x40ce28], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40148a.66
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040655e
mov eax, dword [0x40ce28]
mov dword [esi], eax
mov dword [0x40ce28], esi
jmp case.0x40148a.66
push 3
call fcn.00402d89
push 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
call fcn.00402d89
test byte [ebp - 0x1c], 1
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c74
push 0x33
call fcn.00402dab
mov dword [ebp - 0x18], eax
test byte [ebp - 0x1c], 2
je 0x401c84
push 0x44
call fcn.00402dab
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
push 1
jne 0x401cd8
call fcn.00402d89
push 2
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401cc8
lea edx, [ebp - 0x38]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401d0b
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401d08
call fcn.00402dab
push 0x12
mov esi, eax
call fcn.00402dab
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ecx
and eax, esi
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x30], ebx
jl case.0x40148a.66
push dword [ebp - 0x38]
jmp 0x401572
push ebx
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a25
mov eax, dword [ebp - 0x2c]
jmp case.0x40148a.2
push 2
call fcn.00402d89
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x40263d
mov eax, dword [0x429a68]
mov ecx, dword [ebp - 0x2c]
push ebx
lea esi, [eax + ecx]
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.66
test byte [ebp - 0x23], 1
je 0x401d99
push 2
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
jmp 0x401da5
push dword [ebp - 0x28]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, ecx
mov esi, ecx
and eax, 3
and esi, 4
mov dword [ebp - 0x38], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x18], eax
mov eax, ecx
shr eax, 0x1e
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x40], eax
je 0x401ddc
push 0x11
call fcn.00402dab
jmp 0x401de0
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x38]
neg esi
push dword [ebp - 0x44]
sbb esi, esi
and esi, dword [0x429a20]
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
push esi
push dword [ebp - 0x38]
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x401e44
cmp dword [ebp - 0x38], ebx
jne 0x401e44
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x30], ebx
jl case.0x40148a.66
push esi
jmp 0x401572
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
call fcn.00402d89
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push esi
mov dword [ebp - 0x10], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp - 8]
neg eax
mov dword [0x40cdc8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402d89
mov dword [0x40cdd8], eax
mov al, byte [ebp - 0x20]
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x2c]
mov cl, al
and cl, 1
mov byte [0x40cddf], 1
mov byte [0x40cddc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40cde4
mov byte [0x40cddd], cl
mov byte [0x40cdde], al
call fcn.0040655e
push 0x40cdc8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x40263d
push ebx
call fcn.00402d89
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d89
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], edx
push eax
push esi
jne 0x401f0c
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40148a.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40148a.66
push ebx
call fcn.00402dab
push 0x31
mov esi, eax
call fcn.00402dab
push 0x22
mov ebx, eax
call fcn.00402dab
push 0x15
mov edi, eax
call fcn.00402dab
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x7c], ebx
and eax, esi
mov dword [ebp - 0x80], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x74], 0x435000
and eax, edi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00405b47
test eax, eax
je 0x402933
test byte [ebp - 0x88], 0x40
je case.0x40148a.66
push dword [ebp - 0x54]
call fcn.004069c0
push dword [ebp - 0x54]
jmp 0x401ff0
push ebx
call fcn.00402dab
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004055a6
push esi
call fcn.00405b04
mov esi, eax
cmp esi, ebx
je 0x402933
cmp dword [ebp - 0x28], ebx
je 0x401fef
push esi
call fcn.004069c0
cmp dword [ebp - 0x2c], ebx
jl 0x401fe4
push eax
push dword [ebp - 0xc]
call fcn.00406468
jmp 0x401fef
cmp eax, ebx
je 0x401fef
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.66
push 2
call fcn.00402dab
push eax
call fcn.0040687e
mov esi, eax
cmp esi, ebx
je 0x402021
push dword [esi + 0x14]
push dword [ebp - 0xc]
call fcn.00406468
push dword [esi + 0x18]
jmp 0x401572
mov eax, dword [ebp - 0xc]
mov word [edi], bx
mov word [eax], bx
jmp 0x402933
push 0xffffffffffffffee
call fcn.00402dab
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x38], eax
push ecx
push eax
push 0xb
call fcn.00406915
call eax
mov esi, eax
mov eax, dword [ebp - 0xc]
mov word [edi], bx
cmp esi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x40148a.66
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
push 0xc
call fcn.00406915
push 0xd
mov dword [ebp - 0x40], eax
call fcn.00406915
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push esi
push ebx
push dword [ebp - 0x38]
call dword [ebp - 0x40]
test eax, eax
je 0x4020d4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x18]
test eax, eax
je 0x4020d4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
push dword [eax + ecx*4 + 8]
push edi
call fcn.00406468
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
push dword [ecx + eax*4 + 0xc]
push dword [ebp - 0xc]
call fcn.00406468
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401c10
cmp dword [0x429ae0], ebx
mov dword [ebp - 4], 1
jl 0x4021a8
push 0xfffffffffffffff0
call fcn.00402dab
push 1
mov edi, eax
call fcn.00402dab
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], eax
je 0x402115
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402126
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4021a1
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.00406984
mov edi, eax
cmp edi, ebx
je 0x402170
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x402156
push dword [ebp - 0x28]
call fcn.00401423
call edi
test eax, eax
je 0x40217a
mov dword [ebp - 4], 1
jmp 0x40217a
push section..data
push 0x40ce28
push esi
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x40217a
push dword [ebp - 0x44]
push 0xfffffffffffffff7
call fcn.004055a6
cmp dword [ebp - 0x24], ebx
jne case.0x40148a.66
push dword [ebp + 8]
call fcn.00403b93
test eax, eax
je case.0x40148a.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40148a.66
push 0xfffffffffffffff6
jmp 0x4022f6
push 0xffffffffffffffe7
jmp 0x4022f6
push 0xfffffffffffffff0
call fcn.00402dab
push 0xffffffffffffffdf
mov dword [ebp - 0x10], eax
call fcn.00402dab
push 2
mov dword [ebp - 0x44], eax
call fcn.00402dab
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402dab
push 0x45
mov dword [ebp - 0x4c], eax
call fcn.00402dab
push dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x50], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x40], eax
call fcn.00405e67
test eax, eax
jne 0x40221d
push 0x21
call fcn.00402dab
lea eax, [ebp + 8]
push eax
push 0x4084cc
push 1
push ebx
push 0x4084dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4022ed
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
push 0x4084ec
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x4022df
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x18], eax
jne 0x402279
mov eax, dword [ebp + 8]
push 0x435000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x402287
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x4c]
cmp word [ecx], bx
je 0x4022a8
mov eax, dword [ebp + 8]
push dword [ebp - 0x50]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x18], ebx
jl 0x4022d6
mov eax, dword [ebp - 0x38]
push 1
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x18], ebx
jge 0x402300
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.66
push 0xfffffffffffffff4
jmp 0x4022f6
push ebx
call fcn.00402dab
push 0x11
mov esi, eax
call fcn.00402dab
push 0x23
mov edi, eax
call fcn.00402dab
push esi
mov dword [ebp + 8], eax
call fcn.0040687e
test eax, eax
jne 0x402336
push ebx
push 0xfffffffffffffff9
call fcn.004055a6
jmp 0x402933
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 2
call fcn.00406537
push edi
mov word [esi + eax*2 + 2], bx
call fcn.00406537
mov word [edi + eax*2 + 2], bx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x56], eax
mov word [ebp - 0x60], cx
call fcn.004055a6
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.66
jmp 0x402329
cmp eax, 0xbadf00d
je 0x4023ac
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040655e
push eax
call fcn.00405b81
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x429ab4]
jmp case.0x40148a.66
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x4023c7
push ebx
call fcn.00402dab
mov esi, eax
cmp dword [ebp - 0x2c], ebx
je 0x4023d5
push 0x11
call fcn.00402dab
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x4023e3
push 0x22
call fcn.00402dab
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402dab
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015b9
mov eax, dword [0x40a010]
push 1
mov dword [ebp + 8], eax
call fcn.00402dab
push 0x12
mov esi, eax
call fcn.00402dab
push 0xffffffffffffffdd
mov dword [ebp - 0x10], eax
call fcn.00402dab
push eax
push 0x3ff
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x401756
cmp dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x2c]
jne 0x40246c
push 2
call fcn.00402deb
mov esi, eax
cmp esi, ebx
je 0x402933
push 0x33
call fcn.00402dab
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402482
push 0x22
call fcn.00402dab
mov ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402e69
mov edi, eax
cmp edi, ebx
je case.0x40148a.66
jmp 0x402933
mov esi, dword [ebp - 0x20]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x10], eax
call fcn.00402dab
push 0x11
mov dword [ebp - 0x44], eax
call fcn.00402dab
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402e3b
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
xor eax, eax
cmp esi, 1
mov edi, 0x40b5c8
jne 0x4024e3
push 0x23
call fcn.00402dab
push edi
call fcn.00406537
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x4024fa
push 3
call fcn.00402d89
pop ecx
mov dword [0x40b5c8], eax
push esi
mov dword [ebp - 0x38], edx
pop eax
cmp esi, 3
jne 0x40250e
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.004032b9
push eax
push edi
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x44]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402527
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x402602
push 0x20019
call fcn.00402deb
push 0x33
mov esi, eax
call fcn.00402dab
cmp esi, ebx
mov word [edi], bx
je 0x402933
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push ecx
lea ecx, [ebp + 8]
push edi
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40259b
cmp dword [ebp + 8], 4
je 0x402586
cmp dword [ebp + 8], ecx
je 0x40257e
cmp dword [ebp + 8], 2
jne 0x40259b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x4025fa
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00406468
jmp 0x402601
mov word [edi], bx
mov dword [ebp - 4], ecx
jmp 0x402601
push 0x20019
call fcn.00402deb
push 3
mov esi, eax
call fcn.00402d89
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
mov word [edi], bx
je 0x402933
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4025de
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4025fa
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4025fa
mov dword [ebp - 4], 1
mov word [edi + 0x7fe], bx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.66
push edi
call fcn.00406481
cmp eax, ebx
je case.0x40148a.66
push eax
jmp 0x401ff0
push 0xffffffffffffffed
call fcn.00402dab
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00406011
cmp eax, 0xffffffff
je 0x402930
push eax
jmp 0x401572
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x10], eax
sete cl
cmp eax, ebx
mov esi, ecx
je 0x402672
push 1
call fcn.00402d89
mov word [0x40adc8], ax
xor eax, eax
cmp esi, ebx
pop ecx
sete al
mov dword [ebp - 0x44], edx
inc eax
jmp 0x4026b1
cmp edx, 0x38
jne 0x4026a2
push 0x21
call fcn.00402dab
push 0x400
push 0x40adc8
push 0x40b5c8
call fcn.00406543
add esp, 0xc
push 0x40adc8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4026b1
push 0x11
call fcn.00402dab
push eax
call fcn.00406537
add eax, eax
cmp word [edi], bx
mov dword [ebp + 8], eax
je 0x402933
push edi
call fcn.00406481
or esi, dword [ebp - 0x10]
mov edi, eax
jne 0x4026de
cmp dword [ebp - 0x24], ebx
je 0x4026de
push edi
push edi
call fcn.004060f2
test eax, eax
jl 0x402933
push dword [ebp + 8]
push 0x40adc8
push edi
call fcn.004060c3
jmp 0x4015b9
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x4c], eax
call fcn.00402d89
cmp eax, 1
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x44], eax
jl case.0x40148a.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40271c
mov dword [ebp - 0x44], ecx
cmp word [edi], bx
je 0x402883
push edi
mov dword [ebp - 0x38], ebx
call fcn.00406481
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jle 0x402883
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x34], 0x39
jne 0x4027d9
lea eax, [ebp - 0x40]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x24]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402883
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x402883
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jne 0x40283f
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call esi
test eax, eax
jne 0x402806
mov edi, dword [ebp - 0x4c]
neg edi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x50], eax
je 0x402809
dec dword [ebp - 0x4c]
inc edi
push 1
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x40]
push eax
push 8
push ebx
call esi
test eax, eax
je 0x4027a3
jmp 0x402806
cmp dword [ebp - 0x24], ebx
jne 0x4027f4
cmp dword [ebp - 8], ebx
jne 0x4027f4
push ebx
push dword [ebp - 0x18]
call fcn.004060f2
test eax, eax
jl 0x402883
lea eax, [ebp - 0x50]
push 2
push eax
push dword [ebp - 0x18]
call fcn.00406094
test eax, eax
je 0x402883
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x24], ebx
jne 0x40283f
cmp word [ebp - 0x38], 0xd
je 0x402850
cmp word [ebp - 0x38], 0xa
je 0x402850
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
cmp ax, bx
mov word [ecx + edx*2], ax
mov dword [ebp - 0x38], eax
je 0x402883
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jl 0x402740
jmp 0x402883
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.00406468
jmp 0x402c38
cmp word [ebp - 0x38], ax
je 0x402871
cmp ax, 0xd
je 0x402862
cmp ax, 0xa
jne 0x402871
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x402883
mov eax, dword [ebp - 0x4c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov word [ecx + eax*2], bx
jmp 0x4015bb
cmp word [edi], bx
je case.0x40148a.66
push 2
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x24]
push ebx
push eax
push edi
call fcn.00406481
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x40148a.66
push eax
jmp 0x402ba6
push edi
call fcn.00406481
cmp eax, ebx
je case.0x40148a.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.66
push dword [ebp - 0xc]
call fcn.00406481
cmp eax, ebx
je 0x402901
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402948
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x40148a.66
push 2
call fcn.00402dab
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40293f
mov eax, dword [ebp - 0xc]
mov word [eax], bx
mov word [edi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.66
push eax
push dword [ebp - 0xc]
call fcn.00406468
lea eax, [ebp - 0x2b0]
push eax
push edi
jmp 0x402a99
push 0xfffffffffffffff0
mov edi, 0xfffffd66
call fcn.00402dab
mov esi, eax
push esi
mov dword [ebp - 0x40], esi
call fcn.00405e67
test eax, eax
jne 0x402977
push 0xffffffffffffffed
call fcn.00402dab
push esi
call fcn.00405fec
push 2
push 0x40000000
push esi
call fcn.00406011
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402a40
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], eax
je 0x402a28
mov eax, dword [0x429a34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x44], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402a28
push ebx
call fcn.004034b4
push dword [ebp - 0x44]
push edi
call fcn.0040349e
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x402a11
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.004032b9
jmp 0x402a04
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x3c], ecx
call fcn.00405fcc
add esi, dword [ebp - 0x3c]
cmp byte [esi], bl
jne 0x4029ec
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x44]
push edi
push dword [ebp + 8]
call fcn.004060c3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 0x38], 0xffffffff
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x38]
call fcn.004032b9
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
cmp edi, ebx
pop esi
jge 0x402a5a
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4022f6
push ebx
call fcn.00402d89
mov edi, eax
pop ecx
cmp edi, dword [0x429a4c]
mov dword [ebp - 0x10], edx
jae 0x402933
mov esi, edi
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x818
add esi, dword [0x429a48]
cmp eax, ebx
jl 0x402aa9
mov ecx, dword [esi + eax*4]
jne 0x402aa3
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.00406521
jmp case.0x40148a.66
push ecx
jmp 0x402ba6
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402ac3
push 1
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], eax
jmp 0x402ad3
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.0040655e
or byte [esi + 9], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x40148a.66
push edi
call fcn.0040117d
jmp case.0x40148a.66
push ebx
call fcn.00402d89
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x10], edx
jae 0x402933
cmp dword [ebp - 0x24], ebx
je 0x402b2a
cmp dword [ebp - 0x28], ebx
je 0x402b1f
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x40148a.66
push ebx
call fcn.004012e2
jmp 0x4028c3
cmp dword [ebp - 0x28], ebx
je 0x402b44
mov edx, dword [0x429a30]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.66
mov ecx, dword [0x429a30]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.0040655e
jmp case.0x40148a.66
mov eax, dword [ebp - 0x24]
sub eax, ebx
je 0x402bb0
dec eax
jne case.0x40148a.66
push 2
call fcn.00402d89
push 4
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d89
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov dword [ebp + 8], ebx
movzx ecx, al
shr eax, 0x18
cmp esi, ebx
jne 0x402b96
mov esi, 0x429aa0
add eax, esi
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405fcc
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00406468
jmp case.0x40148a.66
push 5
call fcn.00406915
push 0x22
mov esi, eax
call fcn.00402dab
cmp esi, ebx
je 0x402bfb
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x402bfb
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
jl 0x402bfb
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00406521
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x40148a.66
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], 1
mov word [eax], bx
jmp case.0x40148a.66
mov ecx, dword [0x424f08]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x40148a.66
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x429aa8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4