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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x4253a8]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 9
pop ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 8], eax
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov edi, eax
mov esi, edx
shl edi, 0xa
mov ecx, section..ndata
mov dword [ebp - 4], ebx
shl esi, 0xa
add edi, ecx
add esi, ecx
lea ecx, [ebp - 0x34]
mov dword [0x40c88c], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffffe
cmp ecx, 0x43
ja case.0x401488.68
jmp dword [ecx*4 + 0x402c20]
push ebx
push eax
call fcn.0040582f
jmp 0x402478
inc dword [0x424b6c]
cmp dword [ebp - 8], ebx
je 0x402478
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402478
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x401488.2
push ebx
push eax
call fcn.0040582f
jmp case.0x401488.68
push ebx
call fcn.00402d68
cmp eax, 1
pop ecx
mov dword [ebp - 0x50], edx
jg 0x4014e7
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401488.68
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401488.68
cmp dword [ebp - 0x2c], ebx
jg 0x40153f
jge 0x401516
mov eax, dword [eax*4 + 0x425440]
mov dword [0x40c894], eax
jmp 0x401525
shl eax, 2
mov ecx, dword [eax + 0x425440]
mov dword [eax + 0x4254a0], ecx
push 1
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x34]
mov dword [ecx*4 + 0x425440], eax
jmp case.0x401488.68
shl eax, 2
cmp dword [ebp - 0x28], ebx
lea ecx, [eax + 0x425440]
mov eax, dword [eax + 0x4254a0]
mov dword [ecx], eax
jge case.0x401488.68
mov eax, dword [0x40c894]
mov dword [ecx], eax
jmp case.0x401488.68
mov eax, dword [ebp - 0x2c]
lea esi, [eax*4 + 0x425440]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x34]
mov dword [esi], ecx
jmp case.0x401488.2
push dword [edx*4 + 0x425440]
push edi
jmp 0x402b8b
mov ecx, dword [0x424b70]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x4015aa
push edx
push ecx
call esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x424b84]
cmp ecx, ebx
je case.0x401488.68
push eax
push ecx
call esi
jmp case.0x401488.68
push 0xfffffffffffffff0
call fcn.00402d8a
push dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x401488.68
jmp 0x4028c6
push 0xfffffffffffffff0
call fcn.00402d8a
mov edi, eax
push edi
call fcn.00406176
mov esi, eax
cmp esi, ebx
je 0x401648
push 0x5c
push esi
call fcn.004060cb
mov esi, eax
mov al, byte [esi]
mov byte [esi], bl
cmp al, bl
mov byte [ebp + 0xb], al
jne 0x40161f
cmp dword [ebp - 0x2c], ebx
je 0x40161f
call fcn.00405d8f
test eax, eax
je 0x40161f
push edi
call fcn.00405d18
jmp 0x401625
push edi
call fcn.00405d72
cmp eax, ebx
je 0x40163e
cmp eax, 0xb7
jne 0x40163b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40163e
inc dword [ebp - 4]
mov al, byte [ebp + 0xb]
mov byte [esi], al
inc esi
cmp al, bl
jne 0x4015f4
cmp dword [ebp - 0x30], ebx
je 0x401676
push 0xffffffffffffffe6
call fcn.00401422
push edi
push 0x42b800
call fcn.0040674b
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne case.0x401488.68
inc dword [ebp - 4]
jmp case.0x401488.68
push 0xfffffffffffffff5
jmp 0x4023ce
push ebx
call fcn.00402d8a
push eax
call fcn.00406ade
jmp 0x401de6
push 0xffffffffffffffd0
call fcn.00402d8a
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402d8a
push 0x13
mov edi, eax
call fcn.00402d8a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4016ba
push 0xffffffffffffffe3
jmp 0x4023ce
cmp dword [ebp - 0x2c], ebx
je 0x4028c6
push esi
call fcn.00406ade
test eax, eax
je 0x4028c6
push edi
push esi
call fcn.00406524
push 0xffffffffffffffe4
jmp 0x4023ce
push ebx
call fcn.00402d8a
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x40171f
mov eax, dword [ebp + 8]
cmp eax, edi
jbe 0x401728
cmp byte [eax], bl
je 0x401728
push edi
call fcn.00406ade
cmp eax, ebx
je 0x40171f
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040674b
jmp 0x401728
mov dword [ebp - 4], 1
mov byte [esi], bl
cmp dword [ebp - 0x2c], ebx
jne case.0x401488.68
push 0x400
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x401488.68
push 0xffffffffffffffff
call fcn.00402d8a
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x401488.68
jmp 0x40289a
push 0xffffffffffffffef
call fcn.00402d8a
push eax
push edi
call fcn.0040630d
jmp 0x4015d2
push 0x31
call fcn.00402d8a
mov esi, eax
mov eax, dword [ebp - 0x34]
and eax, 7
push esi
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], eax
call fcn.0040614a
push esi
mov esi, 0x40b450
test eax, eax
je 0x4017aa
push esi
call fcn.0040674b
jmp 0x4017c1
push 0x42b800
push esi
call fcn.0040674b
push eax
call fcn.004060a0
push eax
call sub.KERNEL32.dll_lstrcatA
push esi
call fcn.00406a45
mov edi, 0x40bc50
cmp dword [ebp + 8], 3
jl 0x401803
push esi
call fcn.00406ade
xor ecx, ecx
cmp eax, ebx
je 0x4017ee
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 0x40180e
push esi
call fcn.004062b9
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.004062de
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4018a2
cmp dword [ebp + 8], ebx
jne 0x401884
push section..ndata
push edi
call fcn.0040674b
push esi
push section..ndata
call fcn.0040674b
push dword [ebp - 0x1c]
push 0x40b850
call fcn.004067de
push edi
push section..ndata
call fcn.0040674b
mov eax, dword [ebp - 0x34]
sar eax, 3
push eax
push 0x40b850
call fcn.00405e24
sub eax, 4
je 0x4017cc
dec eax
je 0x401897
push esi
push 0xfffffffffffffffa
jmp 0x401491
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.0040582f
cmp dword [ebp + 8], 2
jmp 0x4015d4
inc dword [0x425448]
jmp 0x402c17
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.0040582f
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
inc dword [0x425474]
cmp dword [ebp - 0x38], 0x15
push ebx
push ebx
push dword [ebp - 8]
push ecx
push eax
jne 0x4018cc
push 1
jmp 0x4018cd
push ebx
call fcn.00403409
dec dword [0x425474]
cmp dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x54], eax
mov edi, edx
jne 0x4018e9
cmp dword [ebp - 0x20], 0xffffffff
je 0x4018fb
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
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
jg case.0x401488.68
jl 0x401917
cmp dword [ebp - 0x54], ebx
jae case.0x401488.68
cmp dword [ebp - 0x54], 0xfffffffe
jne 0x401935
cmp edi, 0xffffffff
jne 0x401935
push 0xffffffffffffffe9
push esi
call fcn.004067de
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x40193d
push 0xffffffffffffffee
push esi
call fcn.004067de
push 0x200010
push esi
jmp 0x402473
cmp dword [0x40b028], 0xffffffff
mov dword [ebp - 4], 1
je 0x40196c
cmp dword [0x4253c0], ebx
je case.0x401488.68
mov dword [ebp - 4], ebx
jmp case.0x401488.68
cmp dword [0x4253c0], ebx
je case.0x401488.68
push ebx
call fcn.00402d8a
mov edi, eax
push edi
call fcn.0040614a
test eax, eax
jne 0x4019b7
mov esi, 0x40b850
push 0x42cc00
push esi
call fcn.0040674b
push esi
call fcn.0040610d
push eax
push esi
call fcn.0040674b
push esi
push str._s.nsisbin
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call fcn.00406a45
push 3
push 0x80000000
push edi
call fcn.004062de
mov dword [0x40b028], eax
cmp eax, 0xffffffff
jmp 0x40195e
push ebx
jmp 0x401a0b
push 0x31
call fcn.00402d8a
push dword [ebp - 0x34]
push eax
call fcn.00405e24
cmp eax, ebx
je 0x4028c6
cmp eax, dword [ebp - 0x2c]
je 0x401b5f
cmp eax, dword [ebp - 0x24]
jne case.0x401488.68
mov eax, dword [ebp - 0x20]
jmp case.0x401488.2
push 0xfffffffffffffff0
call fcn.00402d8a
push dword [ebp - 0x30]
push eax
call fcn.00405ed0
jmp case.0x401488.68
push 1
call fcn.00402d8a
push eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x402726
push 2
call fcn.00402d68
push 3
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call fcn.00402d68
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x54]
pop ecx
push 1
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp + 8], eax
call fcn.00402d8a
push eax
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_lstrlenA
cmp dword [ebp - 0x50], ebx
mov byte [edi], bl
jne 0x401a6e
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x401488.68
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
jge 0x401a89
lea esi, [eax + ecx]
cmp esi, ebx
jl case.0x401488.68
cmp esi, eax
jle 0x401a8f
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, esi
push eax
push edi
call fcn.0040674b
cmp dword [ebp + 8], ebx
jge 0x401aae
push edi
call sub.KERNEL32.dll_lstrlenA
add dword [ebp + 8], eax
jns 0x401aae
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x401488.68
mov byte [eax + edi], bl
jmp case.0x401488.68
push 0x20
call fcn.00402d8a
push 0x31
mov esi, eax
call fcn.00402d8a
cmp dword [ebp - 0x24], ebx
push eax
push esi
jne 0x401aed
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401b5f
mov eax, dword [ebp - 0x2c]
jmp case.0x401488.2
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401ae1
xor esi, esi
inc esi
push esi
call fcn.00402d8a
push 0x400
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401b25
cmp dword [ebp - 0x2c], ebx
je 0x401b2a
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401b2a
mov dword [ebp - 4], esi
mov byte [edi], bl
mov byte [edi + 0x3ff], bl
jmp case.0x401488.68
mov esi, dword [ebp - 0x20]
push ebx
call fcn.00402d68
push 1
mov edi, eax
mov dword [ebp - 0x50], edx
call fcn.00402d68
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x50], edx
jne 0x401b5b
cmp edi, eax
jl 0x401b5f
jle 0x401ae5
jmp 0x401b6d
cmp edi, eax
jae 0x401b67
mov eax, dword [ebp - 0x28]
jmp case.0x401488.2
jbe 0x401ae5
mov eax, dword [ebp - 0x24]
jmp case.0x401488.2
push 1
call fcn.00402d68
mov esi, eax
push 2
mov dword [ebp - 0x50], edx
mov dword [ebp + 8], esi
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xd
ja case.default.0x401b9e
jmp dword [eax*4 + 0x402d30]
add esi, ecx
jmp 0x401f03
sub esi, ecx
jmp 0x401f03
imul ecx, esi
jmp 0x401bd2
cmp ecx, ebx
je 0x401c0f
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401f03
or ecx, esi
jmp 0x401bd2
and ecx, esi
jmp 0x401bd2
xor ecx, esi
mov esi, ecx
jmp 0x401f03
xor eax, eax
cmp esi, ebx
sete al
jmp 0x401bc1
cmp esi, ebx
jne 0x401bf7
jmp 0x401bf3
xor esi, esi
jmp 0x401f03
cmp esi, ebx
je 0x401be8
cmp ecx, ebx
je 0x401be8
xor esi, esi
inc esi
jmp 0x401f03
cmp ecx, ebx
je 0x401c0f
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401f03
xor esi, esi
mov dword [ebp - 4], 1
jmp 0x401f03
shl esi, cl
jmp 0x401f03
sar esi, cl
jmp 0x401f03
shr esi, cl
jmp 0x401f03
mov esi, dword [ebp + 8]
jmp 0x401f03
push 1
call fcn.00402d8a
push 2
mov esi, eax
call fcn.00402d68
push eax
push esi
push edi
mov dword [ebp - 0x50], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp case.0x401488.68
mov eax, dword [ebp - 0x2c]
mov esi, dword [0x40c890]
cmp eax, ebx
je 0x401caf
dec eax
cmp esi, ebx
je 0x402465
mov esi, dword [esi]
cmp eax, ebx
jne 0x401c6b
cmp esi, ebx
je 0x402465
lea edi, [esi + 4]
mov esi, 0x40b450
push edi
push esi
call fcn.0040674b
mov eax, dword [0x40c890]
add eax, 4
push eax
push edi
call fcn.0040674b
mov eax, dword [0x40c890]
push esi
add eax, 4
push eax
jmp 0x402a7a
cmp edx, ebx
je 0x401cd8
cmp esi, ebx
je 0x4028c6
lea eax, [esi + 4]
push eax
push edi
call fcn.0040674b
mov eax, dword [esi]
push esi
mov dword [0x40c890], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401488.68
push 0x404
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x34]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004067de
mov eax, dword [0x40c890]
mov dword [esi], eax
mov dword [0x40c890], esi
jmp case.0x401488.68
push 3
call fcn.00402d68
push 4
mov dword [ebp - 0x50], edx
mov dword [ebp - 8], eax
call fcn.00402d68
test byte [ebp - 0x20], 1
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401d31
push 0x33
call fcn.00402d8a
mov dword [ebp - 8], eax
test byte [ebp - 0x20], 2
je 0x401d41
push 0x44
call fcn.00402d8a
mov dword [ebp + 8], eax
cmp dword [ebp - 0x38], 0x23
push 1
jne 0x401d95
call fcn.00402d68
push 2
mov esi, eax
mov dword [ebp - 0x50], edx
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
mov ecx, dword [ebp - 0x20]
sar ecx, 2
je 0x401d85
lea edx, [ebp - 0xc]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401dc4
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401dc1
call fcn.00402d8a
push 0x12
mov esi, eax
call fcn.00402d8a
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov al, byte [esi]
neg al
sbb eax, eax
push ecx
and eax, esi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x34], ebx
jl case.0x401488.68
push dword [ebp - 0xc]
jmp 0x40158d
push ebx
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401ae5
mov eax, dword [ebp - 0x30]
jmp case.0x401488.2
push 2
call fcn.00402d68
push 1
mov esi, eax
mov dword [ebp - 0x50], edx
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402726
mov eax, dword [0x425408]
push ebx
lea esi, [eax + edx]
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x401488.68
test byte [ebp - 0x27], 1
je 0x401e4f
push 2
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
jmp 0x401e5b
push dword [ebp - 0x2c]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov eax, ecx
mov esi, ecx
and eax, 3
and esi, 4
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x4c], eax
mov eax, ecx
shr eax, 0x1e
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x14], eax
je 0x401e92
push 0x11
call fcn.00402d8a
jmp 0x401e96
movzx eax, word [ebp - 0x30]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x4c]
push eax
push dword [ebp - 0xc]
neg esi
push dword [ebp - 8]
sbb esi, esi
and esi, dword [0x4253a0]
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
push esi
push dword [ebp - 0xc]
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x401efa
cmp dword [ebp - 0xc], ebx
jne 0x401efa
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x34], ebx
jl case.0x401488.68
push esi
jmp 0x40158d
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
call fcn.00402d68
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push esi
mov dword [ebp - 0x50], 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 [0x40c850], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402d68
mov dword [0x40c860], eax
mov al, byte [ebp - 0x24]
pop ecx
mov dword [ebp - 0x50], edx
push dword [ebp - 0x30]
mov cl, al
and cl, 1
mov byte [0x40c867], 1
mov byte [0x40c864], cl
mov cl, al
and cl, 2
and al, 4
push 0x40c86c
mov byte [0x40c865], cl
mov byte [0x40c866], al
call fcn.004067de
push 0x40c850
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x402726
push ebx
call fcn.00402d68
push 1
mov esi, eax
mov dword [ebp - 0x50], edx
call fcn.00402d68
cmp dword [ebp - 0x28], ebx
pop ecx
pop ecx
mov dword [ebp - 0x50], edx
push eax
push esi
jne 0x401fc2
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401488.68
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401488.68
push ebx
call fcn.00402d8a
push 0x31
mov esi, eax
call fcn.00402d8a
push 0x22
mov ebx, eax
call fcn.00402d8a
push 0x15
mov edi, eax
call fcn.00402d8a
push 0xffffffffffffffec
call fcn.00401422
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov al, byte [esi]
neg al
sbb eax, eax
mov dword [ebp - 0x78], ebx
and eax, esi
mov dword [ebp - 0x7c], eax
mov al, byte [edi]
neg al
sbb eax, eax
mov dword [ebp - 0x70], 0x42b800
and eax, edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
call fcn.00405dea
test eax, eax
je 0x4028c6
test byte [ebp - 0x84], 0x40
je case.0x401488.68
push dword [ebp - 0x50]
call fcn.00406be8
push dword [ebp - 0x50]
jmp 0x40209d
push ebx
call fcn.00402d8a
mov edi, eax
push edi
push 0xffffffffffffffeb
call fcn.0040582f
push edi
call fcn.00405da7
mov edi, eax
cmp edi, ebx
je 0x4028c6
cmp dword [ebp - 0x2c], ebx
je 0x40209c
push edi
call fcn.00406be8
cmp dword [ebp - 0x30], ebx
jl 0x402091
push eax
push esi
call fcn.004066a9
jmp 0x40209c
cmp eax, ebx
je 0x40209c
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401488.68
push 2
call fcn.00402d8a
push eax
call fcn.00406ade
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4020cf
mov ebx, eax
push dword [ebx + 0x14]
push esi
call fcn.004066a9
push dword [ebx + 0x18]
jmp 0x40158d
mov byte [edi], bl
mov byte [esi], bl
jmp 0x4028c6
push 0xffffffffffffffee
call fcn.00402d8a
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
push eax
push 0xc
call fcn.00406b73
call eax
mov byte [edi], bl
cmp eax, ebx
mov dword [ebp - 0xc], eax
mov byte [esi], bl
mov dword [ebp - 4], 1
je case.0x401488.68
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401488.68
push 0xd
call fcn.00406b73
push 0xe
mov dword [ebp - 0x14], eax
call fcn.00406b73
push dword [ebp + 8]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0xc]
push ebx
push dword [ebp - 0x4c]
call dword [ebp - 0x14]
test eax, eax
je 0x40217f
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 8]
push eax
push 0x40b014
push dword [ebp + 8]
call dword [ebp - 0x8c]
test eax, eax
je 0x40217f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
push dword [eax + ecx*4 + 8]
push edi
call fcn.004066a9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
push dword [ecx + eax*4 + 0xc]
push esi
call fcn.004066a9
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401ccd
cmp dword [0x425480], ebx
mov dword [ebp - 4], 1
jl 0x40224f
push 0xfffffffffffffff0
call fcn.00402d8a
push 1
mov esi, eax
call fcn.00402d8a
cmp dword [ebp - 0x24], ebx
mov dword [ebp + 8], eax
je 0x4021bf
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, ebx
jne 0x4021cf
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
je 0x402248
push dword [ebp + 8]
push edi
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
cmp esi, ebx
je 0x40221b
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
je 0x4021fd
push dword [ebp - 0x2c]
call fcn.00401422
call esi
test eax, eax
je 0x402225
mov dword [ebp - 4], 1
jmp 0x402225
push section..data
push 0x40c890
push section..ndata
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x402225
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.0040582f
cmp dword [ebp - 0x28], ebx
jne case.0x401488.68
push edi
call fcn.00403e94
test eax, eax
je case.0x401488.68
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401488.68
push 0xfffffffffffffff6
jmp 0x4023ce
push 0xffffffffffffffe7
jmp 0x4023ce
push 0xfffffffffffffff0
call fcn.00402d8a
push 0xffffffffffffffdf
mov dword [ebp - 0x50], eax
call fcn.00402d8a
push 2
mov dword [ebp - 0xc], eax
call fcn.00402d8a
push 0xffffffffffffffcd
mov dword [ebp - 0x90], eax
call fcn.00402d8a
push 0x45
mov dword [ebp - 0x4c], eax
call fcn.00402d8a
push dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x98], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x8c], eax
call fcn.0040614a
test eax, eax
jne 0x4022cd
push 0x21
call fcn.00402d8a
lea eax, [ebp + 8]
push eax
push 0x409540
push 1
push ebx
push 0x409530
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4023c5
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0x409550
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x4023b7
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 8], eax
jne 0x402329
mov eax, dword [ebp + 8]
push 0x42b800
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x402337
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 - 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x4c]
cmp byte [ecx], bl
je 0x40235d
mov eax, dword [ebp + 8]
push dword [ebp - 0x98]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x90]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 8], ebx
jl 0x4023ae
push 0x400
mov dword [ebp - 8], 0x80004005
push dword [ebp - 0xc]
push 0xffffffffffffffff
push dword [ebp - 0x50]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4023ae
mov eax, dword [ebp - 0x14]
push 1
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
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 - 8], ebx
jge 0x4023d8
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401422
jmp case.0x401488.68
push 0xfffffffffffffff4
jmp 0x4023ce
push ebx
call fcn.00402d8a
push 0x11
mov esi, eax
call fcn.00402d8a
push 0x23
mov edi, eax
call fcn.00402d8a
push esi
mov dword [ebp + 8], eax
call fcn.00406ade
test eax, eax
jne 0x40240e
push ebx
push 0xfffffffffffffff9
call fcn.0040582f
jmp 0x4028c6
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 2
call sub.KERNEL32.dll_lstrlenA
push edi
mov byte [eax + esi + 1], bl
call sub.KERNEL32.dll_lstrlenA
mov byte [eax + edi + 1], bl
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x2c]
push eax
push ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x52], eax
mov word [ebp - 0x5c], cx
call fcn.0040582f
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x401488.68
jmp 0x402401
cmp eax, 0xbadf00d
je 0x402482
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004067de
push eax
call fcn.00405e24
mov eax, 0x7fffffff
jmp case.0x401488.2
inc dword [0x425454]
jmp case.0x401488.68
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x4024a0
push ebx
call fcn.00402d8a
mov edx, dword [ebp - 0x30]
mov esi, eax
cmp edx, ebx
je 0x4024ad
push 0x11
call fcn.00402d8a
mov edi, eax
cmp dword [ebp - 0x24], ebx
je 0x4024bb
push 0x22
call fcn.00402d8a
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402d8a
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4015d2
mov ax, word [0x40b010]
push 1
mov word [ebp + 0xa], ax
call fcn.00402d8a
push 0x12
mov esi, eax
call fcn.00402d8a
push 0xffffffffffffffdd
mov dword [ebp - 0x50], eax
call fcn.00402d8a
push eax
push 0x3ff
lea eax, [ebp + 0xa]
push edi
push eax
push dword [ebp - 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0xa
jmp 0x40175f
cmp dword [ebp - 0x24], ebx
mov esi, edx
jne 0x402544
push 2
call fcn.00402dca
mov esi, eax
cmp esi, ebx
je 0x4028c6
push 0x33
call fcn.00402d8a
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40255a
push 0x22
call fcn.00402d8a
mov ecx, dword [ebp - 0x24]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402e48
mov edi, eax
cmp edi, ebx
je case.0x401488.68
jmp 0x4028c6
mov esi, dword [ebp - 0x20]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x50], eax
call fcn.00402d8a
push 0x11
mov dword [ebp - 0x3c], eax
call fcn.00402d8a
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402e1a
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401488.68
xor eax, eax
cmp esi, 1
mov edi, 0x40bc50
jne 0x4025b8
push 0x23
call fcn.00402d8a
push edi
call sub.KERNEL32.dll_lstrlenA
inc eax
cmp esi, 4
jne 0x4025d2
push 3
call fcn.00402d68
pop ecx
mov dword [0x40bc50], eax
push esi
mov dword [ebp - 0x90], edx
pop eax
cmp esi, 3
jne 0x4025fb
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp dword [0x4253c0], ebx
push 0xc00
push edi
push ebx
push ecx
push eax
je 0x4025f5
push 1
jmp 0x4025f6
push ebx
call fcn.00403409
push eax
push edi
push dword [ebp - 0x50]
push ebx
push dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402614
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x4026eb
push 0x20019
call fcn.00402dca
push 0x33
mov esi, eax
call fcn.00402d8a
cmp esi, ebx
mov byte [edi], bl
je 0x4028c6
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x400
push ecx
lea ecx, [ebp + 8]
push edi
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402687
cmp dword [ebp + 8], 4
je 0x402672
cmp dword [ebp + 8], ecx
je 0x40266a
cmp dword [ebp + 8], 2
jne 0x402687
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
jmp 0x4026e4
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x24], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.004066a9
jmp 0x4026ea
mov byte [edi], bl
mov dword [ebp - 4], ecx
jmp 0x4026ea
push 0x20019
call fcn.00402dca
push 3
mov esi, eax
call fcn.00402d68
cmp esi, ebx
pop ecx
mov dword [ebp - 0x50], edx
mov byte [edi], bl
je 0x4028c6
cmp dword [ebp - 0x24], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4026c8
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x4026e4
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_RegEnumValueA]
test eax, eax
je 0x4026e4
mov dword [ebp - 4], 1
mov byte [edi + 0x3ff], bl
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401488.68
push edi
call fcn.004066c2
cmp eax, ebx
je case.0x401488.68
push eax
jmp 0x40209d
push 0xffffffffffffffed
call fcn.00402d8a
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.004062de
cmp eax, 0xffffffff
je 0x4028c4
push eax
jmp 0x40158d
cmp dword [ebp - 0x2c], ebx
je 0x402745
xor esi, esi
inc esi
push esi
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
mov byte [0x40b850], al
jmp 0x402754
push 0x11
call fcn.00402d8a
push eax
call sub.KERNEL32.dll_lstrlenA
mov esi, eax
cmp byte [edi], bl
je 0x4028c6
push edi
call fcn.004066c2
push esi
push 0x40b850
push eax
call fcn.00406385
jmp 0x4015d2
push 2
mov dword [ebp - 8], ebx
call fcn.00402d68
cmp eax, 1
pop ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0xc], eax
jl case.0x401488.68
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402799
mov dword [ebp - 0xc], ecx
cmp byte [edi], bl
je 0x402823
push edi
mov byte [ebp + 0xb], bl
call fcn.004066c2
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
jle 0x402823
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xd]
push 1
push eax
push dword [ebp - 0x14]
call fcn.00406356
test eax, eax
je 0x402826
cmp dword [ebp - 0x28], ebx
jne 0x4027ed
cmp byte [ebp + 0xb], 0xd
je 0x4027fd
cmp byte [ebp + 0xb], 0xa
je 0x4027fd
mov al, byte [ebp - 0xd]
mov byte [edi + esi], al
inc edi
cmp al, bl
mov byte [ebp + 0xb], al
je 0x402826
cmp edi, dword [ebp - 0xc]
jl 0x4027b5
jmp 0x402826
movzx eax, byte [ebp - 0xd]
push eax
push esi
call fcn.004066a9
jmp 0x402c17
mov al, byte [ebp - 0xd]
cmp byte [ebp + 0xb], al
je 0x402813
cmp al, 0xd
je 0x40280d
cmp al, 0xa
jne 0x402813
mov byte [edi + esi], al
inc edi
jmp 0x402826
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402826
mov edi, dword [ebp - 8]
mov byte [edi + esi], bl
cmp edi, ebx
jmp 0x4015d4
cmp byte [edi], bl
je case.0x401488.68
push 2
call fcn.00402d68
pop ecx
mov dword [ebp - 0x50], edx
push dword [ebp - 0x28]
push ebx
push eax
push edi
call fcn.004066c2
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x30], ebx
jl case.0x401488.68
push eax
jmp 0x402b8a
push edi
call fcn.004066c2
cmp eax, ebx
je case.0x401488.68
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401488.68
push esi
call fcn.004066c2
cmp eax, ebx
je 0x40289a
lea ecx, [ebp - 0x1d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4028d9
mov dword [ebp - 4], 1
mov byte [edi], bl
jmp case.0x401488.68
push 2
call fcn.00402d8a
lea ecx, [ebp - 0x1d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4028d2
mov byte [esi], bl
mov byte [edi], bl
mov dword [ebp - 4], 1
jmp case.0x401488.68
push eax
push esi
call fcn.004066a9
lea eax, [ebp - 0x1ac]
push eax
push edi
jmp 0x402a7a
push 0xfffffffffffffff0
mov edi, 0xfffffd66
or esi, 0xffffffff
call fcn.00402d8a
push eax
mov dword [ebp - 0xc], eax
call fcn.0040614a
test eax, eax
jne 0x402909
push 0xffffffffffffffec
call fcn.00402d8a
push dword [ebp - 0xc]
call fcn.004062b9
push 2
push 0x40000000
push dword [ebp - 0xc]
call fcn.004062de
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402a12
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
je 0x4029e5
mov eax, dword [0x4253b8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x4029e5
push ebx
call fcn.004037a8
push dword [ebp - 0x14]
push edi
call fcn.0040374c
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x50], esi
je 0x4029ca
push dword [ebp - 0x20]
cmp dword [0x4253c0], ebx
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
je 0x402997
push 1
jmp 0x402998
push ebx
call fcn.00403409
jmp 0x4029bd
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x94], ecx
call fcn.00406299
add esi, dword [ebp - 0x94]
cmp byte [esi], bl
jne 0x40299f
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
call fcn.00406385
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 0x40], 0xffffffff
or dword [ebp - 0x3c], 0xffffffff
push dword [ebp - 0x1c]
cmp dword [0x4253c0], ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
je 0x4029ff
push 1
jmp 0x402a00
push ebx
call fcn.00403409
push dword [ebp + 8]
mov edi, eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
mov dword [ebp + 8], 0xfffffff3
jg 0x402a3a
jl 0x402a23
cmp edi, ebx
jae 0x402a3a
push dword [ebp - 0xc]
mov dword [ebp + 8], 0xffffffef
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x4023ce
push ebx
call fcn.00402d68
cmp eax, dword [0x4253ec]
pop ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jae 0x4028c6
mov edi, eax
mov eax, dword [ebp - 0x2c]
imul edi, edi, 0x418
add edi, dword [0x4253e8]
cmp eax, ebx
jl 0x402a8a
mov ecx, dword [edi + eax*4]
jne 0x402a84
add edi, 0x18
push edi
push esi
call fcn.0040674b
jmp case.0x401488.68
push ecx
jmp 0x402b8a
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x402aa4
push 1
call fcn.00402d68
pop ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
jmp 0x402ab4
push dword [ebp - 0x24]
lea eax, [edi + 0x18]
push eax
call fcn.004067de
or byte [edi + 9], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [edi + eax*4], ecx
cmp dword [ebp - 0x28], ebx
je case.0x401488.68
push dword [ebp - 0x54]
call fcn.0040117d
jmp case.0x401488.68
push ebx
call fcn.00402d68
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x50], edx
jae 0x4028c6
cmp dword [ebp - 0x28], ebx
je 0x402b0d
cmp dword [ebp - 0x2c], ebx
je 0x402b02
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x401488.68
push ebx
call fcn.004012e2
jmp 0x40285e
cmp dword [ebp - 0x2c], ebx
je 0x402b27
mov edx, dword [0x4253b4]
mov ecx, dword [ebp - 0x30]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x401488.68
mov ecx, dword [0x4253b4]
push dword [ecx + eax*4 + 0x94]
push esi
call fcn.004067de
jmp case.0x401488.68
mov eax, dword [ebp - 0x28]
sub eax, ebx
je 0x402b92
dec eax
jne case.0x401488.68
push 2
call fcn.00402d68
mov edi, eax
push 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edx
call fcn.00402d68
pop ecx
mov dword [ebp - 0x3c], edx
pop ecx
mov dword [ebp + 8], ebx
movzx ecx, al
shr eax, 0x18
cmp edi, ebx
jne 0x402b7a
mov edi, 0x425440
add eax, edi
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406299
push dword [ebp + 8]
push esi
call fcn.004066a9
jmp case.0x401488.68
push 6
call fcn.00406b73
push 0x22
mov edi, eax
call fcn.00402d8a
cmp edi, ebx
je 0x402bde
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.0040679e
pop ecx
test eax, eax
pop ecx
jl 0x402bde
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x5c]
push eax
call edi
test eax, eax
jl 0x402bde
push dword [ebp + 8]
push esi
call fcn.00406788
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x401488.68
mov dword [ebp - 4], 1
mov byte [esi], bl
jmp case.0x401488.68
mov ecx, dword [0x422940]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x34], ebx
je case.0x401488.68
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x425448], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4