joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100050c0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100109de
call fcn.1000a04c
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
xor ebx, ebx
lea eax, [ebp - 0x60]
push esi
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10009340
push 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
mov dword [ebp - 0x60], edi
call fcn.10009340
add esp, 0x18
push 0x1001263c
lea ecx, [ebp + 8]
call fcn.10004e57
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.10002154
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x10005120
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1000515c
push 0x927c0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
push esi
lea ecx, [ebp + 8]
push ebx
call fcn.10001d67
push esi
lea ecx, [ebp + 0x24]
push ebx
call fcn.10001d67
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x38

Function at 0x10005181
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x10005205
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 0x10
jb 0x100051b4
mov eax, dword [edi + 4]
jmp 0x100051b7
lea eax, [edi + 4]
push 0xf01ff
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x100051fe
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100051fb
cmp dword [ebp - 0x24], 4
jne 0x100051fb
mov ecx, dword [ebp - 0xc]
push edi
call fcn.10004fa2
test eax, eax
je 0x100051fb
mov dword [ebp - 8], 1
push ebx
call esi
push dword [ebp - 4]
call esi
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 4
Function at 0x1000520d
Capabilities:
Copy file
Set file attributes

Disassembly:
mov eax, 0x10010a08
call fcn.1000a04c
sub esp, 0x48
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
mov dword [ebp - 0x14], eax
mov esi, ecx
call fcn.100059a1
lea eax, [esi + 0x54]
push eax
lea ecx, [ebp - 0x30]
call fcn.10002341
lea eax, [esi + 0xe0]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], edi
call fcn.10002341
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
jae 0x10005260
lea eax, [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x10005278
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x10005284
lea eax, [ebp - 0x48]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x10005306
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x10012650
mov byte [ebp - 4], 2
call fcn.10004ed7
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
mov byte [ebp - 4], 3
call fcn.10002341
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100050c0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x1001264c
call fcn.10004ed7
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
mov byte [ebp - 4], 4
call fcn.10002341
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100050c0
xor esi, esi
inc esi
jmp 0x10005308
xor esi, esi
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001d67
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.10001d67
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.1000928e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100057b2
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10010a66
call fcn.1000a04c
sub esp, 0x12c
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
xor esi, esi
push 0x10012332
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x134], esi
call fcn.10004ed7
push 0x40
mov byte [ebp - 0x130], 0
xor eax, eax
pop ecx
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x134], esi
movzx esi, byte [0x100126c7]
stosb byte es:[edi], al
lea edi, [esi + 1]
push edi
call fcn.10008d5b
push edi
mov ebx, eax
push 0
push ebx
call fcn.10009340
push esi
push str.J_____a_t
push ebx
call fcn.10009440
mov edi, 0x1001282c
push edi
push esi
push ebx
call fcn.1000755f
add esp, 0x28
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10002367
push ebx
call fcn.10009abd
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x10005855
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x138], eax
je 0x100058ff
movzx esi, byte [0x100127dc]
lea eax, [esi + 1]
push eax
call fcn.10008d5b
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.10009340
push esi
push 0x100127cc
push ebx
call fcn.10009440
push edi
push esi
push ebx
call fcn.1000755f
add esp, 0x28
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10002367
push ebx
call fcn.10009abd
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x100058bb
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
cmp eax, esi
je 0x100058eb
lea ecx, [ebp - 0x130]
push ecx
push esi
push esi
push dword [ebp + 0xc]
push esi
call eax
test eax, eax
jl 0x100058eb
mov dword [ebp - 0x134], 1
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x134], esi
jne 0x10005911
push 0x104
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x130]
push eax
call fcn.10004ed7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001d67
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1000928e
leave
ret 8
Function at 0x1000755f
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100075a2
cmp byte [edi], 0
je 0x100075a2
push ebx
push edi
call fcn.100093b0
pop ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
mov ebx, eax
jle 0x1000759d
push esi
mov eax, dword [esp + 0x10]
lea esi, [ecx + eax]
mov eax, ecx
cdq
idiv ebx
mov al, byte [esi]
sub al, cl
xor al, byte [edx + edi]
inc ecx
cmp ecx, dword [esp + 0x14]
mov byte [esi], al
jl 0x10007580
pop esi
pop ebx
mov al, 1
pop edi
ret
xor al, al
pop edi
ret

Function at 0x1000766b
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret

