Function at 0x14005a940
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov esi, dword [rsp + 0xa0]
xor r13d, r13d
cmp dword [0x140248c30], r13d
mov rdi, r8
movsxd r15, r9d
mov r12, rcx
mov ebx, r13d
je 0x14005a9e0
test edx, edx
js 0x14005a9e0
mov eax, edx
and eax, 0x7c000000
cmp eax, dword [0x140248c80]
jne 0x14005a9e0
mov eax, edx
and eax, 0x3ffff
cmp eax, dword [0x140248c88]
jge 0x14005a9e0
mov rbx, qword [0x140248c38]
mov eax, edx
and eax, 0x3ffff
mov rbx, qword [rbx + rax*8]
test rbx, rbx
je 0x14005a9e0
mov eax, dword [rbx]
mov ecx, edx
and ecx, 0x3fc0000
shl eax, 0x12
cmp eax, ecx
jne 0x14005a9e0
mov eax, dword [rbx + 0x18]
test eax, eax
je 0x14005a9e0
cmp eax, 1
jg 0x14005a9d9
mov ecx, dword [rbx + 0x20]
test ecx, ecx
js 0x14005a9d9
call fcn.1400713b0
jmp 0x14005a9e0
mov ecx, edx
call fcn.140073420
test esi, esi
mov qword [rsp + 0x80], r14
mov ebp, r13d
cmovns ebp, esi
cmp byte [rdi], 0x46
jne 0x14005b272
cmp byte [rdi + 1], 0x4e
jne 0x14005b272
cmp byte [rdi + 2], 0x54
jne 0x14005b272
cmp byte [rdi + 3], 0x46
jne 0x14005b272
cmp word [rdi + 4], 1
lea r14, [rdi + 4]
ja 0x14005b272
mov dword [rbx + 0x90], 1
lea r8, str.D:DocumentsdevelopmentDxLibMakeDxFont.cpp
movzx eax, byte [rdi + 0x1a]
mov r9d, 0x1b4d
mov ecx, dword [rdi + 0x14]
movzx esi, byte [rdi + 0x1b]
add ecx, 0x10003
shl esi, 8
or esi, eax
movzx eax, byte [rdi + 0x19]
shl esi, 8
or esi, eax
movzx eax, byte [rdi + 0x18]
shl esi, 8
or esi, eax
mov eax, dword [rdi + 0xc]
lea edx, [rax + rcx*8]
add edx, esi
add edx, r15d
cmp word [r14], 1
lea eax, [rdx + 0x2c]
cmovae eax, edx
movsxd rcx, eax
call fcn.140075550
mov qword [rbx + 0x98], rax
mov rdx, rax
test rax, rax
je 0x14005b272
add rax, r15
movsxd rsi, esi
mov qword [rbx + 0xa8], rax
mov r8, r15
lea rcx, [rsi + 0x18]
add rcx, rax
mov qword [rbx + 0xc8], rcx
cmp word [r14], 1
jae 0x14005aac6
add rcx, 0x2c
mov qword [rbx + 0xc8], rcx
add rcx, 0x80000
mov qword [rbx + 0xd0], rcx
mov eax, dword [rdi + 0x14]
lea rcx, [rcx + rax*8]
mov qword [rbx + 0xd8], rcx
test r15d, r15d
je 0x14005ab03
nop word [rax + rax]
movzx eax, byte [rdi]
lea rdi, [rdi + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14005aaf0
mov rdx, qword [rbx + 0xa8]
mov rcx, qword [rbx + 0x98]
add rdx, 0x18
add rcx, 0x18
mov dword [rbx + 0xa0], r15d
call fcn.1400a7800
mov rcx, qword [rbx + 0x98]
mov rdx, qword [rbx + 0xa8]
movzx eax, byte [rcx]
mov byte [rdx], al
movzx eax, byte [rcx + 1]
mov byte [rdx + 1], al
movzx eax, byte [rcx + 2]
mov byte [rdx + 2], al
movzx eax, byte [rcx + 3]
mov byte [rdx + 3], al
movzx eax, byte [rcx + 4]
mov byte [rdx + 4], al
movzx eax, byte [rcx + 5]
mov byte [rdx + 5], al
movzx eax, byte [rcx + 6]
mov byte [rdx + 6], al
movzx eax, byte [rcx + 7]
mov byte [rdx + 7], al
movzx eax, byte [rcx + 8]
mov byte [rdx + 8], al
movzx eax, byte [rcx + 9]
mov byte [rdx + 9], al
movzx eax, byte [rcx + 0xa]
mov byte [rdx + 0xa], al
movzx eax, byte [rcx + 0xb]
mov byte [rdx + 0xb], al
movzx eax, byte [rcx + 0xc]
mov byte [rdx + 0xc], al
movzx eax, byte [rcx + 0xd]
mov byte [rdx + 0xd], al
movzx eax, byte [rcx + 0xe]
mov byte [rdx + 0xe], al
movzx eax, byte [rcx + 0xf]
mov byte [rdx + 0xf], al
movzx eax, byte [rcx + 0x10]
mov byte [rdx + 0x10], al
movzx eax, byte [rcx + 0x11]
mov byte [rdx + 0x11], al
movzx eax, byte [rcx + 0x12]
mov byte [rdx + 0x12], al
movzx eax, byte [rcx + 0x13]
mov byte [rdx + 0x13], al
movzx eax, byte [rcx + 0x14]
mov byte [rdx + 0x14], al
movzx eax, byte [rcx + 0x15]
mov byte [rdx + 0x15], al
movzx eax, byte [rcx + 0x16]
mov byte [rdx + 0x16], al
movzx eax, byte [rcx + 0x17]
mov byte [rdx + 0x17], al
cmp word [r14], 1
jae 0x14005ac79
mov rax, qword [rbx + 0xa8]
lea rcx, [rsi - 0x114]
lea rdx, [rax + 0x12c]
lea r8, [rax + 0x158]
test rcx, rcx
je 0x14005ac55
cmp r8, rdx
jae 0x14005ac26
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8], al
lea r8, [r8 + 1]
sub rcx, 1
jne 0x14005ac10
jmp 0x14005ac55
lea r9, [rcx - 1]
add r9, r8
lea r8, [rcx - 1]
add r8, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 - 1]
mov byte [r9], al
lea r9, [r9 - 1]
sub rcx, 1
jne 0x14005ac40
mov rax, qword [rbx + 0xa8]
add rax, 0x12c
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
mov dword [rax + 0x28], r13d
mov rcx, qword [rbx + 0xa8]
mov qword [rbx + 0x11dbf8], r13
lea rdx, [rcx + 0x19c]
mov qword [rbx + 0xb0], rdx
cmp dword [rcx + 0x12c], r13d
jbe 0x14005acaf
mov eax, dword [rcx + 0x10]
shl rax, 5
add rax, rdx
mov qword [rbx + 0x11dbf8], rax
mov eax, dword [rcx + 8]
mov edi, 8
add rax, qword [rbx + 0x98]
mov qword [rbx + 0xb8], rax
movzx ecx, byte [rcx + 0x158]
test ecx, ecx
je 0x14005ad04
sub ecx, 1
je 0x14005aced
cmp ecx, 1
jne 0x14005ad19
test ebp, ebp
mov dword [rbx + 0xc0], edi
mov eax, r13d
setg al
add eax, 0x22
jmp 0x14005ad13
test ebp, ebp
mov dword [rbx + 0xc0], 4
mov eax, r13d
setg al
add eax, 0x12
jmp 0x14005ad13
test ebp, ebp
mov dword [rbx + 0xc0], r13d
mov eax, r13d
setg al
mov dword [rbx + 0x12191c], eax
mov rcx, qword [rbx + 0xc8]
xor edx, edx
mov r8d, 0x80000
call fcn.140123da0
mov rcx, qword [rbx + 0xa8]
mov r9d, r13d
mov rdx, qword [rbx + 0xb0]
cmp dword [rcx + 0x10], r13d
jbe 0x14005ad82
mov r8, r13
mov eax, dword [rdx]
cmp eax, 0x10000
jb 0x14005ad60
mov rax, qword [rbx + 0xd0]
mov qword [r8 + rax], rdx
add r8, rdi
jmp 0x14005ad6e
mov rcx, rax
mov rax, qword [rbx + 0xc8]
mov qword [rax + rcx*8], rdx
mov rcx, qword [rbx + 0xa8]
inc r9d
add rdx, 0x20
cmp r9d, dword [rcx + 0x10]
jb 0x14005ad47
movzx eax, byte [rcx + 0x118]
mov byte [rbx + 0x1218cc], al
movzx eax, byte [rcx + 0x119]
mov byte [rbx + 0x1218cd], al
movzx eax, byte [rcx + 0x11a]
mov byte [rbx + 0x1218ce], al
movzx eax, byte [rcx + 0x11b]
mov byte [rbx + 0x1218cf], al
movzx eax, byte [rcx + 0x11c]
mov byte [rbx + 0x1218d0], al
movzx eax, byte [rcx + 0x11d]
mov byte [rbx + 0x1218d1], al
movzx eax, byte [rcx + 0x11e]
mov byte [rbx + 0x1218d2], al
movzx eax, byte [rcx + 0x11f]
mov byte [rbx + 0x1218d3], al
movzx eax, byte [rcx + 0x120]
mov byte [rbx + 0x1218d4], al
movzx eax, byte [rcx + 0x121]
mov byte [rbx + 0x1218d5], al
movzx eax, byte [rcx + 0x122]
mov byte [rbx + 0x1218d6], al
movzx eax, byte [rcx + 0x123]
mov byte [rbx + 0x1218d7], al
movzx eax, byte [rcx + 0x124]
mov byte [rbx + 0x1218d8], al
movzx eax, byte [rcx + 0x125]
mov byte [rbx + 0x1218d9], al
movzx eax, byte [rcx + 0x126]
mov byte [rbx + 0x1218da], al
movzx eax, byte [rcx + 0x127]
mov byte [rbx + 0x1218db], al
movzx eax, byte [rcx + 0x128]
mov byte [rbx + 0x1218dc], al
movzx eax, byte [rcx + 0x129]
mov byte [rbx + 0x1218dd], al
movzx eax, byte [rcx + 0x12a]
mov byte [rbx + 0x1218de], al
movzx eax, byte [rcx + 0x12b]
mov byte [rbx + 0x1218df], al
movzx eax, byte [rcx + 0x12c]
mov byte [rbx + 0x1218e0], al
movzx eax, byte [rcx + 0x12d]
mov byte [rbx + 0x1218e1], al
movzx eax, byte [rcx + 0x12e]
mov byte [rbx + 0x1218e2], al
movzx eax, byte [rcx + 0x12f]
mov byte [rbx + 0x1218e3], al
movzx eax, byte [rcx + 0x130]
mov byte [rbx + 0x1218e4], al
movzx eax, byte [rcx + 0x131]
mov byte [rbx + 0x1218e5], al
movzx eax, byte [rcx + 0x132]
mov byte [rbx + 0x1218e6], al
movzx eax, byte [rcx + 0x133]
mov byte [rbx + 0x1218e7], al
movzx eax, byte [rcx + 0x134]
mov byte [rbx + 0x1218e8], al
movzx eax, byte [rcx + 0x135]
mov byte [rbx + 0x1218e9], al
movzx eax, byte [rcx + 0x136]
mov byte [rbx + 0x1218ea], al
movzx eax, byte [rcx + 0x137]
mov byte [rbx + 0x1218eb], al
movzx eax, byte [rcx + 0x138]
mov byte [rbx + 0x1218ec], al
movzx eax, byte [rcx + 0x139]
mov byte [rbx + 0x1218ed], al
movzx eax, byte [rcx + 0x13a]
mov byte [rbx + 0x1218ee], al
movzx eax, byte [rcx + 0x13b]
mov byte [rbx + 0x1218ef], al
movzx eax, byte [rcx + 0x13c]
mov byte [rbx + 0x1218f0], al
movzx eax, byte [rcx + 0x13d]
mov byte [rbx + 0x1218f1], al
movzx eax, byte [rcx + 0x13e]
mov byte [rbx + 0x1218f2], al
movzx eax, byte [rcx + 0x13f]
mov byte [rbx + 0x1218f3], al
movzx eax, byte [rcx + 0x140]
mov byte [rbx + 0x1218f4], al
movzx eax, byte [rcx + 0x141]
mov byte [rbx + 0x1218f5], al
movzx eax, byte [rcx + 0x142]
mov byte [rbx + 0x1218f6], al
movzx eax, byte [rcx + 0x143]
mov byte [rbx + 0x1218f7], al
movzx eax, byte [rcx + 0x144]
mov byte [rbx + 0x1218f8], al
movzx eax, byte [rcx + 0x145]
mov byte [rbx + 0x1218f9], al
movzx eax, byte [rcx + 0x146]
mov byte [rbx + 0x1218fa], al
movzx eax, byte [rcx + 0x147]
mov byte [rbx + 0x1218fb], al
movzx eax, byte [rcx + 0x148]
mov byte [rbx + 0x1218fc], al
movzx eax, byte [rcx + 0x149]
mov byte [rbx + 0x1218fd], al
movzx eax, byte [rcx + 0x14a]
mov byte [rbx + 0x1218fe], al
movzx eax, byte [rcx + 0x14b]
mov byte [rbx + 0x1218ff], al
movzx eax, byte [rcx + 0x14c]
mov byte [rbx + 0x121900], al
movzx eax, byte [rcx + 0x14d]
mov byte [rbx + 0x121901], al
movzx eax, byte [rcx + 0x14e]
mov byte [rbx + 0x121902], al
movzx eax, byte [rcx + 0x14f]
mov byte [rbx + 0x121903], al
movzx eax, byte [rcx + 0x150]
mov byte [rbx + 0x121904], al
movzx eax, byte [rcx + 0x151]
mov byte [rbx + 0x121905], al
movzx eax, byte [rcx + 0x152]
mov byte [rbx + 0x121906], al
movzx eax, byte [rcx + 0x153]
mov byte [rbx + 0x121907], al
movzx eax, byte [rcx + 0x154]
mov byte [rbx + 0x121908], al
movzx eax, byte [rcx + 0x155]
mov byte [rbx + 0x121909], al
movzx eax, byte [rcx + 0x156]
mov byte [rbx + 0x12190a], al
movzx eax, byte [rcx + 0x157]
mov byte [rbx + 0x12190b], al
mov eax, dword [0x14024e138]
mov dword [rbx + 0x121920], ebp
mov qword [rbx + 0x121910], r13
mov dword [rbx + 0x121918], r13d
mov dword [rbx + 0x12190c], 0xffffffff
test eax, eax
jne 0x14005b0f5
call fcn.140091610
mov eax, dword [0x14024e138]
mov rcx, qword [rbx + 0xa8]
lea r9, [rbx + 0x1216cc]
mov dword [rsp + 0x28], eax
add rcx, 0x18
mov edx, 0xffffffff
mov qword [rsp + 0x20], 0x200
mov r8d, 0x4b0
call fcn.14007aa30
mov esi, dword [0x14024e138]
test esi, esi
jne 0x14005b14b
call fcn.140091610
mov esi, dword [0x14024e138]
test esi, esi
jne 0x14005b14b
call fcn.140091610
mov r8d, dword [0x14024e138]
jmp 0x14005b14e
mov r8d, esi
lea r9, [rbx + 0x1214cc]
mov dword [rsp + 0x28], esi
mov edx, 0xffffffff
mov qword [rsp + 0x20], 0x200
lea rcx, [rbx + 0x1216cc]
call fcn.14007aa30
mov qword [rbx + 0x88], r13
cmp ebp, 4
jle 0x14005b245
lea ecx, [rbp*2 + 1]
mov edx, ecx
lea r8, [rbx + 0x121928]
call fcn.140064700
test eax, eax
js 0x14005b2c2
lea rax, [rbx + 0x121950]
xorps xmm0, xmm0
nop word [rax + rax]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rdi, 1
jne 0x14005b1b0
xor r9d, r9d
mov word [rbx + 0x121955], 0xffff
xor r8d, r8d
mov byte [rbx + 0x121954], 0xff
xor edx, edx
mov byte [rbx + 0x121957], r13b
lea rcx, [rbx + 0x121928]
mov dword [rsp + 0x20], r13d
call fcn.140066dd0
mov dword [rsp + 0x40], 1
lea rcx, [rbx + 0x121928]
mov dword [rsp + 0x38], r13d
mov r9d, ebp
mov dword [rsp + 0x30], 0xff
mov r8d, ebp
mov dword [rsp + 0x28], 0xff
mov edx, ebp
mov dword [rsp + 0x20], 0xff
call fcn.140067ae0
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call fcn.1400d1a70
test eax, eax
jne 0x14005b272
mov r8d, dword [rsp + 0xa8]
mov rdx, rbx
mov rcx, r12
call fcn.140058f20
test eax, eax
js 0x14005b272
xor eax, eax
jmp 0x14005b2c7
mov eax, dword [0x14051ed30]
test eax, eax
jne 0x14005b294
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x14005b294
mov ecx, 1
call rax
mov rax, qword [rbx + 0x80]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x14005b2aa
call qword [0x14051f648]
mov rcx, qword [rbx + 0x98]
test rcx, rcx
je 0x14005b2c2
call fcn.140075a50
mov qword [rbx + 0x98], r13
mov eax, 0xffffffff
mov r14, qword [rsp + 0x80]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret