joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f796c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4f7a98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404744
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c04
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4f7a75
mov eax, ebx
call fcn.00402b98
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404c04
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4f7aa8
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.004096b0
push dword [ebp - 0x14]
push 0x4f7ab4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004096b0
push dword [ebp - 0x18]
push 0x4f7ab4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.004096b0
push dword [ebp - 0x1c]
push 0x4f7ab4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004096b0
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404ac4
mov eax, esi
call fcn.00402bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7a9f
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 4]
call fcn.00404744
ret

Function at 0x4f7b1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4f7ba0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4f7be4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4f7b82
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.004049b4
jmp 0x4f7b8e
mov eax, ebx
mov edx, 0x4f7bf0
call fcn.00404798
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret
Function at 0x4f7c20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4f7df3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4f7e04
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f7dc8
push 0
push 0x4f7e0c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f7dc8
push 0
push 0x4f7e1c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4f7e30
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4f7dc8
call fcn.004f7ab8
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4f7cd2
cmp eax, dword [esp]
pop edx
pop eax
je 0x4f7dc8
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004d8524
mov eax, dword [ebp - 4]
mov edx, 0x4f7e40
call fcn.00404b50
jne 0x4f7d38
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040eafc
test eax, eax
jle 0x4f7dc8
mov bl, 1
jmp 0x4f7dc8
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x410]
call fcn.00409acc
test al, al
jne 0x4f7dc8
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040eafc
test eax, eax
jne 0x4f7dc8
push 0x32
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c64
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7dfa
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404768
ret
Function at 0x4f7e48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4f8014
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4f8024
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f7fe9
push 0
push 0x4f802c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f7fe9
push 0
push 0x4f803c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4f8050
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4f7fe9
call fcn.004f7ab8
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4f7efa
cmp eax, dword [esp]
pop edx
pop eax
je 0x4f7fe9
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004d8524
mov eax, dword [ebp - 4]
mov edx, 0x4f8060
call fcn.00404b50
jne 0x4f7f60
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040eafc
test eax, eax
jle 0x4f7fe9
mov bl, 1
jmp 0x4f7fe9
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x410]
call fcn.00409acc
test al, al
jne 0x4f7fe9
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040eafc
test eax, eax
jne 0x4f7fe9
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c64
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f801b
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404768
ret
Function at 0x4f8068
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4f8252
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4f8264
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f8227
push 0
push 0x4f826c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4f8227
push 0
push 0x4f827c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4f828c
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4f8298
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4f8227
call fcn.004f7ab8
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4f812b
cmp eax, dword [esp]
pop edx
pop eax
je 0x4f8227
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004d8524
mov eax, dword [ebp - 4]
mov edx, 0x4f82a8
call fcn.00404b50
jne 0x4f8191
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040eafc
test eax, eax
jle 0x4f8227
mov bl, 1
jmp 0x4f8227
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x410]
call fcn.00409acc
test al, al
jne 0x4f8227
mov eax, dword [ebp - 4]
mov edx, 0x4f82a8
call fcn.00404b50
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040eafc
test eax, eax
jne 0x4f8227
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c64
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8259
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404768
ret

Function at 0x4f9a64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f9ad3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004049b4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ea84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9ada
lea eax, [ebp - 0x10c]
call fcn.00404744
ret
Function at 0x4fa1a8
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4fa32b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fa2fb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
push edi
push esi
call sub.kernel32.dll_Process32First
mov ebx, eax
jmp 0x4fa2e9
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409d38
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004fa158
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004fa158
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404b50
je 0x4fa2cb
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004fa158
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004fa158
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404b50
jne 0x4fa2e0
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push edi
push esi
call sub.kernel32.dll_Process32Next
mov ebx, eax
test ebx, ebx
jne 0x4fa22c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa332
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404768
lea eax, [ebp - 4]
call fcn.00404744
ret
Function at 0x4fa354
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4fa482
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x101
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x4fa45b
lea eax, [ebp - 0x105]
mov dword [ebp - 4], eax
jmp 0x4fa44f
push 0x39
lea eax, [ebp - 0x13e]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x148]
mov edx, dword [ebp - 4]
call fcn.0040493c
mov eax, dword [ebp - 0x148]
mov ecx, 2
mov edx, 1
call fcn.00404c64
mov eax, dword [ebp - 0x144]
call fcn.00404c04
push eax
call sub.kernel32.dll_QueryDosDeviceA
lea eax, [ebp - 0x13e]
push eax
call sub.kernel32.dll_lstrlenA_1
mov ebx, eax
push ebx
push esi
lea eax, [ebp - 0x13e]
push eax
call sub.SHLWAPI.DLL_StrCmpNIA
test eax, eax
jne 0x4fa44b
lea eax, [ebp - 0x14c]
lea edx, [esi + ebx + 1]
call fcn.0040493c
mov eax, dword [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.0040493c
mov edx, dword [ebp - 0x150]
mov eax, edi
pop ecx
call fcn.00404a50
jmp 0x4fa464
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4fa3b3
mov eax, edi
mov edx, esi
call fcn.0040493c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa489
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00404768
ret

Function at 0x4fa490
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fa4ef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x108]
push eax
push ebx
call sub.PSAPI.dll_GetProcessImageFileNameA
test eax, eax
jne 0x4fa4d7
mov eax, dword [ebp - 4]
call fcn.00404744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa501
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x108]
call fcn.004fa354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa501
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fa508
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
push 0x4fa59c
call sub.kernel32.dll_GetModuleHandleA_2
mov esi, eax
test esi, esi
jne 0x4fa52f
push 0x4fa59c
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x4fa590
push 0x4fa5ac
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
push 0x4fa5bc
push esi
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test edi, edi
je 0x4fa590
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call edi
cmp dword [ebp - 4], 0
je 0x4fa567
test esi, esi
jne 0x4fa56b
xor ebx, ebx
jmp 0x4fa56d
mov bl, 1
test bl, bl
je 0x4fa590
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetNativeSystemInfo
mov ax, word [ebp - 0x28]
cmp ax, 9
je 0x4fa58e
cmp ax, 6
je 0x4fa58e
xor ebx, ebx
jmp 0x4fa590
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fbf08
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
xor eax, eax
push ebp
push 0x4fbfc2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, edx
call fcn.004f8a30
lea edx, [ebp - 0x404]
push edx
push 0x3ff
push 0xd
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x408]
lea edx, [ebp - 4]
call fcn.00408fa0
mov edx, dword [ebp - 4]
mov eax, 0x4fbfd8
call fcn.0040eafc
test eax, eax
jg 0x4fbf9f
mov edx, dword [ebp - 4]
mov eax, 0x4fbff4
call fcn.0040eafc
test eax, eax
jg 0x4fbf9f
mov edx, dword [ebp - 4]
mov eax, 0x4fc004
call fcn.0040eafc
test eax, eax
jle 0x4fbfa1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbfc9
lea eax, [ebp - 0x408]
call fcn.00404744
lea eax, [ebp - 4]
call fcn.00404744
ret
Function at 0x4fd55c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4fd66f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404744
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4fd5e2
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 4]
jne 0x4fd5cf
mov edi, dword [ebp - 0x118]
jmp 0x4fd5e6
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4fd5bc
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4fd64d
cmp edi, dword [ebp - 0x128]
jne 0x4fd63a
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408fa0
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 8]
call fcn.004fa108
jmp 0x4fd651
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4fd5fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd676
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00404768
ret

Function at 0x500d28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x500d8f
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404d90
push edi
mov eax, dword [ebp - 8]
call fcn.00404c04
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500d96
lea eax, [ebp - 8]
call fcn.00404744
ret

Function at 0x5056c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x505752
xor edx, edx
push ebp
push 0x505733
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x505752
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x506a88
Capabilities:
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.00404bf4
mov eax, dword [ebp - 8]
call fcn.00404bf4
mov eax, dword [ebp - 0xc]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x506bb7
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], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404c04
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00404c04
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00446124
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404c04
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x506b9c
xor eax, eax
push ebp
push 0x506b95
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x506b75
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x506b79
xor eax, eax
jmp 0x506b7b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506b9c
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 0x506bbe
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404768
ret
Function at 0x506bc8
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
mov eax, dword [ebp - 8]
call fcn.00404bf4
mov eax, dword [ebp - 0xc]
call fcn.00404bf4
mov eax, dword [ebp + 0xc]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x506d32
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.00404c04
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x506d44
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.00404c04
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x506d0f
xor edx, edx
push ebp
push 0x506d08
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404c04
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c04
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x506cf1
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 0x506ce8
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x506cec
xor eax, eax
jmp 0x506cee
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506d0f
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 0x506d39
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404768
lea eax, [ebp + 0xc]
call fcn.00404744
ret