Function at 0xf0352a7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov bl, byte [edi + 1]
mov al, byte [edi]
and al, 0x1f
and bl, 3
mov byte [ebp + 0xb], al
mov al, byte [edi + 2]
movzx esi, bl
mov byte [ebp - 0x10], al
imul esi, esi, 0x12c
mov al, byte [edi + 3]
mov byte [ebp - 4], al
mov al, byte [edi + 4]
mov byte [ebp - 0xc], al
mov al, byte [edi + 5]
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x18], al
add esi, 0xf0ad4c0
call fcn.0f02cee8
cmp byte [ebp + 0xb], 0xd
je 0xf035348
cmp dword [0xf075c20], 0
jne 0xf03530c
cmp bl, byte [0xf075c24]
je 0xf03532d
push dword [ebp - 0x20]
call fcn.0f035194
cmp ax, 0x64
je 0xf03532d
push esi
call fcn.0f034d51
and dword [0xf075c20], 0
mov byte [0xf075c24], bl
mov ax, word [0xf0ad718]
cmp ax, word [esi + 0x12]
je 0xf035348
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x40
mov byte [eax + 1], 1
jmp 0xf035745
cmp byte [ebp + 0xb], 6
je 0xf035354
cmp byte [ebp + 0xb], 5
jne 0xf0353b4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call fcn.0f066efd
push dword [ebp - 0x18]
movzx edx, word [ebp - 0x1c]
push dword [ebp - 0xc]
inc edx
push dword [ebp - 4]
mov dword [ebp - 8], edx
push dword [ebp - 0x10]
push esi
call fcn.0f034d17
test eax, eax
je 0xf0356ef
mov ax, word [0xf0ad718]
cmp ax, word [esi + 0x12]
jne 0xf0356ef
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x10]
push esi
call fcn.0f034ce6
mov dword [ebp - 0x24], eax
mov eax, edx
shr eax, 9
movzx eax, ax
mov dword [ebp - 0x28], eax
jmp 0xf0353b7
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + 0xb]
sub eax, 5
je 0xf0355fd
dec eax
je 0xf03552b
sub eax, 4
je 0xf0354b7
sub eax, 3
jne 0xf035749
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call fcn.0f066efd
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [0xf0ad82c]
push 2
call fcn.0f067088
mov al, byte [edi + 1]
movsx edx, word [0xf0ad718]
mov bl, al
shr al, 2
and al, 1
mov byte [ebp - 4], al
and bl, 3
movzx eax, bl
imul eax, eax, 0x12c
add eax, 0xf0ad4c0
movzx ecx, word [eax + 6]
movzx eax, word [eax + 8]
add ecx, edx
push dword [ecx*4 + 0xf075c08]
movzx cx, byte [ebp - 4]
movzx ecx, cx
push ecx
push eax
mov byte [ebp + 8], bl
push dword [ebp + 8]
call fcn.0f0350df
test eax, eax
jne 0xf0354a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf0030cc
push 0x100
mov esi, 0xf0ad720
push esi
mov dword [0xf082c38], eax
call fcn.0f05e98d
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov cl, byte [ebp - 4]
mov eax, dword [ebp + 0xc]
and cl, 1
or cl, 0x10
shl cl, 2
and bl, 3
or cl, bl
mov byte [eax], cl
mov byte [eax + 1], 0
cmp dword [0xf082c38], 0x13
jne 0xf03549f
mov byte [eax + 1], 2
mov byte [eax + 2], 0
jmp 0xf0356e3
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [eax + 1], 0
jmp 0xf035745
mov al, byte [edi + 1]
movzx ecx, word [esi + 6]
movsx edx, word [0xf0ad718]
mov edi, dword [ebp + 0xc]
shr al, 2
add ecx, edx
and al, 1
cmp ecx, 1
jne 0xf0354e0
mov cx, word [esi + 8]
shr cx, 1
mov byte [edi + 2], cl
jmp 0xf0354e6
mov cl, byte [esi + 8]
mov byte [edi + 3], cl
movzx cx, byte [esi + 0x21]
cmp cx, word [esi + 0x18]
jae 0xf03551e
mov dl, byte [edi]
mov cl, al
and cl, 1
shl cl, 2
and dl, 0xf8
or cl, dl
and bl, 3
or cl, bl
mov byte [edi], cl
mov byte [edi + 4], al
mov al, byte [esi + 0x23]
mov byte [edi + 5], al
mov al, byte [esi + 0x24]
mov byte [edi + 6], al
mov al, byte [esi + 0x21]
mov byte [edi + 3], al
jmp 0xf035523
mov al, byte [esi + 0x18]
dec al
mov byte [edi + 3], al
jmp 0xf035749
push dword [0xf0ad82c]
push edx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0f035053
cmp eax, dword [ebp - 8]
je 0xf035584
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf0030b4
push 0x100
mov ebx, 0xf0ad720
push ebx
mov dword [0xf082c38], eax
call fcn.0f05e98d
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
mov byte [ebx], 0x40
mov byte [ebx + 1], 4
mov byte [ebx + 2], 0
jmp 0xf0355b1
push dword [ebp - 8]
push dword [0xf0ad82c]
push 2
call fcn.0f067088
mov cl, byte [ebp - 4]
mov eax, dword [ebp + 0xc]
and cl, 1
and bl, 3
shl cl, 2
or cl, bl
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov byte [eax], cl
mov ebx, eax
mov al, byte [ebp - 0x10]
push dword [ebp - 0x28]
mov byte [esi + 0x21], al
mov al, byte [ebp - 4]
mov byte [esi + 0x22], al
mov al, byte [ebp - 0xc]
mov byte [esi + 0x23], al
mov al, byte [ebp - 0x18]
mov byte [esi + 0x24], al
movzx eax, byte [edi + 6]
push eax
mov al, byte [edi]
shr al, 7
movzx eax, al
push eax
push esi
call fcn.0f034d8d
mov al, byte [esi + 0x21]
mov byte [ebx + 3], al
mov al, byte [esi + 0x22]
mov byte [ebx + 4], al
mov al, byte [esi + 0x23]
mov byte [ebx + 5], al
mov al, byte [esi + 0x24]
mov byte [ebx + 6], al
jmp 0xf0356dd
push edx
push dword [0xf0ad82c]
push 2
call fcn.0f067088
push dword [0xf0ad82c]
push dword [ebp - 8]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0f035099
cmp eax, dword [ebp - 8]
je 0xf035659
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf003098
push 0x100
push 0xf0ad720
mov dword [0xf082c38], eax
call fcn.0f05e98d
add esp, 0x10
push 0xf0ad720
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
je 0xf035683
mov byte [eax], 0x40
cmp dword [0xf082c38], 0x13
setne cl
lea ecx, [ecx + ecx + 2]
mov byte [eax + 1], cl
jmp 0xf035693
mov cl, byte [ebp - 4]
and cl, 1
shl cl, 2
and bl, 3
or cl, bl
mov byte [eax], cl
mov al, byte [ebp - 0x10]
push dword [ebp - 0x28]
mov byte [esi + 0x21], al
mov al, byte [ebp - 4]
mov byte [esi + 0x22], al
mov al, byte [ebp - 0xc]
mov byte [esi + 0x23], al
mov al, byte [ebp - 0x18]
mov byte [esi + 0x24], al
movzx eax, byte [edi + 6]
push eax
mov al, byte [edi]
shr al, 7
movzx eax, al
push eax
push esi
call fcn.0f034d8d
mov cl, byte [esi + 0x21]
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], cl
mov cl, byte [esi + 0x22]
mov byte [eax + 4], cl
mov cl, byte [esi + 0x23]
mov byte [eax + 5], cl
mov cl, byte [esi + 0x24]
mov byte [eax + 6], cl
cmp dword [ebp - 0x14], 0
je 0xf035749
mov dword [0xf075c20], 1
jmp 0xf035749
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 4]
push eax
movzx eax, byte [ebp - 0x10]
push eax
push 0xf003064
push 0x100
mov edi, 0xf0ad720
push edi
call fcn.0f05e98d
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], 0
mov byte [eax], 0x40
mov cx, word [0xf0ad718]
cmp cx, word [esi + 0x12]
sete cl
dec cl
and cl, 0xfd
add cl, 4
mov byte [eax + 1], cl
mov byte [eax + 2], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8