joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b448
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x43e720
call fcn.00429c1e
mov edx, dword [0x4544e0]
xor ebx, ebx
xor edi, edi
inc ebx
cmp edx, edi
jne 0x41b47a
mov dword [0x44f028], ebx
mov dword [0x44f02c], ebx
mov dword [0x4544dc], edi
call fcn.0041b417
add edx, 5
mov dword [0x4544e0], edx
cmp edx, 0x15180
jb 0x41b496
mov dword [0x4544e0], edi
jmp 0x41b587
cmp dword [0x44f028], edi
jne 0x41b4aa
cmp dword [0x44f02c], edi
je 0x41b587
cmp edx, dword [0x4544e4]
jb 0x41b587
cmp dword [0x4544dc], edi
jne 0x41b512
cmp dword [0x4544d8], edi
jne 0x41b512
push 0x24
call fcn.004254b1
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x41b4e2
push eax
call fcn.004186b2
mov esi, eax
jmp 0x41b4e4
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x41b504
call fcn.0041873a
test eax, eax
je 0x41b4fd
mov dword [0x4544d8], esi
jmp 0x41b504
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
cmp dword [0x4544d8], edi
jne 0x41b512
mov dword [0x44f028], edi
cmp dword [0x44f02c], edi
je 0x41b528
cmp word [0x453cd8], di
jne 0x41b528
call fcn.0041afda
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x44f028], edi
je 0x41b555
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x41b364
push edi
push edi
mov dword [ebp - 0x10], edi
call fcn.00425a61
add esp, 0x18
cmp eax, edi
je 0x41b555
push eax
call esi
cmp dword [0x44f02c], edi
je 0x41b57c
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x41b3e3
push edi
push edi
mov dword [ebp - 0x10], edi
call fcn.00425a61
add esp, 0x18
cmp eax, edi
je 0x41b57c
push eax
call esi
inc dword [0x4544dc]
call fcn.0041b417
call fcn.00429cf6
ret

Function at 0x41ba52
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x41ba7b
xor eax, eax
jmp 0x41baec
push ebx
push esi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0xc], edi
cmp dword [ebp - 8], edi
ja 0x41badf
cmp esi, 0x1000000
jae 0x41badf
shl eax, 2
push eax
call fcn.00425716
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x41badf
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bad8
cmp dword [ebp - 0xc], esi
jne 0x41bad8
mov eax, dword [ebp + 0xc]
push dword [ebp - 4]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x41baea
push ebx
call fcn.004257e0
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
Function at 0x41bc5d
Capabilities:
Create thread

Disassembly:
cmp dword [0x4551f0], 6
jae 0x41bc69
xor eax, eax
ret
push esi
push edi
push 0x28
call fcn.004254b1
push 0x28
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.004253c0
mov eax, dword [esp + 0x1c]
add esp, 0x10
push edi
push edi
push esi
push 0x41bb70
push edi
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], 0x1688
mov dword [esi + 0x10], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x41c92c
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
call fcn.0041da2d
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
jne 0x41c941
xor eax, eax
jmp 0x41c989
lea eax, [esi + 4]
push edi
cmp eax, ebx
je 0x41c954
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x41c958
mov edi, dword [esp + 0xc]
cmp dword [esi + 0x24], ebx
jne 0x41c97a
push ebx
push ebx
push esi
push 0x41d925
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa48], eax
mov dword [esi + 0x24], 1
cmp edi, ebx
je 0x41c985
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c98d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
test esi, esi
jne 0x41c999
xor eax, eax
leave
ret
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41c995
push esi
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41c995
push esi
call fcn.00425946
dec eax
lea eax, [esi + eax*2]
cmp word [eax], 0x5c
pop ecx
jne 0x41c9d3
xor ecx, ecx
mov word [eax], cx
mov eax, 0x104
push eax
push str.360SafeLogInfo
push eax
push esi
call fcn.00427167
xor eax, eax
add esp, 0x10
inc eax
leave
ret
Function at 0x41ce92
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x670], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
mov edi, ecx
call fcn.004253c0
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
call fcn.004253c0
push 0x24c
lea eax, [ebp - 0x668]
push ebx
push eax
mov dword [ebp - 0x66c], ebx
call fcn.004253c0
push str..log
push dword [ebp - 0x670]
lea esi, [edi + 0x430]
push esi
mov ebx, 0x104
push str._s_s_s
mov ecx, ebx
lea edi, [ebp - 0x214]
call fcn.00416091
add esp, 0x34
lea eax, [ebp - 0x66c]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x670], eax
cmp eax, 0xffffffff
je 0x41cf99
test byte [ebp - 0x66c], 0x10
jne 0x41cf76
lea eax, [ebp - 0x640]
push eax
push esi
push 0x445f08
mov ecx, ebx
lea edi, [ebp - 0x41c]
call fcn.00416091
add esp, 0xc
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41cf47
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425271
leave
ret 4

Function at 0x41cfaa
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push str..log2
add eax, 0x430
mov ebx, edx
push str.New360_formal_
xor edx, edx
push eax
mov dword [ebp - 0x674], ecx
mov word [ecx], dx
mov esi, 0x104
push str._s_s_s
mov ecx, esi
lea edi, [ebp - 0x41c]
mov dword [ebp - 0x678], eax
call fcn.00416091
add esp, 0x10
lea eax, [ebp - 0x66c]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x670], eax
cmp eax, 0xffffffff
je 0x41d093
test byte [ebp - 0x66c], 0x10
jne 0x41d056
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x678]
mov ecx, esi
push 0x445f08
lea edi, [ebp - 0x214]
call fcn.00416091
add esp, 0xc
test ebx, ebx
je 0x41d056
mov eax, edi
push eax
call fcn.0041d0a6
test eax, eax
jne 0x41d06f
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d01b
jmp 0x41d082
push dword [ebp - 0x674]
lea edx, [ebp - 0x214]
mov ecx, esi
call fcn.00405a76
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x41d095
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425271
leave
ret 4
Function at 0x41d156
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xa34], 0
push ebx
push esi
push edi
mov esi, ecx
push str.Newctrl.lck
lea eax, [esi + 0x430]
push eax
push 0x445f08
mov ecx, 0x104
lea edi, [ebp - 0xa30]
mov dword [ebp - 0xa40], esi
call fcn.00416091
add esp, 0xc
mov eax, edi
push eax
lea ebx, [ebp - 0xa3c]
call fcn.0041d0a6
test eax, eax
jne 0x41d1b9
push 2
pop eax
jmp 0x41d2f9
push str.360_tmp_
mov ecx, esi
call fcn.0041ce92
push str.360_formal_
mov ecx, esi
call fcn.0041ce92
push esi
lea edx, [ebp - 0xa38]
lea ecx, [ebp - 0x418]
call fcn.0041cfaa
xor ebx, ebx
inc ebx
test eax, eax
jne 0x41d236
push esi
lea ecx, [ebp - 0x620]
call fcn.0041d56c
test eax, eax
je 0x41d241
xor eax, eax
cmp ax, word [ebp - 0x620]
je 0x41d241
lea eax, [ebp - 0x828]
push eax
lea edx, [ebp - 0x620]
mov ecx, 0x104
call fcn.00405a76
lea eax, [ebp - 0x620]
push eax
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.0041d6be
test eax, eax
jne 0x41d2b1
jmp 0x41d241
xor eax, eax
cmp ax, word [ebp - 0x418]
jne 0x41d250
mov dword [ebp - 0xa34], 2
jmp 0x41d2e8
push str..up2
lea eax, [ebp - 0x418]
push eax
push str._s_s
mov ecx, 0x104
lea edi, [ebp - 0x210]
call fcn.00416091
add esp, 0xc
lea esi, [ebp - 0xa38]
call fcn.0041d108
push ebx
mov eax, edi
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41d2e8
lea eax, [ebp - 0x828]
push eax
lea edx, [ebp - 0x418]
mov ecx, 0x104
call fcn.00405a76
mov esi, dword [ebp - 0xa40]
lea eax, [ebp - 0x210]
push eax
call fcn.0041d308
test eax, eax
lea eax, [ebp - 0x210]
push eax
jne 0x41d2d0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41d2e8
call fcn.0041d420
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xa34], ebx
lea esi, [ebp - 0xa3c]
call fcn.0041d108
mov eax, dword [ebp - 0xa34]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425271
leave
ret
Function at 0x41d308
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 4
push esi
push 3
push 0x12019f
push eax
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe0], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41d409
push 0xc4
lea eax, [ebp - 0xd0]
push esi
push eax
mov dword [ebp - 0xd4], esi
call fcn.004253c0
add esp, 0xc
push esi
lea eax, [ebp - 0xe0]
push eax
mov edi, 0xc8
push edi
lea eax, [ebp - 0xd4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d3fd
cmp dword [ebp - 0xe0], edi
jne 0x41d3fd
cmp dword [ebp - 0xd4], 0x5148534c
jne 0x41d3fd
cmp dword [ebp - 0xd0], edi
jne 0x41d3fd
push esi
call fcn.00427316
pop ecx
push esi
push esi
push esi
push ebx
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41d3fd
push esi
lea eax, [ebp - 0xd8]
push eax
push edi
lea eax, [ebp - 0xd4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d3fd
cmp dword [ebp - 0xd8], edi
jne 0x41d3fd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
mov dword [ebp - 0xdc], 1
cmp ebx, 0xffffffff
je 0x41d409
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xdc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425271
leave
ret 4
Function at 0x41d56c
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push str..log2
add eax, 0x430
xor ecx, ecx
push str.New360_tmp_
push eax
mov word [esi], cx
push str._s_s_s
mov ecx, 0x104
lea edi, [ebp - 0x41c]
mov dword [ebp - 0x670], esi
mov dword [ebp - 0x67c], eax
call fcn.00416091
add esp, 0x10
lea eax, [ebp - 0x66c]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x674], eax
cmp eax, 0xffffffff
je 0x41d6aa
test byte [ebp - 0x66c], 0x10
jne 0x41d683
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x67c]
mov ecx, 0x104
push 0x445f08
lea edi, [ebp - 0x214]
call fcn.00416091
add esp, 0xc
push dword [ebp - 0x654]
push dword [ebp - 0x658]
call fcn.0041d4f3
test eax, eax
je 0x41d683
mov eax, edi
push eax
lea ebx, [ebp - 0x678]
call fcn.0041d0a6
test eax, eax
je 0x41d683
push esi
mov edx, edi
mov ecx, 0x104
call fcn.00405a76
mov esi, ebx
call fcn.0041d108
push 1
push 0
push 0
push dword [ebp - 0x650]
call fcn.00436b80
mov ecx, dword [ebp - 0x64c]
xor esi, esi
add eax, ecx
adc edx, esi
test eax, eax
jne 0x41d69e
test edx, edx
jne 0x41d69e
mov esi, dword [ebp - 0x670]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d5df
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00425271
leave
ret 4
Function at 0x41d6be
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x400f0
call fcn.004337b0
mov eax, dword [0x44d08c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push 0xc4
mov dword [ebp - 0x400e8], eax
lea eax, [ebp - 0x400d0]
push esi
push eax
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x400ec], esi
mov dword [ebp - 0x400d4], esi
call fcn.004253c0
add esp, 0xc
push str..log2
push esi
call fcn.00427316
pop ecx
push eax
push str.New360_tmp_
push str.up2.
add edi, 0x430
push edi
push str._s_s_s_d_s
mov ecx, 0x104
mov edi, ebx
call fcn.00416091
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x18
push esi
push esi
push 4
push esi
push 3
push 0x12019f
push ebx
call edi
mov dword [ebp - 0x400e0], eax
cmp eax, 0xffffffff
je 0x41d87a
push esi
push esi
push 3
push esi
push 1
push 0x120089
push dword [ebp - 0x400e8]
call edi
mov dword [ebp - 0x400dc], eax
cmp eax, 0xffffffff
jne 0x41d788
mov dword [ebp - 0x400dc], esi
jmp 0x41d854
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea ecx, [ebp - 0x400d8]
push ecx
mov edi, 0xc8
push edi
lea ecx, [ebp - 0x400d4]
push ecx
push eax
call ebx
test eax, eax
je 0x41d854
cmp dword [ebp - 0x400d8], edi
jne 0x41d854
push esi
lea eax, [ebp - 0x400e4]
push eax
push edi
lea eax, [ebp - 0x400d4]
push eax
push dword [ebp - 0x400e0]
mov dword [ebp - 0x400c0], 1
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d854
cmp dword [ebp - 0x400e4], edi
jne 0x41d854
mov edi, 0x40000
jmp 0x41d82e
cmp dword [ebp - 0x400d8], esi
je 0x41d84a
push esi
lea eax, [ebp - 0x400e4]
push eax
push dword [ebp - 0x400d8]
lea eax, [ebp - 0x4000c]
push eax
push dword [ebp - 0x400e0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d854
mov eax, dword [ebp - 0x400e4]
cmp eax, dword [ebp - 0x400d8]
jne 0x41d854
push esi
lea eax, [ebp - 0x400d8]
push eax
push edi
lea eax, [ebp - 0x4000c]
push eax
push dword [ebp - 0x400dc]
call ebx
test eax, eax
jne 0x41d7f3
mov dword [ebp - 0x400ec], 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x400e0], esi
je 0x41d86a
push dword [ebp - 0x400e0]
call edi
cmp dword [ebp - 0x400dc], esi
je 0x41d87a
push dword [ebp - 0x400dc]
call edi
push dword [ebp - 0x400e8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x400ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425271
leave
ret 4
Function at 0x41db08
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push edi
push dword [esp + 0xc]
call fcn.00405600
pop ecx
mov dword [esi + 0x20], eax
test eax, eax
jne 0x41db1f
xor eax, eax
jmp 0x41db95
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SmartUploadCreate
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x41db1b
push str.SmartUploadWithExtInfo
push dword [esi + 0x20]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x41db1b
push str.SmartUploadCancel
push dword [esi + 0x20]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x41db1b
push str.SmartUploadClose
push dword [esi + 0x20]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x41db1b
push str.SmartUploadSetNetTimeout
push dword [esi + 0x20]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x41db1b
push str.SmartUploadSetOption
push dword [esi + 0x20]
call edi
push str.SmartUploadGetError
push dword [esi + 0x20]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop ecx
ret 4

Function at 0x41e060
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x44d08c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00421f00
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00421fa0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00425271
add esp, 0x68
ret
Function at 0x41e1f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x4461e0
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e381
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e283
cmp dword [esp + 0x14], 1
jne 0x41e368
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x41e368
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x41e2c8
cmp dword [esp + 0x14], 1
jne 0x41e368
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x41e368
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x41e2ff
cmp dword [esp + 0x14], 1
jne 0x41e368
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x41e368
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x41e368
cmp dword [esp + 0x14], 3
jne 0x41e368
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x41e368
lea eax, [esi + 0xc]
call fcn.0041e0d0
test eax, eax
je 0x41e368
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x41e790
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x44d08c]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00420a30
add esp, 8
test eax, eax
jne 0x41e7fb
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00425271
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x41e810
push esi
lea ecx, [esp + 0x14]
call fcn.00421f00
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00421fa0
test edi, edi
je 0x41e82e
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00425271
add esp, 0x6c
ret

Function at 0x41e890
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x44d08c]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00420c30
add esp, 4
test eax, eax
jne 0x41e8ee
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00425271
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.00421fa0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00425271
add esp, 0x64
ret

Function at 0x41e910
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x44d08c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.00420d20
add esp, 8
test eax, eax
jne 0x41e98f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00425271
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.00421ae0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.00425271
add esp, 0x74
ret

Function at 0x41f380
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f3b2
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.00422de0
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x41f3d7
push 0x446374
push 0xfe
push str..QHImageHlp.c
mov edx, 1
call fcn.00422f10
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x4208a0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
test eax, eax
jne 0x4208ed
push str.GetFileSizeEx__
push 0x11e
push str..QHImageHlp.c
call fcn.00422de0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x420984
jg 0x420913
cmp ebx, ecx
jb 0x420984
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x420949
push str.SetFilePointerEx__
push 0xf9
push str..QHImageHlp.c
xor edx, edx
call fcn.00422de0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.0041f380
test eax, eax
je 0x42093f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42096a
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x420991
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x420991
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret