Function at 0x10030d90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2236
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10136674]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x10030e68
call fcn.10025080
mov ecx, eax
call fcn.1001e9e0
test eax, eax
je 0x10030df7
mov eax, dword [esi + 0x90]
lea ecx, [esi + 0x90]
call dword [eax]
mov dword [esi + 0x178], 1
jmp 0x10031068
cmp dword [esi + 0x74], 0
je 0x10030e59
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10030e59
cmp dword [esi + 0x7c], 0
je 0x10030e59
mov eax, dword [ecx]
push 0x3e8
push ecx
call dword [eax + 0xf0]
mov edi, eax
test edi, edi
je 0x10030e59
mov ecx, dword [esi + 0x74]
push 1
push 0
push ecx
mov edx, dword [ecx]
call dword [edx + 0x20]
push 0
lea ecx, [esi + 0xa8]
call fcn.10022860
mov eax, dword [esi + 0x78]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x7c]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, edi
call fcn.10065a50
mov dword [esi + 0x178], 1
jmp 0x10031068
cmp eax, 1
jne 0x10030f0f
call fcn.10025080
mov ecx, eax
call fcn.1001e9e0
test eax, eax
je 0x10030e9e
mov eax, dword [esi + 0x9c]
lea ecx, [esi + 0x9c]
call dword [eax]
mov dword [esi + 0x178], 2
jmp 0x10031068
cmp dword [esi + 0x74], 0
je 0x10030f00
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10030f00
cmp dword [esi + 0x7c], 0
je 0x10030f00
mov eax, dword [ecx]
push 0x3e8
push ecx
call dword [eax + 0xf0]
mov edi, eax
test edi, edi
je 0x10030f00
mov ecx, dword [esi + 0x74]
push 1
push 0
push ecx
mov edx, dword [ecx]
call dword [edx + 0x20]
push 0
lea ecx, [esi + 0xa8]
call fcn.10022860
mov eax, dword [esi + 0x78]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x7c]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, edi
call fcn.10065b00
mov dword [esi + 0x178], 2
jmp 0x10031068
cmp eax, 2
jne 0x10031068
cmp dword [ebp + 0x10], 0
jne 0x10031063
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xa8]
call fcn.10022860
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1007bae0
add esp, 0xc
call fcn.10037480
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x10031087
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x10030fa9
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.10006850
jmp 0x10030fd4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030fb2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10007690
push 0x465
push dword [esi + 4]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
call fcn.1002f680
mov ecx, eax
call fcn.10020060
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003101b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
call fcn.1002f680
mov ecx, eax
call fcn.100205a0
cmp dword [ebp - 0x220], 0
jne 0x10031054
call fcn.1002f680
mov ecx, eax
call fcn.10020820
mov ecx, esi
call fcn.100317f0
push str.wait_band
call fcn.1002ea70
add esp, 4
jmp 0x10031068
call fcn.100317f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069b58
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10005ea0
int3