joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41910a
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x34
mov eax, 0x424de4
call fcn.0042201e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004168a3
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41912e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401d9d
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00405898
lea eax, [ebp - 0x30]
push 0x4288e4
push eax
lea edi, [ebp + 8]
call fcn.00419383
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov edi, eax
mov byte [ebp - 4], 4
call fcn.00401de2
add esp, 0x10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, dword [section..data]
mov esi, section..data
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 7
mov eax, dword [section..data]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call fcn.00414917
mov dword [esp], 0x4288e8
push dword [ebp - 0x34]
lea edi, [ebp - 0x30]
call fcn.0041476a
mov edi, dword [ebp - 0x30]
pop ecx
pop ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41926b
mov eax, dword [section..data]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
push edi
push 0x40
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x3c]
push 0x40
lea esi, [ebp - 0x38]
call fcn.00401d53
push eax
push 0x428908
push 0x42890c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x428924
mov eax, esi
push eax
call fcn.00414ab9
xor esi, esi
test eax, eax
jne 0x419224
inc esi
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.004011ad
lea eax, [edi - 0x10]
call fcn.004011ad
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, esi
call fcn.004220a1
ret
xor esi, esi
jmp 0x41922f
Function at 0x419bee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, 0x208
xor ebx, ebx
push esi
mov edi, 0x104
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push ebx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x419c96
mov dword [ebp - 8], esi
add dword [ebp - 8], esi
push dword [ebp - 8]
add dword [ebp - 0xc], edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push dword [ebp - 8]
mov dword [ebp - 4], eax
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memset]
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x419c49
push dword [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004052b3
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a361
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0xffffffff
mov dword [ebp - 0x2c], eax
jne 0x41a38b
xor eax, eax
jmp 0x41a414
mov esi, dword [sym.imp.MSVCR100.dll_memset]
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call esi
push 0x44
lea eax, [ebp - 0x84]
push ebx
push eax
call esi
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add esp, 0x18
push 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
pop ecx
or dword [ebp - 0x58], 0x101
mov dword [ebp - 0x4c], eax
xor eax, eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
mov esi, str._ipconfig___all
lea edi, [ebp - 0x28]
push ebx
mov dword [ebp - 0x84], 0x44
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x41a384
push dword [ebp - 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x38]
call edi
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421ac2
leave
ret 4

Function at 0x41a425
Capabilities:
Read file on windows

Disassembly:
push 0x418
mov eax, 0x423b22
call fcn.0042201e
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x418], eax
mov eax, dword [section..data]
mov ebx, section..data
mov ecx, ebx
mov dword [ebp - 0x420], edi
mov esi, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x414], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi], eax
je 0x41a470
push eax
call fcn.0041a53f
jmp 0x41a473
xor eax, eax
inc eax
xor esi, esi
cmp eax, esi
jne 0x41a491
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, esi
call fcn.004220a1
ret 4
push esi
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [edi]
jmp 0x41a509
mov esi, dword [ebp - 0x41c]
test esi, esi
je 0x41a513
lea eax, [ebp - 0x410]
push eax
mov ecx, ebx
lea edi, [ebp - 0x424]
call fcn.0041b5af
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x424]
push dword [esi - 0xc]
lea eax, [ebp - 0x414]
push esi
call fcn.0041b745
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.004011ad
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 0x420]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41a4a9
push dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
call fcn.0041a563
push dword [ebp - 0x418]
call fcn.0041b0c8
xor esi, esi
test eax, eax
je 0x41a479
inc esi
jmp 0x41a479

Function at 0x41bf57
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x41c1ae
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x423ad6
call fcn.00421fb4
push 0x5c
mov ebx, 0x428b64
push ebx
call dword [sym.imp.MSVCR100.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x41c34b
mov esi, 0x433ce8
cmp word [0x4334e8], ax
jne 0x41c269
mov edi, 0x400
push edi
push 0x4334e8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x4334e8
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x41c20f
xor ecx, ecx
mov word [eax + 2], cx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41c23a
add eax, eax
cmp word [eax + 0x433ce6], 0x5c
je 0x41c23a
push 0x5c
pop edx
xor ecx, ecx
mov word [eax + 0x433ce8], dx
mov word [eax + 0x433cea], cx
push edi
push 0x4344e8
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x41c269
add eax, eax
cmp word [eax + 0x4344e6], 0x5c
je 0x41c269
push 0x5c
pop edx
xor ecx, ecx
mov word [eax + 0x4344e8], dx
mov word [eax + 0x4344ea], cx
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00401d9d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov edi, eax
call fcn.00419383
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ecx
pop ecx
push dword [eax]
call esi
mov edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
sete byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.004011ad
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011ad
cmp byte [ebp - 0xd], 0
je 0x41c354
push 0x4344e8
lea eax, [ebp - 0x14]
push eax
call fcn.00401d9d
lea ecx, [ebp - 0x18]
push ebx
push ecx
mov edi, eax
mov dword [ebp - 4], 1
call fcn.00419383
pop ecx
pop ecx
push dword [eax]
call esi
mov edi, eax
mov eax, dword [ebp - 0x18]
test edi, edi
sete byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.004011ad
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011ad
cmp byte [ebp - 0xd], 0
je 0x41c354
push 0x4334e8
lea eax, [ebp - 0x20]
push eax
call fcn.00401d9d
lea ecx, [ebp - 0x1c]
push ebx
push ecx
mov edi, eax
mov dword [ebp - 4], 2
call fcn.00419383
pop ecx
pop ecx
push dword [eax]
call esi
mov edi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011ad
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004011ad
jmp 0x41c354
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov eax, edi
call fcn.0042208d
ret
Function at 0x41d130
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423018
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x431034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x28
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x41d182
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x20], 0xf
mov dword [eax + 0x1c], ebx
mov byte [eax + 0xc], bl
mov esi, eax
jmp 0x41d184
xor esi, esi
push 0x10000000
push ebx
push ebx
push ebx
push str.Asynchronous_WinHTTP_1.0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
cmp eax, ebx
je 0x41d211
push 4
lea ecx, [ebp - 0x14]
push ecx
push 3
push eax
mov dword [ebp - 0x14], 0x4e20
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
setne al
cmp al, bl
je 0x41d211
push 0x4334a0
mov dword [ebp - 0x18], 0x4334a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 4], ebx
call fcn.0041dca0
push eax
lea edi, [ebp - 0x20]
call fcn.0041d890
push 0x4334a0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
push eax
call fcn.0041ff70
test al, al
jne 0x41d239
push esi
call fcn.0041cbd0
jmp 0x41d236
cmp dword [esi + 0x20], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x41d226
mov ecx, dword [esi + 0xc]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ff70
Capabilities:
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0xffffffffffffffff
lea edi, [esi + 0xc]
push 0
call fcn.0040558d
push 0x3c
lea eax, [ebp - 0x240]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x240]
push edx
push 0
push 0
lea ecx, [ebp - 0x204]
push str.http:__agent.sj.qq.com_query.do
mov dword [ebp - 0x240], 0x3c
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], 0x100
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x238], 0xffffffff
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x420007
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421ac2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x228]
mov edx, dword [esi]
push 0
push eax
lea ecx, [ebp - 0x204]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 4], eax
test eax, eax
je 0x41fff4
xor ecx, ecx
cmp dword [ebp - 0x234], 2
setne cl
dec ecx
and ecx, 0x800000
push ecx
mov ecx, dword [ebp - 0x214]
push 0
push 0
push 0
push ecx
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 8], eax
test eax, eax
je 0x41fff4
push 0
push 0x7e4000
push 0x4200d0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
test eax, eax
jne 0x41fff4
mov edx, dword [esi + 8]
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x41fff4
cmp dword [edi + 0x14], 0x10
mov eax, dword [esi + 0x1c]
jb 0x42009b
mov edi, dword [edi]
push esi
push eax
push eax
mov eax, dword [esi + 8]
push edi
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
pop edi
call fcn.00421ac2
mov esp, ebp
pop ebp
ret 4
Function at 0x42017b
Capabilities:
Get disk information

