Function at 0x140781395
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
call rax
mov r11, rax
cmp r13b, r10b
clc
test rax, rax
jne 0x14078186a
lea rcx, [rsp + 0x50]
mov rax, qword [0x1403fd1f8]
jmp 0x1403efcc0
call rax
mov r11, rax
cmc
test si, dx
test rax, rax
jmp 0x140781864
call rax
jmp 0x1407819b7
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
stc
test bpl, cl
cmp dx, 0x6af6
push rbp
add bpl, 0x34
push rsi
sub rsp, 0x178
mov rbp, rdx
and sil, 0xe3
rcr sil, 0x71
xor esi, 0x33105e94
mov rsi, rcx
test rcx, rcx
jmp 0x1407813d1
je 0x1407813f8
test rdx, rdx
jmp 0x1407813df
je 0x1407813f8
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x1407813f2
je 0x140781420
xor eax, eax
and bpl, cl
inc si
and sil, 8
add rsp, 0x178
cmovns rbp, rsi
movzx rbp, bx
pop rsi
movsx ebp, cx
xchg bpl, bpl
cmovs rbp, r13
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jmp 0x140781430
jne 0x1407813f8
mov r8d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x30], r8d
test r8d, r8d
jmp 0x14078144b
je 0x1407813f8
mov r9d, dword [rax + rcx + 0x8c]
lea rdx, [rsi + r8]
inc ecx
mov qword [rsp + 0x170], rbx
xadd ecx, ecx
dec ecx
mov qword [rsp + 0x168], rdi
mov ecx, 0xffffffff
clc
stc
sub edi, edi
clc
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
cmp r8b, 0x56
test r14w, r11w
cmp rbp, 0xffff
jmp 0x1407814a3
ja 0x1407814f5
mov ecx, ebp
jmp 0x1407814b1
sub ecx, dword [rdx + 0x10]
test r8w, 0x437a
cmp ecx, dword [rdx + 0x14]
jae 0x1407814e9
mov eax, dword [rdx + 0x1c]
mov dh, reloc.WS2_32.dll_WSAStartup
add rax, rsi
ror dx, cl
bt dx, r10w
clc
mov edx, dword [rax + rcx*4]
clc
test r8, r11
test edx, edx
jmp 0x1407814e3
jne 0x140781750
sub eax, eax
jmp 0x1407814f0
jmp 0x1407819b7
mov eax, dword [rdx + 0x18]
test eax, eax
jmp 0x1407814ff
je 0x14078172b
mov r9d, dword [rdx + 0x20]
bsr ebx, r14d
not r11
lea r11d, [rax - 1]
btr bx, 0x12
mov ebx, edi
stc
add r9, rsi
jmp 0x140781524
mov qword [rsp + 0x40], r9
test r11d, r11d
jmp 0x140781531
js 0x140781726
nop
or dl, r12b
sar rbp, cl
mov r10, qword [rsp + 0x198]
or al, 0x8c
cdqe
lea eax, [r11 + rbx]
movsxd r8, eax
btr bp, sp
rol r8w, 0xff
mov rbp, rdi
bsf dx, r15w
xor r8w, 0x2c25
sar eax, 1
mov dword [rsp + 0x1a8], eax
movsxd r8, edi
setae dh
mov qword [rsp + 0x38], rax
movzx r8, r11w
mov r8d, dword [r9 + rax*4]
rol dl, 0x45
sub rdx, 0x2ed158b9
mov eax, dword [r9 + rax*4]
movzx r9w, dl
sub r10, rax
lahf
movzx eax, byte [rsp + 0x1a0]
cmova dx, bx
dec r9w
shld rdx, r11, 0xee
lea r8, [r8 + rsi]
bt rdx, rdi
inc dh
cdq
sub r10, rsi
cmovbe r9w, r13w
cqo
nop
xchg dl, r9b
movzx edx, byte [r10 + r8]
bswap r9w
xchg r9b, r9b
movzx r9d, r14w
movzx r9d, byte [r8]
jmp 0x1407815e2
inc r8
cmp ecx, edi
test rcx, 0x7ec77694
cmp ebp, 0x784854ae
test al, al
jmp 0x1407815fb
je 0x14078162b
mov ecx, ebp
bts rax, r14
mov eax, 0x44428a9
rol eax, cl
add al, bpl
test dil, r8b
cmc
xor dl, al
mov al, byte [rsp + 0x1a0]
jmp 0x140781623
inc rbp
clc
test r13b, 0x3d
test dl, dl
jmp 0x140781632
je 0x140781646
cmp dl, r9b
jmp 0x140781640
je 0x1407815c9
cmp dl, r9b
jb 0x1407816d5
cmp dl, r9b
jbe 0x14078168a
mov ebx, dword [rsp + 0x1a8]
dec cl
movzx rdx, di
movsxd rcx, ebx
mov rdx, qword [rsp + 0x28]
movsx cx, spl
mov ecx, dword [rsp + 0x190]
jmp 0x14078167e
inc ebx
jmp 0x140781685
jmp 0x1407816f8
mov rdx, qword [rsp + 0x28]
not bh
lea ebx, [r11 + 1]
movsx cx, spl
not cx
cbw
mov eax, dword [rdx + 0x24]
setne ch
movsx ecx, r11w
movsxd rcx, r13d
lea rcx, [rsi + rax]
not ah
mov ax, 0x590e
mov rax, qword [rsp + 0x38]
movzx ecx, word [rcx + rax*2]
jmp 0x1407816c4
mov dword [rsp + 0x190], ecx
jmp 0x1407816d0
jmp 0x1407816f8
mov r11d, dword [rsp + 0x1a8]
mov ecx, r15d
cmovl r9d, r9d
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
mov r9w, 0x3a14
dec r11d
cmp ebx, r11d
mov r9, qword [rsp + 0x40]
jmp 0x140781705
jle 0x14078153e
mov rbp, qword [rsp + 0x198]
movzx r8, r12w
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x20]
jmp 0x14078172b
mov r9d, dword [rsp + 0x20]
cmp ecx, dword [rdx + 0x14]
jae 0x1407814e9
mov eax, dword [rdx + 0x1c]
lea rax, [rax + rsi]
neg dx
cdq
dec edx
mov edx, dword [rax + rcx*4]
test r15b, 0xa5
test edx, edx
je 0x1407814e9
cmp edx, r8d
jmp 0x140781758
jb 0x1407819a0
lea eax, [r9 + r8]
cmp edx, eax
jmp 0x140781769
jae 0x1407819a0
mov eax, edx
add bx, r10w
adc bx, r14w
lea rax, [rax + rsi]
mov rbx, rax
and cx, 0x54c8
cmp rbx, 0x78a225d9
not cx
movzx ecx, byte [rax]
test r11b, 0x74
test cl, cl
jmp 0x14078179d
je 0x1407814e9
cmp cl, 0x2e
jmp 0x1407817ab
je 0x1407817d5
mov cl, byte [rbx + 1]
jmp 0x1407817b9
inc rbx
test cl, cl
jmp 0x1407817c3
jne 0x1407817a3
sub eax, eax
jmp 0x1407817d0
jmp 0x1407819b7
mov r8, rbx
stc
sub r8, rax
cmp r8, 0x104
jae 0x1407814e9
mov rcx, rdi
test r8, r8
jmp 0x1407817f4
je 0x140781840
lea r9, [rsp + 0x50]
sal rdx, 0x6a
cwd
sub r9, rax
mov dh, reloc.WLDAP32.dll_Ordinal_211
xor dh, bh
nop
adc dl, 0xf6
add dl, 0xa8
xadd edx, edx
movzx edx, byte [rax]
cmc
test dl, dl
jmp 0x140781822
je 0x140781840
inc rcx
jmp 0x140781830
mov byte [r9 + rax], dl
inc rax
cmp rcx, r8
jb 0x140781817
mov byte [rsp + rcx + 0x50], dil
mov rax, 0x338744f9
cwde
lea rcx, [rsp + 0x50]
mov rax, rdx
not ax
mov rax, qword [0x1403fd200]
jmp 0x1403cbc51
je 0x1407814e9
cmp r11, rsi
jne 0x140781907
cmp byte [rsp + 0x1a0], dil
je 0x1407818f4
lea rax, [rsp + 0x50]
sar dh, cl
cmp r9b, 0xe9
sub rbp, rax
not ch
lahf
nop
rol dh, cl
cwd
lea rdx, [rsp + rdi + 0x50]
rcr ah, cl
cmovb ecx, esi
bt rax, rsp
mov ecx, edi
clc
ror rax, 0xa7
movsx ax, bpl
mov eax, 0x44428a9
clc
rol eax, cl
test ecx, 0x5c716e39
add al, dil
xor al, byte [rdx + rbp]
jmp 0x1407818ca
mov byte [rdx], al
jmp 0x1407818d1
je 0x1407818e7
inc rdi
cmp rdi, 0x104
jb 0x140781897
lea rbp, [rsp + 0x50]
cqo
movsx rax, r9w
cbw
mov rdx, rbp
mov rcx, rsi
cwde
mov rax, qword [0x1403fd208]
jmp 0x140443e49
cmp byte [rbx + 1], 0x23
cwd
lea rdx, [rbx + 1]
jmp 0x140781916
jne 0x140781984
movzx edx, byte [rbx + 2]
test r15b, 0x90
cmp sil, 0xa0
add rbx, 2
jmp 0x140781931
test dl, dl
jmp 0x140781938
je 0x14078197d
nop
lahf
movsx rax, r10w
lea eax, [rdx - 0x30]
jmp 0x14078194c
inc rbx
cmp al, 9
ja 0x14078197d
movsx eax, dl
shr dl, cl
mov dl, byte [rbx]
bt cx, r8w
sal ecx, cl
cmovb rcx, r10
lea ecx, [rdi + rdi*4]
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x140781977
jne 0x140781944
movsxd rdx, edi
btr cx, bx
xor r8d, r8d
movzx rcx, r15w
movzx ecx, dx
mov rcx, r11
jmp 0x140781996
call fcn.140781395
jmp 0x1407819b7
mov eax, edx
inc rdi
btr rdi, rbp
btc ebx, 0xeb
lea rax, [rax + rsi]
and bl, r9b
cmp ah, 0x9e
mov rbx, qword [rsp + 0x170]
mov si, bp
movsx di, bpl
mov rdi, qword [rsp + 0x168]
sal sil, cl
rcl sil, cl
add rsp, 0x178
cmovnp bp, di
jmp 0x1407819e5
pop rsi
pop rbp
ret