joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49dc7c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49dcad
mov ecx, dword [0x4b3a98]
mov dl, 1
mov eax, dword [0x49c3a4]
call fcn.0040cfec
call fcn.004040c4
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x49dcda
mov ecx, dword [0x4b36b8]
mov dl, 1
mov eax, dword [0x49c3a4]
call fcn.0040cfec
call fcn.004040c4
xor eax, eax
push ebp
push 0x49dd5b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403af4
cmp byte [ebp + 8], 0
je 0x49dd35
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0049dbe4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0049da4c
jmp 0x49dd51
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0049d5ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49dd78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x49dd84
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49ddb5
mov ecx, dword [0x4b3784]
mov dl, 1
mov eax, dword [0x49c3a4]
call fcn.0040cfec
call fcn.004040c4
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x49dde2
mov ecx, dword [0x4b36b8]
mov dl, 1
mov eax, dword [0x49c3a4]
call fcn.0040cfec
call fcn.004040c4
xor eax, eax
push ebp
push 0x49de5e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403af4
cmp byte [ebp + 8], 0
je 0x49de3a
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0049dbe4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0049dacc
jmp 0x49de54
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0049d5ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49de7b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49e05c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049d874
xor eax, eax
push ebp
push 0x49e1cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x49e1b7
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x49e0a7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49e0b1
call fcn.00404170
jmp 0x49e1d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ce44
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x49e1ac
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x49e15f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x49e14c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403af4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0049e014
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x49e1e0]
cmp dl, byte [eax + 0x28]
je 0x49e1b3
call fcn.0040cf04
jmp 0x49e1b3
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ce64
jmp 0x49e1b3
cmp ecx, ebx
jge 0x49e17b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ce64
jmp 0x49e0b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ce44
cmp edx, dword [esp + 4]
jne 0x49e19b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49e0b1
push ebp
call fcn.0049e014
pop ecx
jmp 0x49e1b3
push ebp
call fcn.0049e014
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e1d4
mov eax, dword [ebp - 4]
call fcn.0049d880
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e1e4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e306
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049d874
xor eax, eax
push ebp
push 0x49e2e9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49e234
call fcn.00404170
jmp 0x49e2f0
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49e2d3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49e2d3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403af4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49e2d3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49e320
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b3910]
mov dl, 1
mov eax, dword [0x49c3a4]
call fcn.0040d028
call fcn.004040c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e2f0
mov eax, dword [ebp - 4]
call fcn.0049d880
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e30d
lea eax, [ebp - 0x28]
call fcn.0040470c
ret
Function at 0x49e36c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e4b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049d874
xor eax, eax
push ebp
push 0x49e499
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x49e3d1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49e3d1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x49e483
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49e3e4
call fcn.00404170
jmp 0x49e4a0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49e483
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49e483
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403af4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49e483
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49e4d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4b3910]
mov dl, 1
mov eax, dword [0x49c3a4]
call fcn.0040d028
call fcn.004040c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e4a0
mov eax, dword [ebp - 4]
call fcn.0049d880
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e4bd
lea eax, [ebp - 0x28]
call fcn.0040470c
ret
Function at 0x4a6ba8
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x400
push 4
push 0x3000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
push esp
push ebx
push esi
push 0x10
call sub.ntdll.dll_NtQuerySystemInformation
push 0x8000
push ebx
push esi
call sub.kernel32.dll_VirtualFree_1
mov ebx, dword [esp]
push 4
push 0x3000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
push esp
push ebx
push esi
push 0x10
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x4a6bfd
mov eax, esi
jmp 0x4a6bff
xor eax, eax
pop edx
pop esi
pop ebx
ret