Disassembly:
push 0x244
mov eax, 0x422fe1
call fcn.0042201e
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 6
xor eax, eax
mov dword [ebp - 0x244], ebx
pop ecx
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
push 0x10
mov dword [ebp - 0x248], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
pop ecx
cmp edi, ebx
je 0x42020b
push edi
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
cmp eax, ebx
je 0x4201cc
cmp eax, 0x720
jne 0x420203
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
cmp eax, ebx
jne 0x420203
mov eax, dword [ebp - 0x23c]
cmp eax, ebx
je 0x420203
lea ecx, [ebp - 0x2c]
call fcn.00420134
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
pop ecx
push ebx
push ebx
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x240]
push eax
push 0x104
lea eax, [ebp - 0x238]
push eax
push 0x428e30
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call fcn.00401d88
mov dword [ebp - 4], ebx
push dword [ebp - 0x240]
lea eax, [ebp - 0x2c]
push eax
push str._s__lX
mov eax, esi
mov dword [ebp - 0x244], 1
call fcn.004021ec
add esp, 0xc
mov eax, esi
call fcn.004220a1
ret

Function at 0x4204ff
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2f
lea eax, [ebp - 0x33]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x34], 0
call sub.MSVCR100.dll_memset
push 0x30
pop edi
push edi
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.MSVCR100.dll_memset]
lea eax, [ebp - 0x34]
push ebx
push eax
mov ecx, 0x4271c0
call fcn.0042044a
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
add esp, 0x20
xor ecx, ecx
sub esi, eax
lea eax, [ebp + ecx - 0x34]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, edi
jl 0x420554
mov dword [ebp - 0x3c], ebx
xor edi, edi
lea eax, [ebp - 0x33]
movsx edx, byte [eax + 4]
movsx ecx, byte [eax - 1]
movsx esi, byte [eax + 1]
lea ecx, [edx + ecx*2]
movsx edx, byte [eax]
lea edx, [esi + edx*2]
movsx esi, byte [eax + 2]
lea edx, [esi + edx*2]
movsx esi, byte [eax + 3]
add ecx, edi
xor ebx, ebx
lea edx, [esi + edx*2]
add ecx, ecx
lea esi, [edx + ecx*8 + 0x427288]
mov dword [ebp - 0x38], 3
mov cl, byte [ebp - 0x38]
mov dl, byte [esi]
sar dl, cl
mov ecx, dword [ebp - 0x3c]
and dl, 1
mov byte [ebx + ecx], dl
inc ebx
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xffffffff
jg 0x4205a1
add dword [ebp - 0x3c], 4
add edi, 4
add eax, 6
cmp edi, 0x20
jl 0x42056a
push dword [ebp - 0x40]
mov ecx, 0x4271f0
push dword [ebp - 0x40]
push 0x20
pop edi
call fcn.0042044a
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421ac2
leave
ret
Function at 0x4205ee
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x44], bl
call sub.MSVCR100.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.00420370
lea eax, [ebp - 0x44]
push eax
push eax
push 0x38
pop edi
mov ecx, str.91__
call fcn.0042044a
add esp, 0x1c
mov dword [ebp - 0x48], ebx
mov edi, dword [ebp - 0x48]
lea edi, [edi + 0x427278]
movsx ebx, byte [edi]
push 0x1c
pop ecx
lea esi, [ebp - 0x44]
call fcn.004203a2
movsx ebx, byte [edi]
push 0x1c
pop ecx
lea esi, [ebp - 0x28]
call fcn.004203a2
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
mov ecx, 0x427248
push 0x30
pop edi
call fcn.0042044a
inc dword [ebp - 0x48]
add dword [ebp - 0x4c], edi
cmp dword [ebp - 0x48], 0x10
pop ecx
pop ecx
jl 0x420639
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421ac2
leave
ret
Function at 0x42068f
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x3f
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x43]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x44], 0
call sub.MSVCR100.dll_memset
push 7
xor eax, eax
pop ecx
push dword [ebp + 0xc]
mov byte [ebp - 0x64], 0
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push eax
call fcn.00420370
lea eax, [ebp - 0x44]
push eax
push eax
push 0x40
pop edi
mov ecx, 0x427140
call fcn.0042044a
add esp, 0x1c
cmp dword [ebp + 0x10], 0
push 0x20
pop edi
jne 0x420743
mov ebx, esi
mov esi, dword [sym.imp.MSVCR100.dll_memcpy]
mov dword [ebp - 0x68], 0x10
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.004204ff
add esp, 0x10
xor eax, eax
mov cl, byte [ebp + eax - 0x44]
xor byte [ebp + eax - 0x24], cl
inc eax
cmp eax, edi
jl 0x42071e
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
add ebx, 0x30
dec dword [ebp - 0x68]
jne 0x420705
jmp 0x420796
lea ebx, [esi + 0x2d0]
mov esi, dword [sym.imp.MSVCR100.dll_memcpy]
mov dword [ebp - 0x68], 0xf
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.004204ff
add esp, 0x10
xor eax, eax
mov cl, byte [ebp + eax - 0x44]
xor byte [ebp + eax - 0x24], cl
inc eax
cmp eax, edi
jl 0x42076f
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
add esp, 0xc
dec dword [ebp - 0x68]
sub ebx, 0x30
cmp dword [ebp - 0x68], 0
jge 0x420756
mov ebx, edi
push 0x40
pop edi
mov ecx, edi
lea esi, [ebp - 0x44]
call fcn.004203a2
mov eax, esi
push eax
push eax
mov ecx, 0x427180
call fcn.0042044a
mov ebx, dword [ebp - 0x6c]
push 8
xor esi, esi
push esi
push ebx
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0x14
or edi, 0xffffffff
mov dl, byte [ebp + esi - 0x44]
mov ecx, edi
and ecx, 7
shl dl, cl
mov eax, esi
sar eax, 3
or byte [eax + ebx], dl
inc esi
dec edi
cmp edi, 0xffffffbf
jg 0x4207c8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421ac2
leave
ret
Function at 0x420b70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423850
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x54], edi
cmp dword [edi + 4], ebx
je 0x420ccb
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x420ccb
cmp dword [ebp - 0x4c], ebx
jle 0x420cc4
mov esi, dword [eax]
xor edx, edx
push esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call dword [sym.imp.MSVCR100.dll_wcslen]
mov ecx, esi
add esp, 4
lea esi, [ebp - 0x48]
call fcn.00405d01
mov dword [ebp - 4], ebx
lea ebx, [edi + 8]
mov eax, esi
call fcn.00420cf0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov ebx, 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], ebx
jle 0x420c7b
mov ecx, dword [ebp - 0x50]
mov esi, dword [ecx + ebx*4]
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x2c]
call fcn.00416c67
lea esi, [ebp - 0x2c]
call fcn.00420f80
inc ebx
cmp ebx, dword [ebp - 0x4c]
jl 0x420c25
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x420c78
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x420c60
mov eax, esi
mov edx, 0x20
cmp dx, word [eax + ecx*2 - 2]
jne 0x420c78
dec ecx
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00405d7d
mov edi, dword [ebp - 0x54]
lea ebx, [edi + 0xc]
lea eax, [ebp - 0x2c]
call fcn.00420cf0
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x420c9f
mov eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x420cc1
mov edx, dword [ebp - 0x48]
push edx
call ebx
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421ac2
mov esp, ebp
pop ebp
ret 4