joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x2006448
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
test eax, eax
push ebx
push esi
je 0x2006487
cmp byte [eax], 0
je 0x2006487
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2006463
sub eax, edx
lea esi, [eax + 0x104]
push esi
call fcn.020099ae
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x200648f
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebx
leave
ret 4
mov ecx, esi
mov edx, ecx
shr ecx, 2
push edi
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x20064ab
cmp byte [ebx], cl
je 0x20064e0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x20064be
sub eax, edx
add eax, 4
cmp esi, eax
jbe 0x20064e0
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x20064d1
mov esi, 0x200125c
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop edi
jne 0x20064f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x20064fc
mov dword [ebp - 4], 1
push ebx
call fcn.020096e3
mov eax, dword [ebp - 4]
pop ecx
jmp 0x2006489
Function at 0x2006d48
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x2015918]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
xor eax, eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0xb0], ebx
lea edi, [ebp - 0xac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xe0], ebx
lea edi, [ebp - 0xdc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xc0], ebx
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xd0], ebx
lea edi, [ebp - 0xcc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
push 0xf
xor eax, eax
pop ecx
mov byte [ebp - 0x84], bl
lea edi, [ebp - 0x83]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xf
mov byte [ebp - 0x44], bl
xor eax, eax
pop ecx
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0xa0], ebx
stosb byte es:[edi], al
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x9c], ebx
call fcn.02008193
cmp eax, 1
je 0x2006e0b
mov eax, 0x45a
jmp 0x200708d
cmp esi, ebx
je 0x200708a
cmp dword [ebp - 0x90], ebx
je 0x200708a
push 0x208
call fcn.020099ae
cmp eax, ebx
pop ecx
mov dword [ebp - 0x88], eax
jne 0x2006e3b
push 0xe
jmp 0x200708c
push ebx
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x94]
push ebx
push dword [ebp - 0x90]
push esi
call fcn.02006c0b
cmp eax, ebx
mov dword [ebp - 0x90], eax
jne 0x2007076
cmp dword [ebp - 0x8c], ebx
je 0x2007076
lea eax, [ebp - 0xb0]
push eax
push ebx
push 0x2001380
push dword [ebp - 0x8c]
call dword [0x201669c]
test eax, eax
je 0x200706a
lea esi, [ebp - 0xb0]
lea edi, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x57
pop eax
Function at 0x20081ed
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp + 0xc]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 4], esi
mov edi, eax
je 0x2008258
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
mov edi, dword [ebp + 0x14]
push ebx
mov ebx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
push edx
push dword [ebp + 0x14]
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp + 0x1c]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
leave
ret 0x18
Function at 0x20089cd
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x2015918]
and dword [ebp - 0x98], 0
and dword [ebp - 0xa4], 0
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x24
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], eax
xor eax, eax
test ebx, ebx
pop ecx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
je 0x2008c12
push esi
push 9
mov ecx, 0xb8
mov edi, ebx
rep stosd dword es:[edi], eax
or dword [ebx + 0x2d4], 2
pop ecx
mov dword [ebx], 0x3c
lea edi, [ebx + 4]
mov esi, 0x20019b8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x98]
movsb byte es:[edi], byte [esi]
push eax
mov dword [ebx + 0x84], 8
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x2008a93
cmp dword [ebp - 0x94], 5
jne 0x2008aa3
cmp dword [ebp - 0x90], 0
jne 0x2008a81
or dword [ebx + 0x2d4], 2
jmp 0x2008aa3
cmp dword [ebp - 0x90], 1
jne 0x2008aa3
or dword [ebx + 0x2d4], 5
jmp 0x2008aa3
cmp dword [ebp - 0x88], 1
jne 0x2008aa3
or dword [ebx + 0x2d4], 3
cmp dword [ebp - 0x9c], 0
je 0x2008c0b
mov esi, dword [ebp - 0xa0]
mov al, byte [esi]
test al, al
je 0x2008c0b
cmp al, 0x20
jne 0x2008ad0
inc esi
cmp byte [esi], 0x20
je 0x2008ac4
mov dword [ebp - 0xa0], esi
cmp byte [esi], 0x2f
jne 0x2008ab0
inc esi
mov dword [ebp - 0xa8], esi
jmp 0x2008ae3
test al, al
je 0x2008aef
inc esi
mov al, byte [esi]
cmp al, 0x20
mov dword [ebp - 0xa0], esi
jne 0x2008ade
sub esi, dword [ebp - 0xa8]
inc esi
lea edi, [esi + 1]
push edi
call fcn.020099ae
test eax, eax
pop ecx
mov dword [ebp - 0x9c], eax
je 0x2008c07
mov ecx, edi
mov edi, dword [ebp - 0x9c]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
push dword [ebp - 0xa8]
and ecx, 3
rep stosb byte es:[edi], al
call fcn.0200a209
mov edi, dword [ebp - 0x9c]
pop ecx
push eax
push edi
call fcn.02009730
push 4
push edi
push 0x20019b0
call fcn.0200a860
add esp, 0x18
test eax, eax
jne 0x2008b73
add esi, 0xfffffffb
push esi
lea eax, [edi + 4]
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.02009730
add esp, 0xc
inc dword [ebp - 0xa4]
jmp 0x2008bfb
push 4
push edi
push 0x20019a8
call fcn.0200a860
add esp, 0xc
test eax, eax
jne 0x2008b9d
add esi, 0xfffffffb
push esi
lea eax, [edi + 4]
push eax
lea eax, [ebx + 4]
push eax
call fcn.02009730
add esp, 0xc
jmp 0x2008bfb
push 8
push edi
push 0x200199c
call fcn.0200a860
add esp, 0xc
test eax, eax
jne 0x2008bc3
lea eax, [edi + 8]
push eax
call fcn.0200997e
pop ecx
mov dword [ebx + 0x84], eax
jmp 0x2008bfb
push 4
push edi
push 0x2001994
call fcn.0200a860
add esp, 0xc
test eax, eax
jne 0x2008be0
or byte [ebx + 0x2d9], 1
jmp 0x2008bfb
push 7
push edi
push 0x200198c
call fcn.0200a860
add esp, 0xc
test eax, eax
jne 0x2008bfb
or byte [ebx + 0x2d5], 4
push edi
call fcn.020096e3
pop ecx
jmp 0x2008ab0
xor eax, eax
jmp 0x2008c11
mov eax, dword [ebp - 0xa4]
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.020092eb
leave
ret 0xc
Function at 0x20092eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2015918]
jne 0x20092fc
test ecx, 0xffff0000
jne 0x20092fc
ret
jmp fcn.02009306

Function at 0x20093eb
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
push edi
jne 0x20094f2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x94
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x2009435
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
push esi
push 0
jne 0x200943c
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x20094e5
mov eax, dword [esi + 0x10]
mov dword [0x2016a4c], eax
mov eax, dword [esi + 4]
mov dword [0x2016a58], eax
mov eax, dword [esi + 8]
mov dword [0x2016a5c], eax
mov eax, dword [esi + 0xc]
and eax, 0x7fff
mov dword [0x2016a50], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x2016a4c], 2
je 0x200947a
or byte [0x2016a51], 0x80
mov eax, dword [0x2016a58]
shl eax, 8
add eax, dword [0x2016a5c]
push 0
mov dword [0x2016a54], eax
call fcn.0200afff
test eax, eax
pop ecx
je 0x2009435
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x2018430], eax
call fcn.0200b0ec
mov dword [0x2016a08], eax
call fcn.0200aaee
test eax, eax
jge 0x20094c1
call fcn.0200b05b
jmp 0x2009435
call fcn.0200af38
test eax, eax
jl 0x20094eb
call fcn.0200ace0
test eax, eax
jl 0x20094eb
call fcn.0200a9da
test eax, eax
jne 0x20094eb
inc dword [0x2016a04]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0xc
call fcn.0200acb6
jmp 0x20094b7
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x20094e2
cmp dword [0x2016a04], esi
jle 0x2009435
dec dword [0x2016a04]
cmp dword [0x2016a88], esi
jne 0x2009518
call fcn.0200aad6
cmp dword [ebp + 0x10], esi
jne 0x20094e2
call fcn.0200acb6
call fcn.0200b05b
jmp 0x20094e2
Function at 0x200b0ec
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x2016b98]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x200b138
call esi
mov edi, eax
cmp edi, ebx
je 0x200b11e
mov dword [0x2016b98], 1
jmp 0x200b13d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x200b133
push 2
pop eax
mov dword [0x2016b98], eax
jmp 0x200b138
mov eax, dword [0x2016b98]
cmp eax, 1
jne 0x200b1b5
cmp edi, ebx
jne 0x200b149
call esi
mov edi, eax
cmp edi, ebx
je 0x200b1be
cmp word [edi], bx
mov eax, edi
je 0x200b15e
inc eax
inc eax
cmp word [eax], bx
jne 0x200b150
inc eax
inc eax
cmp word [eax], bx
jne 0x200b150
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 8], ecx
je 0x200b1ac
call fcn.0200e703
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x200b1ac
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
jne 0x200b1a9
push dword [ebp - 4]
call fcn.020096e3
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x200b20d
cmp eax, 2
je 0x200b1c2
cmp eax, ebx
je 0x200b1c2
xor eax, eax
jmp 0x200b20f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x200b1be
cmp byte [esi], bl
je 0x200b1df
inc eax
cmp byte [eax], bl
jne 0x200b1d5
inc eax
cmp byte [eax], bl
jne 0x200b1d5
sub eax, esi
inc eax
mov edi, eax
mov ecx, edi
call fcn.0200e703
cmp eax, ebx
je 0x200b206
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x200b242
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp ecx, dword [esi*8 + 0x20159d0]
je 0x200b264
inc esi
cmp esi, 0x13
mov dword [ebp - 4], esi
jb 0x200b252
cmp esi, 0x13
je 0x200b3a0
mov eax, dword [0x2016a10]
cmp eax, 1
push ebx
je 0x200b36f
test eax, eax
jne 0x200b28d
cmp dword [0x2016a14], 1
je 0x200b36f
cmp ecx, 0xfc
je 0x200b39f
push edi
push 6
pop ecx
mov esi, 0x2002328
mov edi, 0x2016ba0
rep movsd dword es:[edi], dword [esi]
push 0x104
mov ebx, 0x2016bba
push ebx
movsw word es:[edi], word [esi]
push 0
mov byte [0x2016cbe], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x200b2db
push 5
pop ecx
mov esi, 0x2002310
mov edi, 0x2016bba
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x200b2e0
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x200b313
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x200b2f4
sub eax, edx
push 3
lea eax, [eax + 0x2016b7f]
push 0x200230c
push eax
call fcn.02009730
add esp, 0xc
mov edx, 0x2016ba0
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x200b31b
mov eax, dword [ebp - 4]
mov eax, dword [eax*8 + 0x20159d4]
mov esi, 0x2002308
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x200b337
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x200b343
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x20022e0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.02010396
add esp, 0xc
pop edi
jmp 0x200b39f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x200b39f
mov edx, dword [esi*8 + 0x20159d4]
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x200b387
push 0
sub ecx, esi
lea esi, [ebp - 8]
push esi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
pop esi
leave
ret
Function at 0x200e8e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x52e94675
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0200e58f
push eax
push esi
push dword [ebp + 8]
call fcn.0200e544
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0200e58f
push eax
push esi
push dword [ebp + 8]
call fcn.0200e544
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0200e58f
push eax
push esi
push dword [ebp + 8]
call fcn.0200e544
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0200e57f
mov edi, 0x88edc066
popfd
jl 0x200ea04
invalid
invalid
Function at 0x200ecb4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x200ec56
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x200ec74
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x200ecd2
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x200ecb9
invalid
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x200ecc2
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x200eccc
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x200ecae
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x200ec38
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x200ed1f
dec eax
je 0x200ed16
sub eax, 3
je 0x200ed0d
mov dword [ebp - 4], 0x40
jmp 0x200ed3c
mov dword [ebp - 4], 4
jmp 0x200ed22
mov dword [ebp - 4], 0x20
jmp 0x200ed22
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x200ed6e
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x200ecee
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0200e57f
int1
fld st(7)
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x200ed7a
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2011959
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x2018310]
mov eax, dword [0x2015918]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], edi
jae 0x2011b3f
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x2018320]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x424], ebx
je 0x2011b3f
and dword [ebp - 0x414], 0
and dword [ebp - 0x420], 0
cmp dword [ebp + 0x10], 0
jne 0x20119ca
xor eax, eax
jmp 0x2011b53
test al, 0x20
je 0x20119dd
push 2
push 0
push 0
push ecx
call fcn.020128c9
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x2011a9d
and dword [ebp - 0x40c], 0
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x410], edi
jbe 0x2011b19
mov ecx, dword [ebp - 0x410]
xor edi, edi
sub ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x408]
cmp ecx, dword [ebp + 0x10]
jae 0x2011a4c
mov edx, dword [ebp - 0x410]
inc dword [ebp - 0x410]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x2011a3a
inc dword [ebp - 0x420]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x424]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x2011a16
mov edi, eax
lea eax, [ebp - 0x408]
sub edi, eax
push 0
lea eax, [ebp - 0x418]
push eax
push edi
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x2011acb
mov eax, dword [ebp - 0x418]
add dword [ebp - 0x414], eax
cmp eax, edi
jl 0x2011ad7
mov eax, dword [ebp - 0x410]
sub eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0x10]
jb 0x2011a02
jmp 0x2011ad7
push 0
lea ecx, [ebp - 0x418]
push ecx
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x2011acb
mov eax, dword [ebp - 0x418]
and dword [ebp - 0x40c], 0
mov dword [ebp - 0x414], eax
jmp 0x2011ad7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x414]
test eax, eax
jne 0x2011b37
cmp dword [ebp - 0x40c], eax
je 0x2011b13
push 5
pop eax
cmp dword [ebp - 0x40c], eax
jne 0x2011b05
mov dword [0x2016a40], 9
mov dword [0x2016a44], eax
jmp 0x2011b50
push dword [ebp - 0x40c]
call fcn.02012607
pop ecx
jmp 0x2011b50
mov edi, dword [ebp - 0x41c]
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x2011b2b
cmp byte [edi], 0x1a
je 0x20119c3
mov dword [0x2016a40], 0x1c
jmp 0x2011b49
sub eax, dword [ebp - 0x420]
jmp 0x2011b53
mov dword [0x2016a40], 9
and dword [0x2016a44], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.020092eb
leave
ret