joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b290
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed698
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x522008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.00402120
test al, al
jne 0x49b2ea
cmp byte [ebp + 8], al
jne 0x49b2f1
mov eax, dword [ebx]
test eax, eax
je 0x49b451
cmp byte [eax + 0xa5], 0
je 0x49b451
xor al, al
jmp 0x49b467
mov ecx, esi
call fcn.00402120
test al, al
jne 0x49b451
push esi
call fcn.00408f40
add esp, 4
test al, al
je 0x49b319
push esi
push edi
call fcn.0049aec0
jmp 0x49b44d
push 0xb
mov ecx, esi
call fcn.00402130
push eax
mov ecx, edi
call fcn.00402130
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x49b33e
mov al, 1
jmp 0x49b44d
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.00402230
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.004123e0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.00402230
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.004123e0
test al, al
jne 0x49b38b
cmp byte [ebp - 0x60], al
je 0x49b3c7
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00402130
push eax
lea ecx, [ebp - 0x58]
call fcn.00402130
push eax
call ebx
test eax, eax
je 0x49b3c7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00401f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401f40
mov al, 1
jmp 0x49b44d
mov ecx, esi
call fcn.00411c80
cmp eax, 0xffffffff
je 0x49b430
push esi
lea ecx, [ebp - 0x28]
call fcn.00402250
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004121a0
test al, al
je 0x49b424
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00411d20
test al, al
je 0x49b424
mov edx, esi
mov ecx, edi
call fcn.00411d20
lea ecx, [ebp - 0x28]
test al, al
je 0x49b41d
call fcn.00411f90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401f40
jmp 0x49b3a5
mov edx, esi
call fcn.00411d20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00401f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401f40
xor al, al
test al, al
jne 0x49b465
push edi
call fcn.00408f40
add esp, 4
test al, al
je 0x49b465
mov ecx, edi
call fcn.00411f90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5964
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b56f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0056
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.004b60d0
mov eax, dword [0x522008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x102c]
call fcn.00402230
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x1014]
call fcn.004090f0
lea ecx, [ebp - 0x1014]
call fcn.004124b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1014]
call fcn.00412bf0
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.004b7720
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x1010]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4b57a1
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x102c]
call fcn.00402140
lea ecx, [ebp - 0x1014]
call fcn.00412f00
lea eax, [ebp - 0x102c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404490
mov ecx, dword [ebp - 0x1030]
or ecx, 1
mov dword [ebp - 0x1030], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00412530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
call fcn.00401f40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5964
mov esp, ebp
pop ebp
ret

Function at 0x4c4116
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c3dd6
Function at 0xacbe08
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0xacbe62
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0xacbe28
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x3e100e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x318e000]
push edi
or ebp, 0xffffffff
jmp 0x3e10102
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3e10109
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3e100f8
mov eax, 1
add ebx, ebx
jne 0x3e1011b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3e1012c
jne 0x3e1014b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3e1014b
dec eax
add ebx, ebx
jne 0x3e10138
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3e10110
add ebx, ebx
jne 0x3e10147
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x3e1019d
xor ecx, ecx
sub eax, 3
jb 0x3e10163
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3e101d2
sar eax, 1
mov ebp, eax
jmp 0x3e1016e
add ebx, ebx
jne 0x3e1016e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3e1013c
inc ecx
add ebx, ebx
jne 0x3e1017c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3e1013c
add ebx, ebx
jne 0x3e10189
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3e1017e
jne 0x3e1019a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3e1017e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3e101bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3e101ae
jmp 0x3e100fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3e101bc
add edi, ecx
jmp 0x3e100fe
pop esi
lea edi, [esi + 0x3a09000]
mov eax, dword [edi]
or eax, eax
je 0x3e10224
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a2c9c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a2ce64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3e101d9
mov ecx, edi
jns 0x3e10208
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a2ce68]
or eax, eax
je 0x3e1021e
mov dword [ebx], eax
add ebx, 4
jmp 0x3e101f6
call dword [esi + 0x3a2ce70]
mov ebp, dword [esi + 0x3a2ce6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x2af]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x3e10258
sub esp, 0xffffff80
jmp 0x1168bc2
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x403203
pop dword [ebp - 0x48]
mov eax, 0x403203
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x69962e7e
add dword [ebp - 0x58], 0xe4bc16cd
mov dword [ebp - 0x54], 0x60a2aa1c
add dword [ebp - 0x54], 0xd190a229
mov dword [ebp - 0x50], 0x4ad4b0f9
sub dword [ebp - 0x50], 0xfe886ccb
mov dword [ebp - 0x4c], 0x71530edb
add dword [ebp - 0x4c], 0x8eacf125
lea eax, [ebp - 0x58]
push eax
mov eax, 0x39ef15f0
sub eax, 0x39ae9564
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xf1c2d87b
add dword [ebp - 0x58], 0x82af90db
mov dword [ebp - 0x54], 0x7c598378
sub dword [ebp - 0x54], 0x3aed2203
mov dword [ebp - 0x50], 0x8794fcd2
sub dword [ebp - 0x50], 0x24259066
mov dword [ebp - 0x4c], 0x5e487ffe
sub dword [ebp - 0x4c], 0x5e487ffe
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xf8dbc38a
add eax, 0x764bd4a
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x32ab9
push 0
call eax
mov ecx, 0x6a7e24f9
add ecx, 0x95821355
mov ebx, eax
mov esi, 0x7507cc04
sub esi, 0x74c6bc04
add esi, dword [ebp - 0x48]
mov edx, 0x23a6ddd7
sub edx, 0x3cd82266
xor dword [ebp - 0xc], edi
mov edi, dword [esi]
add dword [ebp - 0x1c], eax
sub edi, edx
xor dword [ebp - 0x1c], 0x7011a15b
mov dword [ebx], edi
add dword [ebp - 0x44], 0x2353ba20
add ebx, 4
add esi, 0xbebd3431
sub esi, 0xbebd342d
loop 0x403320
add eax, 0x3a64918b
sub eax, 0x3a63bd80
mov ebx, eax
add eax, 5
mov ecx, 0x70e1f594
sub ecx, 0x70a1f594
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40633c
pop dword [ebp - 0x38]
mov eax, 0x40633c
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4c9dde05
add dword [ebp - 0x48], 0x1b46746
mov dword [ebp - 0x44], 0xa0f7b758
sub dword [ebp - 0x44], 0x6ec46b13
mov dword [ebp - 0x40], 0x4f9ac62d
sub dword [ebp - 0x40], 0x34e81ff
mov dword [ebp - 0x3c], 0x4a22c2b8
sub dword [ebp - 0x3c], 0x4a22c2b8
lea eax, [ebp - 0x48]
push eax
mov eax, 0x54854386
add eax, 0xabbb2cda
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xa64db002
add dword [ebp - 0x48], 0xce24b954
mov dword [ebp - 0x44], 0x2d019022
sub dword [ebp - 0x44], 0xeb952ead
mov dword [ebp - 0x40], 0xd728e22a
add dword [ebp - 0x40], 0x8c468a42
mov dword [ebp - 0x3c], 0x10dbd36b
sub dword [ebp - 0x3c], 0x10dbd36b
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xfc30bd29
sub eax, 0xfbf04c29
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x37a91
push 0
call eax
mov ecx, 0x30886e83
add ecx, 0xcf77dda8
mov edx, eax
mov ebx, 0x410000
add ebx, dword [ebp - 0x38]
mov esi, 0x1ecdf477
add esi, 0x45b41d90
add dword [ebp - 0x1c], edi
mov edi, dword [ebx]
sub dword [ebp - 0x30], 0x2df4fb43
xor edi, esi
xor dword [ebp - 0x18], ecx
mov dword [edx], edi
add dword [ebp - 4], 0xe8bf1b23
add edx, 0xe5dcbf42
add edx, 0x1a2340c2
add ebx, 0x9e29b8a7
add ebx, 0x61d6475d
loop 0x406453
add eax, 0xf207c63d
add eax, 0xdf95d42
xor ebx, ebx
add ebx, eax
add eax, 0x7b3dc9b5
add eax, 0x84c23650
mov ecx, 0xc409230c
sub ecx, 0xc3c9230c
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x100022fa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x1000233c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.10001fe0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x10002335
mov dword [esi], ebx
call fcn.10008430
push eax
push dword [ebp + 4]
push esi
push ebx
call fcn.10016b00
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x10002f00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x10096024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x100978b4], 0
je 0x10002f23
xor ebx, ebx
jmp 0x1000302d
push 0x18
call fcn.1005c8e1
add esp, 4
mov esi, eax
push 0x18
call fcn.1005c8e1
add esp, 4
lea ecx, [eax + 0x18]
mov dword [esi], eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], 0
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], 0
push 0x40
call fcn.1005c8e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov dword [esi + 0xc], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x14], 1
mov dword [0x100978b4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], 0
push eax
call fcn.1006bc40
add esp, 4
mov ebx, eax
cmp eax, 7
jbe 0x10002fcd
sub esp, 0xc
mov al, byte [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.10001a2a
jmp 0x10002fe9
mov eax, ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
add eax, ebx
push eax
push edi
push ecx
call fcn.100617b0
add esp, 0xc
mov word [ebp + ebx*2 - 0x28], 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10003050
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1000302b
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x10003021
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x10003041
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.1005c916
add esp, 8
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10067a70
int3
Function at 0x10003050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov edx, dword [0x10096024]
mov eax, dword [ebp + 8]
mov esi, ecx
lea edi, [ebp - 0x24]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], 0
push edi
push 3
push eax
call fcn.10017910
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x100030c0
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x28], 0
jbe 0x100030a1
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov ecx, esi
push eax
push dword [ebp - 0x28]
call fcn.10002c60
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x100030f7
mov eax, dword [ebp - 0x24]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x100030ed
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x10003111
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.1005c916
add esp, 8
mov dword [ebp - 0x10], 7
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005c924
add esp, 0x20
pop esi
pop edi
pop ebp
ret 4
call fcn.10067a70
int3
Function at 0x100059b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x10096024]
mov ebx, ecx
lea esi, [ebp - 0x28]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], edx
push edx
push ecx
push esi
call fcn.10014410
add esp, 0xc
cmp dword [ebp - 0x14], 7
jbe 0x100059df
mov esi, dword [ebp - 0x28]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp ecx, 8
jb 0x10005a27
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x10005a1d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x10005bab
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.1005c916
add esp, 8
test edi, edi
je 0x10005acd
cmp dword [ebp + 8], 0
mov dword [ebp - 0x2c], ebx
mov bl, 1
je 0x10005b97
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.1005cb00
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push ebx
call fcn.10014410
add esp, 0xc
cmp dword [ebp - 0x14], 7
jbe 0x10005a70
mov ebx, dword [ebp - 0x28]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x10005ab6
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x10005aac
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x10005bab
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.1005c916
add esp, 8
cmp word [esi], 0
je 0x10005ad4
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x10005ac0
jmp 0x10005ad6
xor ebx, ebx
jmp 0x10005b97
xor eax, eax
lea edi, [ebp - 0x28]
push eax
push esi
push edi
call fcn.10014460
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
cmp edi, ecx
je 0x10005b56
cmp eax, 0x10
jb 0x10005b25
mov ecx, dword [ecx]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10005b18
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10005bab
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.1005c916
add esp, 8
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x18]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x20]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x10005b87
cmp eax, 0x10
jb 0x10005b87
mov ecx, dword [ebp - 0x28]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10005b7d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10005bab
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.1005c916
add esp, 8
mov dword [ebp - 0x14], 0xf
push esi
call fcn.1005cb09
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10067a70
Function at 0x100085c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [0x10096024]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.10003120
mov esi, eax
mov ecx, eax
push 0x1007f65a
call fcn.10003450
test al, al
jne 0x100085fe
mov ecx, esi
push str.vmodule
call fcn.10003450
test al, al
je 0x100086f4
cmp dword [0x100978bc], 0
jne 0x100087da
mov eax, dword [0x100978c0]
mov dword [0x100978bc], eax
push 0x10
call fcn.1005c8e1
add esp, 4
mov edi, eax
mov dword [ebp - 0x48], str.vmodule
push str.vmodule
call fcn.1006b2c0
add esp, 4
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x28]
mov ecx, esi
push eax
push edx
call fcn.10003540
mov dword [ebp - 0x50], 0x1007f65a
push 0x1007f65a
call fcn.1006b2c0
add esp, 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
lea ebx, [ebp - 0x40]
mov ecx, esi
push eax
push ebx
call fcn.10003540
mov ecx, edi
push 0x100978c4
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.10019be0
mov eax, dword [ebp - 0x2c]
mov dword [0x100978c0], edi
cmp eax, 0x10
jb 0x100086bc
mov ecx, dword [ebp - 0x40]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x100086b2
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100087df
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.1005c916
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100086f4
mov ecx, dword [ebp - 0x28]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x100086ea
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100087df
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.1005c916
add esp, 8
mov edi, dword [ebp + 8]
mov bl, 1
mov eax, dword [edi]
test al, 1
mov dword [section..data], eax
je 0x100087c6
mov eax, dword [0x100978ec]
test eax, eax
je 0x10008722
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100978ec], 0
mov esi, dword [0x100978c8]
test esi, esi
jne 0x10008750
push 0x18
call fcn.1005c8e1
add esp, 4
mov esi, eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], 0
mov dword [0x100978c8], eax
mov ebx, dword [edi + 4]
push ebx
call fcn.1006bc40
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x1000877f
sub esp, 0xc
mov al, byte [ebp - 0x28]
mov ecx, esi
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.10001a2a
jmp 0x100087a2
cmp eax, 8
mov ecx, esi
jb 0x10008788
mov ecx, dword [esi]
mov eax, edi
mov dword [esi + 0x10], edi
add eax, edi
push eax
push ebx
push ecx
mov esi, ecx
call fcn.100617b0
add esp, 0xc
mov word [esi + edi*2], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x100087bf
mov eax, dword [0x100978c8]
cmp dword [eax + 0x14], 7
jbe 0x100087b8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.100087f0
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
int3
call fcn.10067a70
int3
Function at 0x10010d90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x10], eax
jbe 0x10010daa
mov edx, dword [edx]
cmp dword [ebp - 0x10], 0
mov eax, 0x811c9dc5
mov dword [ebp - 0x14], edx
je 0x10010dcf
mov esi, dword [ebp - 0x10]
nop dword [eax + eax]
movzx edi, byte [edx]
inc edx
xor edi, eax
imul eax, edi, 0x1000193
dec esi
jne 0x10010dc0
and eax, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ecx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jne 0x10010df6
jmp 0x10010e10
mov edi, dword [edi]
cmp ecx, esi
je 0x10010e10
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
cmp eax, edi
jne 0x10010e16
jmp 0x10010e5d
mov eax, esi
cmp eax, edi
je 0x10010e5d
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x18], eax
jne 0x10010df0
cmp dword [edi + 0x1c], 0xf
jbe 0x10010e30
mov ebx, dword [edi + 8]
jmp 0x10010e33
lea ebx, [edi + 8]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
push ebx
call fcn.1006027d
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x10010df0
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
call fcn.1006027d
add esp, 0xc
test eax, eax
je 0x10010e6c
mov eax, dword [ebp + 8]
mov dword [eax], esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x10010e62