Function at 0x505040
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0x138]
cmp r12, qword [r14 + 0x10]
jbe 0x50565f
sub rsp, 0x1b8
mov qword [rsp + 0x1b0], rbp
lea rbp, [rsp + 0x1b0]
movzx ecx, byte [rbx + 0x41]
mov qword [rsp + 0x1a8], rcx
movzx edx, byte [rbx + 0x40]
mov qword [rsp + 0x1a0], rdx
movzx esi, byte [rbx + 0x3f]
mov qword [rsp + 0x198], rsi
movzx edi, byte [rbx + 0x3e]
mov qword [rsp + 0x190], rdi
movzx r8d, byte [rbx + 0x3d]
mov qword [rsp + 0x188], r8
movzx r9d, byte [rbx + 0x3c]
mov qword [rsp + 0x180], r9
movzx r10d, byte [rbx + 0x3b]
mov qword [rsp + 0x178], r10
movzx r11d, byte [rbx + 0x3a]
mov qword [rsp + 0x170], r11
movzx r12d, byte [rbx + 0x39]
mov qword [rsp + 0x168], r12
movzx r13d, byte [rbx + 0x38]
mov qword [rsp + 0x160], r13
movzx r15d, byte [rbx + 0x37]
mov qword [rsp + 0x158], r15
movzx edx, byte [rbx + 0x36]
mov qword [rsp + 0x150], rdx
movzx ecx, byte [rbx + 0x35]
mov qword [rsp + 0x148], rcx
movzx r13d, byte [rbx + 0x34]
mov qword [rsp + 0x140], r13
movzx r12d, byte [rbx + 0x33]
mov qword [rsp + 0x138], r12
movzx r11d, byte [rbx + 0x32]
mov qword [rsp + 0x130], r11
movzx r10d, byte [rbx + 0x31]
mov qword [rsp + 0x128], r10
movzx r9d, byte [rbx + 0x30]
mov qword [rsp + 0x120], r9
movzx r8d, byte [rbx + 0x2f]
mov qword [rsp + 0x118], r8
movzx edi, byte [rbx + 0x2e]
mov qword [rsp + 0x110], rdi
movzx esi, byte [rbx + 0x2d]
mov qword [rsp + 0x108], rsi
movzx r9d, byte [rbx + 0x2c]
mov qword [rsp + 0x100], r9
movzx r10d, byte [rbx + 0x2b]
mov qword [rsp + 0xf8], r10
movzx r11d, byte [rbx + 0x2a]
mov qword [rsp + 0xf0], r11
movzx r12d, byte [rbx + 0x29]
mov qword [rsp + 0xe8], r12
movzx r13d, byte [rbx + 0x28]
mov qword [rsp + 0xe0], r13
movzx ecx, byte [rbx + 0x27]
mov qword [rsp + 0xd8], rcx
movzx edx, byte [rbx + 0x26]
mov qword [rsp + 0xd0], rdx
movzx r15d, byte [rbx + 0x25]
mov qword [rsp + 0xc8], r15
movzx r13d, byte [rbx + 0x24]
mov qword [rsp + 0xc0], r13
movzx r12d, byte [rbx + 0x23]
mov qword [rsp + 0xb8], r12
movzx r11d, byte [rbx + 0x22]
mov qword [rsp + 0xb0], r11
movzx r10d, byte [rbx + 0x21]
mov qword [rsp + 0xa8], r10
movzx r9d, byte [rbx + 0x20]
mov qword [rsp + 0xa0], r9
movzx esi, byte [rbx + 0x1f]
mov qword [rsp + 0x98], rsi
movzx edi, byte [rbx + 0x1e]
mov qword [rsp + 0x90], rdi
movzx r8d, byte [rbx + 0x1d]
mov qword [rsp + 0x88], r8
movzx r9d, byte [rbx + 0x1c]
mov qword [rsp + 0x80], r9
movzx r10d, byte [rbx + 0x1b]
mov qword [rsp + 0x78], r10
movzx r11d, byte [rbx + 0x1a]
mov qword [rsp + 0x70], r11
movzx r12d, byte [rbx + 0x19]
mov qword [rsp + 0x68], r12
movzx r13d, byte [rbx + 0x18]
mov qword [rsp + 0x60], r13
movzx r15d, byte [rbx + 0x17]
mov qword [rsp + 0x58], r15
movzx edx, byte [rbx + 0x16]
mov qword [rsp + 0x50], rdx
movzx ecx, byte [rbx + 0x15]
mov qword [rsp + 0x48], rcx
movzx r13d, byte [rbx + 0x14]
mov qword [rsp + 0x40], r13
movzx r12d, byte [rbx + 0x13]
mov qword [rsp + 0x38], r12
movzx r11d, byte [rbx + 0x12]
mov qword [rsp + 0x30], r11
movzx r10d, byte [rbx + 0x11]
mov qword [rsp + 0x28], r10
movzx r9d, byte [rbx + 0x10]
mov qword [rsp + 0x20], r9
movzx r8d, byte [rbx + 0xf]
movzx edi, byte [rbx + 0xe]
movzx esi, byte [rbx + 0xd]
movzx r9d, byte [rbx + 0xc]
movzx r10d, byte [rbx + 0xb]
mov qword [rsp + 0x18], r10
movzx r11d, byte [rbx + 0xa]
mov qword [rsp + 0x10], r11
movzx r12d, byte [rbx + 9]
mov qword [rsp + 8], r12
movzx r13d, byte [rbx + 8]
mov qword [rsp], r13
movzx ecx, byte [rbx + 7]
shl rcx, 0x38
movzx edx, byte [rbx + 6]
shl rdx, 0x30
movzx r15d, byte [rbx + 5]
shl r15, 0x28
movzx r13d, byte [rbx + 4]
shl r13, 0x20
movzx r12d, byte [rbx + 3]
shl r12, 0x18
movzx r11d, byte [rbx + 2]
shl r11, 0x10
movzx r10d, byte [rbx + 1]
shl r10, 8
movzx ebx, byte [rbx]
add rbx, r10
add rbx, r11
add rbx, r12
add rbx, r13
add rbx, r15
add rdx, rbx
add rcx, rdx
mov qword [rax], rcx
shl r8, 0x38
shl rdi, 0x30
shl rsi, 0x28
shl r9, 0x20
mov rcx, qword [rsp + 0x18]
shl rcx, 0x18
mov rdx, qword [rsp + 0x10]
shl rdx, 0x10
mov rbx, qword [rsp + 8]
shl rbx, 8
mov r10, qword [rsp]
add rbx, r10
add rdx, rbx
add rcx, rdx
add rcx, r9
add rcx, rsi
add rcx, rdi
add rcx, r8
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x58]
shl rcx, 0x38
mov rdx, qword [rsp + 0x50]
shl rdx, 0x30
mov rbx, qword [rsp + 0x48]
shl rbx, 0x28
mov rsi, qword [rsp + 0x40]
shl rsi, 0x20
mov rdi, qword [rsp + 0x38]
shl rdi, 0x18
mov r8, qword [rsp + 0x30]
shl r8, 0x10
mov r9, qword [rsp + 0x28]
shl r9, 8
mov r10, qword [rsp + 0x20]
add r9, r10
add r8, r9
add rdi, r8
add rsi, rdi
add rbx, rsi
add rdx, rbx
add rcx, rdx
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x98]
shl rcx, 0x38
mov rdx, qword [rsp + 0x90]
shl rdx, 0x30
mov rbx, qword [rsp + 0x88]
shl rbx, 0x28
mov rsi, qword [rsp + 0x80]
shl rsi, 0x20
mov rdi, qword [rsp + 0x78]
shl rdi, 0x18
mov r8, qword [rsp + 0x70]
shl r8, 0x10
mov r9, qword [rsp + 0x68]
shl r9, 8
mov r10, qword [rsp + 0x60]
add r9, r10
add r8, r9
add rdi, r8
add rsi, rdi
add rbx, rsi
add rdx, rbx
add rcx, rdx
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0xd8]
shl rcx, 0x38
mov rdx, qword [rsp + 0xd0]
shl rdx, 0x30
mov rbx, qword [rsp + 0xc8]
shl rbx, 0x28
mov rsi, qword [rsp + 0xc0]
shl rsi, 0x20
mov rdi, qword [rsp + 0xb8]
shl rdi, 0x18
mov r8, qword [rsp + 0xb0]
shl r8, 0x10
mov r9, qword [rsp + 0xa8]
shl r9, 8
mov r10, qword [rsp + 0xa0]
add r9, r10
add r8, r9
add rdi, r8
add rsi, rdi
add rbx, rsi
add rdx, rbx
add rcx, rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x118]
shl rcx, 0x38
mov rdx, qword [rsp + 0x110]
shl rdx, 0x30
mov rbx, qword [rsp + 0x108]
shl rbx, 0x28
mov rsi, qword [rsp + 0x100]
shl rsi, 0x20
mov rdi, qword [rsp + 0xf8]
shl rdi, 0x18
mov r8, qword [rsp + 0xf0]
shl r8, 0x10
mov r9, qword [rsp + 0xe8]
shl r9, 8
mov r10, qword [rsp + 0xe0]
add r9, r10
add r8, r9
add rdi, r8
add rsi, rdi
add rbx, rsi
add rdx, rbx
add rcx, rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x158]
shl rcx, 0x38
mov rdx, qword [rsp + 0x150]
shl rdx, 0x30
mov rbx, qword [rsp + 0x148]
shl rbx, 0x28
mov rsi, qword [rsp + 0x140]
shl rsi, 0x20
mov rdi, qword [rsp + 0x138]
shl rdi, 0x18
mov r8, qword [rsp + 0x130]
shl r8, 0x10
mov r9, qword [rsp + 0x128]
shl r9, 8
mov r10, qword [rsp + 0x120]
add r9, r10
add r8, r9
add rdi, r8
add rsi, rdi
add rbx, rsi
add rdx, rbx
add rcx, rdx
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x198]
shl rcx, 0x38
mov rdx, qword [rsp + 0x190]
shl rdx, 0x30
mov rbx, qword [rsp + 0x188]
shl rbx, 0x28
mov rsi, qword [rsp + 0x180]
shl rsi, 0x20
mov rdi, qword [rsp + 0x178]
shl rdi, 0x18
mov r8, qword [rsp + 0x170]
shl r8, 0x10
mov r9, qword [rsp + 0x168]
shl r9, 8
mov r10, qword [rsp + 0x160]
add r9, r10
add r8, r9
add rdi, r8
add rsi, rdi
add rbx, rsi
add rdx, rbx
add rcx, rdx
mov qword [rax + 0x38], rcx
mov rcx, qword [rsp + 0x1a8]
shl rcx, 8
mov rdx, qword [rsp + 0x1a0]
add rcx, rdx
mov qword [rax + 0x40], rcx
mov rbp, qword [rsp + 0x1b0]
add rsp, 0x1b8
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004628e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00505040