joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432b14
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x4faa6c
call fcn.004e336a
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00404e83
xor ebx, ebx
lea ecx, [ebp - 0x21c]
push 0x520fe0
mov dword [ebp - 4], ebx
call fcn.0040e29c
mov edi, eax
cmp edi, 0xffffffff
je 0x432c4e
push edi
push 0x5f
lea ecx, [ebp - 0x21c]
call fcn.0040dffb
mov esi, eax
cmp esi, 0xffffffff
jne 0x432b7d
push edi
push 0x2e
lea ecx, [ebp - 0x21c]
call fcn.0040dffb
mov esi, eax
cmp esi, 0xffffffff
je 0x432c4e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004db6f0
mov eax, dword [0x542750]
mov dword [ebp - 0x220], eax
push str.Channel.ini
push 0x547f70
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push 0x50de04
push eax
call fcn.0040301c
add esp, 0x1c
lea eax, [ebp - 0x218]
push dword [ebp - 0x220]
push 0x104
push eax
push 0x50e6f0
push str.oldversion
push 0x520f64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x432bf5
sub ecx, edx
sar ecx, 1
jne 0x432c43
sub esi, edi
lea eax, [ebp - 0x224]
push esi
push edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040e237
push dword [ebp - 0x220]
push dword [ebp - 0x224]
push str.name
push 0x520f64
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x224]
call fcn.00403030
lea ecx, [ebp - 0x220]
call fcn.00403030
lea ecx, [ebp - 0x21c]
call fcn.00403030
call fcn.004e3319
ret
Function at 0x433720
Capabilities:
Get disk information

