Function at 0xf03a1de
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, 0xf09c120
call fcn.0f00b425
cmp byte [ebp + 0xb], 0xd
je 0xf03a27f
cmp dword [0xf0651a0], 0
jne 0xf03a243
cmp bl, byte [0xf0651a4]
je 0xf03a264
push dword [ebp - 0x20]
call fcn.0f03a0bf
cmp ax, 0x64
je 0xf03a264
push esi
call fcn.0f00bd5b
and dword [0xf0651a0], 0
mov byte [0xf0651a4], bl
mov ax, word [0xf09c378]
cmp ax, word [esi + 0x12]
je 0xf03a27f
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x40
mov byte [eax + 1], 1
jmp 0xf03a663
cmp byte [ebp + 0xb], 6
je 0xf03a28b
cmp byte [ebp + 0xb], 5
jne 0xf03a2e8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call fcn.0f059571
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.0f039d95
test eax, eax
je 0xf03a612
mov ax, word [0xf09c378]
cmp ax, word [esi + 0x12]
jne 0xf03a612
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x10]
push esi
call fcn.0f039d64
mov dword [ebp - 0x24], eax
mov eax, edx
shr eax, 9
mov dword [ebp - 0x28], eax
jmp 0xf03a2eb
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + 0xb]
sub eax, 5
je 0xf03a525
dec eax
je 0xf03a458
sub eax, 4
je 0xf03a3e3
sub eax, 3
jne 0xf03a667
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call fcn.0f059571
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [0xf09c48c]
push 2
call fcn.0f059669
mov al, byte [edi + 1]
movsx edx, word [0xf09c378]
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, 0xf09c120
movzx ecx, word [eax + 6]
movzx eax, word [eax + 8]
add ecx, edx
push dword [ecx*4 + 0xf065188]
movzx cx, byte [ebp - 4]
mov byte [ebp + 8], bl
push ecx
push eax
push dword [ebp + 8]
call fcn.0f03a00a
test eax, eax
jne 0xf03a3d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf002500
mov esi, 0xf09c380
push esi
mov dword [0xf071808], eax
call fcn.0f013533
add esp, 0xc
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 [0xf071808], 0x13
jne 0xf03a3cb
mov byte [eax + 1], 2
mov byte [eax + 2], 0
jmp 0xf03a606
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [eax + 1], 0
jmp 0xf03a663
mov al, byte [edi + 1]
movzx ecx, word [esi + 6]
movsx edx, word [0xf09c378]
mov edi, dword [ebp + 0xc]
shr al, 2
add ecx, edx
and al, 1
cmp ecx, 1
jne 0xf03a40d
xor ecx, ecx
mov cx, word [esi + 8]
shr ecx, 1
mov byte [edi + 2], cl
jmp 0xf03a413
mov cl, byte [esi + 8]
mov byte [edi + 3], cl
movzx cx, byte [esi + 0x21]
cmp cx, word [esi + 0x18]
jae 0xf03a44b
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 0xf03a450
mov al, byte [esi + 0x18]
dec al
mov byte [edi + 3], al
jmp 0xf03a667
push dword [0xf09c48c]
push edx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0f039f7e
cmp eax, dword [ebp - 8]
je 0xf03a4ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf0024e8
mov ebx, 0xf09c380
push ebx
mov dword [0xf071808], eax
call fcn.0f013533
add esp, 0xc
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 0xf03a4d9
push dword [ebp - 8]
push dword [0xf09c48c]
push 2
call fcn.0f059669
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
xor eax, eax
mov al, byte [edi + 6]
push eax
xor eax, eax
mov al, byte [edi]
shr al, 7
push eax
push esi
call fcn.0f039dcf
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 0xf03a600
push edx
push dword [0xf09c48c]
push 2
call fcn.0f059669
push dword [0xf09c48c]
push dword [ebp - 8]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0f039fc4
cmp eax, dword [ebp - 8]
je 0xf03a57c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf0024cc
push 0xf09c380
mov dword [0xf071808], eax
call fcn.0f013533
add esp, 0xc
push 0xf09c380
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 0xf03a5a6
mov byte [eax], 0x40
cmp dword [0xf071808], 0x13
setne cl
lea ecx, [ecx + ecx + 2]
mov byte [eax + 1], cl
jmp 0xf03a5b6
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
xor eax, eax
mov al, byte [edi + 6]
push eax
xor eax, eax
mov al, byte [edi]
shr al, 7
push eax
push esi
call fcn.0f039dcf
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 0xf03a667
mov dword [0xf0651a0], 1
jmp 0xf03a667
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 0xf002498
mov edi, 0xf09c380
push edi
call fcn.0f013533
add esp, 0x18
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 [0xf09c378]
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 ax, ax
pop ebx
leave
ret 8