Function at 0x43f0c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46f9a8
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0043ea50
mov ecx, dword [esi + 0x6c]
xor ebx, ebx
cmp ecx, ebx
lea eax, [esi + 0x4c]
jne 0x43f10c
cmp eax, ebx
je 0x43f0f8
add eax, 0xffffffb4
jmp 0x43f0fa
xor eax, eax
mov eax, dword [eax + 0x10]
push 0x438
push eax
call dword [0x47147c]
mov dword [esi + 0x6c], eax
mov edx, dword [esi + 0x6c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [0x4714f8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ecx
cdq
and edx, 3
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc]
push 0x4718f8
push 0xaf
sar edi, 2
call fcn.00452af0
push eax
lea ecx, [esp + 0x14]
call fcn.00405bf0
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp edi, 0xffffffff
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
je 0x43f1a0
mov eax, 7
mov dword [esp + 0x2c], edi
mov ecx, dword [esi + 0x6c]
or eax, 8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push ebx
push 0x101b
mov dword [esp + 0x44], ebx
mov ebx, dword [0x4714a8]
push ecx
call ebx
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0xc]
push 0x4718f8
push 0xb0
call fcn.00452af0
push eax
lea ecx, [esp + 0x14]
call fcn.00404e70
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ebp, 1
mov dword [esp + 0x40], eax
mov eax, 5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebp
je 0x43f223
mov eax, 7
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x24]
push edx
or eax, 8
push ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x6c]
push 0x101b
push eax
mov dword [esp + 0x48], ebp
call ebx
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x4718f8
push 0xb1
call fcn.00452af0
push eax
lea ecx, [esp + 0x14]
call fcn.00404e70
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp edi, 0xffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov eax, 5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebp
je 0x43f29b
mov eax, 7
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x24]
push edx
or eax, 8
push 2
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x6c]
push 0x101b
push eax
mov dword [esp + 0x48], 2
call ebx
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x4718f8
push 0xb2
call fcn.00452af0
push eax
lea ecx, [esp + 0x14]
call fcn.00404e70
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp edi, 0xffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov eax, 5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebp
je 0x43f318
mov eax, 7
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x24]
push edx
or eax, 8
push 3
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x6c]
push 0x101b
push eax
mov dword [esp + 0x48], 3
call ebx
mov ecx, dword [esi + 0x6c]
push 0x20
push 0
push 0x1036
push ecx
call ebx
mov ecx, esi
call fcn.0043e7e0
mov edx, dword [esi + 0x40]
add edx, 0x5c
lea edi, [esi + 0x70]
push edx
mov ecx, edi
call fcn.00404e10
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43f37b
call fcn.00415ce0
add eax, 0x164
push eax
mov ecx, edi
call fcn.00404e10
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x60]
mov dword [esi + 0x58], ecx
mov edx, dword [eax + 0x68]
mov dword [esi + 0x5c], edx
mov ecx, dword [eax + 0x64]
mov dword [esi + 0x60], ecx
mov edx, dword [eax + 0x6c]
mov dword [esi + 0x64], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x43f3c1
lea eax, [esi + 0x4c]
test eax, eax
je 0x43f3a9
add eax, 0xffffffb4
jmp 0x43f3ab
xor eax, eax
mov eax, dword [eax + 0x10]
mov ebp, dword [0x47147c]
push 0x438
push eax
call ebp
mov dword [esi + 0x6c], eax
jmp 0x43f3c7
mov ebp, dword [0x47147c]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x43f3ea
lea eax, [esi + 0x4c]
test eax, eax
je 0x43f3da
add eax, 0xffffffb4
jmp 0x43f3dc
xor eax, eax
mov ecx, dword [eax + 0x10]
push 0x443
push ecx
call ebp
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x43f40d
lea eax, [esi + 0x4c]
test eax, eax
je 0x43f3fd
add eax, 0xffffffb4
jmp 0x43f3ff
xor eax, eax
mov edx, dword [eax + 0x10]
push 0x444
push edx
call ebp
mov dword [esi + 0x54], eax
lea edi, [esi + 0x4c]
test edi, edi
je 0x43f419
lea eax, [edi - 0x4c]
jmp 0x43f41b
xor eax, eax
mov eax, dword [eax + 0x10]
push 0x443
push eax
call ebp
mov ecx, dword [esi + 0x58]
test ecx, ecx
jl 0x43f432
cmp ecx, 2
jle 0x43f439
mov dword [esi + 0x58], 0
mov ecx, dword [esi + 0x58]
push 0
push ecx
push 0xf1
push eax
call ebx
test edi, edi
je 0x43f450
lea eax, [edi - 0x4c]
jmp 0x43f452
xor eax, eax
mov edx, dword [eax + 0x10]
push 0x444
push edx
call ebp
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jl 0x43f469
cmp ecx, 2
jle 0x43f470
mov dword [esi + 0x5c], 0
mov ecx, dword [esi + 0x5c]
push 0
push ecx
push 0xf1
push eax
call ebx
test edi, edi
je 0x43f487
add edi, 0xffffffb4
jmp 0x43f489
xor edi, edi
mov eax, dword [esi + 0x70]
mov edx, dword [edi + 0x10]
push eax
push 0x40f
push edx
call dword [0x47149c]
test eax, eax
jne 0x43f4c8
push 0xffffffffffffffff
add edi, 0x4c
call dword [0x4714f4]
test edi, edi
je 0x43f4b4
lea eax, [edi - 0x4c]
jmp 0x43f4b6
xor eax, eax
mov eax, dword [eax + 0x10]
push 0x40f
push eax
call ebp
push eax
call dword [0x47150c]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [0x4713ec]
jne 0x43f4dd
mov ecx, dword [esi + 0x50]
push 0
push ecx
call edi
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x43f4ec
mov edx, dword [esi + 0x54]
push 0
push edx
call edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push eax
call fcn.00452bf0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43f523
lea esi, [eax - 0xc]
push esi
call dword [0x471300]
test eax, eax
jg 0x43f523
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8