Function at 0x46a3a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6040ea
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp + 8]
push 0x610be8
push 0
mov dword [ebp - 0x10c], eax
call fcn.004226f0
add esp, 8
mov dword [ebp - 0x8c], 7
xor eax, eax
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0xa0]
mov word [ebp - 0xa0], ax
push eax
push 0x6097e8
call fcn.00407210
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x6097e8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00407210
mov byte [ebp - 4], 1
call fcn.0048bcc0
test al, al
je 0x46a46f
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0048c3c0
test al, al
je 0x46a48a
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
mov esi, dword [ebp - 0x10c]
push str.83ce1f
push esi
call fcn.0046d220
push str.92f4ef
push esi
mov dword [ebp - 0x124], eax
call fcn.0046d220
push str.53e5c6
push esi
mov dword [ebp - 0x128], eax
call fcn.0046d220
push str.70d2c0
push esi
mov dword [ebp - 0x12c], eax
call fcn.0046d220
push str.711370
push esi
mov dword [ebp - 0x130], eax
call fcn.0046d220
push str.99792e
push esi
mov dword [ebp - 0x134], eax
call fcn.0046d220
add esp, 0x30
call fcn.0048bb70
test al, al
je 0x46a516
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048bf60
test al, al
je 0x46a53e
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
mov esi, dword [ebp - 0x10c]
push str.533798
push esi
call fcn.0046d220
push str.53c4e9
push esi
mov dword [ebp - 0x138], eax
call fcn.0046d220
push str.374302
push esi
mov dword [ebp - 0x13c], eax
call fcn.0046d220
push str.60ec8f
push esi
mov dword [ebp - 0x140], eax
call fcn.0046d220
add esp, 0x20
mov edi, eax
mov dword [ebp - 0x108], edi
call fcn.0048bb00
test al, al
je 0x46a5ab
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov edi, dword [ebp - 0x108]
push str.4fab07
push esi
call fcn.0046d220
push str.38fbe8
push esi
mov dword [ebp - 0x144], eax
call fcn.0046d220
add esp, 0x10
mov dword [ebp - 0x148], eax
call fcn.0048c2e0
test al, al
je 0x46a5eb
push ecx
pop edx
pop ecx
pop esi
push ebx
pop ebp
pop eax
push eax
pop esi
pop esi
push ecx
pop ebx
push ebx
push esp
push esp
pop ebp
push eax
push ebx
mov byte [ebp - 0x101], 0
test edi, edi
je 0x46a653
push edi
call fcn.00431c20
mov bl, al
add esp, 4
mov byte [ebp - 0x101], bl
test bl, bl
je 0x46a653
mov eax, dword [0x6a0c20]
test eax, eax
jne 0x46a643
push 0x104
call fcn.005caa24
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x46a638
mov ecx, eax
call fcn.0044cd50
jmp 0x46a63a
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x6a0c20], eax
push 0
push str.power_install_power
push 1
mov ecx, eax
call fcn.0044faa0
call fcn.0048c430
test al, al
je 0x46a66d
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
call fcn.0048be80
test al, al
je 0x46a693
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
push 7
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x609b1c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407210
push 6
push str.a17f2f
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040f7f0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x150]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00409e10
mov byte [ebp - 4], 4
call fcn.0048c430
test al, al
je 0x46a6fe
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
call fcn.0048be80
test al, al
je 0x46a724
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
lea ecx, [ebp - 0x150]
call fcn.00409f10
test eax, eax
je 0x46a761
cmp byte [ebp - 0x101], 0
je 0x46a751
push 1
push str.009d02
push 1
call fcn.004464b0
mov ecx, eax
call fcn.0044faa0
push str.ExitMutex_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x46afa1
call fcn.0048bfd0
test al, al
je 0x46a782
push ecx
push ebp
pop esp
pop ebx
push ebx
push esi
pop eax
pop edi
pop edi
pop eax
pop esp
pop ecx
pop ebp
pop esi
push edi
push ebp
push eax
pop ecx
pop ebp
pop eax
push edi
pop ecx
push ecx
pop ecx
call fcn.0048bb70
test al, al
je 0x46a7a4
push esp
push ebx
push ecx
push esp
push edi
push ebx
push ecx
pop eax
pop edx
push ebp
pop edi
push ecx
push ecx
push esp
pop ebx
pop esi
push eax
pop edx
push esi
push esp
pop ebp
pop eax
pop ebp
pop esi
push edx
call fcn.0048b8d0
test al, al
je 0x46a7bf
pop edx
push esi
pop edi
push esp
pop esi
pop esi
pop esi
pop ebx
push ecx
pop ebx
push esi
push esi
push ebp
push ebp
push edi
pop ebx
pop edx
pop eax
lea ecx, [ebp - 0x15c]
call fcn.004169c0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x15c]
call fcn.0041c9c0
mov byte [ebp - 4], 6
call fcn.0048c120
test al, al
je 0x46a808
push esi
push esp
push ecx
pop ebp
push ecx
pop ecx
pop edi
push edx
pop edx
push ecx
pop esi
push ecx
push esp
push ecx
push esp
pop ebx
push esp
push ebp
pop ebx
push esi
pop esi
pop eax
push eax
push ebp
push ebp
push edx
push edx
mov eax, dword [0x6a0bcc]
test eax, eax
jne 0x46a840
push 0x15c
call fcn.005caa24
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x46a835
mov ecx, eax
call fcn.00487140
jmp 0x46a837
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x6a0bcc], eax
mov ecx, eax
call fcn.004883b0
call fcn.0048bef0
test al, al
je 0x46a861
pop ebx
pop eax
pop ecx
push esp
pop edi
push esi
push edx
push edx
push ecx
pop edi
push ebx
push esi
push ebp
pop esi
pop esi
pop edi
push eax
call fcn.0048bd30
test al, al
je 0x46a884
push ecx
push esi
push eax
push ebp
pop ebp
push ebp
pop esi
pop edi
pop ebp
push ecx
push edi
pop esp
pop ecx
push ebp
pop edx
pop ebp
pop esp
push edx
pop ecx
push edx
pop esi
pop eax
pop ecx
pop edx
pop edx
pop eax
call fcn.0048c200
test al, al
je 0x46a8a2
push edx
pop esi
pop ebx
pop ebp
pop esi
push esi
push ebp
push esp
push eax
push ecx
push ecx
pop ebx
push ebx
pop eax
pop ebx
push esp
push ebp
push ebp
pop esp
push ecx
pop ebx
mov eax, dword [0x6a0bcc]
test eax, eax
jne 0x46a8da
push 0x15c
call fcn.005caa24
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x46a8cf
mov ecx, eax
call fcn.00487140
jmp 0x46a8d1
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x6a0bcc], eax
push 0
push 0x6097e8
push 0x609c84
push str.GDsftinf
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.0040c5d0
mov byte [ebp - 4], 9
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x114], 1
call fcn.0048b9b0
test al, al
je 0x46a94c
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.0048c120
test al, al
je 0x46a96a
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.0048b940
test al, al
je 0x46a98a
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
push 0
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x10c], 1
call fcn.005dec47
xor eax, eax
mov dword [ebp - 0xa4], 7
add esp, 4
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 4], 0xa
call fcn.0046d2c0
test eax, eax
jne 0x46a9db
push eax
call fcn.005dec47
add esp, 4
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00435540
add esp, 8
mov byte [ebp - 4], 0xb
call fcn.0048c350
test al, al
je 0x46aa14
push edi
push edx
push ecx
pop esp
push eax
pop esp
push esi
push edx
push esp
pop esi
push ebp
pop ebx
push esp
pop esp
push eax
pop eax
pop ebp
push ebx
push esp
push esi
pop edx
push edi
push ebp
push edx
push esp
push ecx
pop ebx
push edi
call fcn.0048bfd0
test al, al
je 0x46aa3d
pop ebp
push esi
push esi
push edx
push ebx
push eax
pop esi
pop esi
push ebp
push eax
push edx
push esi
push esi
push ebx
pop ebx
pop ebx
push edx
pop esi
pop ebx
push esi
pop ecx
pop ebp
push edi
pop edi
push ecx
pop edx
pop ecx
pop edi
push edi
push ecx
pop ecx
pop ebx
call fcn.0048c2e0
test al, al
je 0x46aa5f
pop ebx
push ecx
pop esi
push ecx
push edi
pop edx
pop esp
push edx
pop eax
pop ecx
push ebx
push ebx
push ebx
push eax
push ecx
push ebx
pop esi
push edi
pop ebp
push ecx
pop ecx
pop ebx
pop esp
push ecx
push esp
mov ebx, dword [ebp - 0x124]
test ebx, ebx
je 0x46aa93
cmp word [ebx], 0
jne 0x46aa75
xor ecx, ecx
push ecx
push ebx
jmp 0x46aac1
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46aa80
sub ecx, edx
sar ecx, 1
push ecx
push ebx
jmp 0x46aac1
call fcn.00443920
mov ecx, eax
call fcn.00487e30
mov edx, eax
cmp word [edx], 0
jne 0x46aaab
xor ecx, ecx
jmp 0x46aabf
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46aab0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00407210
call fcn.0048c270
test al, al
je 0x46aaea
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
push 0
cmovae eax, dword [ebp - 0xd0]
push 0x6097e8
push dword [ebp - 0xc0]
push eax
call fcn.00407020
add esp, 0x10
test eax, eax
je 0x46ab2b
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x70]
call fcn.004070f0
mov ebx, dword [ebp - 0x128]
test ebx, ebx
je 0x46ab5d
cmp word [ebx], 0
jne 0x46ab3f
xor ecx, ecx
jmp 0x46ab53
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ab44
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x70]
call fcn.00407210
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x46ab79
push eax
call fcn.00431c20
movzx eax, al
add esp, 4
mov dword [ebp - 0x108], eax
call fcn.0048ba90
test al, al
je 0x46ab9f
push esi
push ebp
push edi
push ebx
pop edx
push esi
pop ebp
pop edx
pop edx
pop ebp
push ecx
pop esp
push esp
pop ecx
pop eax
push edx
push edx
pop ebp
pop ebp
pop ebx
push ebx
pop edx
push eax
pop ecx
push eax
push esp
push ebp
push ecx
pop esp
call fcn.0048c430
test al, al
je 0x46abc6
push edi
pop esi
pop ebp
pop esp
pop eax
pop ecx
push esi
pop esp
push ebp
push esp
push esp
pop edi
push esi
push ebp
pop ebx
push ecx
push eax
pop edx
pop edx
pop esi
push esp
push eax
push edx
push esi
pop ebp
push esp
push ebx
push ebx
push edi
push esi
call fcn.0048b8d0
test al, al
je 0x46abe1
pop edx
pop esp
pop edi
push edx
pop esp
push esi
push ebp
pop esp
pop eax
push eax
pop eax
pop ecx
pop ebp
pop ebp
pop eax
push edx
pop ebx
pop esp
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x46abfd
push eax
call fcn.00431c20
movzx eax, al
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x46ac19
push eax
call fcn.00431c20
movzx eax, al
add esp, 4
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x46ac2c
push eax
call fcn.00431c20
add esp, 4
call fcn.0048bcc0
test al, al
je 0x46ac4a
push ecx
pop ebp
pop esp
pop ebp
pop esi
pop ecx
pop eax
push edx
push edx
push ebp
pop ebp
push ebx
push edx
pop edi
pop edx
push eax
pop edx
pop edi
push esi
pop eax
push edx
call fcn.0048c3c0
test al, al
je 0x46ac6d
push esp
pop ebp
pop edx
push edx
push edx
pop ecx
push edi
pop esp
pop esi
pop esi
push esi
push ecx
push ecx
push esp
push ebx
pop ecx
push esp
pop esi
push esi
push ebp
pop esp
pop eax
push edx
push edi
push esp
pop esi
call fcn.0048bb00
test al, al
je 0x46ac8c
pop ebp
push edx
pop edx
pop eax
pop eax
push esp
pop esp
pop edx
push esp
push esp
push ecx
pop ebp
pop edx
push ecx
pop eax
push edx
pop ebx
push esi
pop ecx
pop ecx
push ecx
push edi
call fcn.0048c2e0
test al, al
je 0x46acaa
pop ecx
pop edx
pop edi
push ecx
pop eax
push ecx
push esp
pop esi
push ebp
pop edi
push edx
pop ebp
push eax
pop edi
push ebp
pop edi
pop eax
push esp
pop edi
pop esi
push esp
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x46acc6
push eax
call fcn.00431c20
movzx eax, al
add esp, 4
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x46acd9
push eax
call fcn.00431c20
add esp, 4
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x46ad0e
push eax
call fcn.00431c20
add esp, 4
mov byte [ebp - 0x110], al
test al, al
je 0x46ad0e
push 1
push str.fe4523
push str.GDsftinf
call fcn.00443920
mov ecx, eax
call fcn.0040f3b0
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x46ad27
push eax
call fcn.00431c20
add esp, 4
mov byte [ebp - 0x10c], al
xor eax, eax
mov dword [ebp - 0x74], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x78], 0
push eax
call fcn.004070f0
xor eax, eax
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x2c], 7
push eax
mov dword [ebp - 0x30], 0
call fcn.004070f0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xd
push eax
call fcn.00433170
lea eax, [ebp - 0x70]
push eax
call fcn.00433170
add esp, 8
call fcn.0048bb70
test al, al
je 0x46adb9
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048bf60
test al, al
je 0x46addb
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
push 6
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x610d44
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407210
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004323d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x46ae35
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407310
push 6
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x610d44
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407210
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004323d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x46ae8c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407310
lea ecx, [ebp - 0x102]
call fcn.00454950
push dword [ebp - 0x10c]
cmp dword [ebp - 0xa4], 8
lea edx, [ebp - 0xb8]
push dword [ebp - 0x110]
cmovae edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x40]
push edx
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x102]
push eax
push dword [ebp - 0x114]
mov byte [ebp - 4], 0x10
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x108]
call fcn.0045fd60
lea ecx, [ebp - 0x102]
call fcn.004a1050
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x46af1d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00405cd0
lea ecx, [ebp - 0x100]
call fcn.00405cd0
lea ecx, [ebp - 0xb8]
call fcn.00405cd0
lea ecx, [ebp - 0xd0]
call fcn.00405cd0
mov eax, dword [ebp - 0xd4]
cmp eax, 0x10
jb 0x46af7b
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00408f70
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.004a1050
lea ecx, [ebp - 0x150]
call fcn.00409e30
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x46afc1
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x46afea
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x46b01c
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00407310
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 8