joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd9db67
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x104
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0xd9dbca
lea ecx, [ebp + eax - 0x104]
cmp byte [ecx - 1], 0x5c
jne 0xd9dba0
lea ecx, [ebp + eax - 0x105]
mov byte [ecx], 0
push dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0x80
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push 0
push 1
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
leave
ret
or eax, 0xffffffff
leave
ret

Function at 0xd9dd05
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebp, eax
mov edi, 0xda36b4
jmp 0xd9dd41
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0xda36b8]
je 0xd9dd53
call ebx
sub eax, ebp
cmp eax, 0x2710
jae 0xd9dd4c
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push edi
call esi
test eax, eax
jne 0xd9dd20
jmp 0xd9dd53
and dword [0xda36bc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
inc dword [0xda36bc]
pop edi
pop esi
pop ebp
mov dword [0xda36b8], eax
pop ebx
ret

Function at 0xd9e095
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
sub esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 0x20106
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0xd9e172
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xd9e0cc
push ebx
sub eax, ecx
push edi
mov edi, eax
mov dword [ebp - 4], esi
cmp edi, 0x1c
jle 0xd9e0e4
push 0x1c
pop edi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.00d9ee08
mov ebx, dword [ebp + 0x18]
add esp, 0xc
cmp ebx, esi
jle 0xd9e13f
mov esi, 0xff000
cmp ebx, esi
jge 0xd9e106
mov esi, ebx
push 0xa
lea eax, [ebp + edi - 0x2c]
push eax
push dword [ebp - 4]
call fcn.00d9f1ed
add esp, 0xc
push esi
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
push 3
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0xd9e13d
add dword [ebp - 8], esi
sub ebx, esi
inc dword [ebp - 4]
test ebx, ebx
jg 0xd9e0fb
sub esi, esi
push 0xa
lea eax, [ebp + edi - 0x2c]
push eax
push dword [ebp - 4]
call fcn.00d9f1ed
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub eax, eax
cmp ebx, esi
pop edi
sete al
pop ebx
jmp 0xd9e174
sub eax, eax
pop esi
leave
ret
Function at 0xd9e177
Capabilities:
Write file on windows

Disassembly:
push ebp
push esp
pop ebp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0xd9e193
sub eax, eax
inc eax
cmp dword [0xda20ec], eax
jne 0xd9e315
cmp dword [0xda36c0], ebx
je 0xd9e312
test byte [ebp + 8], 1
push esi
push edi
mov edi, 0xc8
lea esi, [edi + 0x1c]
je 0xd9e223
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.00d9dfe2
add esp, 0xc
test eax, eax
je 0xd9e223
cmp dword [ebp + 0xc], ebx
je 0xd9e223
push 2
push 0x40000000
call fcn.00d9dbcf
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0xd9e223
mov ebx, dword [ebp - 4]
or ebx, ebx
je 0xd9e21a
cmp dword [ebp + 0xc], 0
je 0xd9e21a
push edi
push esi
push dword [ebp + 0xc]
push ebx
push ebx
call fcn.00d92544
add esp, 0x14
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
or eax, eax
je 0xd9e21a
and dword [0xda36c0], 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 8], 2
je 0xd9e310
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 2
call fcn.00d9dfe2
add esp, 0xc
or eax, eax
je 0xd9e310
cmp dword [ebp + 0xc], 0
je 0xd9e310
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 4]
call fcn.00d92544
add esp, 0x14
push dword [ebp + 0xc]
push dword [ebp - 4]
push edi
push esi
push 7
push 0xda10d0
push 0xda28f8
call fcn.00d92544
add esp, 0x14
push eax
push edi
push esi
push 0x14
push 0xda10bc
mov ebx, 0xda22f8
push ebx
call fcn.00d92544
add esp, 0x14
push eax
push 0x80000001
call fcn.00d9e095
add esp, 0x14
or eax, eax
jne 0xd9e2eb
push dword [ebp + 0xc]
push dword [ebp - 4]
push edi
push esi
push 7
push 0xda10d0
push 0xda28f8
call fcn.00d92544
add esp, 0x14
push eax
push edi
push esi
push 0x19
push 0xda10a0
push ebx
call fcn.00d92544
add esp, 0x14
push eax
push 0x80000001
call fcn.00d9e095
add esp, 0x14
test eax, eax
je 0xd9e2f2
and dword [0xda36c0], 0
mov esi, 0x100
push esi
push 0
push ebx
call fcn.00d9ee2a
push esi
push 0
push 0xda28f8
call fcn.00d9ee2a
add esp, 0x18
pop edi
pop esi
xor eax, eax
inc eax
pop ebx
leave
ret
Function at 0xd9e3ca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20119
sub ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x20], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd9e528
mov eax, dword [ebp + 0x10]
push esi
push edi
sub esi, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xd9e3fe
sub eax, edi
mov edi, eax
mov dword [ebp - 4], ebx
cmp edi, 0x1c
jle 0xd9e414
push 0x1c
pop edi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
push eax
call fcn.00d9ee08
lea eax, [ebp + edi - 0x40]
push 0xa
push eax
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
call fcn.00d9f1ed
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x18
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0xd9e51d
add esi, dword [ebp - 8]
inc dword [ebp - 4]
push 0xa
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call fcn.00d9f1ed
add esp, 0xc
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc]
call edi
or eax, eax
je 0xd9e458
cmp esi, ebx
jle 0xd9e51d
push esi
mov dword [ebp - 0x1c], esi
call fcn.00d9db2e
mov eax, dword [0xda36c4]
pop ecx
cmp eax, ebx
je 0xd9e51d
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
push 0xa
push dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
push dword [ebp - 4]
call fcn.00d9f1ed
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0xd9e4e8
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0xd9e4e8
add dword [ebp - 8], eax
sub esi, eax
inc dword [ebp - 4]
cmp esi, ebx
jg 0xd9e4a9
cmp esi, ebx
jne 0xd9e51d
mov eax, dword [0xda36c4]
push 0xc8
push 0xe4
push dword [ebp - 0x1c]
push eax
push eax
call fcn.00d92544
push dword [ebp - 0x1c]
push dword [0xda36c4]
call fcn.00d9e332
add esp, 0x1c
mov dword [ebp - 0x20], 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0x20]
pop ebx
leave
ret
Function at 0xd9e52e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.00d9dd05
push 3
push 0x80000000
call fcn.00d9dbcf
push eax
pop ebx
pop ecx
mov edi, 0xc8
pop ecx
lea esi, [edi + 0x1c]
cmp ebx, 0xffffffff
je 0xd9e5b8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
test eax, eax
je 0xd9e5b1
push eax
call fcn.00d9db2e
mov eax, dword [0xda36c4]
pop ecx
or eax, eax
je 0xd9e5b1
push 0
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xd9e5b1
mov eax, dword [0xda36c4]
push edi
push esi
push dword [esp + 0x18]
push eax
push eax
call fcn.00d92544
push dword [esp + 0x24]
push dword [0xda36c4]
call fcn.00d9e332
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push 7
push 0xda10d0
mov ebp, 0xda28f8
push ebp
call fcn.00d92544
add esp, 0x14
push eax
push edi
push esi
push 0x14
push 0xda10bc
mov ebx, 0xda22f8
push ebx
call fcn.00d92544
add esp, 0x14
push eax
push 0x80000001
call fcn.00d9e3ca
add esp, 0xc
or eax, eax
jne 0xd9e62c
push edi
push esi
push 7
push 0xda10d0
push ebp
call fcn.00d92544
add esp, 0x14
push eax
push edi
push esi
push 0x19
push 0xda10a0
push ebx
call fcn.00d92544
add esp, 0x14
push eax
push 0x80000001
call fcn.00d9e3ca
add esp, 0xc
mov esi, 0x100
push esi
push 0
push ebx
call fcn.00d9ee2a
push esi
push 0
push ebp
call fcn.00d9ee2a
add esp, 0x18
call fcn.00d9dd69
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
ret
Function at 0xd9f315
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
sub edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
cmp esi, edi
jne 0xd9f33b
xor eax, eax
jmp 0xd9f424
push 0x10
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00d9ee2a
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
push 2
mov word [ebp - 0x16], ax
pop eax
push edi
xor edi, edi
inc edi
push edi
push eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x14], esi
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0xd9f382
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, esi
jmp 0xd9f424
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp + 8]
push eax
push 0x8004667e
push esi
mov dword [ebp + 8], edi
call ebx
cmp eax, 0xffffffff
jne 0xd9f3aa
or edi, eax
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
jmp 0xd9f423
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], edi
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x220]
push eax
sub edi, edi
push edi
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0xd9f421
lea eax, [ebp - 0x11c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0xd9f39f
lea eax, [ebp + 8]
push eax
push 0x8004667e
push esi
mov dword [ebp + 8], edi
call ebx
push dword [ebp + 0x10]
push esi
call fcn.00d9f26d
pop ecx
pop ecx
mov eax, esi
jmp 0xd9f423
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0xd9f43e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
push edi
push dword [ebp + 0x14]
sub edi, edi
push dword [ebp + 0x10]
push ebx
jmp 0xd9f473
cmp eax, 0x2746
je 0xd9f47c
add edi, eax
cmp edi, dword [ebp + 0x10]
jge 0xd9f47c
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp + 8]
call esi
or eax, eax
jg 0xd9f458
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x405141
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x405143
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x44a8d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
je 0x44a97d
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44a914
mov edx, dword [0x652fa4]
push 0x652cd8
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, ebx
or eax, 0x8001
push eax
call edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll__lcreat]
push ebx
mov esi, eax
call edi
cmp esi, 0xffffffff
je 0x44a93f
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
test eax, eax
je 0x44a95c
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044a880
add esp, 4
mov dword [0xa53204], eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x22
push ebp
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a93f
pop edi
pop esi
pop ebx
mov dword [0xa53204], 0
pop ebp
ret 4
mov dword [0xa53204], 6
or eax, 0xffffffff
pop ebp
ret 4
Function at 0x487eb3
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
or dword [ebx - 0x6f], eax
les esp, [ebx - 0x861af6e]
out dx, al
fsub qword ds:[esi - 0x16110f4c]
sbb ah, byte [edx - 2]
and dl, dl
pop eax
salc
xchg edx, eax
in al, dx
js 0x487e38
mov ah, byte [edi + ebp*8]
sahf
invalid
xor ah, byte [ebp - 0x5f]
js 0x487e42
mov eax, dword [0x3b198c78]
sbb dword [ebx], edi
in al, dx
inc eax
jo 0x487ed4
stosw word es:[edi], ax
push ebp
xor byte [eax + 0x65b175f0], 0x11
xchg ecx, eax
ror dword [edx], cl
push edx
add al, 0x4d
invalid
adc dword [ecx + 0x4520ad3], edx
dec ebp
loopne 0x487f31
arpl di, dx
xlatb
div dword [esi + 0x7c1e6400]
out dx, eax
jl 0x487ec5
aas
sbb byte [ecx + 0x7e], 0x27
loopne 0x487ec1
push ds
cmc
pushal
mov dh, 0x10
mov byte [0x39d28532], al
xor al, byte [ebp + 0x201939d2]
sar byte [ecx], cl
sbb dword [eax], esp
pop esi
cli
mov edi, edx
jb 0x487ee3
pushal
test al, bl
lea ebp, [ecx - 0xff89ddb]
ja 0x487ee0
aam 0xc1
pop es
rcr ch, 1
mov gs, word [edi + 0x6f287ab]
and dword [eax], ecx
mov ecx, 0x2c9ec0ac
or byte [ecx + 0x2c9ec0ac], bh
jb 0x487f07
pop ss
outsb dx, byte [esi]
xchg esp, eax
jo 0x487eb1
adc dword [esi], edx
int1
sal byte [ebx + esi + 0x1a], 1
ficomp word [edi + 0x18]
jo 0x487f42
inc esp
out 0xb7, al
mov ebx, 0x734a3dc1
inc esi
cmp eax, 0x32c1b871
xlatb
pushal
out 0xf7, al
jae 0x487ee5
div dword [ebx - 0x4f]
aas
pop ebp
adc byte [eax + 4], dh
mov eax, dword [0x4ec74066]
inc ebp
sub byte [edi - 0x621f73dd], ah
mov eax, fs
popfd
aaa
ja 0x487ecd
out 0x6f, al
aaa
outsd dx, dword [esi]
into
mov ebp, esi
pop ecx
dec ebx
mov ch, 8
aas
cld
test dword [0x73c6f491], esi
mov dl, 0xaf
add ebp, dword [edx]
movsd dword es:[edi], dword [esi]
mov eax, 0x70374660
xor byte [edx + 0x70], al
call 0x5035f8e9
stosd dword es:[edi], eax
sbb al, 0x42
daa
xor dh, al
scasb al, byte es:[edi]
pop es
enter 0xffffffffffff8062, 0x71
out dx, al
pushfd
leave
or bh, byte [esi + 0x26]
les eax, [ebx + 0x5c]
pop eax
aaa
call 0xe3ea944f
aam 0
inc ebx
fist word [ebp - 0x2fcb73e1]
or eax, 0x71074894
loope 0x488001
rcr edx, 1
lds edx, [edi + 0x36]
test dword [eax + 0x10d47a31], 0x83f62d86
test dword ss:[eax + 0x10d47a31], 0x83f62d86
in al, 0xd6
pop ds
loopne 0x487fd5
fchs
mov ebp, 0xbab70a4
xor al, 6
push esi
aam 0x26
cmc
mov ah, 0x3e
mov eax, dword [0xc16ad1d6]
adc byte [ebx - 0x4de77c3e], 0x68
inc esp
dec edi
shr dword [esi - 0x2d53e94a], 0xa7
imul eax, ebp, 0xc6e0442f
das
inc esp
loopne 0x487f9f
add dword [ebx + ebp*8], esi
dec esi
stosb byte es:[edi], al
inc eax
stosd dword es:[edi], eax
test bh, cl
xchg esp, eax
inc ebp
call 0x45ce9c02
les edx, [esi + 0xfd432c2]
adc dword [ebp + 0x5f], ebp
rcl dword [eax], 0x61
push 0xf0749c3f
div al
and eax, 0x2d73dad9
push ss
pop esp
invalid
Function at 0x5c2959
Capabilities:
Encode data using xor

Disassembly:
imul eax, dword [eax], 0xffffff8d
test byte [esp + ebp], ah
add al, 0
add byte [eax], al
add byte [ebx + eax], al
jno 0x5c28a5
push ebx
add byte es:[esp], ah
push eax
call 0x15c1bcf
add byte [eax], al
mov dword [esp + 0x10], eax
mov byte [eax], 0x24
adc byte [eax], al
jne 0x5c2920
lea eax, [eax + eax]
push eax
mov dword [esp + 0x14], esi
dec ecx
add byte [ebx - 0x3f7a0001], bl
jbe 0x5c2920
add byte [eax], al
push 0
push 0xfa0324
mov ecx, ebx
call dword [eax + 0x20]
push dword [ebp]
add byte [esp + 0x18], al
push dword [ebp + 0x43]
add byte [ebp - 0x17dbdbbc], cl
pop ss
cld
add byte [eax], al
mov eax, dword [esp + 0x14]
jmp dword [edi - 0x76047500]
call dword [eax]
add al, ch
mov eax, dword [ebx]
push ecx
push ecx
push 0
fstp qword [esp]
call dword [eax + 0x24]
lea eax, [eax]
add byte [eax], bl
push eax
call dword [0xd368]
mov eax, dword [esp + 0x10]
mov esi, dword [ebp]
add byte [esp + 0x2d000220], cl
add byte [esi], al
call 0x7ed972
mov eax, dword [eax]
add byte [esi + 0x5b], bl
mov esp, ebp
pop ebp
cmp al, 0
add byte [ebp - 0x75], dl
in al, dx
and esp, 0xfffffff8
add byte [eax], al
inc esp
or byte [eax], al
add byte [ebx + 0x79], dl
add byte [esi + edx*2], cl
mov esi, eax
mov eax, dword [ebx]
push edi
add byte [eax], al
call dword [eax]
test al, al
je 0x5c291d
add byte [ebp + 8], al
mov dword [eax], 1
add byte [edx + eax + 0x3e8b0000], bl
add bh, bh
push edi

