joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
fld dword [ebp + 0x31]
mov ecx, dword [0x5238c0c8]
push eax
add ecx, 0x40
push 0x59d21c
push ecx
call dword [0x409780]
call 0x811a1d
and al, ah
add dword [ebp + 0x500f74c0], 0x40d2a768
add bh, bh
adc eax, 0x40c17e
and ebp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
mov ebp, esp
sub dword [edx], 0xce0000b8
mov eax, dword [0x410278]
outsb dx, byte [esi]
shl byte [ecx + 0x41404c], 0x74
adc al, 0x68
pop edi
cmp al, 0xb5
add byte [edi], bh
call fcn.00405850
mov cx, word [0x412b74]
jmp 0x4017cf
mov dword [0xa08408], eax
mov eax, dword [0x4102a0]
sub byte [esi - 0x19], dl
xor eax, 0x5f40c164
mov word [edx + 0x60410bb4], ax
or byte [eax + 0x2a0a100], al
inc ecx
add byte [eax], ch
push esi
out 0x35, eax
rol dword fs:[eax + 0x5f], 0x66
mov dword [edx + 0x60410bb4], eax
test eax, eax
push edi
jne 0x40184a
mov edx, dword [0x1411800]
into
push str.Benchmarking__s
call esi
add eax, 0x410278
add esp, 8
test eax, eax
je 0x40181c
mov eax, dword [0x904102df]
push eax
jne 0x401875
push ds
dec esp
add byte [eax - 0x7c], ch
aam 0x40
add bh, bh
salc
add esp, 0xc
mov eax, dword [0xa940d014]
test eax, eax
mov eax, 0x40d480
jne 0x40182f
mov eax, 0xa140d47c
push eax
push 0x40106c
ja 0x4017d0
mov ebx, eax
enter 0x40c0, 0
add ecx, 0xe
push ecx
inc dword [ebx + sym.imp.MSVCRT.dll_fflush]
add esp, 0xffffffbb
mov edx, dword [0x82b798e6]
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 0x860
push edx
call [esi + edi*2 + 0x410bb0]
adc al, dl
loope 0x401868
push 0x20
push eax
adc esi, 0x4040408b
inc ecx
pop esi
mov esi, eax
sbb byte [0xc4aa00f1], bl
adc byte [ebx + 0x410b88], ah
push 0
shl ch, 1
push 0x4175f8
inc ecx
add dword [edi - 0x22], 0x735bda00
push cs
push eax
push str.apr_pollset_create_failed
call 0xcc401db4
add esp, 0x5f
mov eax, dword [0x41025e]
test eax, eax
jne 0x4018df
mov eax, dword [0x410bac]
lds ecx, [0x410b9c]
mov edx, dword [0x41402e]
push 0
push 0x40d132
push eax
mov eax, dword [0x824053]
push ecx
push str.Host:
push edx
push eax
call 0xd405890
cmp eax, 0x48a31cc4
inc eax
inc ecx
add byte [ebx + 0x40483d05], dl
inc ecx
sub dword [ebx - 0x4cfd7fbd], ecx
add byte [ebp + 0x15cd75c9], al
cmp eax, 0x29414048
mov eax, dword [ebx - 0x80]
add dh, byte [ebx + 0x75c98500]
int 0x15
or eax, 0x411a4c
sbb byte [eax], al
push 0xfcabd12e
push 0x40d444
push str.User_Agent:_ApacheBench_
push eax
call 0x8403190
add esp, 0x47
mov dword [0x414080], eax
mov ecx, dword [0x410270]
test ecx, ecx
jne 0x40193a
mov edx, dword [0x41404c]
push 0
push 0x400035
push eax
xlatb
aad 0x5e
aas
add byte [eax], al
insd dword es:[edi], dx
les edx, [eax]
invalid
mov ecx, dword [0x411660]
test ecx, ecx
jg 0x40199e
mov edx, dword [0x450268]
mov esi, 0x7740d3fc
or edx, edx
jne 0x401958
mov esi, 0x4102d4
mov ecx, dword [edi + 0x410278]
test edx, edx
mov esi, edi
jmp 0xa9405b24
fisubr word [eax + eax]
aaa
invalid
Function at 0x408db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edi, dword [ebx]
adc byte [ebx], dh
leave
test dword [edi - 0x76ad6af1], eax
xlatb
cld
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x40
push esi
jg 0x409003
enter 0x784, 2
jl 0x408dd4
dec ecx
or edi, 0x2c
rol byte [edi + 0x8900], cl
xor ebx, dword [ebp - 0x76]
xchg ecx, eax
adc byte [ecx + 0x24030040], dl
xchg ebp, eax
clc
xor al, byte [eax - 0x64]
mov eax, dword [ebp - 0x7481ccf8]
dec esi
fiadd word [ebx - 0x67ffd1f]
add cl, byte [edi]
xchg esp, eax
mov ecx, 0x4774f03b
mov ebp, dword [esi]
add al, 0x8d
inc ebp
cld
push 4
push eax
push 8
push 0xb2ffff
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
adc dword [ebx - 1], 0xf
test byte [ebx + 2], al
jg 0x408e22
mov eax, dword [ebp + 0x10]
test eax, eax
jb 0x408e6f
cmp byte [ecx + 0xe], bh
or al, 2
push 0xffffffffffffffb0
mov byte [eax + 0x31], bl
pop esi
mov eax, dword [edx + 0xcc25d]
mov ebp, 0x794689fd
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
sbb al, al
rol dword [eax - 0x3c], 0x83
clc
dec dword [edi]
test al, ch
add dword [eax], eax
add byte [ebx - 0x3fbeefbb], cl
mov eax, dword [esi + 0x7e]
je 0x408eee
or al, 0x73
mov dword [esi + 0x12], eax
xor eax, eax
pop esi
mov esp, ebp
xchg edx, eax
cmp byte [eax], al
and al, 0xfb
mov dword [ecx], eax
cmp byte [ebx], dh
rcr byte [esi - 0x37], 0xe5
pop ebp
ljmp 0x3308
mov esp, ebp
pop ebp
ret 0xc
jmp [edx + 0xf94162]
inc ecx
stc
add byte [eax - 0x5f], ch
add byte [ebp - 0x71], cl
mov dword [eax], 0x870f0000
out dx, al
add ah, ch
add dl, cl
stc
and ch, 0
add byte [edi], cl
test byte [ebp - 0x7f000000], cl
stc
add byte [edx], al
add byte [eax], al
jne 0x144090de
mov esi, dword [ebp + 8]
xor edx, edx
loop 0x409000
mov al, byte [0x22ee1]
add byte [ecx + 0x20044], al
push ebx
setge dl
ror byte ss:[edi], 1
test ch, ah
std
invalid
Function at 0x10235ce5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1024f9e0]
jne 0x10235cef
repz ret
jmp fcn.10237b69

Function at 0x1023aeef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10237740
and dword [ebp - 4], 0
cmp dword [0x10251854], 0
mov ebx, eax
jne 0x1023afa0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1023b051
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1023b051
push eax
call fcn.102376ce
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10251854], eax
call esi
push eax
call fcn.102376ce
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10251858], eax
call esi
push eax
call fcn.102376ce
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1025185c], eax
call esi
push eax
call fcn.102376ce
pop ecx
mov dword [0x10251864], eax
test eax, eax
je 0x1023afa0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.102376ce
pop ecx
mov dword [0x10251860], eax
mov eax, dword [0x10251860]
cmp eax, ebx
je 0x1023aff8
cmp dword [0x10251864], ebx
je 0x1023aff8
push eax
call fcn.10237749
push dword [0x10251864]
mov esi, eax
call fcn.10237749
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1023aff8
test edi, edi
je 0x1023aff8
call esi
test eax, eax
je 0x1023afef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1023afef
test byte [ebp - 0xc], 1
jne 0x1023aff8
or dword [ebp + 0x10], 0x200000
jmp 0x1023b031
mov eax, dword [0x10251858]
cmp eax, ebx
je 0x1023b031
push eax
call fcn.10237749
pop ecx
test eax, eax
je 0x1023b031
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1023b031
mov eax, dword [0x1025185c]
cmp eax, ebx
je 0x1023b031
push eax
call fcn.10237749
pop ecx
test eax, eax
je 0x1023b031
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10251854]
call fcn.10237749
pop ecx
test eax, eax
je 0x1023b051
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1023b053
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1023be8d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001075
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1023bf35
jmp 0x1023bffe
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x1023bffe
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x68], esi
mov dword [0x1024f970], 0x287
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1023cb84
mov ecx, dword [0x1024f970]
add ecx, 0x1596
mov dword [0x1024f970], ecx
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x1023beb5
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1023bf78
lea eax, [esp + 0x38]
mov dword [0x1024f970], 0x1c88
mov dword [esp + 0x10], eax
call fcn.1023c56c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x1023bf89
jmp 0x1023beb5
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x1023bec2
jmp 0x1023bf21
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x1023bf5e
jmp 0x1023bf21
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1023bbdb
lea ecx, [0x1023c851]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], 0x143a00
mov edx, dword [0x1024f95c]
mov dword [esp + 0x60], edx
mov edx, dword [0x1024f960]
mov dword [esp + 0x40], edx
mov dword [0x1024f974], 0x1cfb
mov edx, dword [0x1024f964]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1024f968]
mov dword [esp + 0x64], edx
mov edx, dword [0x1024f96c]
mov dword [esp + 0x3c], edx
mov dword [0x1024f970], 0x3721
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x1023bf78
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1023c2fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x1024f970], 0x7d3
mov dword [ebp - 0x10], eax
call fcn.1023cd2d
xor ecx, ecx
mov edx, eax
mov dword [0x1024f970], 0x2094
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1023c34a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x1024f974], 0x10c6
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1023c3b3
jmp 0x1023c405
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x1024f974], 0x552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1024f970], 0x401
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1023c445
jmp 0x1023c419
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x1023c3be
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x1023c3e9
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x1023c3be
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1023c384
jmp 0x1023c452
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x34]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], ecx
jb 0x1023c3e9
jmp 0x1023c3b3
Function at 0x1023c56c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x1024f970], 0xbee
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x26f4
xor edx, edx
mov dword [0x1024f970], 0x26f4
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1023c621
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1023c5ee
jmp 0x1023c6b4
mov eax, dword [ebp - 0x20]
mov dword [0x1024f970], 0x1599
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1023c66b
jmp 0x1023c6b4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1023c6b4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x1023c6bb
jmp 0x1023c6b4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], esi
je 0x1023c5c9
mov eax, dword [ebp - 0x28]
add eax, 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffc2c
mov dword [0x1024f970], ecx
cmp eax, 0x104
mov edx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
jl 0x1023c621
jmp 0x1023c5c9
mov dword [0x1024f970], 0x1581
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1023c6b4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x61
jne 0x1023c6b4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1023c5b5
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x1023c6bb
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x1023c8aa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1024f970], 0x545
mov dword [0x1024f978], 0
mov dword [0x1024f97c], 0
mov dword [0x1024f988], 0
mov ebx, dword [0x1024f974]
add ebx, 0x1628
mov dword [0x1024f974], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x1023c923
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1024f978], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1024f97c], edx
mov dword [0x1024f970], 0x1d10
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1024f980], cl
mov dword [0x1024f974], 0x609
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1024f974]
add edx, 0x19b1
mov dword [0x1024f970], edx
mov cl, byte [0x1024f980]
mov edx, dword [0x1024f97c]
mov byte [edi + edx], cl
mov edx, dword [0x1024f978]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1024f97c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1024f988], ebx
mov edx, dword [0x1024f970]
add edx, 0x223a
mov dword [0x1024f974], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1023c91b
mov eax, dword [0x1024f97c]
mov ecx, dword [0x1024f978]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1023c923
Function at 0x1023cb84
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1024f970], 0x132c
mov esi, dword [0x1024f974]
mov edi, esi
add edi, 0xdd7c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edx
jmp 0x1023cc65
mov eax, dword [ebp - 0x40]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x44]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1023ca61
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x1024f970], 0x528
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], ecx
mov ecx, dword [0x1024f970]
add ecx, 0xfffff810
mov dword [0x1024f970], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x14], ecx
mov dword [0x1024f974], 0xd26
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1023cbc0
jmp 0x1023cce3
mov eax, dword [ebp - 0x3c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1023e38a]
mov dh, byte [eax + 0x1023e35b]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x3c], ecx
jne 0x1023cc65
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
add ecx, 0xd1ca
mov edx, dword [ebp - 0x34]
mov dword [0x1024f974], edx
mov dword [0x1024f970], ecx
mov dword [ebp - 0x4c], eax
call fcn.1023c47f
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.1023c008
xor ecx, ecx
mov dword [0x1024f974], 0x123
cmp eax, 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
je 0x1023cbc0
jmp 0x1023cbca
mov dword [0x1024f970], 0x1421
mov eax, dword [ebp - 0x48]
add eax, 0x22b3
mov dword [ebp - 0x40], eax
jmp 0x1023cbc0
Function at 0x1023ceac
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1024f97c], 0
mov byte [0x1024f980], 0
mov dword [0x1024f974], 0x608
mov dword [0x1024f978], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1023cf25
xor eax, eax
mov dword [0x1024f978], 0
mov ecx, dword [0x1024f970]
add ecx, 0xfffff171
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x1023cf4d
mov dword [0x1024f974], 0xe07
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1024f978]
add eax, 1
mov dword [0x1024f978], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1023cf25
jmp 0x1023cef3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x1877
mov esi, 0x100
mov dword [0x1024f984], 0
mov edi, dword [0x1024f97c]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x1024f984], ebx
mov dword [0x1024f970], ecx
mov eax, ebx
cdq
idiv esi
mov dword [0x1024f97c], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov cl, byte [ecx + esi]
mov byte [0x1024f980], cl
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1024f980]
mov edx, dword [0x1024f97c]
mov byte [ebx + edx], cl
mov dword [0x1024f970], 0x2706
mov edx, dword [0x1024f978]
add edx, 1
mov dword [0x1024f978], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x1023cf4d
jmp 0x1023cf13
Function at 0x100018c0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x10001a11
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
xorps xmm0, xmm0
push eax
push edi
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001a0a
mov ebx, 1
nop
cmp dword [ebp - 0x20], 0x10
jb 0x100019a4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100019a4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100019a4
mov edx, dword [esi]
test edx, edx
jne 0x10001969
push 0x200
push 8
push dword [0x1004a200]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100019c9
lea edi, [esi + 8]
jmp 0x10001997
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x10001997
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 8
push dword [0x1004a200]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10001a24
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10001920
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10001a0a
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10001a0a
push eax
push ebx
push dword [0x1004a200]
call dword [sym.imp.KERNEL32.dll_HeapSize]
cmp eax, 0xffffffff
je 0x100019f4
test eax, eax
je 0x100019f4
push eax
push ebx
push dword [esi]
call fcn.10030850
add esp, 0xc
push dword [esi]
push 0
push dword [0x1004a200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016053
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x100019c9