joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dc8a
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45652c]
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, 0x445ada
push esi
push esi
push 1
push str.MyZylomActiveXPlugin
mov dword [ebp - 4], eax
mov byte [ebp - 0x11], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x41ddba
push ebx
push 0x4000000
push 3
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41ddb1
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x41dda8
cmp dword [ebp + 0x14], ebx
lea eax, [ebp - 0x10]
jne 0x41dcff
push 0x448c4c
jmp 0x41dd04
push str.POST
push eax
call fcn.00431a20
pop ecx
pop ecx
push edi
push ebx
push 0xa0000000
push ebx
push esi
push str.HTTP_1.0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
je 0x41dda7
xor esi, esi
cmp dword [ebp + 0x18], ebx
jbe 0x41dd6f
cmp dword [ebp + 0x14], ebx
je 0x41dd6f
cmp dword [ebp + 0x1c], ebx
je 0x41dd6f
push dword [ebp + 0x1c]
call fcn.00431980
add eax, 0x14
push eax
call fcn.00431a0b
mov esi, eax
push str.Content_Type:
push esi
call fcn.00431a20
push dword [ebp + 0x1c]
push esi
call fcn.00431a30
add esp, 0x18
cmp esi, ebx
jne 0x41dd73
xor eax, eax
jmp 0x41dd7a
push esi
call fcn.00431980
pop ecx
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x14]
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x41dd99
mov byte [ebp - 0x11], 1
push esi
call fcn.00431936
pop ecx
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x11]
pop esi
pop ebx
call fcn.0043196c
leave
ret
Function at 0x41ddc9
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x45652c]
push esi
mov esi, dword [ebp + 0x3ac]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp + 0x394], eax
mov byte [ebp - 0x6d], 0
je 0x41dfb4
push 0x5c
push esi
call fcn.004332f0
cmp eax, edi
pop ecx
pop ecx
jne 0x41de0b
mov dword [ebp - 0x78], esi
jmp 0x41de0f
inc eax
mov dword [ebp - 0x78], eax
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41dfb4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41dfac
cmp ebx, dword [ebp + 0x3b4]
ja 0x41dfac
push ebx
mov dword [ebp - 0x80], edi
call fcn.00431a0b
pop ecx
push edi
lea ecx, [ebp - 0x80]
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
setne byte [ebp + 0x3af]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x3af], 0
je 0x41dfa1
cmp dword [ebp - 0x80], ebx
jne 0x41dfa1
cmp dword [ebp + 0x3b0], edi
jne 0x41dea2
mov dword [ebp + 0x3ac], edi
jmp 0x41deb4
push dword [ebp + 0x3b0]
call fcn.00431980
pop ecx
mov dword [ebp + 0x3ac], eax
push dword [ebp - 0x78]
call fcn.00431980
mov edi, eax
mov dword [esp], str._r_n___s___r_n
call fcn.00431980
add edi, eax
mov dword [esp], str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Length:__d_r_n_r_n
call fcn.00431980
mov esi, str.____________________kjasktiuasuidgkjgfasgdsigfyitgifguwe
push esi
add edi, eax
call fcn.00431980
push esi
add edi, eax
call fcn.00431980
add edi, eax
mov eax, dword [ebp + 0x3ac]
add eax, ebx
lea eax, [edi + eax - 0xa]
mov dword [ebp + 0x3ac], eax
add eax, 0x64
push eax
call fcn.00431a0b
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x3b0]
add esp, 0x10
test eax, eax
jne 0x41df1f
mov eax, 0x445ada
push ebx
push dword [ebp - 0x78]
push eax
push esi
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Length:__d_r_n_r_n
push dword [ebp - 0x74]
call fcn.00432a7c
push dword [ebp - 0x74]
call fcn.00431980
mov edi, eax
add edi, dword [ebp - 0x74]
push ebx
push dword [ebp - 0x7c]
push edi
call fcn.00432200
push esi
push str._r_n___s___r_n
add edi, ebx
push edi
call fcn.00432a7c
push esi
lea eax, [ebp - 0x6c]
push str.multipart_form_data__boundary_s_
push eax
call fcn.00432a7c
add esp, 0x40
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x3ac]
push dword [ebp - 0x74]
push dword [ebp + 0x3a8]
push dword [ebp + 0x3a4]
push dword [ebp + 0x3a0]
call fcn.0041dc8a
add esp, 0x18
test al, al
je 0x41df98
mov byte [ebp - 0x6d], 1
push dword [ebp - 0x74]
call fcn.00431936
pop ecx
push dword [ebp - 0x7c]
call fcn.00431936
pop ecx
jmp 0x41dfb3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp + 0x394]
mov al, byte [ebp - 0x6d]
pop edi
pop esi
call fcn.0043196c
add ebp, 0x398
leave
ret
Function at 0x41ea63
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41f4a1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
je 0x41f554
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 2]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
setne al
cmp al, bl
je 0x41f553
cmp dword [ebp - 8], 1
jne 0x41f514
cmp byte [ebp - 2], bl
je 0x41f514
inc dword [ebp - 0xc]
push ebx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 2]
push eax
push dword [ebp + 8]
call esi
test eax, eax
setne al
cmp al, bl
jne 0x41f4ed
cmp al, bl
je 0x41f553
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
je 0x41f553
mov edi, dword [ebp - 0xc]
inc edi
push edi
call fcn.00432882
pop ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ecx], eax
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x41f550
cmp dword [ebp - 8], edi
mov byte [ebp - 1], 1
je 0x41f553
mov byte [ebp - 1], bl
pop esi
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret

Function at 0x41f5ad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41f5fd
push ebx
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f5fd
cmp dword [ebp - 8], 2
jne 0x41f5fd
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x422a56
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x422a7d
push 0x455320
lea ecx, [ebp - 0xc]
call fcn.004328fc
push 0x451fe0
lea eax, [ebp - 0xc]
push eax
call fcn.004328b1
push esi
xor esi, esi
cmp dword [ecx + 0x3cc], esi
jle 0x422a9f
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x3cc]
jl 0x422a8f
pop edi
pop esi
leave
ret 8
Function at 0x423b73
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45652c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x42
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x44
mov byte [ebp - 6], 0x45
mov byte [ebp - 5], 0x46
call fcn.00431980
inc eax
push eax
call fcn.00432882
mov ebx, eax
push edi
push ebx
call fcn.00431a20
xor esi, esi
push ebx
mov dword [ebp + 8], esi
call fcn.00431980
add esp, 0x14
test eax, eax
jbe 0x423c59
mov eax, dword [ebp + 8]
mov al, byte [eax + ebx]
cmp al, 0x41
jb 0x423bfd
cmp al, 0x5a
jbe 0x423c46
cmp al, 0x61
jb 0x423c05
cmp al, 0x7a
jbe 0x423c46
cmp al, 0x30
jb 0x423c0d
cmp al, 0x39
jbe 0x423c46
cmp al, 0x2d
je 0x423c46
cmp al, 0x5f
je 0x423c46
cmp al, 0x2e
je 0x423c46
cmp al, 0x2a
je 0x423c46
cmp al, 0x20
jne 0x423c27
mov byte [esi + edi], 0x2b
jmp 0x423c49
movzx eax, al
mov ecx, eax
shr ecx, 4
mov cl, byte [ebp + ecx - 0x14]
mov byte [esi + edi], 0x25
inc esi
mov byte [esi + edi], cl
cdq
push 0x10
pop ecx
inc esi
idiv ecx
mov al, byte [ebp + edx - 0x14]
mov byte [esi + edi], al
inc esi
inc dword [ebp + 8]
push ebx
call fcn.00431980
cmp dword [ebp + 8], eax
pop ecx
jb 0x423bef
push ebx
mov byte [esi + edi], 0
call fcn.0043287d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0043196c
leave
ret

