Function at 0xf06432f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
cmp word [ebp + 8], 0xffff
jne 0xf06434f
push 0xf005e8c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0xf064686
test byte [0xf232d50], 1
push ebx
push esi
push edi
jne 0xf0643c9
push 3
xor edi, edi
push edi
call fcn.0f06fcc0
movzx esi, word [ebp + 8]
shl esi, 2
push esi
call fcn.0f05b7a0
add esi, 2
push esi
movzx ebx, ax
call fcn.0f05b7a0
mov esi, eax
call fcn.0f05d7e4
cmp dword [0xf232b48], edi
je 0xf064392
or eax, 0x10000
push eax
call fcn.0f06fa97
movzx eax, word [0xf2330c4]
push eax
call fcn.0f06fae9
push dword [0xf232d40]
call fcn.0f06fa97
push edi
push edi
push esi
call fcn.0f063cfa
mov dword [0xf232d40], ebx
mov dword [0xf232f84], edi
jmp 0xf06465f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea edi, [ebp + 0xc]
push dword [ebp + 8]
call fcn.0f0641ec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
sub eax, 3
je 0xf0645b6
dec eax
dec eax
je 0xf06456b
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
call fcn.0f05d5f0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
and esi, 0xfffc
push ebx
or esi, ebx
call fcn.0f06eb24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
push ebx
call fcn.0f06ec1a
xor eax, eax
cmp dword [0xf232fa4], 1
sete al
xor edi, edi
cmp dword [ebp + 0x10], edi
lea eax, [eax*4 + 5]
mov dword [ebp + 8], eax
je 0xf064453
inc dword [ebp + 8]
push dword [ebp - 8]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0f06fb78
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x28]
jbe 0xf064475
push 9
push edi
call fcn.0f05e4e6
call fcn.0f05d7e4
cmp dword [0xf232b48], edi
mov dword [ebp - 0xc], eax
je 0xf064489
or byte [ebp - 0xa], 1
mov eax, dword [0xf232d30]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
mov dword [0xf23308c], ebx
push dword [ebp - 8]
movzx ebx, word [0xf2330e8]
mov dword [0xf232fa4], edi
call fcn.0f063def
push dword [ebp - 0x18]
call fcn.0f06fa30
cmp dword [ebp + 8], 9
jl 0xf064514
movzx eax, word [0xf233154]
push eax
call fcn.0f06fae9
movzx eax, word [0xf233130]
push eax
call fcn.0f06fae9
movzx eax, word [0xf23310c]
push eax
call fcn.0f06fae9
movzx eax, word [0xf2330a0]
push eax
call fcn.0f06fae9
push edi
push 5
call fcn.0f064025
push edi
push 4
call fcn.0f064025
push edi
push 3
call fcn.0f064025
push edi
push edi
call fcn.0f064025
push ebx
call fcn.0f06fae9
push dword [ebp - 0x20]
call fcn.0f06fa97
push dword [ebp - 0xc]
call fcn.0f06fa97
movzx eax, word [0xf2330c4]
push eax
call fcn.0f06fae9
push dword [0xf232d40]
call fcn.0f06fa97
cmp dword [ebp + 0x10], edi
je 0xf064551
movzx eax, word [ebp + 0x14]
push eax
call fcn.0f06fa97
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0f063cfa
mov eax, dword [ebp - 0x10]
mov dword [0xf232d40], eax
jmp 0xf064647
push dword [0xf232d40]
xor edi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
push edi
call fcn.0f06f1ed
cmp dword [ebp + 0x10], edi
je 0xf064598
push 1
push edi
call fcn.0f06fcc0
movzx eax, word [ebp + 0x14]
push eax
call fcn.0f06fa97
mov eax, dword [0xf232d40]
cmp eax, dword [0xf2330e4]
jbe 0xf064665
push 7
push edi
call fcn.0f05e4e6
jmp 0xf064665
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
call fcn.0f05d5f0
mov esi, dword [ebp + 8]
and esi, 0xfffc
or esi, dword [0xf23308c]
xor eax, eax
xor edi, edi
cmp dword [ebp + 0x10], edi
setne al
add eax, 3
push eax
push edi
call fcn.0f06fcc0
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x28]
jbe 0xf0645f5
push 8
push edi
call fcn.0f05e4e6
call fcn.0f05d7e4
cmp dword [0xf232b48], edi
je 0xf064607
or eax, 0x10000
push eax
call fcn.0f06fa97
movzx eax, word [0xf2330c4]
push eax
call fcn.0f06fae9
push dword [0xf232d40]
call fcn.0f06fa97
cmp dword [ebp + 0x10], edi
je 0xf064634
movzx eax, word [ebp + 0x14]
push eax
call fcn.0f06fa97
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0f063cfa
mov dword [0xf232d40], ebx
cmp dword [ebp - 4], 6
je 0xf064653
cmp dword [ebp - 4], 0xe
jne 0xf064659
mov dword [0xf232f84], edi
mov dword [0xf232f98], edi
mov dword [0xf232f80], edi
mov dword [0xf232b40], edi
mov dword [0xf232b48], edi
mov dword [0xf232b44], edi
mov dword [0xf232b38], edi
mov dword [0xf232b3c], edi
pop edi
pop esi
pop ebx
leave
ret 0x10