Function at 0x42e7d0
Capabilities:
Encode data using xor
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4990be
mov eax, dword fs:[0]
push eax
sub esp, 0xa98
mov eax, dword [0x4c5280]
xor eax, esp
mov dword [esp + 0xa90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0xaac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xabc]
xor eax, eax
mov byte [esp + 0x674], al
mov dword [esp + 0x675], eax
mov dword [esp + 0x679], eax
mov dword [esp + 0x67d], eax
mov word [esp + 0x681], ax
mov byte [esp + 0x683], al
mov byte [esp + 0x664], al
mov dword [esp + 0x665], eax
mov dword [esp + 0x669], eax
mov dword [esp + 0x66d], eax
mov word [esp + 0x671], ax
mov byte [esp + 0x673], al
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, ebp
call edx
mov edi, eax
lea ebx, [esp + 0x674]
call fcn.00418df0
mov eax, 0x10
lea ecx, [esp + 0x664]
mov edx, ebx
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42e8a9
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42e890
jmp 0x42ee28
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x42e8d5
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x42e8d5
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x42e8d5
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
xor ebx, ebx
cmp eax, ebx
je 0x42ee28
mov edi, fcn.00475202
mov ecx, fcn.00475690
mov eax, fcn.00475125
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x1fff8
mov dword [esp + 0x28], vtable.t_heap.0
mov dword [esp + 0xab4], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
push 0x206
lea eax, [esp + 0x8a2]
mov byte [esp + 0xab8], 1
xor edx, edx
push ebx
push eax
mov dword [esp + 0x30], ebx
mov word [esp + 0x8a8], dx
call fcn.00479770
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
add esp, 0xc
mov ecx, ebp
call eax
push eax
lea ecx, [esp + 0x8a0]
push 0x104
push ecx
call fcn.00476081
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x8a0]
push 0x4bb74c
push eax
call fcn.00479448
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x42ea2e
jmp 0x42e9b0
push esi
lea edi, [esp + 0xa0]
call fcn.004108a0
mov eax, edi
mov byte [esp + 0xab4], 2
call fcn.00410c70
cmp dword [esp + 0xa0], ebx
je 0x42e9fc
mov eax, edi
call fcn.00410eb0
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
call fcn.00414c90
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x48]
mov dword [esp + 0x18], eax
call fcn.00407530
xor ebx, ebx
lea eax, [esp + 0x24]
push eax
push 0x4bb74c
push ebx
call fcn.00479448
add esp, 0xc
lea ecx, [esp + 0x9c]
mov esi, eax
mov byte [esp + 0xab4], 1
call fcn.0040e2d0
cmp esi, ebx
jne 0x42e9b0
mov edi, fcn.00475202
fld dword [0x4bc100]
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0x670]
fld dword [0x4bc104]
lea esi, [esp + 0x6c]
fstp dword [esp + 4]
mov dword [esp + 0x670], edi
fld dword [0x4bc108]
mov dword [esp + 0x674], 0x475690
fstp dword [esp]
mov dword [esp + 0x678], 0x475125
call fcn.0042fcc0
mov byte [esp + 0xab4], 3
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
mov ecx, ebp
call eax
lea ecx, [esp + 0x2ec]
mov esi, eax
call fcn.00410770
mov eax, esi
lea edx, [esp + 0x2ec]
call fcn.00410960
lea ecx, [esp + 0x1c4]
call fcn.0040df10
lea ecx, [esp + 0x2ec]
push ecx
lea ebx, [esp + 0x1c8]
mov byte [esp + 0xab8], 6
call fcn.0040edb0
mov eax, ebx
call fcn.00410eb0
mov ebp, eax
push ebp
lea edx, [esp + 0x698]
push 0x104
push edx
call fcn.00476081
add esp, 0xc
push 0x4bb750
lea eax, [esp + 0x698]
push 0x104
push eax
call fcn.0047679e
add esp, 0xc
lea ecx, [esp + 0x414]
push ecx
lea edx, [esp + 0x698]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x42ed13
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0xab4], 7
jmp 0x42eb50
mov ecx, 0x4b7bcc
lea eax, [esp + 0x440]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42eb86
test dx, dx
je 0x42eb82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42eb86
add eax, 4
add ecx, 4
test dx, dx
jne 0x42eb60
xor eax, eax
jmp 0x42eb8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42ecec
mov ecx, 0x4b9848
lea eax, [esp + 0x440]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ebc6
test dx, dx
je 0x42ebc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ebc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42eba0
xor eax, eax
jmp 0x42ebcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42ecec
lea eax, [esp + 0x440]
push eax
push ebp
push 0x4b9b6c
lea edx, [esp + 0x6a0]
call fcn.0040d970
add esp, 0xc
lea ecx, [esp + 0x9c]
call fcn.00410770
lea ebx, [esp + 0x694]
mov ecx, ebx
test ecx, ecx
jne 0x42ec0e
mov ebx, 0x4b75b8
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ec13
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0xa4]
mov dword [esp + 0xa0], eax
call fcn.00411640
cmp byte [esp + 0x1b8], 0
lea eax, [esp + 0xa8]
jne 0x42ec52
mov eax, dword [esp + 0xa4]
lea edx, [edi + edi]
push edx
add eax, 4
push ebx
push eax
call fcn.004797f0
add esp, 0xc
lea eax, [esp + 0x684]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x20]
mov byte [esp + 0xab8], 9
call fcn.00418af0
add esp, 4
test al, al
lea ecx, [esp + 0x9c]
sete bl
mov byte [esp + 0xab4], 7
call fcn.0040e2d0
test bl, bl
jne 0x42ee52
lea edi, [esp + 0x684]
lea esi, [esp + 0x28]
call fcn.0042fc10
mov ecx, esi
push ecx
lea ebx, [esp + 0x444]
mov dword [esp + 0x18], eax
call fcn.00414c90
mov dword [esp + 0x40], eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x668]
push eax
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.0042fd30
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x414]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42eb50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edi, [esp + 0x1c]
call fcn.0040f730
mov ebp, dword [esp + 0x48]
xor eax, eax
xor edi, edi
mov byte [esp + 0x664], 0
mov dword [esp + 0x665], eax
mov dword [esp + 0x669], eax
mov dword [esp + 0x66d], eax
mov word [esp + 0x671], ax
mov byte [esp + 0x673], al
test ebp, ebp
jle 0x42edbc
jmp 0x42ed50
mov edx, dword [esp + 0x44]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x18]
lea esi, [esp + 0x1c]
lea ebx, [esp + 0x60]
mov dword [esp + 0x18], eax
call fcn.0042fc90
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42edb7
mov esi, dword [ecx + 4]
xor eax, eax
lea ecx, [esi + 2]
lea esp, [esp]
movzx edx, byte [ecx - 2]
xor byte [esp + eax + 0x664], dl
movzx edx, byte [ecx - 1]
xor byte [esp + eax + 0x665], dl
movzx edx, byte [ecx]
xor byte [esp + eax + 0x666], dl
movzx edx, byte [esi + eax + 3]
xor byte [esp + eax + 0x667], dl
add eax, 4
add ecx, 4
cmp eax, 0x10
jb 0x42ed80
inc edi
cmp edi, ebp
jl 0x42ed50
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x674]
cmp cl, byte [esp + eax + 0x664]
jne 0x42ee5b
inc eax
cmp eax, 0x10
jl 0x42edc0
lea ecx, [esp + 0x1c4]
call fcn.0040e2d0
lea ecx, [esp + 0x2ec]
call fcn.0040e2d0
lea eax, [esp + 0x60]
mov byte [esp + 0xab4], 1
call fcn.0042fdb0
lea esi, [esp + 0x44]
mov byte [esp + 0xab4], 0
call fcn.00412ac0
lea esi, [esp + 0x28]
mov dword [esp + 0xab4], 0xffffffff
call entry0
mov al, 1
mov ecx, dword [esp + 0xaac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa90]
xor ecx, esp
call fcn.00474db0
add esp, 0xaa4
ret
lea edi, [esp + 0x1c]
call fcn.0040f730
lea ecx, [esp + 0x1c4]
call fcn.0040e2d0
lea ecx, [esp + 0x2ec]
call fcn.0040e2d0
lea eax, [esp + 0x60]
mov byte [esp + 0xab4], 1
call fcn.0042fdb0
lea esi, [esp + 0x44]
mov byte [esp + 0xab4], 0
call fcn.00412ac0
lea esi, [esp + 0x28]
mov dword [esp + 0xab4], 0xffffffff
call entry0
xor al, al
jmp 0x42ee2a