joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e3d6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
push 8
pop edi
mov dword [esi + 0x3bcd4], ecx
lea ebx, [esi + 0x20c]
mov dword [esi + 0x3bcd0], ecx
mov edx, ecx
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1e8], ecx
mov dword [esi + 0x1bc], ecx
mov dword [esi + 0x1c8], 0x20
mov dword [esi + 0x1f0], 1
mov dword [esi + 0x1e4], 4
mov dword [esi + 0x1f4], ecx
mov dword [ebp - 8], edi
mov ecx, edx
mov dword [ebp - 4], edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x40e438
mov dword [ebx], ecx
inc edx
add ebx, 4
push 8
pop edi
cmp edx, 0x100
jb 0x40e433
xor ebx, ebx
lea eax, [esi + 0x19c]
lea ecx, [ebp - 0x38]
mov dword [esi + 0x118], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x198], eax
call fcn.0040c34d
mov edx, ecx
mov ecx, esi
call fcn.0040c44d
push 2
pop edi
mov word [esi + 0x306a0], 0x100
mov ebx, edi
mov ecx, ebx
xor edx, edx
sar ecx, 1
inc edx
dec ecx
shl edx, cl
mov dword [ebp - 4], edx
test edx, edx
je 0x40e509
push edx
lea eax, [esi + 0x306a0]
add eax, edi
push ebx
push eax
call fcn.00416a90
add esp, 0xc
add edi, dword [ebp - 4]
inc ebx
cmp ebx, 0x16
jl 0x40e4e2
mov edi, dword [ebp - 8]
push 4
mov ecx, edi
xor edx, edx
pop ebx
imul ecx, ecx
mov eax, 0x10000
add edx, edx
jmp 0x40e528
shr ecx, 1
inc edx
cmp ecx, eax
jae 0x40e525
sub ebx, 1
jne 0x40e519
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [esi + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x40e512
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd14], ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4100dc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 4]
call fcn.00409302
mov eax, dword [ebp - 4]
xor esi, esi
inc esi
mov ecx, 0x104
mov edx, dword [eax - 8]
sub esi, dword [eax - 4]
sub edx, ecx
or esi, edx
jge 0x410110
push ecx
lea ecx, [ebp - 4]
call fcn.00409572
mov eax, dword [ebp - 4]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00409329
test esi, esi
jne 0x410132
mov edi, 0x80004005
jmp 0x4101d6
push ebx
push ecx
push ecx
lea ecx, [ebp - 4]
call fcn.0041075d
push 0
push ecx
lea ecx, [ebp - 4]
call fcn.0041072e
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x410157
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 0xc]
jmp 0x410159
mov eax, ebx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.0041069a
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.0040f033
test al, al
jne 0x410196
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x410196
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x410196
cmp edi, 0xb7
jne 0x4101b4
cmp ebx, 0xffffffff
je 0x4101cb
lea eax, [ebx + 1]
push eax
push ecx
lea ecx, [ebp - 4]
call fcn.0041072e
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00408a15
jmp 0x41014a
test edi, edi
jle 0x4101c1
movzx edi, di
or edi, 0x80070000
lea ecx, [esi - 0x10]
call fcn.00408a15
jmp 0x4101d5
lea ecx, [esi - 0x10]
call fcn.00408a15
xor edi, edi
pop ebx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00408a15
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4101e7
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x250
xor ebx, ebx
lea eax, [ebp - 0x258]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x264], esi
call fcn.00416a90
add esp, 0xc
lea ecx, [ebp - 0x25c]
push esi
call fcn.004092a3
push 0x5c
lea ecx, [ebp - 0x25c]
call fcn.0040b836
mov edi, 0x407888
push edi
call fcn.00418934
pop ecx
push eax
push edi
lea ecx, [ebp - 0x25c]
call fcn.0040b863
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410283
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x410318
call fcn.00408cfb
mov ebx, eax
jmp 0x410318
test byte [ebp - 0x258], 0x10
jne 0x4102ed
push esi
lea ecx, [ebp - 0x260]
call fcn.004092a3
push 0x5c
lea ecx, [ebp - 0x260]
call fcn.0040b836
lea eax, [ebp - 0x22c]
push eax
call fcn.00418934
pop ecx
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b863
mov esi, dword [ebp - 0x260]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4102df
mov ecx, esi
call fcn.0040f0f2
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00408a15
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410283
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x410311
call fcn.00408cfb
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.00408a15
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004148a7
leave
ret
Function at 0x410337
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x264], edi
test edi, edi
je 0x41057b
movzx eax, word [edi]
test ax, ax
je 0x41057b
push 0x2e
xor cl, cl
mov dword [ebp - 0x25c], 0x3a
mov esi, edi
mov edx, eax
pop ebx
mov al, cl
cmp dx, 0x5c
je 0x4103ac
cmp dx, 0x2f
je 0x4103ac
cmp dx, word [ebp - 0x25c]
je 0x4103ac
cmp dx, bx
je 0x41039c
mov cl, 1
jmp 0x4103ac
mov cl, al
cmp esi, edi
jbe 0x4103ac
cmp word [esi - 2], bx
je 0x41057b
push 0x3a
pop eax
cmp dx, ax
sete al
add esi, 2
dec al
and cl, al
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x41037c
test cl, cl
je 0x41057b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4103f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4103ec
xor eax, eax
jmp 0x410580
call fcn.00408cfb
jmp 0x410580
and eax, 0x410
cmp eax, 0x10
jne 0x41057b
mov ecx, edi
call fcn.004101e7
push 0x250
mov ebx, eax
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00416a90
add esp, 0xc
lea ecx, [ebp - 0x25c]
push edi
call fcn.004092a3
mov esi, 0x40788c
push esi
call fcn.00418934
pop ecx
push eax
push esi
lea ecx, [ebp - 0x25c]
call fcn.0040b863
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410483
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x410569
call fcn.00408cfb
test ebx, ebx
jns 0x410567
jmp 0x410569
test byte [ebp - 0x258], 0x10
je 0x410530
push ecx
push 2
mov edx, 0x407800
lea ecx, [ebp - 0x22c]
call fcn.00411004
pop ecx
pop ecx
test eax, eax
je 0x410530
push ecx
push 3
mov edx, 0x407668
lea ecx, [ebp - 0x22c]
call fcn.00411004
pop ecx
pop ecx
test eax, eax
je 0x410530
push edi
lea ecx, [ebp - 0x260]
call fcn.004092a3
mov edi, 0x406e50
push edi
call fcn.00418934
pop ecx
push eax
push edi
lea ecx, [ebp - 0x260]
call fcn.0040b863
lea eax, [ebp - 0x22c]
push eax
call fcn.00418934
pop ecx
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b863
mov edi, dword [ebp - 0x260]
mov ecx, edi
call fcn.00410337
test ebx, ebx
js 0x410522
test eax, eax
jns 0x410522
mov ebx, eax
lea ecx, [edi - 0x10]
call fcn.00408a15
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410483
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x410569
mov ecx, edi
call fcn.0040f0f2
test ebx, ebx
js 0x410569
test eax, eax
jns 0x410569
mov ebx, eax
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.00408a15
mov eax, ebx
jmp 0x410580
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004148a7
leave
ret
Function at 0x410ab4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp edi, 0x80000003
jne 0x410ae1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004148a7
leave
ret
push esi
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.00416a90
mov esi, dword [0x42a8fc]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.00411216
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push 0x406f7c
push 0
push esi
push dword [ebp - 0x80c]
push edi
push 0x407958
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x80c]
add esp, 0x2c
lea ecx, [ecx - 0x10]
call fcn.00408a15
lea ecx, [ebp - 0x808]
call fcn.00413959
push 0x250012
push 0x4079a4
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
sub eax, 3
je 0x410b75
sub eax, 1
jne 0x410b6d
int3
xor eax, eax
inc eax
jmp 0x410ad4
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4112e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, ebx
push edi
mov edi, edx
call fcn.0040f280
mov ecx, dword [esi]
call fcn.0040f033
test al, al
jne 0x411319
mov eax, 0x80070003
jmp 0x4113cb
push edi
mov edx, esi
lea ecx, [ebp - 0x260]
call fcn.004113da
mov dword [esp], 0x250
lea eax, [ebp - 0x258]
xor edi, edi
push edi
push eax
call fcn.00416a90
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411363
call fcn.00408cfb
mov edi, eax
jmp 0x4113bb
lea eax, [ebp - 0x258]
push eax
call fcn.004112dd
pop ecx
test al, al
je 0x4113a2
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004092a3
lea eax, [ebp - 0x25c]
mov ecx, ebx
push eax
call fcn.0040f2a8
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.00408a15
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411363
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.00408a15
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004148a7
leave
ret
Function at 0x4119f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [edi + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x411a2c
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x411a83
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004272fc
cmp dword [ebp - 4], 0
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
je 0x411a7e
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x411a83
movzx esi, si
or esi, 0x80070000
jmp 0x411a83
xor eax, eax
mov word [ecx], ax
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x411d9e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
je 0x411db6
xor eax, eax
jmp 0x411e42
lea ecx, [esi + 0x30]
call fcn.00413b7a
test eax, eax
jne 0x411e3f
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.00413b02
pop ecx
test eax, eax
jne 0x411e3f
push ecx
lea ecx, [esi + 0x18]
call fcn.00413b02
pop ecx
test eax, eax
jne 0x411e3f
push ecx
lea ecx, [esi + 0x1c]
call fcn.00413b02
pop ecx
test eax, eax
jne 0x411e3f
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.00413b39
pop ecx
test eax, eax
jne 0x411e3f
push dword [ebp + 0xc]
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.00413b39
pop ecx
test eax, eax
jne 0x411e3f
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.004277b7
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x411e47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [esi], 1
jmp 0x411daf

Function at 0x413959
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4139c8
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4139a4
push ebx
push edi
push eax
call fcn.00415600
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4139bf
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret
Function at 0x4143ce
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x124], edi
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jl 0x4143f1
push 0x40
pop eax
sub eax, esi
lea ebx, [ebp + esi*4 - 0x10c]
mov dword [ebp - 0x108], eax
mov edi, eax
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x414433
mov edi, dword [ebp - 0x124]
mov eax, dword [edi + 0x50]
mov ebx, eax
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x6c]
xor edi, edi
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], eax
mov ecx, edx
mov esi, ebx
xor ecx, ebx
ror esi, 0xd
and ecx, dword [ebp - 0x114]
and edx, ebx
xor ecx, edx
mov eax, ebx
rol eax, 0xa
xor esi, eax
mov eax, ebx
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 0x10c]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x11c]
xor edx, eax
mov eax, dword [ebp - 0x118]
and eax, dword [ebp - 0x10c]
xor ecx, eax
mov eax, dword [ebp - 0x11c]
add edx, ecx
mov ecx, dword [ebp - 0x120]
add edx, dword [edi + 0x406d10]
add edx, dword [ebp + edi - 0x104]
add edi, 4
add edx, dword [ebp - 0x108]
mov dword [ebp - 0x108], eax
add ecx, edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], ebx
lea ebx, [edx + esi]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], eax
cmp edi, 0x100
jl 0x4144bf
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
add eax, ebx
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x118]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x114]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x11c]
add dword [edi + 0x68], ecx
mov ecx, dword [ebp - 0x108]
add dword [edi + 0x6c], ecx
mov edx, dword [ebp - 0x120]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004148a7
leave
ret
Function at 0x4145e1
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.004145e1
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
pop ebp
ret

Function at 0x419542
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x419581
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x419581
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x419581
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x419581
cmp dword [ecx + 0x74], 0xe
jbe 0x419581
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d6e8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41d733
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041d905
test al, al
jne 0x41d72d
sub edx, 2
cmp edx, edi
jne 0x41d713
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41d755
lea eax, [edi + 2]
cmp edx, eax
je 0x41d755
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d634
add esp, 0x10
jmp 0x41d84f
push esi
lea ecx, [ebp - 0x255]
call fcn.0041d905
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d798
push dword [ebp - 0x25c]
jmp 0x41d745
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41d7d5
cmp word [ebp - 0x226], 0
je 0x41d7f6
cmp word [ebp - 0x226], ax
jne 0x41d7d5
cmp word [ebp - 0x224], 0
je 0x41d7f6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d634
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41d842
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41d7af
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41d82a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41d84f
push 0x41d464
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00421120
add esp, 0x10
jmp 0x41d81f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004148a7
leave
ret
Function at 0x41e678
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402b38
push 0x402b30
push 0x401bcc
push 0x1f
call fcn.0041e573
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e6ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c2c4]
call esi
jmp 0x41e6b2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41e6f6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402b48
push 0x402b40
push 0x401bf0
push 0x21
call fcn.0041e573
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e72d
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c2c4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41e735
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402b50
push 0x402b48
push 0x401c04
push 0x22
call fcn.0041e573
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e76f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c2c4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x405000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x405175
cmp dword [esp + 0x54], 0x40
jne 0x405175
cmp word [esp + 0x10], 0x5a4d
jne 0x405175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x405175
lea eax, [esp + 0x54]
push 0
push eax
push pe_nt_image_headers32
push 0x40b960
push esi
call ebx
test eax, eax
je 0x405175
cmp dword [esp + 0x54], 0xf8
jne 0x405175
cmp dword [0x40b960], 0x4550
jne 0x405175
mov eax, dword [0x40b976]
test ah, 0x20
jne 0x405175
mov edx, dword [0x40ba80]
xor eax, eax
mov ax, word [0x40b966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x40ba58], eax
je 0x405175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x40ba6c], eax
xor eax, eax
mov ax, word [0x40b966]
mov edx, dword [0x40ba58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x405175
cmp dword [esp + 0x54], edi
jne 0x405175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x40ba80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x40b9b4]
cmp edx, eax
ja 0x405175
mov edi, dword [0x40ba58]
mov ecx, dword [0x40b988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x405175
xor eax, eax
push 2
mov ax, word [0x40b966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x405175
cmp dword [edi - 0x20], ebx
ja 0x405175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret