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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x59d024]
xor ecx, ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
xor edi, edi
cmp esi, eax
je 0x440a28
xor edx, edx
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [esi]
test eax, eax
mov dword [esp + 8], esi
je 0x44080b
cmp eax, 2
jne 0x4409e1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov word [esp + 0x54], 0x500
sub esp, 0x2c
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0x14], xmm0
movdqa xmm0, xmmword [0x5869d0]
jmp 0x44083f
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov word [esp + 0x54], 0x500
sub esp, 0x2c
lea eax, [esp + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0x14], xmm0
movdqa xmm0, xmmword [0x5869a0]
movdqu xmmword [esp + 4], xmm0
lea eax, [esp + 0x7c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, dword [esp + 0x4c]
test eax, eax
je 0x44085e
mov edi, ecx
jmp 0x44086d
xor edi, edi
test ecx, ecx
mov edx, dword [sym.imp.ADVAPI32.dll_FreeSid]
je 0x44086d
push ecx
call edx
mov edx, dword [esp + 4]
test edi, edi
je 0x440a8a
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
cmp ebx, dword [esp + 0xc]
jae 0x4408a1
test ebx, ebx
je 0x440b1c
mov dword [ebx], edi
add ebx, 4
jmp 0x440995
mov dword [esp + 0x10], edi
mov edi, ebx
sub edi, edx
sar edi, 2
lea eax, [edi + 1]
cmp eax, 0x40000000
jae 0x440b40
sub dword [esp + 0xc], edx
mov ecx, dword [esp + 0xc]
sar ecx, 1
cmp ecx, eax
cmovbe ecx, eax
cmp dword [esp + 0xc], 0x7ffffffc
mov eax, 0x3fffffff
cmovae ecx, eax
test ecx, ecx
mov dword [esp + 0xc], ecx
je 0x440903
cmp ecx, 0x40000000
jae 0x440b45
lea eax, [ecx*4]
push eax
call fcn.004eca5e
add esp, 4
mov edx, dword [esp + 4]
jmp 0x440905
xor eax, eax
shl edi, 2
add edi, eax
je 0x440b1c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [edi], eax
mov dword [esp + 0x10], edi
mov esi, edi
mov eax, ebx
cmp ebx, edx
mov edi, 0
je 0x44096c
mov dword [esi - 4], edi
mov ecx, dword [eax - 4]
mov dword [esi - 4], ecx
add esi, 0xfffffffc
mov dword [eax - 4], edi
add eax, 0xfffffffc
cmp eax, edx
jne 0x44092b
cmp ebx, edx
je 0x44096c
add ebx, 0xfffffffc
mov edi, dword [sym.imp.ADVAPI32.dll_FreeSid]
test ebx, ebx
je 0x440b01
mov eax, dword [ebx]
test eax, eax
je 0x440963
push eax
call edi
mov edx, dword [esp + 4]
lea eax, [ebx - 4]
cmp ebx, edx
mov ebx, eax
jne 0x44094e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x10]
add ebx, 4
test edx, edx
je 0x44098f
push edx
call fcn.004eca8e
add esp, 4
mov edx, esi
mov esi, dword [esp + 8]
mov dword [esp + 0x20], 0x10000000
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 3
mov dword [esp + 0x34], 0
xor eax, eax
cmp dword [esi], 2
sete al
mov ecx, 2
sub ecx, eax
mov dword [esp + 0x38], ecx
cmp edx, ebx
je 0x440b2a
mov dword [esp + 4], edx
mov eax, dword [ebx - 4]
mov dword [esp + 0x3c], eax
xor edi, edi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
push 1
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov ecx, esi
mov esi, eax
test ecx, ecx
je 0x440a05
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
mov edx, dword [esp + 4]
jne 0x440a9d
mov esi, dword [esp + 8]
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x4407a2
mov edi, dword [esp + 0x48]
jmp 0x440a32
xor ebx, ebx
mov dword [esp + 4], 0
mov edx, dword [ebp + 8]
lea esi, [esp + 0x20]
mov ecx, esi
call fcn.0043fe60
mov eax, dword [esi]
sub esp, 0x1c
mov dword [esp + 0x14], edi
movdqa xmm0, xmmword [0x5869e0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
sete al
mov dword [esp + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x440a84
mov dword [esp + 0x24], eax
push eax
call fcn.004eca8e
add esp, 4
mov edx, dword [esp + 4]
jmp 0x440aa5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x440a9d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [esp + 4]
mov dword [esp + 8], 0
test edx, edx
je 0x440ad9
cmp ebx, edx
je 0x440ad0
add ebx, 0xfffffffc
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
test ebx, ebx
je 0x440b01
mov eax, dword [ebx]
test eax, eax
je 0x440ac7
push eax
mov edi, edx
call esi
mov edx, edi
lea eax, [ebx - 4]
cmp ebx, edx
mov ebx, eax
jne 0x440ab6
push edx
call fcn.004eca8e
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x440ae8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004ed092
mov eax, dword [esp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x3f
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0051d7e0
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
jmp 0x440b0d
push str.back___called_on_an_empty_vector
push str._empty__
push 0x22a
push str....._buildtools_third_partylibc_trunkinclude_vector
jmp 0x440b12
call fcn.00501b50
call fcn.0051d140
int3