joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412dcc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x412e95
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x412e03
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00406d98
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00406e6c
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.00406e14
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00406e14
cmp byte [ebp - 5], 0x4d
jne 0x412e72
cmp byte [ebp - 6], 0x5a
jne 0x412e72
xor ecx, ecx
mov edx, pe_nt_image_headers32
mov eax, esi
call fcn.00406e6c
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.00406e14
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00406e14
cmp byte [ebp - 5], 0x50
jne 0x412e72
cmp byte [ebp - 6], 0x45
jne 0x412e72
mov bl, 1
cmp dword [ebp - 4], 0
je 0x412e7f
mov eax, esi
call fcn.00406e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412e9c
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x412ea4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x412fdd
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
xor eax, eax
mov dword [ebp - 8], eax
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00406d98
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
cmp ebx, 0x3200000
jle 0x412f09
mov dword [ebp - 8], 0x4d2
jmp 0x412fbf
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.00412dcc
test al, al
je 0x412f44
xor ecx, ecx
mov edx, 0xfc
mov eax, dword [ebp - 0xc]
call fcn.00406e6c
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.00406e14
cmp dword [ebp - 0x10], 0
jle 0x412f44
mov ebx, dword [ebp - 0x10]
sub ebx, esi
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00406e6c
cmp dword [ebp - 0x10], 0
jle 0x412f6d
sub ebx, 0x200
xor ecx, ecx
mov edx, 0x200
mov eax, dword [ebp - 0xc]
call fcn.00406e6c
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
mov eax, dword [ebp - 0xc]
call fcn.00406e14
mov ecx, eax
mov edx, ecx
test edx, edx
jns 0x412f8b
add edx, 3
sar edx, 2
test edx, edx
jle 0x412fab
lea eax, [ebp - 0x1010]
sub ebx, 4
cmp ebx, 4
jle 0x412fa5
mov esi, dword [eax]
add dword [ebp - 8], esi
add eax, 4
dec edx
jne 0x412f98
cmp ebx, 4
jle 0x412fb7
add dword [ebp - 8], 0x4d2
cmp ecx, 0x1000
jge 0x412f6d
mov eax, dword [ebp - 0xc]
call fcn.00406e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412fe4
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x412ff0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x413074
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040468c
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x413056
mov ebx, dword [ebp - 8]
imul ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41307b
lea eax, [ebp - 0x18]
call fcn.00404188
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x413cf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x413dbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404188
mov eax, dword [ebp - 4]
call fcn.00406ee8
test al, al
je 0x413da5
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00406d98
mov esi, eax
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 8], eax
test ebx, ebx
jne 0x413d4f
mov ebx, dword [ebp - 8]
sub ebx, edi
jmp 0x413d5d
mov edx, dword [ebp - 8]
sub edx, edi
mov eax, ebx
call fcn.0040b498
mov ebx, eax
test edi, edi
jl 0x413d9e
cmp edi, dword [ebp - 8]
jge 0x413d9e
test ebx, ebx
jle 0x413d9e
xor ecx, ecx
mov edx, edi
mov eax, esi
call fcn.00406e6c
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.004047b8
mov eax, dword [ebp + 8]
call fcn.00404684
mov edx, eax
mov ecx, ebx
mov eax, esi
call fcn.00406e14
cmp ebx, eax
je 0x413d9e
mov eax, dword [ebp + 8]
call fcn.00404188
mov eax, esi
call fcn.00406e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413dc2
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x414140
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41422e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xbff00000
cmp byte [0x425bb8], 0xff
jne 0x414196
mov byte [0x425bb8], 0
mov edx, 0x414248
mov eax, 0x414264
call fcn.0040b418
test eax, eax
je 0x414196
mov byte [0x425bb8], 1
cmp byte [0x425bb8], 0
sete dl
lea eax, [ebp - 4]
call fcn.004140b0
mov ebx, eax
cmp byte [0x425bb8], 1
jne 0x4141d4
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x425db0]
mov eax, dword [eax]
call eax
test eax, eax
je 0x414218
fild qword [ebp - 0x20]
fstp qword [ebp - 0x10]
wait
jmp 0x414218
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x414218
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x38]
fmul qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414235
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x414708
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41480e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404188
mov edx, dword [ebp - 4]
mov eax, 0x414824
call fcn.00404770
cmp eax, 2
jne 0x414798
lea eax, [ebp - 8]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040468c
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x41477e
cmp eax, dword [esp]
pop edx
pop eax
jne 0x414798
mov eax, dword [ebp - 4]
call fcn.00406ef8
test al, al
je 0x414798
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004041dc
cmp dword [esi], 0
jne 0x4147f3
mov bl, 0x42
inc ebx
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404354
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x414824
call fcn.00404478
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x4147d8
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4147e9
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041451c
cmp bl, 0x5a
je 0x4147f3
cmp dword [esi], 0
je 0x41479f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414815
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041ac
ret
Function at 0x414828
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 0x160]
mov edx, dword [0x4060bc]
call fcn.0040497c
xor eax, eax
push ebp
push 0x414990
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004072a4
cmp dword [ebp - 8], 0
je 0x41488a
lea eax, [ebp - 8]
mov edx, 0x4149ac
call fcn.00404434
lea ecx, [ebp - 0x160]
mov edx, 0x27
mov eax, ebx
call fcn.004070c0
test eax, eax
jne 0x41494e
xor eax, eax
push ebp
push 0x4148ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x4148e2
push 0x80
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404478
mov eax, dword [ebp - 0x164]
call fcn.0040462c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4148f6
xor eax, eax
push ebp
push 0x414931
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.00404478
mov eax, dword [ebp - 0x168]
call fcn.00407150
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41493b
lea eax, [ebp - 0x160]
call fcn.00407110
test eax, eax
je 0x4148a4
lea eax, [ebp - 0x160]
call fcn.00407134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414997
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004041ac
lea eax, [ebp - 0x160]
mov edx, dword [0x4060bc]
call fcn.00404a40
lea eax, [ebp - 8]
call fcn.00404188
ret
Function at 0x414bc8
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x414bd0
push ecx
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x414d7c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov al, 1
call fcn.0040cda4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x414d90
call fcn.00404478
lea eax, [ebp - 0x18]
mov edx, 0x414da8
call fcn.00404220
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00413dcc
lea eax, [ebp - 0x1c]
mov edx, 0x414db8
call fcn.00404220
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404220
lea eax, [ebp - 0x10]
call fcn.0040cc20
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040cc30
cmp byte [ebp - 1], 0
je 0x414c9e
lea eax, [ebp - 0x1c]
call fcn.00404188
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040736c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404220
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0040736c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00404220
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040736c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404220
lea eax, [ebp - 0x18]
mov edx, 0x414dc4
call fcn.00404220
push dword [ebp - 0x18]
push 0x414dd8
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x414de8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push dword [ebp - 0x18]
push 0x414df4
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x414e08
push 0x414de8
lea eax, [ebp - 0x18]
mov edx, 7
call fcn.004044ec
test bl, bl
je 0x414d1d
push dword [ebp - 0x18]
push 0x414e1c
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 0x414de8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push dword [ebp - 0x18]
push 0x414dd8
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push 0x414de8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00413dcc
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414d83
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.004041ac
ret
Function at 0x414e20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x414fdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x414fae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040468c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00406b48
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x414ff4
call fcn.00404478
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
add al, 0xbf
sub al, 0x1a
jae 0x414fa4
mov eax, dword [ebp - 0x10]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x414fa4
push 0x415000
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
call fcn.00404354
push dword [ebp - 0x1c]
push 0x415010
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.0040462c
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [0x425d6c]
mov edx, 0x41501c
call fcn.00404848
mov edx, dword [ebp - 0x10]
call fcn.00404848
mov dl, 0x20
call fcn.00402fb0
call fcn.00404d84
call fcn.004030b0
cmp ebx, 0xffffffff
jne 0x414f49
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [0x425d6c]
mov edx, 0x415030
call fcn.00404848
mov edx, dword [ebp - 0x10]
call fcn.00404848
mov dl, 0x20
call fcn.00402fb0
call fcn.00404d84
call fcn.004030b0
cmp ebx, 0xffffffff
je 0x414fa4
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0x2d4808
push ebx
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x414fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414fe2
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004041ac
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x418900
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov edi, edx
mov dword [esp], eax
xor ebp, ebp
test esi, esi
jbe 0x418985
mov ebx, 1
mov edx, 0x10000
mov eax, esi
call fcn.0040b498
mov dword [esp + 4], eax
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, edi
call fcn.00404684
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x418952
or ebp, 0xffffffff
add ebx, dword [esp + 8]
sub esi, dword [esp + 8]
xor eax, eax
call fcn.0040be4c
cmp ebp, 0xffffffff
je 0x418971
mov eax, dword [edi]
call fcn.0040442c
cmp ebx, eax
jle 0x418919
mov eax, dword [edi]
call fcn.0040442c
cmp ebx, eax
jle 0x418985
mov eax, dword [edi]
call fcn.0040442c
mov ebp, eax
mov eax, ebp
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4196cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4198ad
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x425c3c], 0
jne 0x41987b
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x38
call fcn.00402d2c
mov bl, 0x43
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404354
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov ecx, 0x4198c4
call fcn.00404478
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4197e4
lea eax, [ebp - 0x10]
mov ecx, 0x4198d0
mov edx, dword [ebp - 0x18]
call fcn.00404478
mov eax, dword [ebp - 0x10]
call fcn.00406ef8
test al, al
je 0x419798
push dword [ebp - 0x10]
push 0x4198e0
push 0
push 0x2710
push 0
push 0x186a0
lea eax, [ebp - 0x58]
call fcn.0040b4b8
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x10]
call fcn.00406f1c
lea eax, [ebp - 0x14]
mov ecx, 0x4198f0
mov edx, dword [ebp - 0x10]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, 0x419904
mov eax, dword [ebp - 0x14]
call fcn.00413dcc
mov eax, dword [ebp - 0x14]
call fcn.00406ee8
test al, al
je 0x4197da
mov eax, dword [ebp - 0x10]
call fcn.00414140
fstp qword [esi]
wait
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004149b0
inc ebx
add esi, 8
cmp bl, 0x46
jne 0x41971d
lea edx, [ebp - 0x60]
mov al, 1
call fcn.0040cda4
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00406b48
mov eax, dword [ebp - 0x5c]
mov dl, byte [eax]
mov byte [ebp - 9], dl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov bl, 0x43
lea ecx, [ebp - 0x50]
fld qword [ecx]
fcomp qword [ebp - 8]
fnstsw ax
sahf
jbe 0x419833
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov byte [ebp - 9], bl
inc ebx
add ecx, 8
cmp bl, 0x46
jne 0x41981b
cmp dl, byte [ebp - 9]
je 0x41987b
lea eax, [ebp - 0x64]
mov dl, byte [ebp - 9]
call fcn.00404354
mov edx, dword [ebp - 0x64]
mov eax, 0x425c3c
mov ecx, 0x419910
call fcn.00404478
mov eax, dword [0x425c3c]
call fcn.00406ef8
test al, al
je 0x41987b
mov eax, 0x425c3c
mov edx, 0x4198e0
call fcn.00404434
cmp dword [0x425c3c], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4198b4
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.004041ac
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004041ac
ret
Function at 0x41ddf4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41de75
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.0040cb44
test al, al
je 0x41de30
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041d4b0
jmp 0x41de3b
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041d208
test eax, eax
je 0x41de5f
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41de7c
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x4217b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x421857
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x425e00]
cmp dword [eax], 0
jg 0x42183c
lea eax, [ebp - 0xc]
call fcn.0041a880
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x42186c
call fcn.00404478
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00407270
push dword [ebp - 0x10]
lea edx, [ebp - 0x18]
mov eax, dword [0x425da4]
mov eax, dword [eax]
call fcn.00413558
push dword [ebp - 0x18]
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004044ec
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
push 0
call sub.user32.dll_PostQuitMessage
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42185e
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004041ac
ret
Function at 0x422448
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4225e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0040cc20
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x412b74]
call fcn.004131c4
call fcn.00413970
mov dword [ebp - 0xc], eax
mov ebx, 0x46
mov eax, dword [ebp - 0xc]
add eax, 0xffffff4f
sub eax, 2
jae 0x42249b
add ebx, 0x34
mov esi, 0x14
mov edi, 0x154
mov dword [ebp - 8], 0x12
push ebx
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x426660]
push eax
push 0
mov edx, 0x4225f0
mov eax, 0x4225f4
mov ecx, 0x50000000
call fcn.00405d4c
mov edx, dword [0x425e7c]
mov dword [edx], eax
mov ebx, 0x46
mov esi, 0x26
mov edi, 0x188
mov dword [ebp - 8], 0xd
push 0x50000000
push ebx
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x426660]
push eax
push 0
mov edx, 0x4225fc
xor ecx, ecx
xor eax, eax
call fcn.00405cf4
mov edx, dword [0x425dbc]
mov dword [edx], eax
mov ebx, 0x1a0
mov eax, dword [ebp - 0xc]
add eax, 0xffffff4f
sub eax, 2
jae 0x42253a
mov ebx, 0x46
mov esi, 0x14
mov edi, 0x2e
mov dword [ebp - 8], 0xd
push 0x40000000
push ebx
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x426660]
push eax
push 0
mov edx, 0x4225fc
xor ecx, ecx
xor eax, eax
call fcn.00405cf4
mov edx, dword [0x425d60]
mov dword [edx], eax
push 0
push 0x3e8
push 1
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetTimer
mov edx, dword [0x425d8c]
mov dword [edx], eax
push 0x422610
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontA
push 0
push eax
push 0x30
mov eax, dword [0x425e7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4225e8
lea eax, [ebp - 0x10]
call fcn.00404188
ret