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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
dec dword [rcx + 0x44]
mov r13, rdx
mov eax, dword [rcx + 0x44]
xor edx, edx
mov rdi, qword [rcx + 0x10]
mov rbx, rcx
mov rcx, qword [rsp + 0xc0]
mov r10d, r9d
mov r9d, dword [r8 + 0x14]
mov r12, r8
mov r11d, dword [r8 + 0x1c]
mov r15d, edx
mov rsi, qword [r8]
mov bpl, byte [rcx]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x44], eax
mov rax, qword [r13]
add rax, 8
mov dword [rsp + 0x38], r11d
mov byte [rsp + 0xa0], bpl
mov qword [rsp + 0x48], rax
test r9d, r9d
je 0x1400450f0
mov r8d, dword [r8 + 0x10]
mov rcx, rdi
mov dword [rsp + 0x20], edx
mov edx, reloc.WLDAP32.dll_Ordinal_12
call fcn.140024a34
mov r9d, dword [rsp + 0x38]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0xb]
call fcn.140024a34
mov edx, dword [r12 + 0x14]
mov rcx, rdi
call fcn.140024c54
mov r10d, dword [rsp + 0xb8]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
mov r11d, dword [rsp + 0x38]
mov r8d, dword [r12 + 0xc]
lea eax, [rbp - 9]
mov dword [rsp + 0x34], r8d
test al, 0xfa
jne 0x140045110
cmp bpl, 0xe
je 0x140045110
mov ebp, dword [rcx + 8]
mov dword [rsp + 0x30], edx
jmp 0x14004517c
mov al, byte [rbx + 0x1f]
test al, al
jne 0x140045127
inc dword [rbx + 0x38]
mov edx, dword [rbx + 0x38]
mov dword [rsp + 0x30], edx
xor edx, edx
mov cl, dl
jmp 0x14004513a
dec al
movzx ecx, al
mov byte [rbx + 0x1f], cl
mov eax, dword [rbx + rcx*4 + 0xb4]
mov dword [rsp + 0x30], eax
lea eax, [rbp - 0xc]
test al, 0xfd
je 0x140045157
mov edx, r10d
mov rcx, rbx
call fcn.1400358d4
mov r8d, dword [rsp + 0x34]
mov ebp, eax
xor edx, edx
jmp 0x14004517c
test cl, cl
jne 0x140045163
inc dword [rbx + 0x38]
mov ebp, dword [rbx + 0x38]
jmp 0x140045172
dec cl
movzx eax, cl
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0xb4]
mov r10d, edx
mov dword [rsp + 0xb8], edx
mov r14d, dword [rsi]
sub r14d, dword [r12 + 8]
test byte [r12 + 0x24], 1
je 0x140045273
mov r13d, dword [rbx + 0x34]
inc dword [rbx + 0x38]
mov esi, dword [rbx + 0x38]
lea eax, [r13 + 1]
mov dword [rbx + 0x34], eax
cmp dword [r12 + 0x14], edx
je 0x1400451c9
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x12]
call fcn.140024a34
mov r10d, dword [rsp + 0xb8]
mov r15d, eax
lea ecx, [r14 + 1]
mov r9d, esi
add ecx, r10d
mov r8d, r13d
mov dword [rsp + 0x20], ecx
mov edx, 0x74
mov rcx, rdi
call fcn.140024a34
xor r9d, r9d
test r15d, r15d
je 0x140045203
mov edx, r15d
mov rcx, rdi
call fcn.140025044
mov ecx, dword [rdi + 0x90]
mov dword [rax + 8], ecx
mov r15d, dword [rsp + 0x34]
mov edx, Ordinal_36
mov dword [rsp + 0x20], r9d
mov r8d, r15d
mov r9d, dword [rsp + 0x38]
mov rcx, rdi
call fcn.140024a34
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa8]
mov r8d, dword [rax + 0x14]
test r8d, r8d
jle 0x140045253
mov r9d, dword [rsp + 0x3c]
mov edx, Ordinal_59
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.140024a34
mov r9d, esi
mov dword [rsp + 0x20], r13d
mov r8d, r15d
mov edx, Ordinal_127
mov rcx, rdi
call fcn.140024a34
xor r10d, r10d
mov eax, r10d
jmp 0x1400452bf
mov dword [rsp + 0x20], edx
mov r9d, r11d
mov edx, Ordinal_36
mov rcx, rdi
call fcn.140024a34
mov r8d, dword [r13 + 0x14]
inc eax
xor r10d, r10d
mov dword [rsp + 0x40], eax
test r8d, r8d
jle 0x1400452b5
mov r9d, dword [rsp + 0x3c]
lea edx, [r10 + 0x38]
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.140024a34
xor r10d, r10d
mov r13d, dword [rsp + 0x34]
mov eax, 1
movsxd r15, dword [rsp + 0xb8]
lea r8d, [rax + r14]
mov r9, qword [rsp + 0x48]
lea esi, [r8 - 1]
mov dword [rsp + 0xa8], r8d
mov rdx, r15
test r15d, r15d
jle 0x1400452fe
lea rcx, [r9 + 0x20]
cmp word [rcx], r10w
lea eax, [rsi + 1]
lea rcx, [rcx + 0x28]
cmovne eax, esi
mov esi, eax
sub rdx, 1
jne 0x1400452e8
lea eax, [r15 - 1]
movsxd r14, eax
test eax, eax
js 0x14004536a
lea r15, [r14 + 1]
lea r15, [r14 + r15*4]
lea r15, [r9 + r15*8]
lea r12d, [rax + rbp]
cmp word [r15], r10w
je 0x140045328
movzx r9d, word [r15]
dec r9d
jmp 0x14004532d
mov r9d, esi
dec esi
mov r8d, r13d
mov dword [rsp + 0x20], r12d
mov edx, 0x5a
mov rcx, rdi
call fcn.140024a34
xor r10d, r10d
dec r12d
sub r15, 0x28
sub r14, 1
jns 0x140045319
mov r8d, dword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov r15d, dword [rsp + 0xb8]
mov sil, byte [rsp + 0xa0]
mov rcx, rdi
lea eax, [rsi - 0xc]
test al, 0xfd
je 0x1400453e0
mov rax, qword [rsp + 0xc0]
mov dword [rsp + 0x20], r10d
cmp sil, 9
jne 0x1400453d3
mov r8d, dword [rax + 8]
mov r9d, r15d
mov edx, 0x51
call fcn.140024a34
mov r14d, dword [rsp + 0x30]
xor r13d, r13d
mov r9d, 8
test r14d, r14d
je 0x140045485
cmp sil, 0xb
jne 0x140045458
mov r8d, r15d
mov edx, ebp
mov rcx, rbx
call fcn.140035928
jmp 0x140045470
mov r8d, dword [rax + 4]
xor r9d, r9d
lea edx, [r9 + 0xe]
jmp 0x14004539b
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x5a
call fcn.140024a34
mov r14d, dword [rsp + 0x30]
xor eax, eax
mov r8d, dword [rsp + 0x44]
mov r9d, r14d
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x79]
call fcn.140024a34
mov r8d, dword [rsp + 0x44]
mov r9d, ebp
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.140024a34
movsxd rax, dword [rdi + 0x90]
xor r13d, r13d
test eax, eax
jle 0x1400453a8
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea r9d, [r13 + 8]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x1400453ae
test ebp, ebp
je 0x140045470
cmp byte [rbx + 0x1f], r9b
jae 0x140045485
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xb4], ebp
inc byte [rbx + 0x1f]
cmp byte [rbx + 0x1f], r9b
jae 0x140045485
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xb4], r14d
inc byte [rbx + 0x1f]
mov edx, dword [rsp + 0x3c]
mov rcx, rdi
call fcn.140024c54
mov dl, byte [r12 + 0x24]
mov rcx, rdi
mov r9d, dword [rsp + 0x40]
not dl
mov r8d, dword [rsp + 0x34]
and edx, 1
mov dword [rsp + 0x20], r13d
lea edx, [rdx*2 + 3]
call fcn.140024a34
mov r8d, dword [r12 + 0x10]
test r8d, r8d
je 0x1400454d7
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov rcx, rdi
lea edx, [r9 + 0x42]
call fcn.140024a34
mov edx, dword [rsp + 0x38]
mov rcx, rdi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140024c54