joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422040
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x422b70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x422c5f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edi
movzx ecx, byte [edx]
dec ebx
inc edx
mov dword [ebp + 0x10], ebx
test ebx, ebx
jle 0x422c25
movzx esi, byte [edx]
dec ebx
inc edx
mov dword [ebp + 0x10], ebx
test ebx, ebx
jle 0x422bef
movzx edi, byte [edx]
dec ebx
mov dword [ebp + 0x10], ebx
mov ebx, ecx
shr ebx, 2
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
mov byte [eax], bl
and ecx, 3
add ecx, ecx
mov ebx, esi
shr ebx, 4
movzx ecx, byte [ebx + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
mov byte [eax + 1], cl
mov ecx, edi
shr ecx, 6
and esi, 0xf
movzx ecx, byte [ecx + esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
inc edx
mov byte [eax + 2], cl
and edi, 0x3f
movzx ecx, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
mov byte [eax + 3], cl
jmp 0x422c47
mov edi, ecx
shr edi, 2
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
and ecx, 3
mov byte [eax], bl
mov edi, esi
add ecx, ecx
shr edi, 4
movzx ecx, byte [edi + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
mov byte [eax + 1], cl
and esi, 0xf
movzx ecx, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
jmp 0x422c47
mov esi, ecx
shr esi, 2
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
and ecx, 3
mov byte [eax], bl
shl ecx, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ccccccccccccccccccccccccccccccccccccccccccc_ccc_456789:__cccbccc]
mov byte [eax + 1], cl
mov word [eax + 2], 0x3d3d
mov ebx, dword [ebp + 0x10]
add eax, 4
test ebx, ebx
jg 0x422b87
pop edi
pop esi
mov byte [eax], 0
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x422fa0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor esi, eax
and esi, 0xaaaaaaaa
xor ecx, esi
xor esi, eax
push edi
rol esi, 1
mov dword [ebp - 4], 8
lea esp, [esp]
mov eax, ecx
ror eax, 4
xor eax, dword [edx]
add edx, 0x10
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465e68]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466068]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466268]
and eax, 0x3f
xor edi, dword [eax*4 + 0x466468]
mov eax, dword [edx - 0xc]
xor esi, edi
xor eax, ecx
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465f68]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466168]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466368]
and eax, 0x3f
xor edi, dword [eax*4 + 0x466568]
xor esi, edi
mov eax, esi
ror eax, 4
xor eax, dword [edx - 8]
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465e68]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466068]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466268]
and eax, 0x3f
xor edi, dword [eax*4 + 0x466468]
mov eax, dword [edx - 4]
xor ecx, edi
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465f68]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466168]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x466368]
and eax, 0x3f
xor edi, dword [eax*4 + 0x466568]
xor ecx, edi
dec dword [ebp - 4]
jne 0x423020
ror ecx, 1
mov eax, ecx
xor eax, esi
and eax, 0xaaaaaaaa
xor ecx, eax
xor eax, esi
ror eax, 1
mov edx, eax
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor ecx, edx
shl edx, 8
xor eax, edx
mov edx, eax
shr edx, 2
xor edx, ecx
and edx, 0x33333333
xor ecx, edx
add edx, edx
add edx, edx
xor eax, edx
mov edx, ecx
shr edx, 0x10
xor edx, eax
and edx, 0xffff
xor eax, edx
shl edx, 0x10
xor ecx, edx
mov edx, ecx
shr edx, 4
xor edx, eax
and edx, 0xf0f0f0f
mov esi, edx
shl esi, 4
xor esi, ecx
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], esi
xor edx, eax
pop esi
mov dword [ecx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x423bb5
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423bae
mov edx, dword [ebp + 0x10]
mov eax, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 8]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x423ca7
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423c95
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0
push esi
push eax
mov dword [ebp - 0x114], 2
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x10c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423c95
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423d13
sub eax, edx
cmp dword [ebp + 0x18], eax
jb 0x423c95
lea eax, [ebp - 0x108]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x423d31
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x424130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x104
jae 0x424153
mov eax, dword [ebp + 8]
push 0
push str.the_len_in_is_too_small
push eax
call fcn.00424ac0
add esp, 0xc
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push 0x105
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
cmp eax, 0x103
ja 0x424177
mov byte [esi + 1], 0
mov eax, 1
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x427450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
test esi, esi
je 0x4274f4
test edi, edi
je 0x4274f4
test ebx, ebx
je 0x4274f4
test eax, eax
je 0x4274f4
cmp dword [ebp + 0x18], 0x80
jbe 0x4274f4
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0043a6a0
add esp, 0xc
push esi
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push 0x46b340
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x4274e1
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x84]
push eax
push ecx
call fcn.0043aa10
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x427510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call fcn.00430130
add esp, 4
test eax, eax
je 0x4275d8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push esi
call fcn.004350f0
add esp, 0xc
test eax, eax
je 0x4275d8
cmp dword [ebp - 0x2c], 0
jne 0x4275d8
cmp dword [ebp - 0x28], 0x220
jb 0x4275d8
push 0x46b394
push esi
call fcn.0043b49a
mov esi, eax
add esp, 8
test esi, esi
je 0x4275d8
push 0
push 0x200
push esi
call fcn.0043b362
push esi
push 0x20
lea edx, [ebp - 0x24]
push 1
push edx
call fcn.0043b0c2
push esi
call fcn.0043ade7
add esp, 0x20
mov ecx, 8
lea esi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004396d4
mov esp, ebp
pop ebp
ret
Function at 0x42a1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0043a6a0
push 0x105
lea ecx, [ebp - 0x214]
push 0
push ecx
call fcn.0043a6a0
push str.iNodeLicense.ini
push esi
lea edx, [ebp - 0x214]
push 0x465478
push edx
call fcn.0043a71a
add esp, 0x28
xor eax, eax
pop esi
mov cl, byte [ebp + eax - 0x214]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x42a211
lea eax, [ebp - 0x10c]
push eax
call fcn.00430130
add esp, 4
test eax, eax
jne 0x42a245
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10c]
push ecx
push 0xffffffffffffffff
push str.IsExtendedLic
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x42a720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0043a6a0
push 0x105
lea ecx, [ebp - 0x214]
push 0
push ecx
call fcn.0043a6a0
push str.iNodeLicense.ini
push esi
lea edx, [ebp - 0x214]
push 0x465478
push edx
call fcn.0043a71a
add esp, 0x28
xor eax, eax
pop esi
mov cl, byte [ebp + eax - 0x214]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x42a781
lea eax, [ebp - 0x10c]
push eax
call fcn.00430130
add esp, 4
test eax, eax
jne 0x42a7b5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10c]
push ecx
push 0
push str.Is3ComLic
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x42a9d0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x49cee8], 0
jne 0x42aa57
push 0x105
push 0x49cee8
push str.CommonProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x42aa57
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
cmp eax, 0x103
ja 0x42aa6a
mov cl, byte [ebp - 0x10c]
push esi
push edi
mov edi, 0x49cee8
mov byte [0x49cee8], cl
mov byte [0x49cee9], 0
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42aa40
mov ecx, 7
mov esi, str.:Program_FilesCommon_Files
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004396d4
mov esp, ebp
pop ebp
ret
Function at 0x430130
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43016d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x144], 0x10
push edi
je 0x430197
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ecx]
lea edx, [ebp - 0x144]
push edx
push esi
call edi
test eax, eax
je 0x4301b3
test byte [ebp - 0x144], 0x10
jne 0x430180
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x4301d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43020d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x144], 0x10
push edi
jne 0x430237
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ecx]
lea edx, [ebp - 0x144]
push edx
push esi
call edi
test eax, eax
je 0x430253
test byte [ebp - 0x144], 0x10
je 0x430220
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x430460
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00430130
add esp, 4
test eax, eax
jne 0x43047c
mov eax, 1
pop esi
pop ebp
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebp
ret
Function at 0x4304a0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.0043a6a0
push edi
push esi
lea ecx, [ebp - 0x20c]
push 0x465478
push ecx
call fcn.0043a71a
add esp, 0x1c
lea edx, [ebp - 0x34c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x430589
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov byte [ebp - 0x108], bl
call fcn.0043a6a0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0xc
lea esp, [esp]
test byte [ebp - 0x34c], 0x10
jne 0x430570
lea edx, [ebp - 0x320]
push edx
push esi
lea eax, [ebp - 0x108]
push 0x465478
push eax
call fcn.0043a71a
add esp, 0x10
push 0x80
lea ecx, [ebp - 0x108]
push ecx
call ebx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x34c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430530
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x430620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], 0
call fcn.00430600
mov ecx, dword [ebp + 8]
add esp, 8
push 0
lea eax, [ebp - 4]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push esi
push edi
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4306a3
cmp dword [ebp - 4], esi
jne 0x4306a3
push esi
push edi
call fcn.00430600
add esp, 8
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430720
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004301d0
add esp, 4
test eax, eax
jne 0x43073c
mov eax, 1
pop esi
pop ebp
ret
push 0x46556c
push esi
call fcn.004304a0
push esi
call fcn.00430760
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
pop ebp
ret
Function at 0x430760
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x213]
push 0
push eax
mov byte [ebp - 0x214], 0
call fcn.0043a6a0
push 0x46556c
push edi
lea ecx, [ebp - 0x214]
push 0x465478
push ecx
call fcn.0043a71a
add esp, 0x1c
lea edx, [ebp - 0x354]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4308ae
push 0x104
lea ecx, [ebp - 0x10b]
push 0
push ecx
mov byte [ebp - 0x10c], 0
call fcn.0043a6a0
add esp, 0xc
jmp 0x4307f0
test byte [ebp - 0x354], 0x10
je 0x430891
mov ecx, 0x464ebc
lea eax, [ebp - 0x328]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x430828
test dl, dl
je 0x430824
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x430828
add eax, 2
add ecx, 2
test dl, dl
jne 0x430808
xor eax, eax
jmp 0x43082d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x430891
mov ecx, 0x467950
lea eax, [ebp - 0x328]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x430860
test dl, dl
je 0x43085c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x430860
add eax, 2
add ecx, 2
test dl, dl
jne 0x430840
xor eax, eax
jmp 0x430865
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x430891
lea edx, [ebp - 0x328]
push edx
push edi
lea eax, [ebp - 0x10c]
push 0x465478
push eax
call fcn.0043a71a
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00430720
add esp, 0x14
lea edx, [ebp - 0x354]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4307f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004396d4
mov esp, ebp
pop ebp
ret

Function at 0x431420
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004301d0
add esp, 4
test eax, eax
je 0x431449
push 0x46556c
push esi
call fcn.004304a0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
pop ebp
ret
Function at 0x431d60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46139b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4735a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0045e438
push 4
mov dword [ebp - 4], 0
call fcn.0043a157
mov edi, eax
add esp, 4
test edi, edi
je 0x431de0
call fcn.0045df4a
mov dword [edi], eax
call fcn.0045dc8b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0045daf4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x431dd6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0045db1c
jmp 0x431de2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret