joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ec2f4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
mov esi, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00404258
xor eax, eax
push ebp
push 0x4ec4f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403e24
mov al, byte [0x4ec500]
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x4ec50c
mov edx, 0x4ec518
mov eax, dword [ebp - 8]
call fcn.0040cf64
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 8]
call fcn.00403ebc
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 8]
call fcn.00404268
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ec4ca
test byte [ebp - 0x150], 0x10
jne 0x4ec4c4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_FileTimeToDosDateTime
test eax, eax
je 0x4ec4c4
cmp dword [ebp - 4], 0xffffffff
setne al
test al, al
je 0x4ec4c4
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 8]
call fcn.004097e8
push dword [ebp - 0x158]
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404054
push dword [ebp - 0x15c]
push 0x4ec524
mov eax, esi
mov edx, 3
call fcn.00404164
jmp 0x4ec4a1
mov eax, dword [0x535040]
mov eax, dword [eax]
call fcn.004505b4
test byte [ebp - 0x150], 0x10
jne 0x4ec4a1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_FileTimeToDosDateTime
test eax, eax
je 0x4ec4a1
cmp dword [ebp - 4], 0xffffffff
setne al
test al, al
je 0x4ec4c4
push dword [esi]
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 8]
call fcn.004097e8
push dword [ebp - 0x160]
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404054
push dword [ebp - 0x164]
push 0x4ec524
mov eax, esi
mov edx, 4
call fcn.00404164
lea eax, [ebp - 0x150]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4ec419
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x12
jne 0x4ec419
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec4f7
lea eax, [ebp - 0x164]
mov edx, 5
call fcn.00403e48
lea eax, [ebp - 8]
call fcn.00403e24
ret
Function at 0x4fc0c8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4fc0d1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4fc30d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x458670]
call fcn.00458770
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fc2eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
mov edx, 0x4fc324
call fcn.004041b4
je 0x4fc18a
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x4fc334
call fcn.004041b4
je 0x4fc18a
lea ecx, [ebp - 0x18]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x4fc344
call fcn.004041b4
je 0x4fc18a
lea ecx, [ebp - 0x1c]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, 0x4fc354
call fcn.004041b4
jne 0x4fc199
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.00458810
jmp 0x4fc1a6
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00458810
mov eax, esi
call fcn.0046201c
test al, al
je 0x4fc20a
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, 0x4fc368
call fcn.00404390
test eax, eax
jle 0x4fc1ee
lea eax, [ebp - 8]
mov edx, 0x4fc374
call fcn.00403ebc
lea eax, [ebp - 0xc]
mov edx, 0x4fc3b4
call fcn.00403ebc
jmp 0x4fc261
lea eax, [ebp - 8]
mov edx, 0x4fc3f8
call fcn.00403ebc
lea eax, [ebp - 0xc]
mov edx, 0x4fc430
call fcn.00403ebc
jmp 0x4fc261
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, 0x4fc368
call fcn.00404390
test eax, eax
jle 0x4fc247
lea eax, [ebp - 8]
mov edx, 0x4fc3b4
call fcn.00403ebc
lea eax, [ebp - 0xc]
mov edx, 0x4fc374
call fcn.00403ebc
jmp 0x4fc261
lea eax, [ebp - 8]
mov edx, 0x4fc430
call fcn.00403ebc
lea eax, [ebp - 0xc]
mov edx, 0x4fc3f8
call fcn.00403ebc
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00458954
test al, al
je 0x4fc2d5
test bl, bl
jne 0x4fc293
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 8]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [ebp - 4]
call fcn.00458f68
jmp 0x4fc29e
mov edx, dword [esi + 0x24]
mov eax, dword [ebp - 4]
call fcn.00458cd8
mov eax, dword [ebp - 4]
call fcn.004587e0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00458954
test al, al
je 0x4fc2ca
mov edx, dword [esi + 0x24]
mov eax, dword [ebp - 4]
call fcn.00458cd8
mov eax, dword [ebp - 4]
call fcn.004587e0
test bl, bl
je 0x4fc2d5
mov eax, esi
call fcn.00461fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc2f2
mov eax, dword [ebp - 4]
call fcn.004030bc
ret
Function at 0x5045d4
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404258
xor eax, eax
push ebp
push 0x504797
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x458670]
call fcn.00458770
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x50476d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00458810
xor ecx, ecx
mov edx, 0x5047ac
mov eax, dword [ebp - 8]
call fcn.00458954
test al, al
je 0x504714
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x5047e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
cmp dword [ebp - 0xc], 7
jne 0x50469b
mov edx, dword [ebp - 0x10]
dec edx
lea eax, [ebp - 0x14]
call fcn.004043d8
cmp dword [ebp - 0x10], 1
jbe 0x50469b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x5047e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.004090ac
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004090ac
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.0040c874
test eax, eax
jne 0x5046e4
push dword [ebp - 0x14]
push 0x504804
push dword [ebp - 4]
push 0x504814
push 0x504814
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404164
mov eax, dword [ebp - 0x14]
call fcn.004040a4
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404268
push eax
push 7
push 0
push 0x5047e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
call fcn.004587e0
mov eax, dword [ebp - 8]
call fcn.004587e0
xor ecx, ecx
mov edx, 0x504820
mov eax, dword [ebp - 8]
call fcn.00458954
test al, al
je 0x504757
push 0x50485c
push dword [ebp - 4]
push 0x50487c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404164
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00458f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504774
mov eax, dword [ebp - 8]
call fcn.004030bc
ret

Function at 0x509ffc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404054
add esp, 0x10c
pop ebx
ret
Function at 0x50c3f0
Capabilities:
Terminate process

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.00404258
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x50c565
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00468214
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00468234
jmp 0x50c52a
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404054
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004098b0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408f68
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408f68
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004041b4
je 0x50c50a
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404054
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408f68
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408f68
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004041b4
jne 0x50c521
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
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00468254
test eax, eax
jne 0x50c46b
test esi, esi
jne 0x50c539
or esi, 0xffffffff
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c56c
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00403e48
lea eax, [ebp - 4]
call fcn.00403e24
ret

Function at 0x50c578
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x800
call fcn.00404054
add esp, 0x800
pop ebx
ret

Function at 0x50c688
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x800
call fcn.00404054
add esp, 0x800
pop ebx
ret
Function at 0x408f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408f9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408f9b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x408f88
cmp esi, edx
jae 0x408f9b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x408f76
cmp esi, edx
jae 0x408f9b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x40a470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0
mov ecx, dword [esi + 0x528]
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, dword [esi + 0x528]
push str._installing
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esi + 0x55c]
push str.installing_bg.png
call fcn.0044c840
mov ecx, dword [esi + 0x560]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x564]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x568]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x56c]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x570]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x574]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
push 0xc
call fcn.004804da
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 4], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], vtable.MemberFuncRunable_class_LDRemoteModel_.0
mov dword [esi + 4], 0x4d5798
mov dword [esi + 8], 0x41b070
cmp dword [0x4d582c], 0
jne 0x40a580
push 0
push 0
push 0
push 0
mov byte [0x4d5834], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0x4d5828
push 0x426ae0
push 0
push 0
mov dword [0x4d5830], eax
mov dword [0x4d5828], esi
call fcn.0048d8f9
add esp, 0x18
mov dword [0x4d582c], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x4d4e68
push 0
call fcn.00481792
mov edi, eax
mov esi, 1
test edi, edi
je 0x40c887
mov ebx, dword [ebp + 8]
mov eax, ebx
shr eax, 4
mov dword [ebp - 4], eax
inc eax
movzx eax, ax
mov dword [ebp + 8], eax
nop dword [eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x40c7a1
push ebx
mov edx, eax
mov ecx, edi
call fcn.00408f40
add esp, 4
test eax, eax
jne 0x40c7bc
push esi
mov ecx, 0x4d4e68
call fcn.00481792
mov edi, eax
inc esi
test edi, edi
je 0x40c887
mov eax, dword [ebp + 8]
jmp 0x40c780
test edi, edi
je 0x40c887
mov eax, dword [ebp - 4]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40c887
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c887
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c887
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x40c825
cmp esi, ecx
jae 0x40c887
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x40c813
cmp esi, ecx
jae 0x40c887
cmp word [esi], 0
je 0x40c887
mov ebx, dword [ebp - 8]
mov ecx, 1
movzx edi, word [esi]
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x40c850
push edi
mov ecx, ebx
call fcn.0040c950
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0048a866
push eax
call fcn.00408e70
mov eax, dword [ebx]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x40c892
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00408e50
int3
Function at 0x40d6d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a66bb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
call fcn.0040d920
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
lea eax, [ebp - 0x228]
push eax
push 0
mov dword [edi + 4], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x40d738
cmp eax, 0x6f
jne 0x40d76b
push dword [ebp - 0x228]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x230], esi
test esi, esi
je 0x40d76b
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x40d788
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x18]
cmp eax, dword [ecx]
jne 0x40d7ac
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x40d8e7
push 0x20a
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00482730
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4c0980
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0040da90
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x23c], 0
add esp, 0x34
lea edx, [eax + 2]
movups xmmword [ebp - 0x250], xmm0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d831
sub eax, edx
lea ecx, [ebp - 0x250]
sar eax, 1
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004082b0
mov dword [ebp - 4], 0
cmp dword [edi + 4], 0x7ffffff
mov eax, dword [edi]
mov dword [ebp - 0x22c], eax
je 0x40d90a
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x234], 0
call fcn.004804da
movups xmm0, xmmword [ebp - 0x250]
mov edx, dword [ebp - 0x22c]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x234], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmmword [ecx + 8], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [ecx + 0x18], xmm0
inc dword [edi + 4]
mov eax, dword [edx + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [edx + 4], ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x238]
call fcn.0040d9a0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi]
test esi, esi
jne 0x40d790
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [edi + 4], eax
setne al
jmp 0x40d76d
push str.list_too_long
call fcn.00433a3b
int3
Function at 0x40ebe0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x40ed76
test edx, edx
jle 0x40ed76
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x34], 0
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x9c], 0x67452301
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.0040e3f0
cmp byte [ebp - 0x34], 0
jne 0x40ed26
xor ecx, ecx
lea edx, [ebp - 0x8b]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0xc], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0xb], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0xa], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 9], al
add ecx, 4
cmp ecx, 8
jb 0x40ec75
mov edx, dword [ebp - 0x8c]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x9c]
push eax
push 0x4d1f30
call fcn.0040e3f0
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040e3f0
xor ecx, ecx
lea edx, [ebp - 0x9b]
nop word [eax + eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x44], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x43], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x42], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x41], al
add ecx, 4
cmp ecx, 0x10
jb 0x40ecf0
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x34], 1
push esi
push edi
xor esi, esi
lea edi, [ebp - 0x30]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x44]
push eax
push str._02x
push 3
push edi
call fcn.00408260
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x40ed30
pop edi
pop esi
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x10], 0
push eax
mov ecx, ebx
call fcn.0040fc30
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0048049b
mov esp, ebp
pop ebp
ret
Function at 0x40f390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x40f3c2
jl 0x40f3b5
test ecx, ecx
jne 0x40f3c2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40f482
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00411c30
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40f42e
jg 0x40f3ed
test esi, esi
je 0x40f42e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x40f405
mov eax, dword [esp + 0x10]
jl 0x40f3ff
cmp eax, esi
jae 0x40f405
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004821b0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40f44f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40f46b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x40f3d4
jl 0x40f46b
test ecx, ecx
jne 0x40f3d4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x40f4c6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x40f4c6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004821b0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x40f537
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40f4ec
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x40f522
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0048bd10
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x40f537
cmp edi, eax
ja 0x40f500
test edi, edi
je 0x40f537
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0048bd10
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a69b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d1480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.004804da
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00434f07
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00410a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret