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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 0x18
mov qword [rsp + 0x80], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xc8]
shr rax, 0x10
test rax, rax
jne 0x140003fba
mov rax, qword [rsp + 0xc8]
and rax, 0xffff
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x40], eax
movzx eax, word [rsp + 0x20]
cmp eax, dword [rsp + 0x40]
jb 0x140003f87
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x14]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
cmp eax, ecx
jb 0x140003f8e
xor eax, eax
jmp 0x140004148
movzx eax, word [rsp + 0x20]
sub eax, dword [rsp + 0x40]
mov eax, eax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x140004055
mov dword [rsp + 0x24], 0
jmp 0x140003fce
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x140004055
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140004050
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0xa0]
movzx ecx, word [rdx + rcx*2]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x140004055
jmp 0x140003fc4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x140004143
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x38], rax
jae 0x140004143
mov rcx, qword [rsp + 0x38]
call fcn.1400033d8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400040a1
xor eax, eax
jmp 0x140004148
mov qword [rsp + 0x38], 0
mov edx, 0x2e
mov rcx, qword [rsp + 0x48]
call fcn.140004ff4
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
lea rcx, str.KERNEL32.DLL
call fcn.140001a24
lea rdx, [0x140007290]
mov rcx, rax
call fcn.140003e4c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400040ff
xor eax, eax
jmp 0x140004148
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x68], 0
jne 0x14000412f
xor eax, eax
jmp 0x140004148
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
call fcn.140003e4c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rsp, 0xb8
ret