Function at 0x100d580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10a4ce0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor edx, edx
mov word [ebp - 0x10], dx
mov byte [ebp - 0x15], 0
xor eax, eax
mov word [ebp - 0x14], ax
xor ecx, ecx
mov word [ebp - 0xc], cx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [ebp - 0x15], dl
movzx eax, byte [ebp - 0x15]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x22
ja case.0x100d5e4.1
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x100d7e0]
jmp dword [edx*4 + 0x100d7c8]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
push ecx
call fcn.01026d33
add esp, 4
mov word [ebp - 0xc], ax
mov dx, word [ebp - 0x14]
add dx, 1
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
movzx ecx, word [ebp + 0xc]
cmp eax, ecx
jne 0x100d62a
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
jmp 0x100d7b9
movzx edx, word [ebp - 0xc]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 4], ecx
jmp 0x100d791
push 5
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.01027df0
add esp, 0xc
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
xor edx, edx
mov word [ebp - 0x28], dx
jmp 0x100d66f
mov ax, word [ebp - 0x28]
add ax, 1
mov word [ebp - 0x28], ax
movzx ecx, word [ebp - 0x28]
movzx edx, word [ebp - 0x23]
cmp ecx, edx
jge 0x100d6c1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push eax
call fcn.01026d33
add esp, 4
mov word [ebp - 0xc], ax
mov cx, word [ebp - 0x14]
add cx, 1
mov word [ebp - 0x14], cx
movzx edx, word [ebp - 0x14]
movzx eax, word [ebp + 0xc]
cmp edx, eax
jne 0x100d6b1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
jmp 0x100d7b9
movzx ecx, word [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 4], eax
jmp 0x100d663
jmp 0x100d791
push 3
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.01027df0
add esp, 0xc
movzx eax, word [ebp + 0xc]
movzx ecx, word [ebp - 0x14]
movzx edx, word [ebp - 0x2b]
add ecx, edx
cmp eax, ecx
jg 0x100d6f4
xor eax, eax
jmp 0x100d7b9
mov eax, dword [ebp - 4]
add eax, 3
mov dword [ebp - 4], eax
movzx ecx, word [ebp - 0x2b]
movzx edx, word [ebp - 0x14]
add edx, ecx
mov word [ebp - 0x14], dx
jmp 0x100d791
push 2
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.01027df0
add esp, 0xc
movzx edx, word [ebp + 0xc]
movzx eax, word [ebp - 0x14]
movzx ecx, byte [ebp - 0x2f]
add eax, ecx
cmp edx, eax
jg 0x100d73b
xor eax, eax
jmp 0x100d7b9
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0x2f]
movzx ecx, word [ebp - 0x14]
add ecx, eax
mov word [ebp - 0x14], cx
jmp 0x100d791
xor eax, eax
jmp 0x100d7b9
push str.The_BIOS_has_unsupported_string_blocks._n
call fcn.01001fe0
add esp, 4
mov edx, dword [0x10b2dc0]
or edx, dword [0x10b2dc4]
je 0x100d78a
push 1
mov eax, dword [0x10b2dc4]
push eax
mov ecx, dword [0x10b2dc0]
push ecx
call fcn.0108e840
add esp, 0xc
push 1
call fcn.010242d3
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x100d7b7
mov edx, dword [ebp - 8]
mov eax, dword [edx]
and eax, 0xffffff
cmp dword [ebp - 4], eax
jb 0x100d5c9
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.01026ff0
mov esp, ebp
pop ebp
ret