Function at 0x10026a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119e46
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0x10129db4
movups xmmword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov edi, dword [0x1016fa80]
add edi, 0x10
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x1016fae4]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.100bd584
add esp, 0xc
test eax, eax
je 0x10026aff
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.100bd584
add esp, 0xc
test eax, eax
je 0x10026aff
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x10026af0
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x10026afc
lea ecx, [ebp - 0x2a8]
mov dword [eax], ecx
inc dword [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
lea ecx, [ebp - 0x270]
call fcn.10028ec0
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0x10166108
push 0x10165f74
push 0x1016fd1c
call fcn.1001efd0
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x25c]
test eax, eax
jne 0x10026bd2
call fcn.10051e08
mov dword [ebp - 0x25c], eax
test eax, eax
jne 0x10026bd2
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x270]
call fcn.100291c0
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x10026b8d
push eax
call fcn.100baa5b
add esp, 4
mov dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
test eax, eax
je 0x10026bb4
push eax
call fcn.100baa5b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067be8
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.10051f0a
test si, si
je 0x10026b63
lea eax, [ebp - 0x270]
mov dword [ebp - 0x268], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x10165f78
mov dword [ebp - 0x264], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x10165f90]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x268]
push 0x10165f78
mov dword [0x10165f90], eax
call edi
mov ecx, dword [0x10165fa4]
mov eax, dword [0x10165fac]
mov edx, dword [0x10165fa0]
sub eax, ecx
push 0
push dword [0x1016fd20]
push 0
push 0
push eax
mov eax, dword [0x10165fa8]
sub eax, edx
push eax
push ecx
push edx
push SysReAllocString
push 0
push esi
push 0x80000
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x10026b63
call fcn.10023f20
mov ecx, eax
call fcn.1001be20
test eax, eax
jne 0x10026cbf
push dword [ebp + 0xc]
push dword [ebp - 0x26c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x26c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x26c]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0x26c]
call esi
call fcn.10023f20
mov ecx, eax
call fcn.1001be20
test eax, eax
mov edx, str.Create_Main_Wnd_and_show
mov ecx, str.Silent_mode
cmove ecx, edx
push ecx
call fcn.10028b70
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
add esp, 4
mov ebx, 1
xor esi, esi
test ebx, ebx
je 0x10026d20
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28c]
push eax
call edi
test eax, eax
jne 0x10026d20
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a8]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x10026cf4
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x10026cf0
test eax, eax
je 0x10026db6
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a8]
call dword [eax]
test eax, eax
jne 0x10026d6f
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x288]
cmp eax, 0x118
ja 0x10026d8a
je 0x10026da6
cmp eax, 0xf
je 0x10026da6
cmp eax, 0xa0
jmp 0x10026d8f
cmp eax, 0x200
je 0x10026da6
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x10026cf0
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x10026cf0
mov esi, dword [ebp - 0x284]
mov ecx, 0x1016fab0
call fcn.10026900
lea ecx, [ebp - 0x270]
call fcn.1002f5c0
jmp 0x10026b65