Function at 0x10008b4b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100162d0]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.10008b1b
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.10009340
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10008bad
cmp dword [ebp - 0x1c], 5
jb 0x10008bc5
jmp 0x10008bc1
cmp dword [ebp - 0x10], 1
jne 0x10008bc5
cmp dword [ebp - 0x1c], 4
ja 0x10008bc1
jne 0x10008bc5
cmp dword [ebp - 0x18], 0
jbe 0x10008bc5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x10012a14
call fcn.10001219
test eax, eax
jge 0x10008be6
mov byte [0x10016eac], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.1000928e
add ebp, 0x78
leave
ret
Function at 0x10008fe2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10009220
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000907d
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x10017bc8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x1000907d
cmp eax, 1
je 0x1000909e
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000907d
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x1000904a
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10009079
xor eax, eax
inc eax
jmp 0x100090bd
cmp edi, eax
jae 0x10009081
xor eax, eax
jmp 0x100090bd
cmp eax, esi
jae 0x10009088
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x10017bc8]
jmp 0x100090a1
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000a50f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000a52f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1000d481
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x1000a552
test byte [esp + 8], 2
je 0x1000a552
call fcn.1000d46f
mov dword [eax], 0xd
call fcn.1000d478
mov dword [eax], 5
jmp 0x1000a52b
xor eax, eax
ret
Function at 0x1000ab2a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x1000ac1a
mov eax, 0x94
call fcn.10009220
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000ac8f
mov ecx, dword [esi + 0x10]
mov dword [0x10017bc8], ecx
mov eax, dword [esi + 4]
mov dword [0x10017bd4], eax
mov edx, dword [esi + 8]
mov dword [0x10017bd8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x10017bcc], esi
je 0x1000ab95
or esi, 0x8000
mov dword [0x10017bcc], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x10017bd0], eax
call fcn.1000af7b
test eax, eax
pop ecx
je 0x1000ac8f
call fcn.1000cc86
test eax, eax
jne 0x1000abc2
call fcn.1000afcc
jmp 0x1000ac8f
call fcn.1000ef2c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x100192d8], eax
call fcn.1000ee0a
mov dword [0x10017a5c], eax
call fcn.1000e8eb
test eax, eax
jl 0x1000ac13
call fcn.1000ed68
test eax, eax
jl 0x1000ac0e
call fcn.1000eb35
test eax, eax
jl 0x1000ac0e
push 0
call fcn.1000bbc8
test eax, eax
pop ecx
jne 0x1000ac0e
inc dword [0x10017a58]
jmp 0x1000aca0
call fcn.1000eae9
call fcn.1000ca6f
jmp 0x1000abb8
test eax, eax
jne 0x1000ac4a
cmp dword [0x10017a58], eax
jle 0x1000ac8f
dec dword [0x10017a58]
cmp dword [0x10017c04], eax
jne 0x1000ac39
call fcn.1000bd06
call fcn.1000eae9
call fcn.1000ca6f
call fcn.1000afcc
jmp 0x1000aca0
cmp eax, 2
jne 0x1000ac93
push 0x8c
push 1
call fcn.1000e830
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1000ac8f
push esi
push dword [0x10016434]
call dword [0x10017c6c]
test eax, eax
push esi
je 0x1000ac89
call fcn.1000ca8c
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x1000aca0
call fcn.10008f71
pop ecx
xor eax, eax
jmp 0x1000aca3
cmp eax, 3
jne 0x1000aca0
push 0
call fcn.1000cc57
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc

Function at 0x1000bc32
Capabilities:
Terminate process

