joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420c04
Capabilities:
Copy file
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x420c0c
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040444c
xor eax, eax
push ebp
push 0x420def
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403f9c
mov eax, dword [0x43a8b4]
mov edx, dword [ebp - 4]
call fcn.00403ff0
lea edx, [ebp - 0x24]
mov eax, 0x420e08
call fcn.0041e4f8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov ecx, 0x420e20
call fcn.004042a8
lea eax, [ebp - 0x28]
call fcn.0041e664
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.0041e294
push dword [ebp - 0x2c]
push 0x420e54
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040431c
push 0
mov eax, dword [ebp - 0x20]
call fcn.0040445c
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x420dc7
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41c6d0]
call fcn.0041c79c
mov edx, 0x420e64
call fcn.0041d2c4
mov ebx, eax
jmp 0x420db0
mov dl, 1
mov eax, dword [0x41541c]
call fcn.0040314c
mov edx, 0x420e84
mov eax, ebx
call fcn.0041dbf0
mov edx, eax
mov eax, ebx
call fcn.0041de2c
mov edi, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call sub.crypt32.dll_CryptUnprotectData
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0040408c
push dword [esi]
mov edx, 0x420e9c
mov eax, ebx
call fcn.0041dbf0
mov edx, eax
lea ecx, [ebp - 0x30]
mov eax, ebx
call fcn.0041e190
push dword [ebp - 0x30]
push 0x420eb0
mov eax, esi
mov edx, 3
call fcn.0040431c
push dword [esi]
mov edx, 0x420ebc
mov eax, ebx
call fcn.0041dbf0
mov edx, eax
lea ecx, [ebp - 0x34]
mov eax, ebx
call fcn.0041e190
push dword [ebp - 0x34]
push 0x420eb0
mov eax, esi
mov edx, 3
call fcn.0040431c
push dword [esi]
push dword [ebp - 8]
push 0x420eb0
push 0x420ed4
mov eax, esi
mov edx, 4
call fcn.0040431c
mov eax, ebx
call fcn.0041e208
mov eax, ebx
call fcn.0041dbe4
test al, al
je 0x420cdb
mov eax, dword [ebp - 0x20]
call fcn.0041e448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420df6
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00403fc0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fc0
ret
Function at 0x42515c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00424e60
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040445c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4251ba
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x43a824]
mov dl, 1
mov eax, dword [0x424d84]
call fcn.0040ae88
call fcn.004038f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4306ec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040444c
xor eax, eax
push ebp
push 0x4307c2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
add eax, 0xffffff00
mov byte [eax], bl
inc ebx
inc eax
cmp ebx, 0x100
jne 0x430720
xor ebx, ebx
lea esi, [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.0040425c
push eax
mov eax, ebx
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x430734
mov ebx, pe_nt_image_headers32
mov eax, dword [ebp + 8]
add eax, 0xffffff00
lea esi, [ebp - 0x108]
mov dl, byte [eax]
xor ecx, ecx
mov cl, dl
add ecx, dword [ebp - 8]
movzx edi, byte [esi]
add ecx, edi
and ecx, 0x800000ff
jns 0x430788
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov cl, byte [ecx + edi - 0x100]
mov byte [eax], cl
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov byte [ecx + edi - 0x100], dl
inc esi
inc eax
dec ebx
jne 0x43076a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4307c9
lea eax, [ebp - 4]
call fcn.00403f9c
ret
Function at 0x432b34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x432b63
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x432be2
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00431164
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x432bb0
mov cx, word [esp]
sub cx, si
jmp 0x432bb2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x432b99
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x432bd8
mov cx, word [esp]
sub cx, si
jmp 0x432bda
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x432bc1
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x432c3f
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00432808
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x432c2a
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x432c3f
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x432b3e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x409418
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40942b
test al, 0x10
je 0x40942b
mov al, 1
ret
xor al, al
ret

Function at 0x40dc60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 8
mov edi, edx
mov ebx, ecx
jb 0x40dc82
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
mov esi, eax
add esp, 4
cmp esi, 0x100
jb 0x40dcf7
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x2000
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, 0x2000
lea eax, [ebp - 0x50]
mov dword [ebp - 0xc], ecx
cmovle eax, edx
cmp esi, dword [eax]
ja 0x40dcf7
mov ecx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
push str.advancedSettings.memorySize
mov dword [ebp - 0xc], esi
call fcn.0040bbb0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret
push 0x10
push str.parameter_error_
mov ecx, edi
call fcn.00404eb0
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00440154
mov esp, ebp
pop ebp
ret
Function at 0x4112f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 6
cmp ebx, eax
jge 0x4114d7
mov esi, dword [ebp + 0x18]
mov edx, ebx
shl edx, 6
mov dword [ebp + 0xc], edx
lea esp, [esp]
push dword [edx + edi]
mov ecx, esi
call fcn.00434000
test al, al
je 0x41133b
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edi + 0x3c], 3
jmp 0x411357
mov eax, dword [ebp + 0xc]
mov ecx, esi
push dword [eax + edi]
call fcn.004340a0
mov ecx, dword [ebp + 0xc]
test al, al
je 0x411357
mov dword [ecx + edi + 0x3c], 4
cmp byte [ebp + 0x10], 0
mov eax, dword [ecx + edi]
mov esi, eax
je 0x41136a
or esi, 0x1000000
jmp 0x411378
cmp byte [ebp + 0x14], 0
je 0x411378
mov esi, eax
or esi, 0x5000000
push eax
lea eax, [ebp - 0x1c]
mov dword [ecx + edi + 0x3c], 0
mov ecx, dword [ebp + 0x18]
push eax
call fcn.004337d0
cmp dword [eax + 0x14], 8
jb 0x411395
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x4113b2
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
cmp eax, 5
jne 0x4113dc
mov dword [edx + edi + 0x3c], 1
mov ecx, dword [edx + edi + 0x1c]
test ecx, ecx
je 0x4114b5
lea eax, [edx + 0x20]
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 0xc]
push str.TheRender
push str.RenderWindow
push 0
push dword [eax + edi + 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0xc]
mov dword [edx + edi + 0x24], eax
test eax, eax
je 0x4114b5
push 0x44b704
push str.subWin
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0xc]
mov ecx, eax
cmp dword [edx + edi + 0x24], 0
mov dword [edx + edi + 0x28], ecx
je 0x4114b5
lea eax, [edx + 0x2c]
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi + 0x3c], 1
je 0x4114b5
push dword [edx + edi]
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.004337d0
cmp dword [eax + 0x14], 8
jb 0x41146e
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x41148b
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
mov dword [edx + edi + 0x3c], ecx
mov eax, dword [ebp + 8]
inc ebx
mov dword [edx + edi], esi
add edx, 0x40
mov esi, dword [ebp + 0x18]
mov dword [ebp + 0xc], edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 6
cmp ebx, eax
jl 0x411320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442b58
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x4166d7
cmp byte [edi + 0x45], 0
je 0x4166d7
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4165b0
xor al, al
jmp 0x4166d9
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.0041b390
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x41660f
dec eax
je 0x416613
sub eax, 2
je 0x4166bd
xor bl, bl
jmp 0x4166bf
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub esi, eax
je 0x41664b
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x416608
cmp byte [edi + 0x45], 0
je 0x4166bd
test esi, esi
jne 0x4165c4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x4166b2
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00405850
test al, al
je 0x4165c4
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
cmovae ecx, dword [esp + 0x18]
movq qword [ecx + eax], xmm0
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], esi
cmovae eax, dword [esp + 0x18]
mov byte [eax + esi], 0
jmp 0x4165c4
push str.string_too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4166d3
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x4166d9
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00440154
mov esp, ebp
pop ebp
ret
Function at 0x41f690
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4433ba
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], eax
mov byte [esi + 0x30], al
sub esp, 8
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.0041fd00
mov dword [esi + 0x48], eax
lea eax, [esi + 0x50]
mov byte [ebp - 4], 3
push 2
push eax
call dword [sym.imp.MSVCP120.dll__Mtx_init]
add esp, 8
test eax, eax
je 0x41f71e
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
lea eax, [esi + 0x54]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.MSVCP120.dll__Cnd_init]
add esp, 4
test eax, eax
je 0x41f73d
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [esi + 0x58], 0
mov byte [esi + 0x5c], 0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x64]
mov word [esi + 0x60], 0
call fcn.00421cc0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420ed0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44360b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00420970
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x420f29
cmp eax, 0x6f
jne 0x420f58
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x420f58
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x420f76
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x420f90
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x420fac
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x4210bb
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x44c6ec
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x421051
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421042
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404eb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.004210f0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4210de
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x4210bb
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x420f90
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x420f5a
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x421120
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42126a
test edx, edx
jle 0x42126a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00421280
lea ecx, [ebp - 0x94]
call fcn.00421350
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00421420
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4211c8
mov eax, dword [esi]
jmp 0x4211ca
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x421217
cmp ecx, 0x10
jb 0x4211da
mov edx, dword [esi]
jmp 0x4211dc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x421217
cmp ecx, 0x10
jb 0x4211f1
mov ecx, dword [esi]
jmp 0x4211f3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00405580
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x421228
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004056b0
cmp dword [esi + 0x14], 0x10
jb 0x421232
mov eax, dword [esi]
jmp 0x421234
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x421252
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00440154
mov esp, ebp
pop ebp
ret

Function at 0x424b40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00405040
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x424b74
xor al, al
jmp 0x424bae
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x424ba2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x424bae
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x424d50
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00405040
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
jne 0x424d8c
xor al, al
jmp 0x424e0c
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x424dad
mov al, 1
jmp 0x424e0c
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x424dd4
jmp 0x424e02
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x424dfa
jmp 0x424e02
mov al, 1
jmp 0x424e0c
mov ecx, dword [ebp - 4]
call fcn.00424e20
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x425150
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405040
push eax
mov ecx, dword [ebp + 8]
call fcn.00405040
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x425179
mov al, 1
jmp 0x4251b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00405040
push eax
mov ecx, dword [ebp + 8]
call fcn.00405040
push eax
push str.copy_file_from____s___to____s___flag___d_failed__error___d.
push 0x103
push str.utility::ufile::copyFile
call fcn.00421b80
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret