Function at 0x43fe80
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
lea ebx, [esp + 0x20]
push 0x5d
push str..._.._base_native_library_win.cc
push str.LoadNativeLibraryHelper
push ebx
call fcn.0042b5e0
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push ebx
call fcn.004396c0
mov eax, dword [0x5938bc]
mov ecx, dword [0x593c6c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x4400c6
mov edi, dword [ebp + 8]
mov eax, dword [0x5938b8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x43ff82
test byte [edi], 1
je 0x43ff1d
mov eax, dword [edi + 8]
jmp 0x43ff20
lea eax, [edi + 2]
push 0x1100
push 0
push eax
call dword [0x58b35c]
test eax, eax
je 0x43ff71
mov esi, eax
mov ecx, dword [0x5938c0]
test ecx, ecx
jne 0x43ff65
sub esp, 0x14
movdqa xmm0, xmmword [0x53be50]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], str.LibraryLoader.LoadNativeLibraryWindows
call fcn.0042f740
add esp, 0x14
mov ecx, eax
mov dword [0x5938c0], eax
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
jmp 0x4400a8
cmp dword [ebp + 0x10], 0
je 0x43ff82
call dword [0x58b268]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov ecx, ebx
call fcn.00428a50
push ebx
call fcn.0043ee40
add esp, 4
test al, al
je 0x43ffe6
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
lea esi, [esp + 0x14]
mov ecx, edi
push esi
call fcn.004293d0
movzx ebx, byte [esp + 0x14]
test bl, 1
je 0x43fff8
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x43fffe
jmp 0x440007
mov dword [esp + 0xc], 0
test byte [edi], 1
jne 0x440022
add edi, 2
jmp 0x440025
shr ebx, 1
test ebx, ebx
je 0x440007
push esi
call fcn.0043ef50
add esp, 4
test ebx, ebx
setne al
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
call fcn.00428b40
lea ebx, [esp + 0x20]
test byte [edi], 1
je 0x43fff3
mov edi, dword [edi + 8]
push edi
call dword [0x58b360]
mov esi, eax
cmp dword [ebp + 0x10], 0
je 0x440043
test esi, esi
jne 0x440043
call dword [0x58b268]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp byte [esp + 0xc], 0
je 0x440053
push ebx
call fcn.0043ef50
add esp, 4
xor ebx, ebx
test esi, esi
sete bl
lea eax, [ebx + 1]
add ebx, 3
cmp dword [esp + 0x10], 0
cmovne ebx, eax
mov ecx, dword [0x5938c0]
test ecx, ecx
jne 0x440099
sub esp, 0x14
movdqa xmm0, xmmword [0x53be50]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], str.LibraryLoader.LoadNativeLibraryWindows
call fcn.0042f740
add esp, 0x14
mov ecx, eax
mov dword [0x5938c0], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
lea ecx, [esp + 0x20]
call fcn.00428b40
lea ecx, [esp + 0x30]
call fcn.00439700
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0050f421
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5938bc
call fcn.0050f467
add esp, 4
cmp dword [0x5938bc], 0xffffffff
jne 0x43ff03
push 0x54063a
call dword [0x58b284]
push str.AddDllDirectory
push eax
call dword [0x58b290]
mov dword [0x5938b8], eax
push 0x5938bc
call fcn.0050f4dd
add esp, 4
jmp 0x43ff03