joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a89bc
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405218
mov eax, dword [ebp - 8]
call fcn.00405218
mov eax, dword [ebp - 0xc]
call fcn.00405218
mov eax, dword [ebp + 0xc]
call fcn.00405218
xor eax, eax
push ebp
push 0x4a8b2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00405228
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4a8b3c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405228
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a8b08
xor edx, edx
push ebp
push 0x4a8b01
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00405228
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405228
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405228
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4a8aea
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a8ae1
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4a8ae5
xor eax, eax
jmp 0x4a8ae7
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b08
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b32
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d8c
lea eax, [ebp + 0xc]
call fcn.00404d68
ret
Function at 0x4a8b44
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4a8c0c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4a8c10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4a8c0c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a8c03
xor eax, eax
push ebp
push 0x4a8bfc
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8c03
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9084
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9298
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.0040287c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a9102
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4a90ec
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9109
mov eax, dword [ebp - 8]
call fcn.0040289c
ret

Function at 0x4aa63c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00403444
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4aa676
cmp byte [ebp - 0xa], 0x31
jne 0x4aa674
mov bl, 1
jmp 0x4aa676
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4abe3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0046bb0c
test al, al
je 0x4abefa
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4abed8
cmp word [esi + 0x5f2], 0
je 0x4abe8d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x4abeaf
cmp dword [ebp - 4], 0
jbe 0x4abeab
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4abeaf
xor ebx, ebx
jmp 0x4abeb1
mov bl, 1
test bl, bl
jne 0x4abefa
mov eax, dword [0x5dcd84]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4abefa
mov eax, dword [0x5dcd84]
mov eax, dword [eax]
call fcn.004850f0
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x4abefa
cmp byte [esi + 0x588], 0
jne 0x4abefa
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0048a9cc
cmp eax, 4
jne 0x4abe6a
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ca1e4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4ca209
cmp dword [esp + 4], 5
jb 0x4ca209
mov al, 1
jmp 0x4ca20b
xor eax, eax
add esp, 0x94
ret
Function at 0x4dbf40
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004085c4
ret
Function at 0x4e2f38
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x4e3009
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4e301c
call sub.kernel32.dll_LoadLibraryA
test eax, eax
jbe 0x4e2f8b
push 0x4e3028
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
je 0x4e2f8b
lea eax, [ebp - 4]
push eax
push 0x40
push 3
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov ecx, 3
mov eax, 0x4e3044
call fcn.00402a78
push 0x4e3048
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jbe 0x4e2fcb
push 0x4e3054
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test esi, esi
je 0x4e2fcb
lea eax, [ebp - 4]
push eax
push 0x40
push 3
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov ecx, 3
mov eax, 0x4e306c
call fcn.00402a78
test ebx, ebx
jbe 0x4e2fff
push 0x4e3070
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
je 0x4e2fff
lea eax, [ebp - 4]
push eax
push 0x40
push 3
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov ecx, 3
mov eax, 0x4e3044
call fcn.00402a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e3013
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e3b1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x5dcd84]
mov eax, dword [eax]
call fcn.004850f0
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, ebx
cmp esi, edx
jle 0x4e3b44
cmp ebx, eax
jle 0x4e3b27
pop esi
pop ebx
ret

Function at 0x4e4340
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push eax
mov eax, dword [0x5dcd84]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040adb0
add esp, 0x104
pop ebx
ret

Function at 0x4e6404
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e6498
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403444
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.0040adb0
cmp dword [ebp - 0x108], 0
jne 0x4e6472
mov eax, ebx
call fcn.00404d68
jmp 0x4e647f
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0040adb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e649f
lea eax, [ebp - 0x108]
call fcn.00404d68
ret
Function at 0x4e8308
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x4e8317
add esp, 0xfffffff0
call fcn.004041b8
mov ebx, edx
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.00403e24
push 0x4e83e4
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 8], esi
push 0x4e83f4
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x10], eax
push 0x4e8408
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc], eax
push 0x4e8414
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x14], eax
push 0x4e842c
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x18], eax
push 0x4e843c
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x1c], eax
push 0x4e8454
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x20], eax
push 0x4e8468
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x24], eax
push 0x4e8474
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x28], eax
push 0x4e848c
mov eax, dword [edi + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x2c], eax
mov eax, edi
test bl, bl
je 0x4e83de
call fcn.00404210
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x50af2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx edi, word [edx]
add edi, edi
mov esi, ecx
and esi, 0xff
mov ebp, esi
shr ebp, 7
or edi, ebp
cmp edi, 0xffff
jbe 0x50af5d
call fcn.00403d8c
mov word [edx], di
test bl, bl
je 0x50af69
xor word [edx], 0x1021
add esi, esi
and esi, 0xff
cmp esi, 0xff
jbe 0x50af7e
call fcn.00403d8c
mov ecx, esi
dec eax
jne 0x50af35
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x523854
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x5238ae
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00523844
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005213cc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00520ee4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5238b5
lea eax, [ebp - 4]
call fcn.00404d68
ret
Function at 0x530fe4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53109e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040549c
mov eax, dword [0x5dd164]
cmp dword [eax], 2
jne 0x531053
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405818
mov eax, dword [ebx]
call fcn.00405644
push eax
mov eax, dword [ebx]
call fcn.00405634
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405644
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405818
jmp 0x531085
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040adb0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5310a5
lea eax, [ebp - 0x3f0]
call fcn.00404d68
ret
Function at 0x5562c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.005562b0
test eax, eax
jne 0x5562e5
mov eax, esi
call fcn.00404d68
jmp 0x556376
mov eax, ebx
call fcn.0055640c
test al, al
je 0x55632b
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404e58
test edi, edi
je 0x556322
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x556376
mov eax, esi
call fcn.00404d68
jmp 0x556376
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x55636f
mov eax, dword [ebp + 0x208]
call fcn.004202a8
test eax, eax
jle 0x55635d
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0044aa58
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404dbc
jmp 0x556376
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404dbc
jmp 0x556376
mov eax, esi
call fcn.00404d68
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x558034
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00407570
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x5733bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffb8
xor eax, eax
push ebp
push 0x573578
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.00431808
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
call fcn.0047775c
call fcn.0055d138
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x50], 0
je 0x573440
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
mov eax, dword [eax + 0x68]
call fcn.0042bf6c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.00431808
mov eax, dword [eax + 0xc]
pop edx
call fcn.0042bf74
mov eax, dword [ebp + 8]
mov dword [eax - 0x40], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042be54
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.0040ac34
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.00431808
call fcn.0042cd14
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042bec8
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042bf04
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042bf04
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042bf04
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042bf6c
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.00431808
mov eax, dword [eax + 0xc]
pop edx
call fcn.0042be00
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.00431808
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
mov ecx, edx
shl edx, 6
add edx, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xa8]
mov edx, dword [ecx + edx*4 + 0xb0]
call fcn.0042bc44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57357f
lea eax, [ebp - 4]
call fcn.00404d68
ret
Function at 0x58ea90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x58eaa8
mov eax, ebx
call fcn.0058e324
cmp dword [ebx + 0x68], 0
jne 0x58eab5
mov eax, ebx
call fcn.0058e280
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x58ec68
cmp dword [ebx + 0x68], 0
je 0x58ec68
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0058e0f0
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005903d0
cmp eax, dword [esp]
je 0x58eb37
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005903e4
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x58eb13
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.005903d0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x58eb2c
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x58eb4a
mov eax, dword [eax + 0x10]
call fcn.0046b808
mov esi, eax
jmp 0x58eb4d
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x58eb62
or esi, 0xffffffff
jmp 0x58eb6c
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0046460c
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00464630
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00464658
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0046467c
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040758c
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0046b808
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0046b808
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0046b808
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.00431808
call fcn.0042cd14
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0046b808
push eax
mov eax, dword [0x5dc6e0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0046b808
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x58eea8
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00403444
lea eax, [esp + 0x3c]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x58f0b1
push 0
push 0x58f0bc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x58f0b1
push 0
push 0x58f0cc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x58f0b1
push 0
push 0x58f0dc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x58f0b1
push 0
push 0x58f0ec
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x58f0b1
push 0
push 0
push 0x418
push edi
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x58f0b1
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push edi
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x58f0b1
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x58f0b1
push 0x40
push 0x1000
push 0x1000
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x58f0b1
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x58f099
inc ebx
mov eax, dword [esp + 0xc]
push eax
push ebx
push 0x417
push edi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x58f08f
lea eax, [esp + 0x10]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x58f08f
test byte [esp + 0x21], 0xd
jne 0x58f08f
mov al, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x58f08f
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x58f08f
cmp dword [esp + 0x10], 0
je 0x58f08f
mov eax, dword [0x5dcd84]
mov eax, dword [eax]
mov ebp, dword [eax + 0x30]
cmp ebp, dword [esp + 0x14]
jne 0x58f08f
mov eax, dword [esp + 0xc]
push eax
push ebx
push 0x41d
push edi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x58f06b
lea eax, [esp + 0x10]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0x10], 0
je 0x58f099
lea eax, [esp + 0x2c]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.004075d0
jmp 0x58f099
cmp ebx, dword [esp + 4]
jl 0x58efbb
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.kernel32.dll_VirtualFreeEx
push esi
call sub.kernel32.dll_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret