joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fceb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x46a930]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x44fd2f
push 0xa
pop esi
cmp word [ebx], si
jne 0x44fd2f
or byte [eax + edi + 0x28], 4
jmp 0x44fd34
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x44fe9f
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x44fe77
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x44fd81
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x44fdab
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x44fdca
push 0xa
pop ebx
cmp word [edx], bx
jne 0x44fd98
push ebx
add eax, 4
pop edx
jmp 0x44fda0
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x44fd46
jmp 0x44fe9f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44fe72
cmp dword [ebp - 0x14], 0
je 0x44fe72
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x46a930]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x44fe4e
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x44fe16
mov word [esi], ax
jmp 0x44fe9c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x46a930]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x46a930]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x46a930]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x44fe9c
cmp word [ebp - 4], ax
jne 0x44fe58
cmp esi, ebx
je 0x44fe0e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00447fdb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x44fe9f
push 0xd
pop eax
jmp 0x44fe0e
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x46a930]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x44fe99
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x44fe9f
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x452035
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00451fb1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4521a4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4521a4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x452159
jg 0x452091
test eax, eax
je 0x45214f
push 1
push 0x1000
call fcn.00442af0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4520b4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x452146
push 0x8000
push ebx
call fcn.00438459
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4520dd
jg 0x4520d8
cmp ecx, 0x1000
jb 0x4520dd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00446593
add esp, 0x10
cmp eax, 0xffffffff
je 0x452122
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4520d8
jl 0x452109
test ecx, ecx
jne 0x4520ca
push dword [ebp - 0xc]
push ebx
call fcn.00438459
push esi
call fcn.00442bc0
add esp, 0xc
xor ebx, ebx
jmp 0x4521b2
cmp byte [edi + 0x24], 0
je 0x452139
cmp dword [edi + 0x20], 5
jne 0x452139
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x452144
mov ebx, dword [edi + 0x18]
jmp 0x452146
xor ebx, ebx
push esi
call fcn.00442bc0
pop ecx
jmp 0x4521b2
test ecx, ecx
jg 0x45211b
jl 0x452159
test eax, eax
jae 0x45211b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00447fdb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x452179
cmp byte [edi + 0x1c], 0
je 0x45211b
jmp 0x4521aa
push ebx
call fcn.004476e6
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45211b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4521b2
cmp byte [edi + 0x1c], 0
je 0x4521af
mov ebx, dword [edi + 0x18]
jmp 0x4521b2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00447fdb
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x453420
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45344d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45344d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000a460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d99c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
mov dword [ebp - 0x1cc], ecx
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.10009c80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1cc]
add ecx, 0x2c
call fcn.10009c80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1cc]
add ecx, 0x54
call fcn.10009c80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1cc]
add ecx, 0x7c
call fcn.10009c80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1cc]
mov dword [eax], 0x10007678
mov byte [ebp - 0x1c0], 0x6b
mov byte [ebp - 0x1bf], 0x65
mov byte [ebp - 0x1be], 0x72
mov byte [ebp - 0x1bd], 0x6e
mov byte [ebp - 0x1bc], 0x65
mov byte [ebp - 0x1bb], 0x6c
mov byte [ebp - 0x1ba], 0x33
mov byte [ebp - 0x1b9], 0x32
mov byte [ebp - 0x1b8], 0x2e
mov byte [ebp - 0x1b7], 0x64
mov byte [ebp - 0x1b6], 0x6c
mov byte [ebp - 0x1b5], 0x6c
mov byte [ebp - 0x1b4], 0
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x19], 0x76
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x202
call dword [0x100075f0]
push 0x30
call fcn.10023a17
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
push 0
call dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx + 0xac], eax
push 0x30
call fcn.10023a17
add esp, 4
mov edx, dword [ebp - 0x1cc]
mov byte [edx + 0xb5], 0
mov eax, dword [ebp - 0x1cc]
mov dword [eax + 0xa8], 0xffffffff
mov byte [ebp - 0x1c8], 0x58
mov byte [ebp - 0x1c7], 0x6a
mov byte [ebp - 0x1c6], 0x6a
mov byte [ebp - 0x1c5], 0x68
mov byte [ebp - 0x1c4], 0x6a
push 0x30
call fcn.10023a17
add esp, 4
push 5
lea ecx, [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x1cc]
add edx, 0xb0
push edx
call fcn.10023a30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000ebc2
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
push ebx
push esi
push edi
mov dword [ebp - 0x488], ecx
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x6c
mov byte [ebp - 0x32], 0x33
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x2e
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x6c
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x76
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x44
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x79
mov byte [ebp - 9], 0x41
mov byte [ebp - 8], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov byte [ebp - 0x24], 0x25
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x2a
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x2a
mov byte [ebp - 0x1e], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call dword [0x100075d8]
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10001a04
push 0x10001a14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x178]
push edx
lea eax, [ebp - 0x27c]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
nop
nop
nop
nop
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x1000ecdf
xor al, al
jmp 0x1000ed8d
movsx ecx, byte [ebp - 0x14c]
cmp ecx, 0x2e
je 0x1000ed59
mov edx, dword [ebp - 0x178]
and edx, 0x10
test edx, edx
je 0x1000ed2c
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x10001a24
lea edx, [ebp - 0x380]
push edx
call dword [0x100075d8]
add esp, 0x10
lea eax, [ebp - 0x380]
push eax
mov ecx, dword [ebp - 0x488]
call fcn.1000ebc2
jmp 0x1000ed59
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x10001a2c
lea eax, [ebp - 0x484]
push eax
call dword [0x100075d8]
add esp, 0x10
lea ecx, [ebp - 0x484]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x178]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x1002f45c]
test eax, eax
jne 0x1000ecdf
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
test eax, eax
jne 0x1000ed8b
xor al, al
jmp 0x1000ed8d
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ed96
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0x69
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0x104
push 0
mov edx, dword [ebp - 0x40]
add edx, 0x20
push edx
call fcn.100239a0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x20
push ecx
call fcn.100248d0
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1000ee74
xor eax, eax
jmp 0x1000ef21
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0xa
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.100239a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0x69
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
add eax, 9
push eax
call fcn.10023a30
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.10015d9b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ef27
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0x69
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x48]
add eax, 0x20
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 4], 0xffffffff
jne 0x1000efd3
mov ecx, dword [ebp - 0x48]
call fcn.1000f0c4
xor eax, eax
jmp 0x1000f0be
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1000effd
or eax, 0xffffffff
jmp 0x1000f0be
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x40], 9
mov ecx, 0x2000
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x34], 0
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov byte [edx], 0x6a
push 8
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
call fcn.10023a30
add esp, 0xc
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
jbe 0x1000f0a1
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.10015d9b
mov dword [ebp - 0x10], eax
jmp 0x1000f0a9
mov ecx, dword [ebp - 0x48]
call fcn.1000f0c4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fa16
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 8]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
nop
nop
nop
nop
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x71
mov ecx, dword [ebp - 0xc]
call fcn.1000f15c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100113fb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
push 0x2f
mov eax, dword [ebp + 8]
push eax
call fcn.100250b0
add esp, 8
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10011429
xor al, al
jmp 0x10011493
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10019b2c
add esp, 8
and eax, 0xff
test eax, eax
jne 0x10011446
xor al, al
jmp 0x10011493
mov dword [ebp - 0x58], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x50], 0x10001c84
nop
nop
nop
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10001c94
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100141d1
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov byte [ebp - 0x12c], 0x6b
mov byte [ebp - 0x12b], 0x65
mov byte [ebp - 0x12a], 0x72
mov byte [ebp - 0x129], 0x6e
mov byte [ebp - 0x128], 0x65
mov byte [ebp - 0x127], 0x6c
mov byte [ebp - 0x126], 0x33
mov byte [ebp - 0x125], 0x32
mov byte [ebp - 0x124], 0x2e
mov byte [ebp - 0x123], 0x64
mov byte [ebp - 0x122], 0x6c
mov byte [ebp - 0x121], 0x6c
mov byte [ebp - 0x120], 0
mov byte [ebp - 0x11c], 0x47
mov byte [ebp - 0x11b], 0x65
mov byte [ebp - 0x11a], 0x74
mov byte [ebp - 0x119], 0x53
mov byte [ebp - 0x118], 0x79
mov byte [ebp - 0x117], 0x73
mov byte [ebp - 0x116], 0x74
mov byte [ebp - 0x115], 0x65
mov byte [ebp - 0x114], 0x6d
mov byte [ebp - 0x113], 0x44
mov byte [ebp - 0x112], 0x69
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x65
mov byte [ebp - 0x10f], 0x63
mov byte [ebp - 0x10e], 0x74
mov byte [ebp - 0x10d], 0x6f
mov byte [ebp - 0x10c], 0x72
mov byte [ebp - 0x10b], 0x79
mov byte [ebp - 0x10a], 0x41
mov byte [ebp - 0x109], 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x108], eax
push 0x30
call fcn.10023a17
add esp, 4
push 0x104
lea edx, [ebp - 0x104]
push edx
call dword [ebp - 0x108]
push 0x10001db8
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x30
call fcn.10023a17
add esp, 4
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret