Function at 0x503c40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7245e5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7db1e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x3f4]
push esi
call fcn.004e0f90
test al, al
je 0x503ee0
push 0x43
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 0x3f8]
lea edx, [ebx + 0x3f8]
xor edi, edi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
cmp byte [eax + 0xd], 0
jne 0x503ccf
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x10], esi
jae 0x503cc0
mov eax, dword [eax + 8]
xor edi, edi
jmp 0x503cc9
mov ecx, eax
mov edi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x503cb1
cmp byte [ecx + 0xd], 0
jne 0x503cda
cmp esi, dword [ecx + 0x10]
jae 0x503d49
cmp dword [edx + 4], 0x1bacf91
je 0x503ef6
mov dword [ebp - 0x18], edx
push 0x94
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.006f4b6f
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 1
mov dword [esi + 0x10], eax
call fcn.004dd370
mov eax, dword [ebp - 0x1c]
lea ecx, [ebx + 0x3f8]
push esi
mov dword [esi], eax
push edi
push dword [ebp - 0x10]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004d9e00
mov ecx, eax
lea eax, [ecx + 0x14]
mov ecx, dword [ebx + 0x3ec]
push eax
call fcn.00500440
mov ecx, dword [ebx + 0x3e8]
call fcn.0050d0c0
mov ecx, dword [ebx + 0x3e8]
test al, al
jne 0x503de0
call fcn.0050ffe0
mov eax, dword [ebx + 0x3e8]
mov byte [eax + 0x378], 1
mov ecx, dword [ebx + 0x3e8]
call fcn.0050d0b0
test al, al
je 0x503d99
mov ecx, dword [ebx + 0x3e8]
call fcn.0050df10
mov eax, dword [ebx + 0x3e8]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x3e8]
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
call eax
mov eax, dword [ebx + 0x3e8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebx + 0x3e8]
jmp 0x503ed7
call fcn.0050ca20
test al, al
je 0x503e95
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x503efb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x503f05
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x8023
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004d4560
push 0x8024
lea ecx, [ebp - 0x10]
call fcn.004d4560
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
push 0x30
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x503e77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x503ee0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x503ee0
mov eax, dword [ebx + 0x3ec]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x3ec]
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
call eax
mov eax, dword [ebx + 0x3ec]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebx + 0x3ec]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004da0f0
push 0x80004005
call fcn.004cf5d0
push 0x80004005
call fcn.004cf5d0
int3