Function at 0x140048360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov rax, qword [0x1401538d8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x60e0
mov qword [rsp + 0x98], rax
cmp dword [rsp + 0x110], 0
je 0x1400483af
mov edx, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x50]
call fcn.1400497c0
mov qword [rsp + 0xb8], rax
jmp 0x1400483bb
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x110], 0
je 0x1400483df
cmp qword [rsp + 0x28], 0
jne 0x1400483df
jmp 0x14004890d
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x140048403
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
mov dword [rsp + 0x68], eax
jmp 0x14004840b
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xa0], eax
cmp qword [rsp + 0x28], 0
je 0x140048435
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
mov dword [rsp + 0x6c], eax
jmp 0x14004843d
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x34], 0
jmp 0x140048475
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jge 0x1400485d3
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400485ce
cmp dword [rsp + 0x110], 0
je 0x14004852d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x110]
cmp dword [rax], ecx
je 0x140048523
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0
je 0x140048510
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
jmp 0x1400484eb
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x110]
cmp dword [rax], ecx
je 0x14004852d
mov dword [rsp + 0x70], 0
jmp 0x140048535
mov dword [rsp + 0x70], 1
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400485ce
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
and eax, 0x800
test eax, eax
je 0x140048566
mov dword [rsp + 0x74], 1
jmp 0x14004856e
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x14004857c
mov byte [rsp + 0x20], 1
cmp dword [rsp + 0x110], 0
je 0x140048595
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call fcn.14004b120
cmp qword [rsp + 0x28], 0
je 0x1400485bf
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.14004d3c0
mov rax, qword [rsp + 0x28]
mov edx, dword [rax]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
call fcn.140057000
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400834e0
jmp 0x14004846b
cmp qword [rsp + 0x28], 0
je 0x14004862c
mov eax, dword [rsp + 0xa0]
and eax, 7
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc8]
and ecx, 0xfffffff8
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0xc8], eax
mov eax, dword [rsp + 0xa4]
and eax, 7
shl eax, 3
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc8]
and ecx, 0xffffffc7
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0xc8], eax
mov rax, qword [rsp + 0x50]
add rax, 0x6148
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xe0], 4
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 8], 0
jne 0x140048665
mov qword [rsp + 0x48], 0
jmp 0x14004867e
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
add rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
jmp 0x14004872f
mov rax, qword [rsp + 0x50]
add rax, 0x6148
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xe8], 4
mov eax, 4
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax]
mov dword [rsp + 0xa8], eax
movsxd rax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xc8]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
add rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x80], rax
jne 0x140048722
mov qword [rsp + 0x48], 0
jmp 0x14004872f
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140048796
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x140048791
mov dword [rsp + 0x38], 0
jmp 0x14004875e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x38], eax
jge 0x140048791
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x78]
cmp dword [rax], ecx
jne 0x14004878f
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x110]
mov dword [rax + 0x14], ecx
jmp 0x140048791
jmp 0x140048754
jmp 0x140048683
cmp dword [rsp + 0x58], 1
jle 0x1400487e4
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xd0], 1
jbe 0x1400487e4
lea r9, [0x14004cb50]
mov r8d, 8
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xf0]
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
mov dword [rsp + 0x3c], 0
jmp 0x1400487f8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x3c], eax
jge 0x14004881f
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x50]
call fcn.14004b320
jmp 0x1400487ee
cmp dword [rsp + 0x110], 0
jne 0x14004889c
mov rax, qword [rsp + 0x98]
mov rcx, rax
call fcn.140045b60
mov rax, qword [rsp + 0x98]
add rax, 0x10
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x14004889a
mov rax, qword [rsp + 0x88]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
call fcn.1400649c0
mov rax, qword [rsp + 0x88]
mov qword [rax + 8], 0
jmp 0x1400488fa
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400488fa
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x98], rcx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
bts eax, 0xb
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0xb0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 4]
or eax, ecx
mov rcx, qword [rsp + 0x28]
or eax, dword [rcx + 0xc]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x10], eax
cmp qword [rsp + 0x60], 0
je 0x14004890d
mov rcx, qword [rsp + 0x60]
call fcn.1400649c0
nop
add rsp, 0x108
ret