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

Disassembly:
push 0xffffffffffffffff
push 0x51010e
mov eax, dword fs:[0]
push eax
sub esp, 0xa94
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0xa90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0xaa8]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
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 [esi]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x14], esi
call edx
mov edi, eax
lea ebx, [esp + 0x674]
call fcn.004248a0
mov eax, 0x10
lea ecx, [esp + 0x664]
mov edx, ebx
lea esp, [esp]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x479949
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x479930
jmp 0x479e94
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x479975
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x479975
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x479975
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
xor ebp, ebp
cmp eax, ebp
je 0x479e94
mov ebx, fcn.004ed893
mov edi, fcn.004ee443
mov eax, fcn.004ed7b6
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x1fff8
mov dword [esp + 0x2c], vtable.t_heap.0
mov dword [esp + 0xab0], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
push 0x206
lea eax, [esp + 0x8a2]
mov byte [esp + 0xab4], 1
xor edx, edx
push ebp
push eax
mov dword [esp + 0x2c], ebp
mov word [esp + 0x8a8], dx
call fcn.004f2770
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0xc
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x8a0]
push 0x104
push ecx
call fcn.004ee6af
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x8a0]
push 0x549c28
push eax
call fcn.004f62ab
mov esi, eax
add esp, 0xc
test esi, esi
je 0x479ad9
jmp 0x479a50
push esi
lea ecx, [esp + 0xa0]
call fcn.004175e0
lea eax, [esp + 0x9c]
mov byte [esp + 0xab0], 2
call fcn.00417bb0
cmp dword [esp + 0xa0], 0
je 0x479aa3
lea ecx, [esp + 0x9c]
call fcn.00417d60
push eax
lea ecx, [esp + 0x30]
call fcn.00415450
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x48]
mov dword [esp + 0x1c], eax
call fcn.00458fc0
lea edx, [esp + 0x20]
push edx
push 0x549c28
push 0
call fcn.004f62ab
add esp, 0xc
lea ecx, [esp + 0x9c]
mov esi, eax
mov byte [esp + 0xab0], 1
call fcn.00417650
test esi, esi
jne 0x479a50
mov ebp, dword [esp + 0x3c]
fld dword [0x555f80]
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0x670]
fld dword [0x555f84]
lea esi, [esp + 0x6c]
fstp dword [esp + 4]
mov dword [esp + 0x670], ebx
fld dword [0x555f88]
mov dword [esp + 0x674], edi
fstp dword [esp]
mov dword [esp + 0x678], 0x4ed7b6
call fcn.00415980
mov byte [esp + 0xab0], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
lea ecx, [esp + 0x2ec]
mov esi, eax
call fcn.004174b0
mov eax, esi
lea edx, [esp + 0x2ec]
call fcn.00417710
lea ecx, [esp + 0x1c4]
call fcn.0041dc00
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x2f0]
mov byte [esp + 0xab4], 6
call fcn.0041fbf0
lea ecx, [esp + 0x1c4]
call fcn.00417d60
mov esi, eax
lea ecx, [esp + 0x694]
push esi
push ecx
call fcn.00405d00
push str..dll
lea edx, [esp + 0x6a0]
push 0x104
push edx
call fcn.004eef2d
add esp, 0x14
lea eax, [esp + 0x414]
push eax
lea ecx, [esp + 0x698]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x479d65
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0xab0], 7
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x546720
lea eax, [esp + 0x440]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x479c26
test dx, dx
je 0x479c22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x479c26
add eax, 4
add ecx, 4
test dx, dx
jne 0x479c00
xor eax, eax
jmp 0x479c2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x479d3e
mov ecx, 0x546724
lea eax, [esp + 0x440]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x479c66
test dx, dx
je 0x479c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x479c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x479c40
xor eax, eax
jmp 0x479c6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x479d3e
lea edx, [esp + 0x440]
push edx
push esi
lea eax, [esp + 0x69c]
push 0x54672c
push eax
call fcn.00411b10
add esp, 0x10
lea ecx, [esp + 0x9c]
call fcn.004174b0
lea eax, [esp + 0x694]
lea edx, [esp + 0x9c]
call fcn.00417710
lea ecx, [esp + 0x684]
push ecx
lea ecx, [esp + 0xa0]
lea edi, [esp + 0x28]
mov byte [esp + 0xab4], 9
call fcn.00424560
add esp, 4
test al, al
lea ecx, [esp + 0x9c]
sete bl
mov byte [esp + 0xab0], 7
call fcn.00417650
test bl, bl
jne 0x479ebe
push 0x10
lea edx, [esp + 0x688]
push edx
lea ecx, [esp + 0x34]
call fcn.0047a5f0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x440]
push eax
lea ecx, [esp + 0x30]
call fcn.00415450
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x668]
mov dword [esp + 0x1c], eax
push edx
lea ebx, [esp + 0x20]
lea eax, [esp + 0x68]
call fcn.0047a690
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x414]
push eax
push edi
call ebp
test eax, eax
jne 0x479bf0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
call fcn.004163d0
mov ebp, dword [esp + 0x3c]
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x48], ebx
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
jle 0x479e1e
nop
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + ebx*4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x30]
lea eax, [esp + 0x6c]
call fcn.00423b30
test eax, eax
je 0x479e17
mov esi, dword [eax + 4]
xor ecx, ecx
lea eax, [esi + 2]
jmp 0x479de0
movzx edx, byte [eax - 2]
xor byte [esp + ecx + 0x664], dl
movzx edx, byte [eax - 1]
xor byte [esp + ecx + 0x665], dl
movzx edx, byte [eax]
xor byte [esp + ecx + 0x666], dl
movzx edx, byte [esi + ecx + 3]
xor byte [esp + ecx + 0x667], dl
add ecx, 4
add eax, 4
cmp ecx, 0x10
jb 0x479de0
inc ebx
cmp ebx, dword [esp + 0x48]
jl 0x479da0
xor eax, eax
mov cl, byte [esp + eax + 0x674]
cmp cl, byte [esp + eax + 0x664]
jne 0x479f2e
inc eax
cmp eax, 0x10
jl 0x479e20
lea ecx, [esp + 0x1c4]
call fcn.00417650
lea ecx, [esp + 0x2ec]
call fcn.00417650
lea eax, [esp + 0x60]
mov byte [esp + 0xab0], 1
call fcn.0047a710
lea esi, [esp + 0x44]
mov byte [esp + 0xab0], 0
call fcn.00434550
mov dword [esp + 0xab0], 0xffffffff
test ebp, ebp
je 0x479e94
mov eax, ebp
mov ebp, dword [ebp + 4]
push eax
call dword [esp + 0x3c]
add esp, 4
test ebp, ebp
jne 0x479e83
mov al, 1
mov ecx, dword [esp + 0xaa8]
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.004ecddb
add esp, 0xaa0
ret
lea ecx, [esp + 0x24]
call fcn.004163d0
lea ecx, [esp + 0x1c4]
call fcn.00417650
lea ecx, [esp + 0x2ec]
call fcn.00417650
lea eax, [esp + 0x60]
mov byte [esp + 0xab0], 1
call fcn.0047a710
lea esi, [esp + 0x44]
mov byte [esp + 0xab0], 0
call fcn.00434550
mov dword [esp + 0xab0], 0xffffffff
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x479f27
mov edi, dword [esp + 0x38]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x479f18
xor al, al
jmp 0x479e96
lea ecx, [esp + 0x1c4]
call fcn.00417650
lea ecx, [esp + 0x2ec]
call fcn.00417650
lea eax, [esp + 0x60]
mov byte [esp + 0xab0], 1
call fcn.0047a710
lea esi, [esp + 0x44]
mov byte [esp + 0xab0], 0
call fcn.00434550
mov dword [esp + 0xab0], 0xffffffff
test ebp, ebp
je 0x479f88
mov eax, ebp
mov ebp, dword [ebp + 4]
push eax
call dword [esp + 0x3c]
add esp, 4
test ebp, ebp
jne 0x479f77
xor al, al
jmp 0x479e96