Function at 0x457580
Capabilities:
Access peb ldr_data
Encode data using xor
Get token membership
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x34], ecx
push eax
push 8
push 0xffffffffffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.00411130
call eax
test eax, eax
jne 0x4578d9
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebp - 0xc]
call fcn.00411220
call eax
mov ecx, dword [ebp - 8]
call fcn.004baba0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4578d9
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push eax
push 1
push dword [ebp - 0xc]
call fcn.00411220
call eax
test eax, eax
jne 0x4578d1
mov esi, dword [0x4f083c]
test esi, esi
jne 0x4576a5
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x24], eax
mov edx, eax
mov dword [ebp - 0x10], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0x20], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x45768c
mov cl, byte [esi]
lea esi, [esi + 2]
movsx edx, cl
sub cl, 0x41
mov eax, edx
or eax, 0x20
cmp cl, 0x19
cmova eax, edx
inc edi
xor eax, dword [ebp - 0x20]
imul eax, eax, 0x1000193
mov dword [ebp - 0x20], eax
cmp edi, ebx
jne 0x457654
cmp eax, 0x39794115
je 0x4578f2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp eax, edx
je 0x45769d
cmp dword [ecx + 0x18], 0
jne 0x457636
xor esi, esi
mov dword [0x4f083c], esi
mov eax, dword [0x4f077c]
test eax, eax
jne 0x457742
test esi, esi
je 0x45773b
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x45773b
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x45773b
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x24], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x457729
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, edi
imul edi, eax, 0x1000193
test bl, bl
jne 0x4576f4
mov ecx, dword [ebp - 0x10]
cmp edi, 0x4dd56111
je 0x4578fd
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
inc ecx
add eax, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edx + 0x18]
jne 0x4576e4
xor eax, eax
mov dword [0x4f077c], eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x18]
push 0
push dword [ecx]
call eax
test eax, eax
jne 0x457942
mov ecx, dword [ebp - 4]
call fcn.004baba0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4578d1
mov esi, dword [0x4f083c]
test esi, esi
jne 0x457801
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x20], eax
mov edx, eax
mov dword [ebp - 0x10], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0x24], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4577e8
nop
mov cl, byte [esi]
lea esi, [esi + 2]
movsx edx, cl
sub cl, 0x41
mov eax, edx
or eax, 0x20
cmp cl, 0x19
cmova eax, edx
inc edi
xor eax, dword [ebp - 0x24]
imul eax, eax, 0x1000193
mov dword [ebp - 0x24], eax
cmp edi, ebx
jne 0x4577b0
cmp eax, 0x39794115
je 0x45791a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp eax, edx
je 0x4577f9
cmp dword [ecx + 0x18], 0
jne 0x457790
xor esi, esi
mov dword [0x4f083c], esi
mov eax, dword [0x4f077c]
test eax, eax
jne 0x45789e
test esi, esi
je 0x457897
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x457897
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x457897
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x24], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x457885
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, edi
imul edi, eax, 0x1000193
test bl, bl
jne 0x457850
mov ecx, dword [ebp - 0x10]
cmp edi, 0x4dd56111
je 0x457925
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
inc ecx
add eax, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edx + 0x18]
jne 0x457840
xor eax, eax
mov dword [0x4f077c], eax
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x18]
push edi
push dword [ecx]
call eax
test eax, eax
jne 0x457944
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4578c3
mov ecx, eax
call fcn.004bb000
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4578d1
mov ecx, eax
call fcn.004bb000
mov ecx, dword [ebp - 0x18]
call fcn.004bb000
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4578e8
push eax
call fcn.00411310
call eax
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x18]
jmp 0x45769f
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x45773d
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4577fb
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x457899
xor edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x29
call esi
test eax, eax
jne 0x45798d
mov ecx, dword [ebp - 4]
call fcn.004baba0
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4578b5
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x29
call esi
test eax, eax
je 0x4578b5
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x1c], 0
je 0x4578b5
mov esi, dword [0x4f081c]
test esi, esi
jne 0x457a31
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x20], eax
mov edx, eax
mov dword [ebp - 0x10], ecx
nop dword [eax]
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0x24], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x457a18
nop
mov cl, byte [esi]
lea esi, [esi + 2]
movsx edx, cl
sub cl, 0x41
mov eax, edx
or eax, 0x20
cmp cl, 0x19
cmova eax, edx
inc edi
xor eax, dword [ebp - 0x24]
imul eax, eax, 0x1000193
mov dword [ebp - 0x24], eax
cmp edi, ebx
jne 0x4579e0
cmp eax, 0xa3e6f6c3
je 0x457c44
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp eax, edx
je 0x457a29
cmp dword [ecx + 0x18], 0
jne 0x4579c0
xor esi, esi
mov dword [0x4f081c], esi
mov eax, dword [0x4f07d4]
test eax, eax
jne 0x457ace
test esi, esi
je 0x457ac7
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x457ac7
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x457ac7
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x24], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x457ab5
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, edi
imul edi, eax, 0x1000193
test bl, bl
jne 0x457a80
mov ecx, dword [ebp - 0x10]
cmp edi, 0x5734c6fd
je 0x457c4f
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
inc ecx
add eax, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edx + 0x18]
jne 0x457a70
xor eax, eax
mov dword [0x4f07d4], eax
lea ecx, [ebp - 4]
push ecx
push 0
push 2
call eax
test eax, eax
jne 0x4578b5
mov ecx, dword [ebp - 4]
call fcn.004baba0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov dword [ecx], eax
test eax, eax
je 0x4578b5
mov esi, dword [0x4f081c]
test esi, esi
jne 0x457b91
mov ecx, dword fs:[0x30]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x20], eax
mov edx, eax
mov dword [ebp - 0x10], ecx
nop
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0x24], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x457b78
nop
mov cl, byte [esi]
lea esi, [esi + 2]
movsx edx, cl
sub cl, 0x41
mov eax, edx
or eax, 0x20
cmp cl, 0x19
cmova eax, edx
inc edi
xor eax, dword [ebp - 0x24]
imul eax, eax, 0x1000193
mov dword [ebp - 0x24], eax
cmp edi, ebx
jne 0x457b40
cmp eax, 0xa3e6f6c3
je 0x457c6c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp eax, edx
je 0x457b89
cmp dword [ecx + 0x18], 0
jne 0x457b20
xor esi, esi
mov dword [0x4f081c], esi
mov eax, dword [0x4f07d4]
test eax, eax
jne 0x457c2a
test esi, esi
je 0x457c23
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x457c23
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x457c23
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x24], eax
nop dword [eax]
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x457c11
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, edi
imul edi, eax, 0x1000193
test bl, bl
jne 0x457be0
mov ecx, dword [ebp - 0x10]
cmp edi, 0x5734c6fd
je 0x457c77
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
inc ecx
add eax, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edx + 0x18]
jne 0x457bd0
xor eax, eax
mov dword [0x4f07d4], eax
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x2c]
push 2
call eax
test eax, eax
jne 0x4578b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x18]
jmp 0x457a2b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x457ac9
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x18]
jmp 0x457b8b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x457c25