Function at 0x424427
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0x3e8
div ecx
shr eax, 0xa
leave
ret
Function at 0x424561
Capabilities:
Check os version

Disassembly:
mov eax, 0x443b41
call fcn.004321d4
sub esp, 0xbc
mov eax, dword [0x45652c]
push ebx
push esi
push edi
mov esi, ecx
push str.Microsoft_Windows
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.00403070
mov edi, 0x9c
xor ebx, ebx
push edi
lea eax, [ebp - 0xc8]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00433290
add esp, 0xc
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call edi
test eax, eax
jne 0x4245ea
lea eax, [ebp - 0xc8]
push eax
mov dword [ebp - 0xc8], 0x94
call edi
test eax, eax
jne 0x4245ea
push str.Unknown
mov ecx, esi
call fcn.00402ff0
mov dword [esi + 0x1c], ebx
jmp 0x42468d
mov eax, dword [ebp - 0xb8]
sub eax, ebx
je 0x424777
dec eax
je 0x4246c6
dec eax
jne 0x424676
push 4
pop ebx
cmp dword [ebp - 0xc4], ebx
ja 0x42461a
push str._NT
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
push 5
pop edi
cmp dword [ebp - 0xc4], edi
jne 0x424667
cmp dword [ebp - 0xc0], 0
jne 0x42464a
push str._2000
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
cmp dword [ebp - 0xc4], edi
mov dword [esi + 0x20], 6
jne 0x424667
cmp dword [ebp - 0xc0], 1
jne 0x424674
push str._XP
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
mov dword [esi + 0x20], 7
cmp dword [ebp - 0xc4], ebx
ja 0x424674
jne 0x4246af
mov dword [esi + 0x20], edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00402e1f
mov eax, dword [ebp - 0xbc]
mov dword [esi + 0x1c], eax
push ebx
lea ecx, [ebp - 0x2c]
push 1
call fcn.00402697
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0043196c
leave
ret
cmp dword [ebp - 0xc4], 3
jne 0x424674
cmp dword [ebp - 0xc0], 0x33
jne 0x424674
mov dword [esi + 0x20], ebx
jmp 0x424674
cmp dword [ebp - 0xc4], 4
jne 0x424676
cmp dword [ebp - 0xc0], ebx
jne 0x424719
push str._95
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
cmp byte [ebp - 0xb3], 0x43
lea ecx, [ebp - 0x2c]
jne 0x4246f7
push str.OSR2
jmp 0x42470c
push dword [ebp - 0xb3]
push 1
call fcn.00413d8d
push 0x44556c
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
mov dword [esi + 0x20], ebx
jmp 0x424676
cmp dword [ebp - 0xc0], 0xa
jne 0x424751
push str._98
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
cmp byte [ebp - 0xb3], 0x41
jne 0x424745
push 0x44ca54
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
mov dword [esi + 0x20], 1
jmp 0x424676
cmp dword [ebp - 0xc0], 0x5a
jne 0x424676
push str._Me
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
mov dword [esi + 0x20], 2
jmp 0x424676
push str._Win32s
lea ecx, [ebp - 0x2c]
call fcn.00402fd3
mov dword [esi + 0x20], 3
jmp 0x424676
Function at 0x424790
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
lea eax, [ebp - 0x24]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, esi
call fcn.00424499
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.00424561
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esi + 0x54], eax
call edi
push 1
mov dword [esi + 0x5c], eax
call edi
mov ecx, esi
mov dword [esi + 0x60], eax
call fcn.00424511
pop edi
pop esi
leave
ret