Function at 0x4a6c04
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a6d09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040470c
xor eax, eax
push ebp
push 0x4a6ce7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a6cc0
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a6cb9
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.004a6b38
test eax, eax
je 0x4a6cb2
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x114]
call fcn.00409c00
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004098c8
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00404760
jmp 0x4a6cc7
call fcn.00404170
jmp 0x4a6cee
call fcn.00404170
jmp 0x4a6cee
call fcn.00404170
jmp 0x4a6cee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6cee
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6d10
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404730
ret
Function at 0x4a71fc
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a73bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov edx, dword [0x4b3794]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x4a73d4
call fcn.00404a18
mov eax, dword [ebp - 8]
call fcn.00409530
test al, al
je 0x4a730b
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.0040964c
test eax, eax
jne 0x4a7398
mov eax, dword [ebp - 8]
call fcn.004a71c0
mov esi, eax
cmp esi, 0x64
jb 0x4a7398
xor ecx, ecx
push ebp
push 0x4a72ff
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x168]
call fcn.00402e50
mov edx, 1
lea eax, [ebp - 0x168]
call fcn.004032d0
call fcn.00402934
mov edx, esi
sub edx, 0xf
lea eax, [ebp - 0x168]
call fcn.004032ec
call fcn.00402934
push 0
lea edx, [ebp - 0x12]
mov ecx, 0xa
lea eax, [ebp - 0x168]
call fcn.00402fa8
call fcn.00402934
mov edx, 0xa
lea eax, [ebp - 0x12]
cmp byte [eax], 0
je 0x4a72e1
xor ebx, ebx
jmp 0x4a72e5
inc eax
dec edx
jne 0x4a72d8
lea eax, [ebp - 0x168]
call fcn.00402fe8
call fcn.00402934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a730b
test bl, bl
je 0x4a7394
lea eax, [ebp - 0x18]
mov edx, 0x4a73e8
call fcn.004047a4
push dword [ebp - 0x18]
mov eax, dword [0x4b3794]
push dword [eax]
push 0x4a73f8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404a8c
mov eax, dword [ebp - 0x1c]
call fcn.00409530
test al, al
je 0x4a7394
mov eax, dword [ebp - 8]
call fcn.00404bcc
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x4a7373
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.0040964c
test eax, eax
jne 0x4a7398
push ebx
call sub.kernel32.dll_DeleteFileA
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 8]
call fcn.00404bcc
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404bcc
push eax
call sub.kernel32.dll_MoveFileA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a73c2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404730
lea eax, [ebp - 8]
call fcn.0040470c
ret
Function at 0x4a7738
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bbc
xor eax, eax
push ebp
push 0x4a788a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418200]
call fcn.004038c8
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00492b08
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a7855
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, 0x20
mov eax, dword [ebp - 0xc]
call fcn.0040964c
test eax, eax
jne 0x4a7849
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409900
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004049cc
mov ecx, eax
dec ecx
mov edx, 2
mov eax, dword [ebp - 0x14]
call fcn.00404c2c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00408a08
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, 0x4a78a4
call fcn.00408a08
mov eax, dword [ebp - 0x20]
pop edx
call fcn.00404d10
dec eax
jne 0x4a7849
xor eax, eax
push ebp
push 0x4a7838
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404bcc
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a7849
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4a77a0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7891
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404730
lea eax, [ebp - 0x14]
call fcn.0040470c
lea eax, [ebp - 0xc]
call fcn.0040470c
lea eax, [ebp - 4]
call fcn.0040470c
ret

Function at 0x4aa778
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff800
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [0x4b62ec]
call fcn.00404bcc
push eax
push 0x800
lea eax, [ebp - 0x800]
push eax
mov eax, edi
call fcn.00404bcc
push eax
mov eax, esi
call fcn.00404bcc
push eax
mov eax, ebx
call fcn.00404bcc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x800]
mov eax, dword [ebp + 8]
call fcn.004047fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa7d8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa8d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x10000
call fcn.004027cc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4aa8b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041b7c8
xor eax, eax
push ebp
push 0x4aa898
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4b62ec]
call fcn.00404bcc
push eax
push 0x10000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, ebx
call fcn.00404bcc
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x4aa882
mov ebx, dword [ebp - 8]
jmp 0x4aa87d
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404904
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.00409a14
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4aa85e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa89f
mov eax, dword [ebp - 4]
call fcn.0041b884
ret
Function at 0x4abf18
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ac0b7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov ecx, dword [0x4b38a8]
mov ecx, dword [ecx]
mov edx, dword [0x4b3794]
mov edx, dword [edx]
lea eax, [ebp - 0x5c]
call fcn.00404a18
mov eax, dword [ebp - 0x5c]
call fcn.00409530
test al, al
jne 0x4abf84
push 0x30
mov ecx, 0x4ac0c8
mov edx, 0x4ac0d4
mov eax, dword [0x4b3800]
mov eax, dword [eax]
call fcn.00477e10
jmp 0x4ac09c
mov eax, dword [0x4b38a8]
mov eax, dword [eax]
mov edx, 0x4ac154
call fcn.00404b18
jne 0x4ac00b
call fcn.00402b60
mov eax, 0x1388
call fcn.004031ac
add eax, 0x1194
lea edx, [ebp - 0x60]
call fcn.00409028
mov edx, dword [ebp - 0x60]
mov eax, dword [0x4b38a8]
mov ecx, 0x4ac168
call fcn.00404a18
push 0
mov ecx, dword [0x4b38a8]
mov ecx, dword [ecx]
mov edx, dword [0x4b3794]
mov edx, dword [edx]
lea eax, [ebp - 0x64]
call fcn.00404a18
mov eax, dword [ebp - 0x64]
call fcn.00404bcc
push eax
mov ecx, 0x4ac154
mov edx, dword [0x4b3794]
mov edx, dword [edx]
lea eax, [ebp - 0x68]
call fcn.00404a18
mov eax, dword [ebp - 0x68]
call fcn.00404bcc
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040318c
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x4b3794]
mov eax, dword [eax]
call fcn.00404bcc
push eax
push 0
push 0x30
push 0
push 0
push 0
push 0
mov ecx, dword [0x4b38a8]
mov ecx, dword [ecx]
mov edx, dword [0x4b3794]
mov edx, dword [edx]
lea eax, [ebp - 0x6c]
call fcn.00404a18
mov eax, dword [ebp - 0x6c]
call fcn.00404bcc
push eax
call sub.kernel32.dll_CreateProcessA
mov eax, esi
call fcn.004746e0
mov eax, dword [ebp - 0x58]
mov dword [0x4b62f0], eax
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4aa624
xor edx, edx
xor eax, eax
call fcn.004046c0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac0be
lea eax, [ebp - 0x6c]
mov edx, 5
call fcn.00404730
ret
Function at 0x4ac1fc
Capabilities:
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4ac2f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
mov eax, dword [0x4b3800]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindow
mov edi, eax
test edi, edi
je 0x4ac2d4
push 0xff
lea eax, [ebp - 0x105]
push eax
push edi
call sub.user32.dll_GetWindowTextA
mov eax, dword [0x4b394c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4ac2c2
inc ebx
xor esi, esi
lea ecx, [ebp - 0x10c]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0041bb40
mov eax, dword [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x105]
mov ecx, pe_nt_image_headers32
call fcn.0040497c
mov edx, dword [ebp - 0x110]
pop eax
call fcn.00404d10
dec eax
jne 0x4ac2be
push 0
mov eax, dword [0x4b62f0]
push eax
call sub.kernel32.dll_TerminateProcess
mov byte [ebp - 5], 1
jmp 0x4ac2d4
inc esi
dec ebx
jne 0x4ac26f
push 2
push edi
call sub.user32.dll_GetWindow
mov edi, eax
test edi, edi
jne 0x4ac247
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac2f9
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00404730
ret

Function at 0x4ac304
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x238], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4ac44b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, 1
mov edx, eax
mov eax, 8
call fcn.004a83a8
mov dword [ebp - 8], eax
mov dword [ebp - 0x22c], 0x224
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 8]
call fcn.004a83c8
cmp eax, 1
sbb eax, eax
inc eax
xor ebx, ebx
jmp 0x4ac41c
lea eax, [ebx + 1]
push eax
lea eax, [esi + 0x37c]
mov ecx, 1
mov edx, dword [0x4a9d20]
call fcn.00405b5c
add esp, 4
imul eax, ebx, 0x89
mov edx, dword [esi + 0x37c]
push esi
lea edi, [edx + eax*4]
lea esi, [ebp - 0x22c]
mov ecx, 0x89
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.0040497c
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.004098c8
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
mov eax, dword [0x4b38dc]
mov eax, dword [eax]
call fcn.0041bd20
cmp dword [ebp - 0x230], 0
je 0x4ac407
push 0
mov eax, dword [0x4b62f0]
push eax
call sub.kernel32.dll_TerminateProcess
mov byte [ebp - 1], 1
jmp 0x4ac424
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 8]
call fcn.004a83e8
cmp eax, 1
sbb eax, eax
inc eax
inc ebx
test al, al
jne 0x4ac371
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac452
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.00404730
ret