joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001300
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov ecx, dword [eax + 4]
push ebx
push ebp
mov ebp, dword [eax + 0xc]
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
sub edi, dword [eax + 0xa8]
mov dword [esp + 0x20], esi
sub esi, dword [eax + 0xac]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebp
add eax, 0xa0
mov dword [esp + 0x14], 4
nop
mov edx, ebp
mov ebp, esi
mov esi, ecx
sub esi, dword [eax + 4]
mov ecx, edi
mov edi, edx
sub edi, dword [eax]
lea edx, [ecx + ecx + 1]
imul edx, ecx
rol edx, 5
lea ebx, [ebp + ebp + 1]
imul ebx, ebp
rol ebx, 5
mov dword [esp + 0x10], ecx
mov cl, dl
ror esi, cl
mov cl, bl
xor esi, ebx
ror edi, cl
xor edi, edx
mov ecx, edi
mov edx, ebp
mov ebp, esi
mov esi, dword [esp + 0x10]
sub esi, dword [eax - 4]
mov edi, edx
sub edi, dword [eax - 8]
lea edx, [ecx + ecx + 1]
imul edx, ecx
rol edx, 5
lea ebx, [ebp + ebp + 1]
imul ebx, ebp
rol ebx, 5
mov dword [esp + 0x10], ecx
mov cl, dl
ror esi, cl
mov cl, bl
xor esi, ebx
ror edi, cl
xor edi, edx
mov ecx, edi
mov edx, ebp
mov ebp, esi
mov esi, dword [esp + 0x10]
sub esi, dword [eax - 0xc]
mov edi, edx
sub edi, dword [eax - 0x10]
lea edx, [ecx + ecx + 1]
imul edx, ecx
rol edx, 5
lea ebx, [ebp + ebp + 1]
imul ebx, ebp
rol ebx, 5
mov dword [esp + 0x10], ecx
mov cl, dl
ror esi, cl
mov cl, bl
xor esi, ebx
ror edi, cl
xor edi, edx
mov ecx, edi
mov edx, ebp
mov ebp, esi
mov esi, dword [esp + 0x10]
sub esi, dword [eax - 0x14]
mov edi, edx
sub edi, dword [eax - 0x18]
lea edx, [ecx + ecx + 1]
imul edx, ecx
lea ebx, [ebp + ebp + 1]
imul ebx, ebp
rol edx, 5
rol ebx, 5
mov dword [esp + 0x10], ecx
mov cl, dl
ror esi, cl
mov cl, bl
xor esi, ebx
ror edi, cl
xor edi, edx
mov edx, ebp
mov ecx, edi
mov ebp, esi
mov esi, dword [esp + 0x10]
sub esi, dword [eax - 0x1c]
mov edi, edx
sub edi, dword [eax - 0x20]
lea edx, [ecx + ecx + 1]
imul edx, ecx
lea ebx, [ebp + ebp + 1]
imul ebx, ebp
rol edx, 5
mov dword [esp + 0x10], ecx
rol ebx, 5
mov cl, dl
ror esi, cl
mov cl, bl
sub eax, 0x28
xor esi, ebx
ror edi, cl
mov ecx, dword [esp + 0x10]
xor edi, edx
sub dword [esp + 0x14], 1
jne 0x1001340
mov eax, dword [esp + 0x2c]
xor edi, dword [eax + 0xb0]
sub ecx, dword [eax]
mov edx, dword [esp + 0x18]
xor ecx, dword [eax + 0xb4]
xor esi, dword [eax + 0xb8]
sub ebp, dword [eax + 4]
mov dword [eax + 0xb0], edx
mov edx, dword [esp + 0x1c]
xor ebp, dword [eax + 0xbc]
mov dword [eax + 0xb4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xb8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0xbc], edx
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
mov dword [eax + 8], esi
pop esi
mov dword [eax + 0xc], ebp
pop ebp
mov dword [eax + 4], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x10014c0
Capabilities:
Encrypt data using rc6

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
push esi
xor ebp, ebp
xor ecx, ecx
push edi
xor eax, eax
movzx esi, byte [ecx + edx]
shl eax, 8
inc ecx
or eax, esi
test cl, 3
jne 0x10014e9
mov dword [esp + ebp*4 + 0xe0], eax
inc ebp
xor eax, eax
cmp ecx, 0x10
jb 0x10014d0
mov dword [esp + 0x18], 0xb7e15163
mov eax, 1
jmp 0x1001500
mov ecx, dword [esp + eax*4 + 0x14]
sub ecx, 0x61c88647
mov dword [esp + eax*4 + 0x18], ecx
inc eax
cmp eax, 0x2c
jb 0x1001500
mov eax, 0x2c
cmp ebp, 0x2c
jb 0x1001520
mov eax, ebp
lea ecx, [eax + eax*2]
xor eax, eax
xor edi, edi
xor esi, esi
xor edx, edx
xor ebx, ebx
cmp ecx, eax
jbe 0x1001591
mov dword [esp + 0x10], ecx
jmp 0x1001544
mov edx, dword [esp + 0x14]
mov eax, dword [esp + esi*4 + 0x18]
add eax, edx
add eax, ebx
rol eax, 3
mov dword [esp + esi*4 + 0x18], eax
mov ebx, eax
mov eax, dword [esp + edi*4 + 0xe0]
add eax, edx
add eax, ebx
mov cl, bl
add cl, dl
rol eax, cl
xor edx, edx
mov ecx, 0x2c
mov dword [esp + edi*4 + 0xe0], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 1]
div ecx
lea eax, [edi + 1]
mov esi, edx
xor edx, edx
div ebp
sub dword [esp + 0x10], 1
mov edi, edx
jne 0x1001540
xor eax, eax
mov edx, dword [esp + 0x1e4]
mov ecx, 0x2c
lea esi, [esp + 0x18]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], eax
mov dword [edx + 0xb8], eax
mov dword [edx + 0xbc], eax
pop ebx
add esp, 0x1d0
ret 4
Function at 0x10019fb
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edi, edi
cmp eax, edi
je 0x1001b71
mov dword [0x10174ec], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 0x20]
call fcn.01001b7c
mov esi, eax
cmp esi, edi
jne 0x1001b74
mov eax, dword [esp + 0x20]
mov esi, 0x1004020
cmp eax, edi
je 0x1001a4a
push esi
call fcn.010018dd
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [0x100401c]
push esi
call fcn.01001df1
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, eax
cmp esi, edi
jne 0x1001b62
push dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
call fcn.010017d0
and eax, 0xffff
cmp eax, 0x1000
jne 0x1001b5f
mov eax, dword [0x1005028]
cmp eax, 0x60519d17
je 0x1001b5f
mov eax, dword [0x1008038]
cmp eax, 0x6e589d17
je 0x1001b5f
lea eax, [esp + 0x10]
push eax
push dword [0x100803c]
push 0x1008040
call fcn.01001c58
mov esi, eax
cmp esi, edi
jne 0x1001b62
mov ecx, dword [esp + 0x10]
push 1
call fcn.01001bec
cmp eax, edi
je 0x1001b4d
mov eax, dword [eax]
add eax, dword [esp + 0x10]
push edi
push dword [esp + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [0x100502c]
push str.Lk_5
call eax
mov esi, eax
cmp esi, edi
jne 0x1001b4d
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
cmp esi, edi
jne 0x1001b4d
mov ecx, dword [esp + 0x10]
push 2
call fcn.01001bec
cmp eax, edi
je 0x1001b40
mov eax, dword [eax]
push dword [esp + 0x1c]
add eax, dword [esp + 0x14]
call eax
push dword [esp + 0x1c]
push edi
push dword [0x10174ec]
call ebx
push 0x8000
push edi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1001b62
push 0xb
pop esi
push dword [esp + 0x34]
push edi
push dword [0x10174ec]
call ebx
jmp 0x1001b74
push 8
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1001c58
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xc
push ebx
push esi
push edi
jb 0x1001d15
mov ecx, dword [ebp + 8]
call fcn.010016e1
mov esi, eax
test esi, esi
je 0x1001d15
push 0x40
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x1001d0b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push ebx
call section..text
mov edx, eax
test edx, edx
je 0x1001cf4
mov esi, dword [ebx + 0x3c]
add esi, ebx
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
add eax, ebx
push edx
call fcn.010017ea
mov edi, eax
test edi, edi
jne 0x1001cfb
lea eax, [esi + 0xa0]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, ebx
push ebx
call fcn.01001d21
mov esi, dword [esi + 0x28]
push edi
push 1
add esi, ebx
push ebx
call esi
test eax, eax
je 0x1001cea
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
jmp 0x1001d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1001cf7
push 0xb
pop edi
test edi, edi
je 0x1001d18
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1001d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1001d18
push 0xb
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x401230
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x405040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x400
push ebx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Error
call esi
push dword [ebp - 8]
mov edi, eax
call esi
add eax, edi
lea eax, [eax*2 + 0x50]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 8]
mov edi, eax
push ebx
push str.Error
push str._s_failed_with_error__d:__s
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push eax
push edi
call fcn.00401040
add esp, 0x18
push 0
push str.Error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4012e0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x405040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], eax
push esi
push esi
push esi
push esi
push str.WinHTTP_Example_1.0
mov edi, edx
mov dword [ebp - 0x14], 0
mov ebx, ecx
mov dword [ebp - 0x18], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x401363
cmp dword [ebx + 0x14], 7
jbe 0x40132b
mov ebx, dword [ebx]
push 0
push 0x1bb
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x401363
cmp dword [edi + 0x14], 7
jbe 0x401349
mov edi, dword [edi]
push 0x800000
push 0
push 0
push 0
push edi
push 0x4032a0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0x1f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
or dword [ebp - 8], 0x3300
lea eax, [ebp - 8]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test esi, esi
je 0x401487
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x401487
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x401487
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax + eax]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4013f6
call ebx
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.00401010
add esp, 8
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.00401fb6
mov ecx, dword [ebp - 0x10]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x401435
call ebx
push eax
push str.Error__u_in_WinHttpReadData._n
call fcn.00401010
add esp, 8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
push edi
push dword [eax + 4]
call fcn.00401b80
push edi
call fcn.00401f73
add esp, 4
cmp dword [ebp - 0x10], 0
ja 0x4013d0
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40146c
push eax
call esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401476
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401f65
mov esp, ebp
pop ebp
ret
call fcn.00401230
int3
Function at 0x402846
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402885
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402885
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402885
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402885
cmp dword [ecx + 0x74], 0xe
jbe 0x402885
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4502d3
Capabilities:
Encode data using xor

