Function at 0xf0423c5
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, 0xf229da0
call fcn.0f00dcf8
cmp byte [ebp + 0xb], 0xd
je 0xf042466
cmp dword [0xf0b0af0], 0
jne 0xf04242a
cmp bl, byte [0xf0b0af4]
je 0xf04244b
push dword [ebp - 0x20]
call fcn.0f0422a6
cmp ax, 0x64
je 0xf04244b
push esi
call fcn.0f00e7e8
and dword [0xf0b0af0], 0
mov byte [0xf0b0af4], bl
mov ax, word [0xf229ff8]
cmp ax, word [esi + 0x12]
je 0xf042466
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x40
mov byte [eax + 1], 1
jmp 0xf04284a
cmp byte [ebp + 0xb], 6
je 0xf042472
cmp byte [ebp + 0xb], 5
jne 0xf0424cf
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call fcn.0f0a3e96
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.0f041f7c
test eax, eax
je 0xf0427f9
mov ax, word [0xf229ff8]
cmp ax, word [esi + 0x12]
jne 0xf0427f9
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x10]
push esi
call fcn.0f041f4b
mov dword [ebp - 0x24], eax
mov eax, edx
shr eax, 9
mov dword [ebp - 0x28], eax
jmp 0xf0424d2
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + 0xb]
sub eax, 5
je 0xf04270c
dec eax
je 0xf04263f
sub eax, 4
je 0xf0425ca
sub eax, 3
jne 0xf04284e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call fcn.0f0a3e96
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [0xf22a10c]
push 2
call fcn.0f0a3f8e
mov al, byte [edi + 1]
movsx edx, word [0xf229ff8]
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, 0xf229da0
movzx ecx, word [eax + 6]
movzx eax, word [eax + 8]
add ecx, edx
push dword [ecx*4 + 0xf0b0ad8]
movzx cx, byte [ebp - 4]
mov byte [ebp + 8], bl
push ecx
push eax
push dword [ebp + 8]
call fcn.0f0421f1
test eax, eax
jne 0xf0425bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf0026a0
mov esi, 0xf22a000
push esi
mov dword [0xf0c24c0], eax
call fcn.0f015bd0
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 [0xf0c24c0], 0x13
jne 0xf0425b2
mov byte [eax + 1], 2
mov byte [eax + 2], 0
jmp 0xf0427ed
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [eax + 1], 0
jmp 0xf04284a
mov al, byte [edi + 1]
movzx ecx, word [esi + 6]
movsx edx, word [0xf229ff8]
mov edi, dword [ebp + 0xc]
shr al, 2
add ecx, edx
and al, 1
cmp ecx, 1
jne 0xf0425f4
xor ecx, ecx
mov cx, word [esi + 8]
shr ecx, 1
mov byte [edi + 2], cl
jmp 0xf0425fa
mov cl, byte [esi + 8]
mov byte [edi + 3], cl
movzx cx, byte [esi + 0x21]
cmp cx, word [esi + 0x18]
jae 0xf042632
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 0xf042637
mov al, byte [esi + 0x18]
dec al
mov byte [edi + 3], al
jmp 0xf04284e
push dword [0xf22a10c]
push edx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0f042165
cmp eax, dword [ebp - 8]
je 0xf042693
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf002688
mov ebx, 0xf22a000
push ebx
mov dword [0xf0c24c0], eax
call fcn.0f015bd0
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 0xf0426c0
push dword [ebp - 8]
push dword [0xf22a10c]
push 2
call fcn.0f0a3f8e
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.0f041fb6
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 0xf0427e7
push edx
push dword [0xf22a10c]
push 2
call fcn.0f0a3f8e
push dword [0xf22a10c]
push dword [ebp - 8]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.0f0421ab
cmp eax, dword [ebp - 8]
je 0xf042763
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf00266c
push 0xf22a000
mov dword [0xf0c24c0], eax
call fcn.0f015bd0
add esp, 0xc
push 0xf22a000
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 0xf04278d
mov byte [eax], 0x40
cmp dword [0xf0c24c0], 0x13
setne cl
lea ecx, [ecx + ecx + 2]
mov byte [eax + 1], cl
jmp 0xf04279d
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.0f041fb6
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 0xf04284e
mov dword [0xf0b0af0], 1
jmp 0xf04284e
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 0xf002638
mov edi, 0xf22a000
push edi
call fcn.0f015bd0
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 [0xf229ff8]
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