Function at 0x4247f4
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x443b69
call fcn.004321d4
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x445ada
push edi
mov dword [ebp - 0x10], esi
call fcn.00403070
xor ebx, ebx
push edi
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.00403070
push edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
call fcn.00403070
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00424790
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x424b62
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x45652c]
push esi
push edi
mov edi, dword [ebp + 0x90]
test edi, edi
mov dword [ebp + 0x84], eax
je 0x424bd9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x424bd9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x424ba9
and al, 0x10
sub al, 0x10
neg al
sbb eax, eax
inc eax
jmp 0x424bdb
push edi
call fcn.0043469e
mov esi, eax
push 0x5c
push esi
call fcn.004332f0
add esp, 0xc
test eax, eax
je 0x424c49
push esi
mov byte [eax], 0
call fcn.00424b62
test al, al
pop ecx
push esi
jne 0x424bf0
call fcn.00432fe1
pop ecx
xor al, al
mov ecx, dword [ebp + 0x84]
pop edi
pop esi
call fcn.0043196c
add ebp, 0x88
leave
ret
call fcn.00432fe1
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00431a20
lea eax, [ebp - 0x80]
lea esi, [ebp - 0x80]
push eax
dec esi
call fcn.00431980
add esp, 0x10
jmp 0x424c26
push eax
call fcn.00431980
mov byte [eax + esi], 0
lea eax, [ebp - 0x80]
push eax
call fcn.00431980
pop ecx
pop ecx
cmp byte [eax + esi], 0x5c
lea eax, [ebp - 0x80]
je 0x424c11
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x424c49
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x424bd9
mov al, 1
jmp 0x424bdb
Function at 0x424c82
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
jne 0x424cab
xor al, al
jmp 0x424d26
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
je 0x424d1c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
je 0x424d1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
je 0x424d1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop edi
leave
ret
Function at 0x424df0
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x45652c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xd48], esi
jne 0x424e19
xor al, al
jmp 0x425005
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x424e24
lea edi, [esi + 0xc]
push edi
call fcn.00424b62
test al, al
pop ecx
jne 0x424e36
xor al, al
jmp 0x425004
lea eax, [ebp - 0x440]
push eax
mov ecx, esi
call fcn.00424a72
cmp byte [ebp - 0x210], bl
je 0x424e89
push ebx
lea eax, [ebp - 0x440]
push eax
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004344c6
mov esi, dword [esi + 4]
add esp, 0x14
cmp esi, ebx
je 0x424e77
push 1
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00424b62
pop ecx
jmp 0x425004
cmp byte [ebp + 0xc], bl
je 0x424ec9
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.00434556
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.004344c6
add esp, 0x28
push ebx
lea eax, [ebp - 0x440]
push eax
push edi
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004344c6
lea eax, [ebp - 0x108]
push eax
call fcn.00424c4d
add esp, 0x18
test al, al
je 0x424e2f
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
mov esi, 0x80
push esi
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0xd44], eax
jne 0x424f55
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push esi
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call edi
mov dword [ebp - 0xd44], eax
mov esi, dword [ebp - 0xd48]
push dword [esi + 8]
call fcn.0042c400
test eax, eax
jne 0x424e2f
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x424f7c
push ebx
lea ecx, [ebp - 0x108]
push ecx
call eax
push 0x800
lea eax, [ebp - 0xd40]
push eax
push dword [esi + 8]
call fcn.0042bd70
mov edi, eax
cmp edi, ebx
jle 0x424fbe
push ebx
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 0xd40]
push eax
push dword [ebp - 0xd44]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424fbb
cmp dword [ebp + 0xc], edi
je 0x424f7c
or edi, 0xffffffff
push dword [ebp - 0xd44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 8]
call fcn.0042bf70
cmp edi, ebx
jne 0x424ffd
push dword [ebp - 0x228]
lea eax, [ebp - 0x108]
push eax
call fcn.00424c82
pop ecx
pop ecx
push dword [ebp - 0x214]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
cmp edi, ebx
sete al
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0043196c
leave
ret 8
Function at 0x42c570
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x42c57f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x45536c]
test eax, eax
je 0x42c58d
call fcn.0042c420
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x42c681
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x45a7d8]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45a7d8]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x45a7d8]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45a7d8]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x45a7d8]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45a7d8]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x45a7d8]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45a7d8]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x42c5a7
pop edi
pop ebx
test edx, edx
je 0x42c6a1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45a7d8]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x42c685
not eax
pop esi
ret 0xc