Disassembly:
push 8
push 0x10012bb0
call fcn.100090c8
push 8
call fcn.1000af30
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x10017c08], esi
jne 0x1000bc66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x10017c04], esi
mov al, byte [ebp + 0x10]
mov byte [0x10017c00], al
cmp dword [ebp + 0xc], edi
jne 0x1000bcb0
cmp dword [0x100192a8], edi
je 0x1000bca0
mov eax, dword [0x100192a4]
sub eax, 4
mov dword [0x100192a4], eax
cmp eax, dword [0x100192a8]
jb 0x1000bca0
mov eax, dword [eax]
cmp eax, edi
je 0x1000bc81
call eax
jmp 0x1000bc81
push 0x10016038
mov eax, 0x10016030
call fcn.1000bbb0
pop ecx
push 0x10016044
mov eax, 0x1001603c
call fcn.1000bbb0
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x1000bce1
cmp dword [ebp + 0x10], edi
jne 0x1000bcef
mov dword [0x10017c08], esi
push dword [ebp + 8]
call fcn.1000bb6e
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x1000bcee
push 8
call fcn.1000ae7b
pop ecx
ret
call fcn.10009103
ret
Function at 0x1000f133
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x100162d0]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x10016b70]
je 0x1000f168
inc eax
cmp eax, 0x13
jb 0x1000f159
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x10016b70]
jne 0x1000f28e
mov eax, dword [0x10017a64]
cmp eax, 1
je 0x1000f266
cmp eax, edx
jne 0x1000f198
cmp dword [0x10017a68], 1
je 0x1000f266
cmp ecx, 0xfc
je 0x1000f28e
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000f1ce
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.1000a560
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.100093b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1000f202
mov eax, edi
push eax
call fcn.100093b0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x10012bf4
push edi
call fcn.1000a770
add esp, 0x10
push edi
call fcn.100093b0
push dword [esi + 0x10016b74]
mov ebx, eax
call fcn.100093b0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.10009220
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.1000a560
push edi
push ebx
call fcn.1000a570
push 0x10012bf0
push ebx
call fcn.1000a570
push dword [esi + 0x10016b74]
push ebx
call fcn.1000a570
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.1000f37e
add esp, 0x2c
jmp 0x1000f28e
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x10016b74]
push dword [esi]
call fcn.100093b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.1000928e
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x1000f37e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10017dac], ebx
push esi
push edi
jne 0x1000f3fe
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1000f439
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x10017dac], eax
je 0x1000f439
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x10017db0], eax
call esi
cmp dword [0x10017bc8], 2
mov dword [0x10017db4], eax
jne 0x1000f3fe
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x10017dbc], eax
je 0x1000f3fe
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x10017db8], eax
mov eax, dword [0x10017db8]
test eax, eax
je 0x1000f443
call eax
test eax, eax
je 0x1000f42a
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x10017dbc]
test eax, eax
je 0x1000f42a
test byte [ebp - 8], 1
jne 0x1000f443
cmp dword [0x10017bd4], 4
jb 0x1000f43d
or byte [ebp + 0x12], 0x20
jmp 0x1000f462
xor eax, eax
jmp 0x1000f472
or byte [ebp + 0x12], 4
jmp 0x1000f462
mov eax, dword [0x10017db0]
test eax, eax
je 0x1000f462
call eax
mov ebx, eax
test ebx, ebx
je 0x1000f462
mov eax, dword [0x10017db4]
test eax, eax
je 0x1000f462
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10017dac]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000fd1f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x100162d0]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x1000fd50
xor eax, eax
jmp 0x1000fed9
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x10017f40]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x1000fd8c
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.1001067e
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x1000fe67
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x1000fea5
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x1000fdf0
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x1000fde1
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x1000fdc1
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000fe30
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x1000fe39
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x1000fdb2
jmp 0x1000fe3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x1000fed4
cmp dword [ebp - 0x6c], edi
je 0x1000fea5
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x1000fe9a
call fcn.1000d46f
mov dword [eax], 9
call fcn.1000d478
mov dword [eax], esi
jmp 0x1000fecf
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000fe8f
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x1000fe3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x1000fe3b
push dword [ebp - 0x6c]
call fcn.1000d481
pop ecx
jmp 0x1000fecf
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1000febd
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x1000febd
xor eax, eax
jmp 0x1000fed7
call fcn.1000d46f
mov dword [eax], 0x1c
call fcn.1000d478
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x1000fed7
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.1000928e
add ebp, 0x3a0
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x78403ab7
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xe9137f7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40893d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
dec ebx
add ebx, ebx
call fcn.00408964
xor dword [eax], edi
add esi, 0xf0ab34a5
inc eax
dec esi
cmp eax, ecx
jne fcn.0040893d
add esi, 0x4a9e5a96
dec ebx
ret
Function at 0x494974
Capabilities:
Encode data using xor

Disassembly:
hlt
out dx, eax
jns 0x4948de
sbb ecx, dword [ebx - 0x33401c46]
retf 0x4f27
jecxz 0x49489f
int3
daa
dec edi
int1
leave
aad 0xfc
into
add al, 0x8d
jns 0x4948d8
fiadd dword [eax - 0x7767a606]
sal ch, cl
hlt
jno 0x494973
std
cmp eax, 0x41805536
push ebx
ret 0x8949
dec ecx
jl 0x4948e2
adc dword [ebx], 0xf4417aab
push ecx
jecxz 0x4949af
sub dword [esi + 0x5f0758cd], 0x3dc04047
wait
jecxz 0x49491c
movsb byte es:[edi], byte [esi]
adc al, 0x68
sbb edx, esi
ja 0x494937
pop ss
and ah, dh
fistp dword [esi + 0x145023e]
cwde
sub edi, dword [edx + 0x12]
push esp
cwde
scasb al, byte es:[edi]
out 0x59, eax
jle 0x49491c
mov edi, 0xb3e70ce6
out 0xb3, eax
pop esi
inc ebp
jle 0x49497a
xor al, 0x1e
rol byte [eax], 2
xor al, 0x20
and eax, 0xbcc276ef
outsd dx, dword [esi]
pop ebx
stosb byte es:[edi], al
adc ebx, dword [edx + 0x745e7a6c]
adc dword [edi - 0x4d1dea6b], ebx
cmp eax, 0x5546b815
sbb byte [edx], dl
add dword [edx - 0x42], ebx
sahf
out 0xee, eax
jno 0x49496f
leave
faddp st(5)
or dword [eax + ecx*4 + 0x141b369c], eax
jmp 0xddc81623
int3

Function at 0x4ad1f8
Capabilities:
Encode data using xor

Disassembly:
mov eax, eax
mov edi, edi
mov edi, edi
mov edx, edx
mov ecx, ecx
mov edi, edi
mov edi, edi
mov esi, esi
mov eax, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jo 0x4ad140
push esp
aad 0x61
and dword [edx + 0x4d], ebp
xchg ebx, eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
adc dword [ecx - 0x652601cd], edx
sar ebp, cl
pop ebx
in eax, dx
xchg ecx, eax
xor edi, esi
fstp dword [edx - 0x12a4022d]
pop ss
jl 0x4ad1ff
inc edx
inc ecx
inc esp
jl 0x4ad1d6
pushal
dec ebx
cmc
inc esi
or ecx, 0x15337f55
or esi, dword [edx - 0x15]
jmp 0x4ad1b2