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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000fe24
pop dword [ebp - 0x20]
mov eax, 0x1000fe24
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3b3bd
push 0
mov eax, 0x93102091
sub eax, 0x830ebf51
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xa6860629
sub ecx, 0xa685b94a
mov ebx, eax
mov edx, 0x10024400
add edx, dword [ebp - 0x20]
mov edi, 0x3c1a2ca9
xor dword [ebp - 0xc], 0xe10cdc67
mov esi, dword [edx]
mov dword [ebp - 8], 0xb87690cc
xor esi, edi
sub dword [ebp - 8], 0x73f1b99e
mov dword [ebx], esi
xor dword [ebp - 0x1c], ebx
add ebx, 0xf6043342
add ebx, 0x9fbccc2
add edx, 0x24136ba5
sub edx, 0x24136ba1
loop 0x1000fe72
add eax, 0x1264f
mov ebx, eax
add eax, 5
mov ecx, 0xff5bf8d9
add ecx, 0x10a40727
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x406e52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406e61
pop dword [ebp - 0xc]
mov eax, 0xa8f73d34
add eax, 0x5749312d
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x37171
push 0
mov eax, 0xecf6f699
sub eax, 0xecb615c1
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x4254395d
add ecx, 0xbdac05cc
mov esi, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0xc]
mov ebx, 0x192eee3
add ebx, 0xd05abe02
mov edx, dword [edi]
xor dword [ebp - 8], 0xcc478691
sub edx, ebx
mov dword [ebp - 8], 0x245cc3dc
mov dword [esi], edx
xor dword [ebp - 8], ecx
add esi, 0xd12a5947
sub esi, 0xd12a5943
add edi, 4
loop 0x406eba
add eax, 0x190f008a
add eax, 0xe6f1eeed
xor ebx, ebx
add ebx, eax
add eax, 0xf6e852ee
add eax, 0x917ad17
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x10001000
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d4a0]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
push edi
call fcn.1001167d
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
pop ecx
push 2
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3fc
push edi
call esi
mov edi, eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x108]
mov esi, 0x1002e360
push eax
mov ecx, esi
call fcn.10004be6
push edi
mov ecx, esi
call fcn.1000532d
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
call fcn.1001b57a
leave
ret

Function at 0x100018df
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0xe4]
sub esp, 0x164
mov eax, dword [0x1002d4a0]
push 0x58
mov dword [ebp + 0xe0], eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.1001b590
lea eax, [ebp - 0x24]
mov dword [ebp - 0x64], eax
add esp, 0xc
test byte [0x1002f81c], 1
mov eax, 0x104
mov dword [ebp - 0x80], 0x58
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x4c], 0x806
je 0x10001940
mov dword [ebp - 0x74], str.Zip_Archives
mov dword [ebp - 0x44], 0x10026520
jmp 0x1000196e
mov ecx, dword [0x1002d150]
cmp ecx, 2
jne 0x1000195b
mov dword [ebp - 0x74], str.Log_Files
mov dword [ebp - 0x44], 0x100264ec
jmp 0x1000196e
cmp ecx, 1
jne 0x100019c0
mov dword [ebp - 0x74], str.Xml_Files
mov dword [ebp - 0x44], 0x100264c8
mov ecx, dword [0x1002f83c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x44]
call fcn.1000a855
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
je 0x100019c0
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x1002f834]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0x1002f718
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x28]
call fcn.100079b0
mov ecx, dword [ebp + 0xe0]
call fcn.1001b57a
add ebp, 0xe4
leave
ret

Function at 0x10002161
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x1002e670]
dec eax
je 0x100021a5
dec eax
je 0x10002190
dec eax
jne 0x100021b8
push 0x417
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x1002e800
call fcn.100059f4
jmp 0x100021b8
push ecx
xor eax, eax
call fcn.100020a2
pop ecx
mov ecx, 0x1002e7e0
call fcn.10004aaa
jmp 0x100021b8
push ecx
xor eax, eax
call fcn.100020a2
pop ecx
mov ecx, 0x1002e7a4
call fcn.100078d8
mov eax, dword [0x1002e674]
and dword [0x1002e670], 0
test eax, eax
je 0x100021d6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [0x1002e674], 0
mov eax, dword [0x1002d0c0]
cmp eax, 0xffffffff
je 0x100021ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x1002d0c0], 0xffffffff
and dword [0x1002e680], 0
ret
Function at 0x10002284
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x1002d4a0]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 0
push 0x1004
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
mov edi, 0x160
push edi
mov ebx, eax
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.1001b590
add esp, 0xc
push 0x4401
push edi
lea eax, [ebp - 0x184]
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test ebx, ebx
jne 0x100022ee
push eax
push 1
push 0x1003
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x2cc], eax
je 0x100023ac
mov eax, dword [ebp - 0x2a4]
mov ecx, 0x3b9aca00
cmp eax, ecx
mov dword [ebp - 0x2c8], eax
jb 0x10002348
xor edx, edx
div ecx
mov edi, 0x5f5e100
mov ecx, eax
mov eax, edx
xor edx, edx
div edi
push eax
push ecx
push str._lu._lu_GB
lea eax, [ebp - 0x24]
push eax
call fcn.1001b6fa
add esp, 0x10
jmp 0x1000239e
mov ecx, 0xf4240
cmp eax, ecx
jb 0x1000236b
xor edx, edx
div ecx
mov edi, 0x186a0
mov ecx, eax
mov eax, edx
xor edx, edx
div edi
push eax
push ecx
push str._lu._lu_MB
jmp 0x1000233a
mov ecx, 0x3e8
cmp eax, ecx
jb 0x1000238c
xor edx, edx
div ecx
push 0x64
pop edi
mov ecx, eax
mov eax, edx
xor edx, edx
div edi
push eax
push ecx
push str._lu._lu_KB
jmp 0x1000233a
push eax
lea eax, [ebp - 0x24]
push str._lu_B
push eax
call fcn.1001b6fa
add esp, 0xc
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100023b7
and dword [ebp - 0x2c8], 0
mov byte [ebp - 0x24], 0
push dword [ebp + 0xc]
call fcn.1001b9a0
add eax, 5
push eax
call fcn.1001b998
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x100023e6
mov eax, dword [ebp - 0x2c8]
push dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [edi + 4]
push eax
call fcn.1001b8a0
pop ecx
pop ecx
push 0x34
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.1001b590
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0x300], 7
mov dword [ebp - 0x2fc], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x300]
push eax
push 0
push 0x1007
push dword [ebp + 8]
mov dword [ebp - 0x2e0], edi
call esi
lea eax, [ebp - 0x74]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x334]
push eax
push ebx
mov edi, 0x102e
push edi
push dword [ebp + 8]
mov dword [ebp - 0x32c], 1
call esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x334]
push eax
push ebx
push edi
push dword [ebp + 8]
mov dword [ebp - 0x32c], 2
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.1001b57a
leave
ret
Function at 0x10002c62
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa8
cmp dword [ebp + 0x7c], 0
mov eax, dword [0x1002d4a0]
mov dword [ebp + 0x64], eax
jne 0x10002d84
mov eax, dword [ebp + 0x74]
dec eax
je 0x10002c9c
dec eax
jne 0x10002d84
push 0
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10002d84
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x3f8
push dword [ebp + 0x70]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push eax
mov dword [ebp + 0x78], eax
call edi
mov ebx, eax
inc ebx
push ebx
call fcn.1001b998
test eax, eax
pop ecx
mov dword [ebp - 0x40], eax
je 0x10002d81
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
push dword [ebp + 0x78]
call ebx
push 0x3fb
push dword [ebp + 0x70]
call esi
push eax
mov dword [ebp + 0x78], eax
call edi
mov esi, eax
inc esi
push esi
call fcn.1001b998
mov edi, eax
test edi, edi
pop ecx
jne 0x10002d07
push dword [ebp - 0x40]
call fcn.1001b588
jmp 0x10002d80
push esi
push edi
push dword [ebp + 0x78]
call ebx
mov ebx, dword [ebp + 0x70]
push edi
push dword [ebp - 0x40]
push ebx
call fcn.10011159
add esp, 0xc
test eax, eax
jne 0x10002d68
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x20
lea eax, [ebp + 0x44]
push eax
push 0x70
push dword [0x1002ecc0]
call esi
push 0x80
lea eax, [ebp - 0x3c]
push eax
push 0x82
push dword [0x1002ecc0]
call esi
push 0x10
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10002d71
push 1
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x40]
call fcn.1001b588
push edi
call fcn.1001b588
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
call fcn.1001b57a
add ebp, 0x68
leave
ret
Function at 0x100041b5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, ecx
mov ecx, dword [edx + 4]
mov eax, 0x7d00
cmp ecx, eax
mov dword [ebp - 8], edx
jae 0x100041cd
mov eax, ecx
mov ecx, eax
shr ecx, 4
test al, 0xf
je 0x100041d7
inc ecx
mov eax, dword [ebp + 8]
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
jb 0x100041ed
lea edx, [edi + ecx]
cmp eax, edx
jb 0x100042b7
push ebx
mov edx, 0x3e8
cmp edx, eax
push esi
sbb esi, esi
lea ebx, [eax - 0x3e8]
and esi, ebx
cmp esi, edi
jb 0x1000422d
lea eax, [edi + ecx]
cmp esi, eax
jae 0x10004229
mov eax, edi
sub eax, esi
add eax, ecx
lea edx, [eax + esi]
mov dword [ebp - 4], edx
mov edx, esi
sub edx, edi
mov ebx, eax
sub ecx, eax
shl edx, 4
xor edi, edi
shl ebx, 4
jmp 0x10004258
cmp esi, edi
ja 0x1000424d
lea eax, [esi + ecx]
cmp edi, eax
jae 0x1000424d
mov eax, esi
sub eax, edi
add eax, ecx
sub ecx, eax
mov edi, ecx
mov dword [ebp + 8], edi
xor edx, edx
shl edi, 4
mov dword [ebp - 4], esi
xor ebx, ebx
jmp 0x1000425b
xor edi, edi
xor edx, edx
xor eax, eax
mov dword [ebp - 4], esi
xor ebx, ebx
mov dword [ebp + 8], ecx
test eax, eax
jbe 0x10004277
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shl eax, 4
push eax
lea eax, [ecx + edx]
push eax
add ecx, edi
push ecx
call fcn.1001bfd0
add esp, 0xc
mov edi, dword [ebp - 8]
xor eax, eax
cmp dword [ebp + 8], eax
jbe 0x100042b2
push eax
push eax
mov eax, dword [ebp - 4]
shl eax, 4
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
shl eax, 4
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi + 0x14], esi
pop esi
pop ebx
pop edi
leave
ret 4