Function at 0x5f9663
Capabilities:
Encode data using xor

Disassembly:
or byte [eax], dl
aad 0x77
scasd eax, dword es:[edi]
cmc
fchs
dec esp
dec edi
loop 0x5f966f
cmp al, 0xb9
scasd eax, dword es:[edi]
adc dword [ebp + 0x57a15386], esi
and ecx, dword [esi]
add byte [esi], cl
int 0xad
jle 0x5f9664
sbb dword [esi + eax*4 + 0x1929ce1b], ebx
sub eax, 0xc229c75b
pushfd
jmp 0x890b1bb3
pop esp
std
mov ch, byte [esi + 0x4c]
or bl, 0xe7
inc eax
je 0x5f95f9
jle 0x5f96a8
ficom dword [ecx]
dec dword [ebp - 0x5f]
std
push edx
cmp eax, 0xadb45e4e
mov dword [esi + edi*4], ebx
mov edx, ebx
adc al, 0xa9
pop edx
jle 0x5f9651
pop ecx
sbb dword [edx + 0x6e753], 0x7a
leave
invalid
mov ecx, dword [ebx - 0x76a957df]
out dx, eax
nop
mov edx, eax
jns 0x5f9734
outsb dx, byte [esi]
mov ebp, dr0
sal byte [esi + 0x45], cl
rcr byte [edx - 0x6018e109], 1
ljmp 0x69ac
test esi, edx
mov dl, 0xb5
push ss
lea edx, [edx + 0x69]
mov edi, 0x6f18cb1a
mov ebp, 0x2371fc6b
sub dword [eax + 1], ebx
or al, 0xb8
and ebp, dword [ecx]
pop eax
add dword [eax + edi*4], ecx
jp 0x5f9780
jb 0x5f9745
inc eax
retf 0xa2a6
inc esp
push 0xdd0b3e42
rcr dword [edi + 0x22070ecc], 0xe1
cdq
xchg ecx, eax
in al, dx
inc eax
invalid
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x95
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xfe
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x53
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x37
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x28
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 3
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x9d
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc7
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x78
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x99
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf8
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xab
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb4
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x10
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x21
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x78
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xea
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x32
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x1b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa5
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xed
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf7
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x10
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc6
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10002470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100dce74]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call fcn.10083950
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.1008dd60
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0x10
jb 0x1000251b
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002511
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002573
push ecx
push edx
call fcn.10081a3d
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10004470
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.10091b71
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x100e0d68
push 0x1f8
push eax
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081d65
mov esp, ebp
pop ebp
ret
call fcn.1008db7f
int3