Function at 0x41fa18
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fa913
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5415b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, 0x8c
mov esi, dword [ebp + 0x10]
cmp ebx, eax
ja 0x41ff57
je 0x41ff46
cmp ebx, 0x6c
ja 0x41fc66
je 0x41fc56
cmp ebx, 0x64
je 0x41fc43
cmp ebx, 0x65
je 0x41fc38
cmp ebx, 0x66
je 0x41fc0f
cmp ebx, 0x68
je 0x41fbee
jbe 0x41ff71
cmp ebx, 0x6a
jbe 0x41fac1
cmp ebx, 0x6b
jne 0x41ff71
lea ecx, [edi - 0x90]
call fcn.00420a93
jmp 0x41ff71
lea esi, [edi - 0x6c]
mov eax, dword [esi]
mov ecx, esi
push 0x510b04
call dword [eax + 0x20]
mov dword [esp + 0x14], eax
mov ecx, esi
mov eax, dword [esi]
push str.restore
call dword [eax + 0x20]
mov ecx, dword [esp + 0x14]
mov esi, eax
test ecx, ecx
je 0x41fb1d
test esi, esi
je 0x41fb1d
mov edx, dword [ecx]
cmp ebx, 0x69
push 0
sete bl
xor eax, eax
test bl, bl
sete al
push eax
push str.show
call dword [edx + 0x34]
mov edx, dword [esi]
mov ecx, esi
push 0
movzx eax, bl
push eax
push str.show
call dword [edx + 0x34]
mov ebx, dword [ebp + 8]
call fcn.00438b96
cmp ebx, 0x69
jne 0x41fb98
xor ebx, ebx
lea esi, [edi - 0x8c]
inc ebx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0xd0], ebx
push dword [0x543e38]
push 0x50e100
push str.MaxState
push str.wndpos
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [edi + 0x86b0]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ecx
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.0041898f
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor eax, 0x10000
jmp 0x41fbde
and dword [edi + 0xd0], 0
push dword [0x543e38]
push 0x50f298
push str.MaxState
push str.wndpos
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
lea eax, [edi + 0x86b0]
lea esi, [edi - 0x8c]
push eax
mov ecx, esi
call fcn.0041898f
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10000
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x41ff71
push esi
push 0xf020
push 0x112
push dword [edi - 0x8c]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00438b96
jmp 0x41ff71
cmp dword [edi + 0xd0], 0
jne 0x41ff71
push esi
push 0xf012
push 0x112
push dword [edi - 0x8c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41ff71
mov eax, dword [edi - 0x8c]
jmp 0x41ff73
push dword [ebp + 0xc]
lea ecx, [edi + 0x86a4]
call fcn.0044834e
jmp 0x41ff73
lea ecx, [edi - 0x90]
call fcn.00420d3b
jmp 0x41ff71
cmp ebx, 0x6d
je 0x41ff39
jbe 0x41ff71
cmp ebx, 0x74
jbe 0x41fdb6
cmp ebx, 0x75
je 0x41fcd7
cmp ebx, 0x76
je 0x41fcc7
cmp ebx, 0x77
jne 0x41ff71
mov eax, dword [edi + 0x86fc]
test eax, eax
je 0x41ff71
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ff71
mov eax, dword [edi + 0x86fc]
push 0
push 0
push 0x4dc
push dword [eax + 4]
jmp 0x41fc2d
lea ecx, [edi - 0x90]
call fcn.004206a5
jmp 0x41ff71
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x41fd1e
cmp eax, 2
je 0x41fd1e
test eax, eax
je 0x41fcf8
cmp eax, 4
je 0x41fcf8
cmp eax, 5
jne 0x41ff71
push esi
lea ecx, [edi + 0x8724]
call fcn.004028a2
push 0
push 0x64
push 0x1e3
push dword [edi - 0x8c]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41ff71
push 0x1e3
push dword [edi - 0x8c]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
lea ecx, [esp + 0x18]
call fcn.00404e83
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 8]
test ecx, ecx
jle 0x41fd5a
xor eax, eax
test ecx, ecx
jle 0x41fd5a
cmp word [esi + eax*2], 0x20
jne 0x41fd8c
inc eax
cmp eax, ecx
jl 0x41fd4e
lea ecx, [edi - 0x6c]
mov eax, dword [ecx]
push str.searchedit
call dword [eax + 0x20]
test eax, eax
je 0x41fd7e
mov edx, dword [eax]
mov ecx, eax
push 0
push 0x50e6f0
push 0x50f854
call dword [edx + 0x34]
lea ecx, [esp + 0x14]
call fcn.00403030
jmp 0x41ff71
lea ecx, [edi - 0x6c]
mov eax, dword [ecx]
push str.searchedit
call dword [eax + 0x20]
test eax, eax
je 0x41fd7e
push esi
lea ecx, [edi - 0x90]
call fcn.0042082e
lea ecx, [edi + 0x8724]
call fcn.00404f1e
jmp 0x41fd7e
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x86f4], eax
je 0x41ff71
lea eax, [edi - 0x90]
xor esi, esi
inc esi
mov dword [esp + 0x1c], eax
push esi
mov ecx, eax
call fcn.00420775
lea ecx, [ebx - 0x6e]
xor ebx, ebx
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x41fe1b
lea ecx, [esp + 0x18]
mov dword [edi + 0x86f8], esi
call fcn.0041d1c0
push ebx
mov dword [esp + 0x44], ebx
lea ecx, [edi - 0x90]
push dword [eax]
call fcn.004229ac
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00403030
jmp 0x41fefd
cmp dword [ebp + 8], 0x74
jne 0x41fe2f
mov ecx, dword [esp + 0x1c]
call fcn.00420921
jmp 0x41ff71
mov eax, dword [edi + 0x86ec]
sub eax, dword [edi + 0x86e8]
sar eax, 3
cmp eax, ecx
jb 0x41fefd
mov eax, dword [edi + 0x86e8]
mov dword [edi + 0x86f8], ebx
push 0x510970
push dword [eax + ecx*8 - 8]
call fcn.004d6cd4
pop ecx
pop ecx
test eax, eax
je 0x41fedd
mov eax, dword [edi + 0x86e8]
mov ecx, dword [esp + 0x14]
push 0x510c98
push dword [eax + ecx*8 - 8]
call fcn.004d6cd4
pop ecx
pop ecx
test eax, eax
je 0x41fedd
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x86e8]
dec ecx
push 0x510ca0
lea ecx, [eax + ecx*8]
call fcn.0040e29c
cmp eax, 0xffffffff
jne 0x41fedd
mov eax, dword [edi + 0x86e8]
mov ecx, dword [esp + 0x14]
push str.US:g8n
push dword [eax + ecx*8 - 8]
call fcn.004d6cd4
pop ecx
pop ecx
test eax, eax
je 0x41fedd
mov eax, dword [edi + 0x86e8]
mov ecx, dword [esp + 0x14]
push 0x510cb4
push dword [eax + ecx*8 - 8]
call fcn.004d6cd4
pop ecx
pop ecx
test eax, eax
jne 0x41fee1
mov eax, esi
jmp 0x41fee3
mov eax, ebx
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [edi + 0x86e8]
push dword [eax + ecx*8 - 4]
lea ecx, [edi - 0x90]
call fcn.004229ac
mov ecx, dword [edi + 0x86f4]
test ecx, ecx
je 0x41ff13
mov eax, dword [ecx]
push ebx
push ebx
push str.down
call dword [eax + 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x86f4], ecx
test ecx, ecx
je 0x41ff2c
mov eax, dword [ecx]
push ebx
push esi
push str.down
call dword [eax + 0x34]
lea ecx, [edi - 0x90]
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x41ff71
lea ecx, [edi - 0x90]
call fcn.00420b72
jmp 0x41ff71
xor eax, eax
xor edx, edx
push eax
push eax
push eax
call fcn.00427499
add esp, 0xc
jmp 0x41ff71
cmp ebx, 0xf0
jne 0x41ff71
xor eax, eax
push eax
push eax
push eax
push 0x427c23
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret 0xc