Function at 0x10004c05
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
cmp byte [edi], 0
je 0x10004c3a
mov eax, dword [0x1002f834]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10004c24
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0xa
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x10004c62
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x10004c62
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi]
movzx eax, ax
push eax
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
ret
Function at 0x10004c9b
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1002d4a0]
push ebx
push esi
push edi
mov esi, ecx
push dword [esi]
mov dword [ebp + 0x88], eax
call dword [sym.imp.USER32.dll_GetDC]
and dword [ebp - 0x80], 0
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, dword [0x1002f834]
mov eax, dword [eax + 4]
test eax, eax
je 0x10004ce0
push eax
push ebx
call edi
mov dword [ebp - 0x80], eax
push 0x104
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0x94]
lea eax, [ebp - 0x7c]
push eax
call fcn.1001b9a0
pop ecx
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp dword [ebp - 0x80], 0
je 0x10004d19
push dword [ebp - 0x80]
push ebx
call edi
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
pop ebx
call fcn.1001b57a
add ebp, 0x8c
leave
ret 4

Function at 0x10004dab
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x1002d4a0]
push ebx
push esi
push edi
mov dword [ebp + 0x98], eax
push 0x104
lea eax, [ebp - 0x6c]
mov esi, ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [ebp + 0xa4]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [0x1002f834]
mov eax, dword [eax + 4]
xor edi, edi
cmp eax, edi
je 0x10004e0b
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x70], eax
jmp 0x10004e0e
mov dword [ebp - 0x70], edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, edi
je 0x10004e2b
push dword [esi]
push ebx
push 0x138
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x10004e3b
mov eax, dword [0x1002f834]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x10004e53
lea eax, [ebp - 0x80]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push dword [esi + 0x10c]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
call edi
lea eax, [ebp - 0x6c]
push eax
call fcn.1001b9a0
pop ecx
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 1
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call edi
cmp dword [ebp - 0x70], 0
je 0x10004e98
push dword [ebp - 0x70]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi]
jne 0x10004eb8
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.10004d3a
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
pop ebx
call fcn.1001b57a
add ebp, 0x9c
leave
ret 4
Function at 0x10007be0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x100079e3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x20
push 0
push esi
call fcn.1001b590
add esp, 0xc
pop esi
ret
push ebx
push esi
xor ebx, ebx
push ebx
push str.MAPI
push str.MAIL
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
test eax, eax
je 0x10007c75
push str.MAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x10007c75
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPILogon
push eax
call edi
push str.MAPILogoff
push dword [esi + 8]
mov dword [esi + 0xc], eax
call edi
push str.MAPISendMail
push dword [esi + 8]
mov dword [esi + 0x10], eax
call edi
push str.MAPIResolveName
push dword [esi + 8]
mov dword [esi + 0x14], eax
call edi
push str.MAPIFreeBuffer
push dword [esi + 8]
mov dword [esi + 0x18], eax
call edi
cmp dword [esi + 0xc], ebx
mov dword [esi + 0x1c], eax
pop edi
je 0x10007c6c
cmp dword [esi + 0x10], ebx
je 0x10007c6c
cmp dword [esi + 0x14], ebx
je 0x10007c6c
cmp dword [esi + 0x18], ebx
je 0x10007c6c
cmp eax, ebx
jne 0x10007c75
mov ecx, esi
pop esi
pop ebx
jmp 0x100079c5
pop esi
pop ebx
ret
Function at 0x100086ea
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1002d4a0]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
push str.PSAPI.DLL
mov dword [ebp - 4], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
je 0x100087b4
push ebx
push 0x100
lea ecx, [esi + 0xc]
call fcn.1000825e
push ebx
push 0x100
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], ebx
call fcn.1000825e
push str.EnumProcesses
push dword [esi + 8]
mov dword [esi + 0x28], ebx
call edi
push str.EnumProcessModules
push dword [esi + 8]
mov dword [esi + 0x30], eax
call edi
push str.GetModuleFileNameExA
push dword [esi + 8]
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 5
jb 0x100087ad
xor eax, eax
cmp dword [ebp - 0x90], ebx
setne al
lea eax, [eax + eax + 2]
mov dword [esi + 0x2c], eax
jmp 0x100087b4
mov dword [esi + 0x2c], 8
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
mov dword [esi + 0x3c], eax
je 0x10008840
or dword [esi + 0x40], 0xffffffff
or dword [esi + 0x44], 0xffffffff
or dword [esi + 0x48], 0xffffffff
push str.CreateToolhelp32Snapshot
push eax
call edi
push str.Thread32First
push dword [esi + 0x3c]
mov dword [esi + 0x3b4], eax
call edi
push str.Thread32Next
push dword [esi + 0x3c]
mov dword [esi + 0x3c8], eax
call edi
push str.Process32First
push dword [esi + 0x3c]
mov dword [esi + 0x3cc], eax
call edi
push str.Process32Next
push dword [esi + 0x3c]
mov dword [esi + 0x3b8], eax
call edi
push str.Module32First
push dword [esi + 0x3c]
mov dword [esi + 0x3bc], eax
call edi
push str.Module32Next
push dword [esi + 0x3c]
mov dword [esi + 0x3c0], eax
call edi
mov dword [esi + 0x3c4], eax
cmp dword [esi + 8], ebx
push 2
mov dword [esi + 4], ebx
pop edx
je 0x1000885d
cmp dword [esi + 0x30], ebx
je 0x1000885d
cmp dword [esi + 0x34], ebx
je 0x1000885d
cmp dword [esi + 0x38], ebx
je 0x1000885d
mov dword [esi + 4], edx
cmp dword [esi + 0x3c], ebx
push 4
pop ecx
je 0x10008898
cmp dword [esi + 0x3b4], ebx
je 0x10008898
cmp dword [esi + 0x3bc], ebx
je 0x10008898
cmp dword [esi + 0x3c0], ebx
je 0x10008898
cmp dword [esi + 0x3c4], ebx
je 0x10008898
cmp dword [esi + 0x3c8], ebx
je 0x10008898
cmp dword [esi + 0x3cc], ebx
je 0x10008898
or dword [esi + 4], ecx
mov eax, dword [esi + 4]
test cl, al
mov dword [esi], ebx
je 0x100088a5
mov dword [esi], ecx
jmp 0x100088ab
test dl, al
je 0x100088ab
mov dword [esi], edx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.1001b57a
leave
ret
Function at 0x10009332
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x100093d1
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x100093d1
push edi
push 0xe
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1001b590
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
add eax, 0xe
add ecx, eax
push ebx
mov dword [ebp - 0xa], eax
lea eax, [ebp - 4]
push eax
push 0xe
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov word [ebp - 0x14], 0x4d42
mov dword [ebp - 0x12], ecx
call edi
push ebx
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
push dword [esi]
push dword [ebp + 8]
call edi
push ebx
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
push dword [esi + 4]
push dword [ebp + 8]
call edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
jmp 0x100093d3
xor eax, eax
pop esi
pop ebx
leave
ret 4

Function at 0x100098ad
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x24]
mov edi, str.Unknown
push eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x1002f844], 0
je 0x100098f8
movzx eax, word [ebp - 0x24]
test eax, eax
je 0x100098f8
cmp eax, 6
je 0x100098f0
cmp eax, 9
je 0x100098e8
mov dword [esi], edi
jmp 0x100098fe
mov dword [esi], str.AMD_64
jmp 0x100098fe
mov dword [esi], str.IA_64
jmp 0x100098fe
mov dword [esi], str.Intel
mov eax, dword [ebp - 0x10]
pop edi
mov dword [esi + 4], eax
pop esi
leave
ret
Function at 0x10009bbc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x1002d4a0]
mov dword [ebp + 0x70], eax
push esi
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x20]
sub eax, 3
mov esi, dword [ebp + 0x7c]
mov dword [esi], str.Unknown
je 0x10009c9c
dec eax
je 0x10009c52
dec eax
je 0x10009c22
dec eax
jne 0x10009cae
cmp dword [ebp - 0x14], 2
jne 0x10009cae
cmp dword [ebp - 0x1c], 0
jne 0x10009cae
mov dword [esi], str.Windows_Vista
jmp 0x10009cae
cmp dword [ebp - 0x14], 2
jne 0x10009cae
mov eax, dword [ebp - 0x1c]
sub eax, 0
je 0x10009c4a
dec eax
je 0x10009c42
dec eax
jne 0x10009cae
mov dword [esi], str.Windows_Server_2003
jmp 0x10009cae
mov dword [esi], str.Windows_XP
jmp 0x10009cae
mov dword [esi], str.Windows_2000
jmp 0x10009cae
cmp dword [ebp - 0x1c], 0
je 0x10009c80
cmp dword [ebp - 0x1c], 0xa
je 0x10009c72
cmp dword [ebp - 0x1c], 0x5a
jne 0x10009cae
cmp dword [ebp - 0x14], 1
jne 0x10009cae
mov dword [esi], str.Windows_Me
jmp 0x10009cae
cmp dword [ebp - 0x14], 1
jne 0x10009cae
mov dword [esi], str.Windows_98
jmp 0x10009cae
cmp dword [ebp - 0x14], 2
jne 0x10009c8e
mov dword [esi], str.Windows_NT_4.0
jmp 0x10009cae
cmp dword [ebp - 0x14], 1
jne 0x10009cae
mov dword [esi], str.Windows_95
jmp 0x10009cae
cmp dword [ebp - 0x1c], 0x33
jne 0x10009cae
cmp dword [ebp - 0x14], 2
jne 0x10009cae
mov dword [esi], str.Windows_NT_3.51
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 4]
push eax
call fcn.1001b8a0
push 0xa
add esi, 0x84
push esi
push dword [ebp - 0x18]
call fcn.1001b658
mov ecx, dword [ebp + 0x70]
add esp, 0x14
pop esi
call fcn.1001b57a
add ebp, 0x74
leave
ret

Function at 0x10009d63
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esi, dword [ebp + 8]
push 0xa
push esi
push dword [ebp - 0x1c]
call fcn.1001b658
push 0xa
lea eax, [esi + 8]
push eax
push dword [ebp - 0x18]
call fcn.1001b658
push 0xa
lea eax, [esi + 0x18]
push eax
push dword [ebp - 0x14]
call fcn.1001b658
push 0xa
lea eax, [esi + 0x28]
push eax
push dword [ebp - 0x10]
call fcn.1001b658
push 0xa
add esi, 0x38
push esi
push dword [ebp - 0xc]
call fcn.1001b658
add esp, 0x3c
pop esi
leave
ret

Function at 0x10009dc0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0xc]
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x10]
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x14]
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x18]
shr eax, 0x14
push eax
push dword [ebp - 0x1c]
push str.Current_Memory_Load:__________lu___r_nTotal_Physical_Memory:________lu_MB_r_nAvailable_Physical_Memory:____lu_MB_r_nTotal_Page_File_Memory:_______lu_MB_r_nAvailable_Page_File_Memory:___lu_MB
push dword [ebp + 8]
call fcn.1001b6fa
add esp, 0x1c
leave
ret