Function at 0x445b30
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x464f9b
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [0x4674f8]
push esi
push edi
mov esi, ecx
push ebx
call ebp
test eax, eax
je 0x445d52
xor eax, eax
xor ecx, ecx
cmp word [esp + 0x78], ax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
setne cl
mov dword [esi + 0x14], ecx
mov edx, dword [0x47d31c]
mov ecx, dword [0x47d328]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x47d324]
mov dword [esp + 0x2c], eax
mov eax, dword [0x47d330]
mov dword [esp + 0x24], edx
mov edx, dword [0x47d884]
mov dword [esp + 0x38], eax
mov eax, dword [0x47d33c]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x47d334]
mov dword [esp + 0x34], edx
mov edx, dword [0x47d338]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x47d340]
mov dword [esp + 0x40], edx
mov edx, dword [0x47d344]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x2c], 0x447980
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call dword [0x467480]
mov edx, dword [0x47d340]
push esi
push 0
push 0x20
push 0x40000000
lea ecx, [esp + 0x20]
push 0
lea edi, [esi + 4]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.00447c10
mov eax, dword [edi]
push eax
call ebp
test eax, eax
jne 0x445c37
mov eax, 0x80004005
jmp 0x445d57
mov eax, dword [esp + 0x64]
test eax, eax
je 0x445c7e
mov ecx, dword [esp + 0x68]
push 3
cmp ecx, 3
jne 0x445c6c
push eax
call dword [0x467434]
push 3
push 0
push 0
push 0
test eax, eax
push 0
je 0x445c65
mov ecx, dword [edi]
push eax
push ecx
jmp 0x445c78
mov edx, dword [edi]
push 0
push edx
jmp 0x445c78
push 0
push 0
push 0
push 0
push eax
mov eax, dword [edi]
push eax
call dword [0x4674f4]
push 0x7c
call fcn.0043b8cf
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x58], 0
je 0x445cb0
mov ecx, dword [esp + 0x7c]
mov edx, dword [0x47d884]
push ecx
mov ecx, dword [edi]
push edx
push ecx
mov ecx, eax
call fcn.004458a0
jmp 0x445cb2
xor eax, eax
test eax, eax
mov dword [esp + 0x58], 0xffffffff
mov dword [esi + 8], eax
jne 0x445ccb
mov eax, 0x8007000e
jmp 0x445d57
mov edx, dword [esp + 0x84]
mov dword [eax + 0x6c], edx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x445ced
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esi + 8]
push eax
call fcn.00445940
jmp 0x445cff
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 8]
push edx
push eax
call fcn.00445960
test eax, eax
je 0x445d52
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
push 0
mov ecx, dword [eax + 0x24]
add ecx, ebp
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 0x28]
add edx, ebx
mov eax, ebx
mov dword [esi + 0x28], edx
sub edx, eax
push edx
mov edx, dword [esi + 0x24]
mov ecx, ebp
sub edx, ecx
push edx
push eax
mov eax, dword [edi]
push ecx
push eax
call dword [0x467408]
mov ecx, dword [edi]
push 0
push ecx
call dword [0x4674e4]
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x80]
mov dword [edx + 0x5c], eax
xor eax, eax
jmp 0x445d57
mov eax, 0x80070057
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x28