Disassembly:
push 0x444
mov eax, 0x4fc1a7
call fcn.004e336a
mov esi, ecx
mov dword [ebp - 0x440], esi
mov eax, dword [0x549284]
xor ecx, ecx
mov dword [ebp - 0x43c], ecx
test al, 1
jne 0x433770
push str.GetDiskFreeSpaceExW
or eax, 1
push str.kernel32.dll
mov dword [0x549284], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549288], eax
xor ecx, ecx
jmp 0x433775
mov eax, dword [0x549288]
test eax, eax
jne 0x43378a
push 0x50e6f0
mov ecx, esi
call fcn.00404e83
jmp 0x4338a7
xor eax, eax
push 0x40e
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ecx
push eax
call fcn.004db6f0
add esp, 0xc
lea edi, [ebp - 0x420]
mov eax, edi
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
lea ecx, [ebp - 0x424]
mov eax, edi
mov dword [ebp - 0x444], ebx
push eax
call fcn.00404e83
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 4], eax
movlpd qword [ebp - 0x430], xmm0
test ebx, ebx
jle 0x43388e
mov ebx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
mov esi, dword [ebp - 0x444]
mov dword [ebp - 0x42c], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x433860
xor eax, eax
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
push edi
call dword [0x549288]
test eax, eax
je 0x433860
cmp ebx, dword [ebp - 0x434]
ja 0x433860
jb 0x433842
mov eax, dword [ebp - 0x42c]
cmp eax, dword [ebp - 0x438]
jae 0x433860
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x424]
mov ebx, dword [ebp - 0x434]
push edi
mov dword [ebp - 0x42c], eax
call fcn.004028a2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x43c]
jne 0x433865
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
sub esi, eax
lea edi, [edi + eax*2]
test esi, esi
jg 0x433802
mov esi, dword [ebp - 0x440]
lea eax, [ebp - 0x424]
mov ecx, esi
push eax
call fcn.004028cd
lea ecx, [ebp - 0x424]
call fcn.00403030
mov eax, esi
call fcn.004e3319
ret
Function at 0x434d34
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
test ecx, ecx
jne 0x434d3c
inc eax
ret
xor edx, edx
mov word [ecx + 0x1c], ax
mov dword [ecx + 0x14], edx
xor eax, eax
mov dword [ecx + 0x18], edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], edx
ret
Function at 0x434d73
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x5415b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x158], esi
mov edi, ebx
lea edx, [esi + 0x1f]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + edi*4 - 0x144], ecx
inc edi
cmp edi, 0x10
jl 0x434d98
push 0x40
lea ecx, [ebp - 0x13c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
dec edx
jne 0x434dcf
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 8]
mov dword [ebp - 0x150], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x154], eax
mov eax, dword [esi + 0xc]
mov esi, dword [ebp - 0x154]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x150]
mov ecx, esi
not ecx
rol edx, 5
and ecx, eax
mov eax, edi
and eax, esi
or ecx, eax
mov eax, dword [ebp - 0x148]
add edx, ecx
add eax, 0x5a827999
add edx, dword [ebp + ebx*4 - 0x144]
add edx, eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
mov eax, edi
mov edi, esi
mov dword [ebp - 0x14c], eax
mov esi, dword [ebp - 0x150]
ror edi, 2
inc ebx
push 0x14
pop ecx
mov dword [ebp - 0x150], edx
cmp ebx, ecx
jl 0x434e11
mov dword [ebp - 0x154], esi
mov ebx, esi
xor eax, edi
rol edx, 5
xor eax, ebx
add edx, eax
mov eax, dword [ebp - 0x148]
add edx, dword [ebp + ecx*4 - 0x144]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 0x14c], eax
mov ebx, dword [ebp - 0x150]
ror edi, 2
inc ecx
mov dword [ebp - 0x150], edx
cmp ecx, 0x28
jl 0x434e71
push 0x28
pop esi
mov ecx, edi
rol edx, 5
or ecx, ebx
add edx, 0x8f1bbcdc
add edx, dword [ebp - 0x148]
and ecx, eax
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, dword [ebp + esi*4 - 0x144]
mov dword [ebp - 0x148], eax
add edx, ecx
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 0x150]
ror edi, 2
inc esi
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
cmp esi, 0x3c
jl 0x434ebc
mov esi, dword [ebp - 0x158]
push 0x3c
pop ecx
xor eax, edi
rol edx, 5
add edx, dword [ebp - 0x148]
xor eax, ebx
add eax, 0xca62c1d6
add eax, dword [ebp + ecx*4 - 0x144]
add edx, eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 0x14c], eax
mov ebx, dword [ebp - 0x150]
ror edi, 2
inc ecx
mov dword [ebp - 0x150], edx
cmp ecx, 0x50
jl 0x434f14
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x148]
add dword [esi + 0x10], eax
xor eax, eax
add dword [esi + 8], edi
add dword [esi + 4], ebx
add dword [esi], edx
mov ecx, dword [ebp - 4]
pop edi
mov word [esi + 0x1c], ax
xor ecx, ebp
pop esi
pop ebx
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret
Function at 0x434f85
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
movzx eax, word [esi + 0x1c]
cmp ax, 0x37
cwde
mov byte [eax + esi + 0x1e], 0x80
jle 0x434fd1
push 0x40
pop ecx
jmp 0x434fa3
cwde
mov byte [eax + esi + 0x1e], 0
inc word [esi + 0x1c]
mov ax, word [esi + 0x1c]
cmp ax, cx
jl 0x434f9d
mov ecx, esi
call fcn.00434d73
push 0x38
pop ecx
jmp 0x434fc9
movsx eax, word [esi + 0x1c]
mov byte [eax + esi + 0x1e], 0
inc word [esi + 0x1c]
cmp word [esi + 0x1c], cx
jl 0x434fbc
jmp 0x434fe9
push 0x38
pop ecx
jmp 0x434fdc
cwde
mov byte [eax + esi + 0x1e], 0
inc word [esi + 0x1c]
mov ax, word [esi + 0x1c]
cmp ax, cx
jl 0x434fd6
mov al, byte [esi + 0x1b]
mov ecx, esi
mov byte [esi + 0x56], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x57], al
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [esi + 0x58], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x59], al
mov al, byte [esi + 0x17]
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x16]
mov byte [esi + 0x5b], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [esi + 0x5c], al
mov al, byte [esi + 0x14]
mov byte [esi + 0x5d], al
pop esi
jmp fcn.00434d73

Function at 0x43542e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x435441
push 0xd
pop eax
jmp 0x435485
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x435454
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x43544c
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43588f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4fc299
call fcn.004e33d6
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x43590c
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x43590c
call fcn.0041b568
mov esi, eax
jmp 0x435a17
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43592f
call fcn.0041b568
jmp 0x435a0a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x435925
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
lea ecx, [ebx + 1]
cmp ecx, ebx
jae 0x435962
mov esi, 0x8007000e
jmp 0x435a0c
xor eax, eax
mov byte [ebp - 4], 2
shld eax, ecx, 1
add ecx, ecx
cmp eax, esi
ja 0x43599b
cmp ecx, 0xffffffff
ja 0x43599b
cmp ecx, 0x400
jbe 0x43598d
push ecx
lea ecx, [ebp - 0x418]
call fcn.0043710e
jmp 0x4359b9
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x4359b9
push 0x80070216
call fcn.00402c1f
mov eax, 0x4359ab
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x435958
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x435925
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00436479
mov esi, eax
test edi, edi
je 0x435a17
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x435a30
lea ecx, [ebp - 0x418]
call fcn.00437105
mov eax, esi
call fcn.004e3328
ret 0x10
Function at 0x43b237
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x4fcb5c
call fcn.004e3337
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
call fcn.0043c575
test eax, eax
jne 0x43b26a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b2d9
mov eax, dword [ebp - 0x1c]
mov ecx, 0x61a
mov esi, dword [ebp - 0x20]
mov edi, ebx
sub eax, esi
cdq
idiv ecx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x43b2d6
add esi, 0x10c
cmp edi, 0xa
jge 0x43b2d6
lea eax, [esi - 0x106]
push eax
lea ecx, [ebp - 0x10]
call fcn.00410a8a
mov byte [ebp - 4], 1
cmp dword [esi - 0x10c], 1
jne 0x43b2b3
push esi
lea ecx, [ebp - 0x10]
call fcn.004137a6
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00412801
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00403030
inc edi
add esi, 0x61a
cmp edi, dword [ebp - 0x14]
jl 0x43b289
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x20]
call fcn.00404c01
mov eax, ebx
call fcn.004e3305
ret 8

Function at 0x43b38c
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x4fcbaa
call fcn.004e3337
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call fcn.0043c575
test eax, eax
jne 0x43b3c2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b44c
mov esi, dword [ebp - 0x18]
jmp 0x43b40a
mov ecx, dword [ebp + 8]
lea eax, [esi + 6]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43b3ed
test dl, dl
je 0x43b3e9
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43b3ed
add eax, 2
add ecx, 2
test dl, dl
jne 0x43b3cd
mov eax, edi
jmp 0x43b3f2
sbb eax, eax
or eax, 1
test eax, eax
je 0x43b411
push dword [ebp + 8]
mov ecx, esi
call fcn.0043b5e4
test eax, eax
jne 0x43b411
add esi, 0x61a
cmp esi, dword [ebp - 0x14]
jb 0x43b3c7
jmp 0x43b44c
mov ecx, dword [ebp + 0xc]
lea edx, [esi + 6]
mov eax, dword [esi + 0x210]
mov edi, ecx
sub edi, edx
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov al, byte [edx]
mov byte [edi + edx + 8], al
inc edx
test al, al
jne 0x43b428
add esi, 0x10c
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi + 0x10c], al
inc esi
test al, al
jne 0x43b43b
xor edi, edi
inc edi
lea ecx, [ebp - 0x18]
call fcn.00404c01
mov eax, edi
call fcn.004e3305
ret 8
Function at 0x43b45e
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x4fcbaa
call fcn.004e3337
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call fcn.0043c575
test eax, eax
jne 0x43b494
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b520
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x14]
jae 0x43b520
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 8]
lea eax, [esi + 6]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43b4c9
test dl, dl
je 0x43b4c5
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43b4c9
add eax, 2
add ecx, 2
test dl, dl
jne 0x43b4a9
mov eax, edi
jmp 0x43b4cd
sbb eax, eax
or eax, ebx
test eax, eax
je 0x43b4df
push dword [ebp + 8]
mov ecx, esi
call fcn.0043b5e4
test eax, eax
je 0x43b4e8
cmp dword [esi], 0
je 0x43b50c
cmp dword [esi], ebx
je 0x43b4f5
add esi, 0x61a
cmp esi, dword [ebp - 0x14]
jb 0x43b4a3
jmp 0x43b520
mov ecx, dword [ebp + 0xc]
add esi, 0x10c
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x43b500
jmp 0x43b522
mov ecx, dword [ebp + 0xc]
add esi, 6
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x43b514
mov edi, ebx
mov ebx, edi
lea ecx, [ebp - 0x18]
call fcn.00404c01
mov eax, ebx
call fcn.004e3305
ret 8

Function at 0x43b628
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x4fcbaa
call fcn.004e3337
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call fcn.0043c575
test eax, eax
jne 0x43b65e
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b6ee
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp esi, eax
jae 0x43b6ee
mov ecx, dword [ebp + 8]
lea eax, [esi + 6]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43b692
test dl, dl
je 0x43b68e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43b692
add eax, 2
add ecx, 2
test dl, dl
jne 0x43b672
mov eax, edi
jmp 0x43b697
sbb eax, eax
or eax, 1
test eax, eax
je 0x43b6b6
push dword [ebp + 8]
mov ecx, esi
call fcn.0043b5e4
test eax, eax
jne 0x43b6b6
add esi, 0x61a
cmp esi, dword [ebp - 0x14]
jb 0x43b66c
jmp 0x43b6ee
xor eax, eax
push 0x400
mov word [esi + 0x218], ax
lea eax, [esi + 0x21a]
push edi
push eax
call fcn.004db6f0
add esp, 0xc
cmp esi, dword [ebp - 0x18]
je 0x43b6e2
mov ecx, ebx
call fcn.0043b1c9
mov edi, eax
push edi
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0043c30c
lea ecx, [ebp - 0x18]
call fcn.00404c01
call fcn.004e3305
ret 4
Function at 0x43b6fe
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x4fcbf8
call fcn.004e3337
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edi
push eax
call fcn.0043c575
test eax, eax
jne 0x43b737
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b7e5
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp esi, ecx
jae 0x43b7e5
mov edx, dword [ebp + 8]
lea eax, [esi + 6]
mov bl, byte [eax]
cmp bl, byte [edx]
mov byte [ebp - 0xd], bl
mov ebx, dword [ebp - 0x14]
jne 0x43b77b
cmp byte [ebp - 0xd], 0
je 0x43b777
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
mov byte [ebp - 0xd], bl
mov ebx, dword [ebp - 0x14]
jne 0x43b77b
add eax, 2
add edx, 2
cmp byte [ebp - 0xd], 0
jne 0x43b74b
mov eax, edi
jmp 0x43b780
sbb eax, eax
or eax, 1
test eax, eax
je 0x43b7a2
push dword [ebp + 8]
mov ecx, esi
call fcn.0043b5e4
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x43b7a2
mov eax, 0x61a
add esi, eax
cmp esi, ecx
jb 0x43b745
jmp 0x43b7e5
cmp esi, dword [ebp - 0x20]
jne 0x43b7c3
sub ecx, dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x61a
cdq
idiv ecx
cmp eax, 1
jne 0x43b7cc
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b7cc
mov ecx, ebx
call fcn.0043b1c9
mov edi, eax
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043c842
push edi
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0043c30c
lea ecx, [ebp - 0x20]
call fcn.00404c01
call fcn.004e3305
ret 4

Function at 0x43b7f5
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x4fcbf8
call fcn.004e3337
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor edi, edi
push 4
pop esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edi
push eax
call fcn.0043c575
test eax, eax
jne 0x43b831
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b8df
mov eax, dword [ebp - 0x1c]
mov ecx, 0x61a
mov ebx, dword [ebp - 0x20]
sub eax, ebx
cdq
idiv ecx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x43b8df
mov ecx, dword [ebp + 8]
lea eax, [ebx + 6]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43b872
test dl, dl
je 0x43b86e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43b872
add eax, 2
add ecx, 2
test dl, dl
jne 0x43b852
xor eax, eax
jmp 0x43b877
sbb eax, eax
or eax, 1
test eax, eax
je 0x43b897
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b5e4
test eax, eax
jne 0x43b897
inc edi
add ebx, 0x61a
cmp edi, dword [ebp - 0x10]
jl 0x43b84c
jmp 0x43b8df
mov ecx, dword [ebp - 0x20]
xor esi, esi
imul eax, edi, 0x61a
inc esi
movzx edx, word [eax + ecx + 0x218]
test dx, dx
je 0x43b8df
add ecx, 0x21a
add ecx, eax
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b8bb
sub ecx, ebx
cmp ecx, edx
jne 0x43b8df
push 2
pop esi
test edi, edi
jne 0x43b8df
mov ecx, dword [ebp - 0x14]
call fcn.0043b1c9
push 3
test eax, eax
pop ecx
cmovne esi, ecx
lea ecx, [ebp - 0x20]
call fcn.00404c01
mov eax, esi
call fcn.004e3305
ret 4
Function at 0x43b8f1
Capabilities:
Delete file

Disassembly:
push 0x10
mov eax, 0x4fcc23
call fcn.004e3337
lea ecx, [ebp - 0x10]
call fcn.0043b167
xor eax, eax
mov dword [ebp - 4], eax
push 4
pop esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0043c575
test eax, eax
jne 0x43b935
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b981
mov eax, dword [ebp - 0x18]
mov edi, 0x61a
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cdq
idiv edi
test eax, eax
jle 0x43b981
movzx edx, word [ecx + 0x218]
xor esi, esi
inc esi
test dx, dx
je 0x43b981
add ecx, 0x21a
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b961
sub ecx, edi
cmp ecx, edx
jne 0x43b981
push 2
pop esi
lea ecx, [ebp - 0x10]
call fcn.0043b1c9
push 3
test eax, eax
pop ecx
cmovne esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.00404c01
push dword [ebp - 0x10]
call fcn.004d5e39
pop ecx
mov eax, esi
call fcn.004e3305
ret

Function at 0x43ba3c
Capabilities:
Delete file

Disassembly:
push 0x10
mov eax, 0x4fcc46
call fcn.004e3337
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], esi
push eax
call fcn.0043c575
test eax, eax
jne 0x43ba72
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43bb14
mov eax, dword [ebp - 0x18]
mov ebx, 0x61a
mov ecx, dword [ebp - 0x1c]
mov edi, esi
sub eax, ecx
cdq
idiv ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x43bb14
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 6]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43bab7
test dl, dl
je 0x43bab3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43bab7
add eax, 2
add ecx, 2
test dl, dl
jne 0x43ba97
mov eax, esi
jmp 0x43babc
sbb eax, eax
or eax, 1
test eax, eax
je 0x43badc
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b5e4
test eax, eax
jne 0x43badc
inc edi
add ebx, 0x61a
cmp edi, dword [ebp - 0x10]
jl 0x43ba91
jmp 0x43bb14
imul edx, edi, 0x61a
add edx, dword [ebp - 0x1c]
movzx edi, word [edx + 0x218]
test di, di
je 0x43bb14
lea ecx, [edx + 0x21a]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bafa
sub ecx, ebx
cmp ecx, edi
jne 0x43bb14
push ecx
push dword [ebp + 0xc]
xor esi, esi
push edx
inc esi
call fcn.0043bc69
lea ecx, [ebp - 0x1c]
call fcn.00404c01
mov eax, esi
call fcn.004e3305
ret 0xc
Function at 0x43be7a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43bea5
xor eax, eax
jmp 0x43bf07
push ebx
push esi
push edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x43befd
cmp esi, 0xffffffff
je 0x43befd
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebp - 4], 1
mov dword [ecx], esi
call fcn.004d5f08
pop ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ecx], eax
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push 0
push eax
mov eax, esi
sub eax, ebx
push eax
mov eax, dword [ecx]
add eax, ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
add ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp esi, ebx
jne 0x43bed5
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43c30c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, 0x61a
mov esi, dword [edi + 4]
mov eax, esi
sub eax, dword [edi]
cdq
idiv ecx
test eax, eax
je 0x43c3c6
push ebx
cmp eax, 0xa
jle 0x43c356
lea ebx, [eax - 0xa]
test ebx, ebx
jle 0x43c356
lea eax, [esi - 0x61a]
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043c842
mov esi, dword [edi + 4]
dec ebx
jne 0x43c33e
mov esi, dword [ebp - 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push ebx
push 0x80
push 2
pop eax
push eax
push ebx
push 1
push 0xc0000000
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43c3c5
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov ecx, dword [ebp + 0xc]
cdq
mov byte [ebp - 8], cl
mov ecx, 0x61a
idiv ecx
push 2
mov word [ebp - 0xa], ax
pop eax
push ebx
mov word [ebp - 0xc], ax
lea eax, [ebp + 8]
push eax
push 5
lea eax, [ebp - 0xc]
mov dword [ebp + 8], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push esi
call fcn.0043c3ce
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8