Disassembly:
push es
invalid
adc al, bh
call 0x70c4e9ee
xor dl, 0x7f
fsub qword [edx]
jb 0x450172
invalid
js 0x45022a
stosb byte es:[edi], al
pushfd
mov es, word [edi - 0xc]
sbb ebp, ecx
inc edi
rcl byte [ebp + 0xd]
and ecx, 0x2b431fb5
mul dword [edx + eax*4 + 0x4a]
add al, byte [eax + 0x1af59fca]
lcall 0x76b3, 0xf307c2c3
je 0x4502cd
add dword [esi], esi
push ecx
imul edx, ebx, 0x89d33fcf
xchg ecx, eax
movsb byte es:[edi], byte [esi]
mov eax, dword [0x598591fb]
add edx, esp
mov cl, 0xe
popal
movsd dword es:[edi], dword [esi]
inc eax
shr byte [esi + 0xe], 1
pop edi
rcr byte [ebx], 0x52
push 0xb8f4e79c
dec ebx
and dword [eax - 0x3c], 0x655955dd
pop ecx
jae 0x450272
invalid

Function at 0x466e65
Capabilities:
Encode data using xor

Disassembly:
jle 0x466e84
push cs
xlatb
jmp 0x466ec1
sti
insb byte es:[edi], dx
pop ebx
test byte cs:[eax - 0x1eb13b1e], bl
xor al, 0x1e
push ebp
ja 0x466e4b
sbb byte [eax - 0x54], 0x9a
pop ds
xor bl, al
aas
test cl, dl
push esi
pop eax
mov dh, 0xc1
out dx, eax
sbb eax, 0x86c2b8a1
jne 0x466e84
retf
xor eax, 0xdb62303d
salc
fist dword [esi]
adc al, 3
mov eax, 0x4a29998f
lea ebx, [ebx + 0x3d9b3fa4]
invalid

Function at 0x467333
Capabilities:
Encode data using xor

Disassembly:
out 0x3d, eax
invalid
mov esi, 0xe2c5b25
xor eax, 0xcb5ade58
mov eax, 0x5dc3d362
daa
push cs
cmpsd dword [esi], dword es:[edi]
arpl word [ebx + 0x2b], cx
xor edx, ecx
inc esi
add ah, byte [edi - 0x33]
cmpsd dword [esi], dword es:[edi]
mov eax, dword [0xccbb00c6]
retf
cmc
movsb byte es:[edi], byte [esi]
std
sti
xlatb
sbb byte [ebp - 0x6a397092], bl
call 0xeca076f6
cmpsd dword [esi], dword es:[edi]
stosb byte es:[edi], al
push esi
movsb byte es:[edi], byte [esi]
popfd
and ebp, dword [edi]
jl 0x4672f2
aam 0xdd
push edx
inc edi
cmp al, 0xb6
xchg dword [ebp + 0x434e7140], ebp
or eax, 0xb2a7265f
xchg ecx, eax
dec ebx
jno 0x4672e2
xchg ebx, eax
movsb byte es:[edi], byte [esi]
mov dl, 0xfc
enter 0xfffffffffffff42d, 0x4e
invalid

Function at 0x47e0f3
Capabilities:
Authenticate hmac

Disassembly:
pop ecx
cmp byte [ebx - 0x53], dh
mov dl, byte [0x52249632]
Function at 0x47e1b3
Capabilities:
Authenticate hmac

Disassembly:
xchg esi, eax
and al, 0x52
rcr byte [ebp + 0x4e], 1
dec esp
mov al, byte [ebx + 0x69]
lodsd eax, dword [esi]
jge 0x47e14e
xchg ecx, eax
xor ebp, ecx
and byte [edi + 0x4ba1e2e4], bl
loop 0x47e156
sbb al, 0xbe
js 0x47e180
lahf
mov esp, 0xc922e456
sbb esp, dword [edx]
jmp 0x47e16f
test al, 0x7e
jmp 0x47e0fa
int 0x9a
lahf
mov bl, 0xd9
or ecx, dword [esi]
push cs
push esi
pop ss
shl dword [esp + edx*8 - 0xe], 0x8f
aam 0xf2
invalid
popfd
pop ebp
std
frstor dword [ebp - 0x72352fec]
add al, 0x53
std
cmp ecx, ebp
call 0x735cf5d0
stosb byte es:[edi], al
xor al, 0x37
in eax, 0x8d
xor dword [ecx], esp
pop ecx
call 0x4d1ada5c
dec ebp
xor byte [edx - 0x32], 0xe2
test eax, 0x7425cd0
and dword [ecx - 0x18], ebx
out 0xf8, al
ror byte [ebp + ecx*2 - 0x80], cl
jb 0x47e148
loop 0x47e125
rcr byte [edx + eax*2 + 7], 1
dec ebp
in eax, 0xc7
sub edx, esp
sti
nop dword [ecx - 0x49ef8b0f]
cld
invalid
sbb dword [eax], eax
cwde
jo 0x47e17a
lodsb al, byte [esi]
cmpsd dword [esi], dword es:[edi]
das
fcmovnu st(0), st(4)
mov cl, 0xfb
adc al, 0x4c
out 9, al
fdivr dword [edi + 0x64]
test ebp, edx
lodsd eax, dword [esi]
sbb byte [eax], dl
movsd dword es:[edi], dword [esi]
mov al, 0x10
xlatb
ljmp 0xc9e4
Function at 0x49547e
Capabilities:
Check for software breakpoints

Disassembly:
inc ecx
sbb eax, 0xb750ed27
mov ecx, esi
daa
in eax, dx
push eax
mov bh, 0x89
int1
mov eax, 0xc1ad5cb0
lcall 0x5814, 0x8bc18a7c
cwde
popfd
mov ecx, dword [eax + 0x780c1c5b]
or al, 0x78
mov ebx, 0x54e8c24d
push esp
pop ebp
movsb byte es:[edi], byte [esi]
scasd eax, dword es:[edi]
push es
stosb byte es:[edi], al
invalid
pushfd
mov dl, ch
cdq
cwde
adc byte [ebp - 0x267ab968], bh
movsd dword es:[edi], dword [esi]
nop
jo 0x49544c
pop edi
mov dh, 0x38
add dword [0xabb58e85], ebx
cmp dword [eax + 0x4aecebd0], esp
pop ecx
mov ecx, 0x19301dd1
sbb eax, 0xdbe1930
sahf
xchg ecx, eax
cwde
jge 0x49546d
jle 0x495467
cmp al, 0xcc
in al, dx
mov ah, 0x98
aam 0x72
js 0x49544f
enter 0x6499, 0x49
fadd dword [0x4861c0be]
push eax
ret 0x58ac

Function at 0x4954a0
Capabilities:
Check for software breakpoints

Disassembly:
inc ecx
sbb eax, 0xb750ed27
mov ecx, esi
daa
in eax, dx
push eax
mov bh, 0x89
int1
mov eax, 0xc1ad5cb0
lcall 0x5814, 0x8bc18a7c
cwde
popfd
mov ecx, dword [eax + 0x780c1c5b]
or al, 0x78
mov ebx, 0x54e8c24d
push esp
pop ebp
movsb byte es:[edi], byte [esi]
scasd eax, dword es:[edi]
push es
stosb byte es:[edi], al
invalid
pushfd
mov dl, ch
cdq
cwde
adc byte [ebp - 0x267ab968], bh
movsd dword es:[edi], dword [esi]
nop
jo 0x49544c
pop edi
mov dh, 0x38
add dword [0xabb58e85], ebx
cmp dword [eax + 0x4aecebd0], esp
pop ecx
mov ecx, 0x19301dd1
sbb eax, 0xdbe1930
sahf
xchg ecx, eax
cwde
jge 0x49546d
jle 0x495467
cmp al, 0xcc
in al, dx
mov ah, 0x98
aam 0x72
js 0x49544f
enter 0x6499, 0x49
fadd dword [0x4861c0be]
push eax
ret 0x58ac

Function at 0x4abd03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46f490
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48cc80]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x48f4f0]
push eax
lea ecx, [esp + 0x34]
and al, 0x34
call 0x4cf453
lea esi, [esp + 0x34]
mov dword [esp + 0x6c], 0
call fcn.004adff3
push 0x47ba28
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x78], 1
call fcn.004a48e3
add esp, 0xc
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4abd87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call 0x4e0569
mov ebx, dword [esp + 0x74]
lea eax, [ebx + 0x2d8]
push 0x47ba48
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x78], 4
call fcn.004a48e3
add esp, 0xc
lea edx, [esp + 0x50]
mov byte [esp + 0x6c], 5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x38]
call 0x4cf383
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4abded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp dword [esp + 0x58], esi
jle 0x4ac2e0
Function at 0x4ac029
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
js 0x4ac030
add byte [ebx - 0x3f7af73c], al
Function at 0x4bcbc1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c6348
cmp edx, dword [eax]
je 0x4bcbe3
add eax, 8
inc ecx
cmp eax, 0x4c63d8
jl 0x4bcbd4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c6348]
jne 0x4bcd11
mov eax, dword [0x4cacd0]
cmp eax, 1
je 0x4bcceb
test eax, eax
jne 0x4bcc14
cmp dword [0x4c6274], 1
je 0x4bcceb
cmp edx, 0xfc
je 0x4bcd11
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bcc4b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bd5a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bda30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bcc8e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bda30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1cf4
push edi
call fcn.004bf900
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bd5a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd5b0
lea eax, [ebp - 0xa0]
push 0x4c1cd4
push eax
call fcn.004bd5b0
push dword [esi + 0x4c634c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd5b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bf874
add esp, 0x2c
pop edi
jmp 0x4bcd11
lea eax, [ebp + 8]
lea esi, [esi + 0x4c634c]
push 0
push eax
push dword [esi]
call fcn.004bda30
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]
pop esi
leave
ret
Function at 0x411d9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x411dac
pop dword [ebp - 0x14]
mov eax, 0x411dac
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3aebe
push 0
mov eax, 0xfa70cd6
sub eax, 0xf64babe
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x1cfef24f
add ecx, 0xe30147e1
xor esi, esi
add esi, eax
mov edi, 0xf695b214
add edi, 0x9ada1ec
add edi, dword [ebp - 0x14]
mov edx, 0x7cc8f5c1
sub edx, 0xaf009b9f
xor dword [ebp - 4], 0x2a695bc1
mov ebx, dword [edi]
xor dword [ebp - 4], edx
xor ebx, edx
mov dword [ebp - 0xc], 0x5869c0b7
mov dword [esi], ebx
add esi, 0x2558b62f
add esi, 0xdaa749d5
add edi, 0xa5779db8
sub edi, 0xa5779db4
loop 0x411e08
add eax, 0x8a614aaf
sub eax, 0x8a606f1c
mov ebx, eax
add eax, 5
mov ecx, 0x8e69cf62
add ecx, 0x71d6309e
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x406c35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push str._INS0432.INI
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00406e97
push 0
push 0x80
push 2
push 0
push 1
lea eax, [ebp - 0x108]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x4128c4
push dword [ebp + 0xc]
mov dword [0x4128c0], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [0x4128c8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
leave
ret

Function at 0x4079b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x412be0]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x4079cf
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x412bdc], 1
mov byte [0x412bd8], bl
jne 0x407a29
mov ecx, dword [0x414490]
test ecx, ecx
je 0x407a17
mov esi, dword [0x41448c]
sub esi, 4
cmp esi, ecx
jb 0x407a17
mov eax, dword [esi]
test eax, eax
je 0x407a10
call eax
mov ecx, dword [0x414490]
sub esi, 4
cmp esi, ecx
jae 0x407a02
push 0x40f01c
push 0x40f014
call fcn.00407a60
add esp, 8
push 0x40f024
push 0x40f020
call fcn.00407a60
add esp, 8
test ebx, ebx
jne 0x407a50
push ebp
mov dword [0x412be0], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x407dc0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x412bec], 1
jne 0x407dce
call fcn.00409da0
mov eax, dword [esp + 4]
push eax
call fcn.00409de0
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]