Function at 0x417e30
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x429cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43bafc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00410f40
mov ecx, eax
call fcn.004101c0
push eax
lea ecx, [esp + 0x24]
call fcn.0040a580
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x40]
add eax, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.0040a580
mov byte [esp + 0x38], 1
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x417eeb
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040af30
mov bl, 2
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.0040f580
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040a580
mov byte [esp + 0x38], 3
push eax
lea ecx, [esp + 0x18]
call fcn.0040acf0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x28]
call fcn.00404660
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x18]
call fcn.00404660
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x18]
add eax, 0x18
cmp dword [ecx - 0xc], 0
jne 0x417efe
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov edx, dword [esi + 4]
push eax
push edx
call dword [0x42d48c]
lea ecx, [esp + 0x2c]
call fcn.00404600
mov byte [esp + 0x38], 5
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x20]
mov ecx, dword [esi + 4]
mov edi, dword [0x42d46c]
push eax
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x24]
push eax
mov eax, dword [esi + 4]
push 0x3ec
push eax
call edi
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x2c]
mov edx, dword [esi + 4]
push eax
push 0x3ea
push edx
call edi
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 4]
push eax
push 0x3ea
push ecx
call dword [0x42d474]
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x34]
push eax
mov eax, dword [esi + 4]
push 0x3ee
push eax
call edi
mov ecx, dword [esi + 4]
mov ebx, dword [0x42d4e4]
push 0x3ee
push ecx
call ebx
push 0
push eax
call dword [0x42d4b8]
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x34]
push eax
mov eax, dword [esi + 4]
push 0x406
push eax
call edi
mov ecx, dword [esi + 4]
push 0x406
push ecx
call ebx
lea ebp, [esi + 0x44]
push eax
mov ecx, ebp
call fcn.00416c20
mov eax, dword [esi + 0x98]
or eax, 0x4c
mov dword [ebp + 0x54], eax
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x38]
push eax
mov eax, dword [esi + 4]
push 1
push eax
call edi
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push eax
call dword [0x42d3b4]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x418031
mov ecx, dword [esi + 4]
mov edi, dword [0x42d4e8]
push eax
push 1
push 0x80
push ecx
call edi
mov edx, dword [esi + 4]
push 0x402
push edx
call ebx
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
push 0x170
push eax
jmp 0x418072
push 0x7f01
push ebp
call dword [0x42d3f8]
mov edx, dword [esi + 4]
mov edi, dword [0x42d4e8]
push eax
push 1
push 0x80
push edx
call edi
mov eax, dword [esi + 4]
push 0x402
push eax
call ebx
push 0x7f01
push ebp
mov ebx, eax
call dword [0x42d3f8]
push ebp
push eax
push 0x170
push ebx
call edi
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x418089
mov ecx, dword [esi + 4]
push eax
push ebp
push 0x80
push ecx
jmp 0x4180a0
push 0x7f01
push ebp
call dword [0x42d3f8]
mov edx, dword [esi + 4]
push eax
push ebp
push 0x80
push edx
call edi
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x2c]
call fcn.00404660
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x14]
call fcn.00404660
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404660
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret