joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453f10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b280
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x8a7674]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x453f83
mov esi, dword [ebx + 4]
jmp 0x453f89
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x453f9d
movzx ecx, word [edi]
mov esi, dword [esi + 4]
cmp cx, word [esi + 8]
je 0x453fe4
cmp esi, eax
jne 0x453f90
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x453fcd
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x45401f
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x454041
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0045a637
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x454027
mov dword [ecx], edi
jmp 0x454041
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x454041
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00459460
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x459cd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx]
mov esi, dword [edi + 0xc]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x18]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
nop
cmp ebx, ecx
jne 0x459d18
mov edx, ecx
jmp 0x459d1d
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x459d69
mov dx, word [eax + 8]
cmp dx, word [esi]
je 0x459d2e
mov eax, dword [eax]
jmp 0x459d10
movzx esi, word [esi]
mov edx, eax
mov dword [ebp + 0xc], esi
cmp ebx, ecx
jne 0x459d3e
mov esi, ecx
jmp 0x459d43
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x459d54
mov esi, dword [ebp + 0xc]
cmp si, word [eax + 8]
jne 0x459d54
mov eax, dword [eax]
jmp 0x459d36
cmp edx, eax
je 0x459d69
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8

Function at 0x459d80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x459dd9
cmp dword [ecx], edi
jne 0x459dd1
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x459de1
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x459de1
cmp dword [ecx], edi
jne 0x459de4
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push 1
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push edi
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.004596a0
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0x384
mov eax, dword [0x42827c]
xor eax, esp
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0x390]
push ebx
mov ebx, dword [esp + 0x38c]
push ebp
mov ebp, dword [esp + 0x394]
push esi
push edi
mov dword [esp + 0x10], eax
xor eax, eax
push 0x114
mov esi, ecx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edi, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004130d0
push 0x248
lea edx, [esp + 0x158]
push 0
push edx
call fcn.004130d0
add esp, 0x18
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, 0x42fbc4
mov dword [0x42fbc0], 0
mov eax, esi
sub ecx, esi
jmp 0x4010a0
movzx edx, word [eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4010a0
mov eax, dword [esp + 0x10]
push 0x1000
mov dword [0x42fdd4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
mov dword [0x42fdcc], 0
mov dword [0x42fdd0], edi
mov dword [0x42fdd8], ebp
mov dword [0x42fddc], eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push 0x1000
push 8
mov ebp, eax
call ebx
push eax
call esi
mov edi, eax
mov eax, dword [0x4302e4]
test eax, eax
mov dword [esp + 0x10], edi
je 0x401134
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x800
push ebp
push 0x88a
push eax
call esi
mov eax, dword [0x4302e4]
test eax, eax
je 0x401134
push 0x800
push edi
push 0x88b
push eax
call esi
push 1
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea ecx, [esp + 0x34]
lea eax, [esp + 0x20]
push ecx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [esp + 0x38], 6
jb 0x4011f0
mov edi, edi
movzx ecx, word [eax + str.Global_]
mov word [esp + eax + 0x148], cx
add eax, 2
test cx, cx
jne 0x401180
mov eax, 0x42fbc4
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4011a0
lea edi, [esp + 0x148]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4011c0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4011c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
jmp 0x401207
movzx ecx, word [eax + 0x42fbc4]
mov word [esp + eax + 0x148], cx
add eax, 2
test cx, cx
jne 0x4011f0
test ebp, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x401219
push ebp
push 0
call ebx
push eax
call esi
test edi, edi
je 0x401225
push edi
push 0
call ebx
push eax
call esi
mov ecx, dword [esp + 0x390]
pop edi
pop esi
pop ebp
pop ebx
mov eax, 1
xor ecx, esp
mov dword [0x42fbc0], eax
call fcn.0040d036
add esp, 0x384
ret
Function at 0x401380
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
push eax
push 2
lea edi, [esi + 0x10]
push 1
push edi
mov dword [esp + 0x20], edi
call fcn.0040d455
add esp, 0x10
cmp eax, 2
je 0x40140c
push 0x40
push str.fread
push 0x42fde8
mov dword [0x42fde0], 0xd5
call fcn.0040d045
push 0x104
xor esi, esi
push str....._src_sftlcmn_sftl_arc1.c
push 0x430070
mov word [0x42fe68], si
mov dword [0x42fde4], 2
mov word [0x43006e], si
call fcn.0040d045
mov word [0x430276], si
add esp, 0x18
mov dword [0x430278], 0x66
mov word [edi], si
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor ebp, ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
lea edi, [ebp + 1]
mov ecx, dword [esi]
push ecx
call fcn.0040d082
add esp, 4
mov ebx, eax
push ebp
and eax, 0x7f
cdq
push edi
push edx
push eax
call fcn.00416450
add dword [esi + 0x18], eax
push 0
push 0x80
adc dword [esi + 0x1c], edx
push ebp
push edi
call fcn.00416450
test bl, bl
mov edi, eax
mov ebp, edx
jns 0x401417
cmp ebx, 0xffffffff
jne 0x4014bf
push 0x40
push str.fgetc
push 0x42fde8
mov dword [0x42fde0], 0xd5
call fcn.0040d045
push 0x104
xor esi, esi
push str....._src_sftlcmn_sftl_arc1.c
push 0x430070
mov word [0x42fe68], si
mov dword [0x42fde4], 1
mov word [0x43006e], si
call fcn.0040d045
mov eax, dword [esp + 0x28]
mov word [0x430276], si
mov word [eax], si
add esp, 0x18
mov dword [0x430278], 0x74
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
mov ax, word [edx]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401b70
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
push edi
mov edi, dword [esi + 0x18]
push edi
call fcn.0040db2e
push edi
mov ebx, eax
call fcn.0040db2e
add esp, 8
test ebx, ebx
mov ebp, eax
je 0x401c5d
test ebp, ebp
je 0x401c5d
mov eax, dword [esi]
push eax
push edi
push 1
push ebx
call fcn.0040d455
add esp, 0x10
cmp eax, edi
je 0x401c03
push 0x40
push str.fread
push 0x42fde8
mov dword [0x42fde0], 0xd5
call fcn.0040d045
push 0x104
xor esi, esi
push str....._src_sftlcmn_sftl_arc3.c
push 0x430070
mov word [0x42fe68], si
mov dword [0x42fde4], edi
mov word [0x43006e], si
call fcn.0040d045
mov dword [0x430278], 0xcb
jmp 0x401cac
cmp dword [esi + 0x28], 0
je 0x401c42
push 0
push 1
mov edx, ebx
mov eax, ebp
mov ecx, esi
call fcn.004015c0
cdq
add esp, 8
cmp dword [0x42fde0], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
jne 0x401cb6
mov edx, dword [esp + 0x14]
mov ecx, eax
push ecx
push ebp
push edx
call fcn.00413150
add esp, 0xc
jmp 0x401cb6
mov eax, dword [esp + 0x14]
push edi
push ebx
push eax
call fcn.00413150
add esp, 0xc
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0
jmp 0x401cb6
push 0x40
push str.malloc
push 0x42fde8
mov dword [0x42fde0], 0xc9
call fcn.0040d045
push 0x104
xor esi, esi
push str....._src_sftlcmn_sftl_arc3.c
push 0x430070
mov word [0x42fe68], si
mov dword [0x42fde4], edi
mov word [0x43006e], si
call fcn.0040d045
mov dword [0x430278], 0xc9
mov word [0x430276], si
add esp, 0x18
test ebx, ebx
je 0x401cc3
push ebx
call fcn.0040da51
add esp, 4
test ebp, ebp
je 0x401cd0
push ebp
call fcn.0040da51
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401d70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x4030
call fcn.0041ec80
mov eax, dword [0x42827c]
xor eax, esp
mov dword [esp + 0x4028], eax
push ebp
push esi
push edi
mov edi, ecx
push 0x424cb4
xor esi, esi
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
call fcn.0040dcb7
add esp, 8
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x401e3e
push 0x40
push str.fopen
push 0x42fde8
mov dword [0x42fde0], 0xde
call fcn.0040d045
add esp, 0xc
cmp edi, esi
mov word [0x42fe68], si
mov dword [0x42fde4], 1
je 0x401df7
push 0x104
push edi
push 0x42fe68
call fcn.0040d045
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_arc3.c
push 0x430070
mov word [0x43006e], si
call fcn.0040d045
add esp, 0xc
mov word [0x430276], si
mov dword [0x430278], 0x116
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4028]
xor ecx, esp
call fcn.0040d036
add esp, 0x4030
ret
mov eax, dword [ebx + 0x1c]
cmp eax, esi
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
jl 0x402020
jg 0x401e66
cmp ebp, esi
jbe 0x402020
jmp 0x401e66
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
jl 0x401e7b
jg 0x401e74
cmp ebp, 0x2000
jbe 0x401e7b
mov edi, 0x2000
jmp 0x401e82
mov edi, ebp
mov esi, 1
mov eax, dword [ebx]
push eax
push edi
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.0040d455
add esp, 0x10
cmp eax, edi
jne 0x401f33
cmp dword [ebx + 0x28], 0
je 0x401ecf
mov edx, dword [esp + 0xc]
push edx
push esi
lea edx, [esp + 0x28]
lea eax, [esp + 0x2030]
mov ecx, ebx
call fcn.004015c0
add esp, 8
cmp dword [0x42fde0], 0
mov esi, eax
jne 0x402020
jmp 0x401ee7
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2030]
push ecx
call fcn.00413150
add esp, 0xc
mov esi, edi
mov edx, dword [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x2030]
push 1
push eax
call fcn.0040d5cf
add esp, 0x10
cmp eax, esi
jne 0x401fa9
mov eax, dword [esp + 0x1c]
sub ebp, edi
sbb eax, 0
add dword [esp + 0xc], edi
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x401e60
jl 0x402020
test ebp, ebp
ja 0x401e60
jmp 0x402020
push 0x40
push str.fread
push 0x42fde8
mov dword [0x42fde0], 0xd5
call fcn.0040d045
mov eax, dword [esp + 0x20]
xor esi, esi
add esp, 0xc
cmp eax, esi
mov word [0x42fe68], si
mov dword [0x42fde4], edi
je 0x401f7b
push 0x104
push eax
push 0x42fe68
call fcn.0040d045
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_arc3.c
push 0x430070
mov word [0x43006e], si
call fcn.0040d045
mov word [0x430276], si
mov dword [0x430278], 0x126
jmp 0x40201d
push 0x40
push str.fwrite
push 0x42fde8
mov dword [0x42fde0], 0xe0
call fcn.0040d045
mov eax, dword [esp + 0x20]
xor edi, edi
add esp, 0xc
cmp eax, edi
mov word [0x42fe68], di
mov dword [0x42fde4], esi
je 0x401ff1
push 0x104
push eax
push 0x42fe68
call fcn.0040d045
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_arc3.c
push 0x430070
mov word [0x43006e], di
call fcn.0040d045
mov word [0x430276], di
mov dword [0x430278], 0x134
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040d9d5
mov ecx, dword [esp + 0x4038]
add esp, 4
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040d036
add esp, 0x4030
ret
Function at 0x4021e0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [0x42827c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
xor ebx, ebx
push edi
xor eax, eax
mov byte [esp + eax + 0x90], al
add eax, 1
cmp eax, 0x10
jl 0x402203
lea eax, [esp + 0x90]
push eax
mov eax, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.00404d60
lea edi, [esp + 0x6c]
lea esi, [esp + 0x10]
call fcn.00404e70
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x4c], ecx
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], ecx
xor eax, eax
nop
mov dl, al
add dl, 0x30
mov byte [esp + eax + 0x7c], dl
add eax, 1
cmp eax, 0x10
jl 0x402280
lea eax, [esp + 0x7c]
push eax
mov esi, ebp
mov byte [esp + 0x90], bl
call fcn.00401250
add esp, 4
mov ecx, 0x208
mov edi, 0x431d60
call fcn.00401ce0
xor eax, eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x5c]
cmp esi, ebx
mov dword [ebp + 0x28], ebx
je 0x4022fa
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x4022ea
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4022f4
push eax
call edi
push esi
call edi
mov dword [ebp + 0x5c], ebx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040d036
add esp, 0x94
ret
Function at 0x402320
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [0x42827c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
xor ebx, ebx
push edi
xor eax, eax
mov byte [esp + eax + 0x90], al
add eax, 1
cmp eax, 0x10
jl 0x402343
lea eax, [esp + 0x90]
push eax
mov eax, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.00404d60
lea edi, [esp + 0x6c]
lea esi, [esp + 0x10]
call fcn.00404e70
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x4c], ecx
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], ecx
xor eax, eax
nop
mov dl, al
add dl, 0x30
mov byte [esp + eax + 0x7c], dl
add eax, 1
cmp eax, 0x10
jl 0x4023c0
lea eax, [esp + 0x7c]
push eax
mov esi, ebp
mov byte [esp + 0x90], bl
call fcn.00401250
push 0x431670
mov eax, ebp
call fcn.00401b70
xor eax, eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x5c]
add esp, 8
cmp esi, ebx
mov dword [ebp + 0x28], ebx
je 0x402437
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x402427
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x402431
push eax
call edi
push esi
call edi
mov dword [ebp + 0x5c], ebx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040d036
add esp, 0x94
ret
Function at 0x402450
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x98
mov eax, dword [0x42827c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov dword [esp + 0xc], eax
xor ebx, ebx
push edi
xor eax, eax
mov edi, edi
mov byte [esp + eax + 0x94], al
add eax, 1
cmp eax, 0x10
jl 0x402480
lea ecx, [esp + 0x94]
push ecx
mov eax, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], 0x98badcfe
mov dword [esp + 0x68], 0x10325476
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00404d60
lea edi, [esp + 0x70]
lea esi, [esp + 0x14]
call fcn.00404e70
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x4c], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x58], edx
xor eax, eax
lea esp, [esp]
mov cl, al
add cl, 0x30
mov byte [esp + eax + 0x80], cl
add eax, 1
cmp eax, 0x10
jl 0x402500
lea edx, [esp + 0x80]
push edx
mov esi, ebp
mov byte [esp + 0x94], bl
call fcn.00401250
mov eax, dword [ebp]
push eax
call fcn.0040d8f5
mov ecx, dword [esp + 0x18]
mov dword [0x4302a0], eax
push ecx
mov eax, ebp
call fcn.00401b70
xor eax, eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x5c]
add esp, 0xc
cmp esi, ebx
mov dword [ebp + 0x28], ebx
je 0x40258b
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x40257b
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x402585
push eax
call edi
push esi
call edi
mov dword [ebp + 0x5c], ebx
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040d036
add esp, 0x98
ret
Function at 0x4025b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x98
mov eax, dword [0x42827c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov dword [esp + 0xc], eax
xor ebx, ebx
push edi
xor eax, eax
mov edi, edi
mov byte [esp + eax + 0x94], al
add eax, 1
cmp eax, 0x10
jl 0x4025e0
lea ecx, [esp + 0x94]
push ecx
mov eax, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], 0x98badcfe
mov dword [esp + 0x68], 0x10325476
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00404d60
lea edi, [esp + 0x70]
lea esi, [esp + 0x14]
call fcn.00404e70
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x4c], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x58], edx
xor eax, eax
lea esp, [esp]
mov cl, al
add cl, 0x30
mov byte [esp + eax + 0x80], cl
add eax, 1
cmp eax, 0x10
jl 0x402660
lea edx, [esp + 0x80]
push edx
mov esi, ebp
mov byte [esp + 0x94], bl
call fcn.00401250
mov eax, dword [esp + 0x14]
push eax
mov eax, ebp
call fcn.00401b70
xor eax, eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x5c]
add esp, 8
cmp esi, ebx
mov dword [ebp + 0x28], ebx
je 0x4026dd
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x4026cd
push eax
call edi
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4026d7
push eax
call edi
push esi
call edi
mov dword [ebp + 0x5c], ebx
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040d036
add esp, 0x98
ret
Function at 0x402ba0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x402baf
or eax, eax
ret
test al, 1
push edi
je 0x402c44
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x402c44
push 0x40
push str.SetFileAttributes
push 0x42fde8
mov dword [0x42fde0], 0xcb
call fcn.0040d045
xor edi, edi
add esp, 0xc
mov word [0x42fe68], di
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
mov dword [0x42fde4], eax
je 0x402c10
push 0x104
push esi
push 0x42fe68
call fcn.0040d045
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x430070
mov word [0x43006e], di
call fcn.0040d045
add esp, 0xc
mov word [0x430276], di
mov dword [0x430278], 0x8a
or eax, 0xffffffff
pop edi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x402ccc
push 0x40
push str.DeleteFile
push 0x42fde8
mov dword [0x42fde0], 0xcb
call fcn.0040d045
xor edi, edi
add esp, 0xc
mov word [0x42fe68], di
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
mov dword [0x42fde4], eax
je 0x402c98
push 0x104
push esi
push 0x42fe68
call fcn.0040d045
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x430070
mov word [0x43006e], di
call fcn.0040d045
add esp, 0xc
mov word [0x430276], di
mov dword [0x430278], 0x90
or eax, 0xffffffff
pop edi
ret
xor eax, eax
pop edi
ret