joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436140
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x436181
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436181
push esi
call fcn.0044e180
add esp, 4
test eax, eax
je 0x436181
push esi
call fcn.00404580
add esp, 4
test eax, eax
jne 0x436181
call fcn.0044e050
push eax
push esi
call fcn.0044e060
add esp, 8
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push esi
push eax
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
ret

Function at 0x436580
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x467ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
mov eax, dword [0x484064]
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x81c], edi
call fcn.0042f760
cmp eax, edi
je 0x436674
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.004328f0
push 0x800
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0044e2b0
mov eax, dword [esp + 0x18]
add esp, 0xc
push str.360ver.dll
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436641
lea eax, [esp + 0x10]
push eax
call fcn.00404580
add esp, 4
test eax, eax
jne 0x436641
call fcn.0044e050
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0044e060
add esp, 8
jmp 0x436674
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
je 0x436674
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x43666d
call eax
test eax, eax
je 0x43666d
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x4366a1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4366a1
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0044eec4
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044e29c
add esp, 0x814
ret
Function at 0x437790
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46a2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x82c]
push 0x800
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0044e2b0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4378a7
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call fcn.00419ca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x824], 0
call fcn.0041d4c0
push 0x22
lea ecx, [esp + 0x10]
call fcn.0041d590
lea ecx, [esp + 0xc]
call fcn.0041d520
push 0x22
lea ecx, [esp + 0x10]
call fcn.0041d5f0
mov esi, dword [esp + 0xc]
push 0x471d54
push esi
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4378ab
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x4378a7
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4378a7
push esi
call fcn.0044eec4
add esp, 4
xor eax, eax
jmp 0x4378de
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.004179a0
lea eax, [esi - 0xc]
cmp eax, dword [0x484060]
je 0x4378d9
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4378d9
push esi
call fcn.0044eec4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0044e29c
add esp, 0x81c
ret 4
Function at 0x437910
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46a301
mov eax, dword fs:[0]
push eax
mov eax, 0x1010
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x1024]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0042f7a0
mov edi, eax
test edi, edi
je 0x437b04
mov eax, dword [0x484064]
mov dword [esp + 0x14], eax
mov ecx, esi
mov dword [esp + 0x102c], 0
call fcn.0042f760
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x437adb
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.004328f0
push 0x800
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0044e2b0
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.modules360Inst.exe
push eax
lea ecx, [esp + 0x28]
push ecx
call esi
push 0x800
lea edx, [esp + 0x824]
push 0
push edx
call fcn.0044e2b0
mov eax, dword [esp + 0x20]
add esp, 0xc
push str.360ver.dll
push eax
lea ecx, [esp + 0x828]
push ecx
call esi
push str._URL:http:__pinst.360.cn_360safe_uninst_inst.cab
lea ecx, [esp + 0x20]
call fcn.00419ca0
push str.http:__down.360safe.com_inst.exe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1030], 1
call fcn.00419ca0
lea edx, [esp + 0x820]
push edx
mov byte [esp + 0x1030], 2
call fcn.00404690
test eax, eax
je 0x437a5a
push str.IsBetaVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437a5a
call eax
test eax, eax
je 0x437a5a
push str._URL:http:__pinst.360.cn_360safebeta_uninst_instbeta.cab
lea ecx, [esp + 0x20]
call fcn.004179a0
push str.http:__down.360safe.com_instbeta.exe
lea ecx, [esp + 0x1c]
call fcn.004179a0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x437a89
push 1
push 0
push 0
push esi
push str.open
push 0
call fcn.00436140
add esp, 0x18
jmp 0x437a9f
mov ecx, dword [edi]
mov eax, dword [ecx + 0x20]
push 0
push 0
push 1
push 5
push ebx
lea edx, [esp + 0x34]
push edx
push edi
call eax
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x437abd
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x437abd
push esi
call fcn.0044eec4
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, dword [0x484060]
je 0x437adb
lea esi, [ebx - 0xc]
push esi
call ebp
test eax, eax
jg 0x437adb
push esi
call fcn.0044eec4
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x437b04
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x437b04
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044eec4
add esp, 4
mov ecx, dword [esp + 0x1024]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.0044e29c
add esp, 0x101c
ret
Function at 0x438fd0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
test ecx, ecx
je 0x438fdb
lea edi, [ecx - 0x2c]
jmp 0x438fdd
xor edi, edi
cmp byte [ecx + 0x1c], 0
mov esi, dword [esp + 0x10]
je 0x439015
mov eax, dword [edi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x439006
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43901a
test esi, esi
jne 0x439015
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43901a
cmp esi, 1
je 0x439031
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
cwde
push edx
push eax
lea ecx, [edi + 0x2c]
call fcn.004389c0
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x439f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46a4d3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0042fa00
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
or eax, 0xffffffff
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0xc], 0x3e8
mov dword [esi], vtable.CUninstallProgressDialog.1.0
mov dword [esi + 0x10], vtable.CUninstallProgressDialog.0
mov eax, dword [0x484064]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x50], eax
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 1
call fcn.004358a0
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x43b790
Capabilities:
Get file size

Disassembly:
push ecx
mov ecx, dword [ecx]
push esi
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b7b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43b7b8
xor al, al
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.00451ca0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4

Function at 0x43b8a0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp]
test eax, eax
mov dword [edx], ecx
setne al
pop ecx
ret 0xc
mov eax, dword [esp + 8]
mov edx, dword [0x4854ec]
cmp eax, edx
jbe 0x43b8b0
mov eax, edx
mov dword [esp + 8], eax
jmp 0x43b860

Function at 0x43b910
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [0x4854ec]
cmp eax, edx
jbe 0x43b920
mov eax, edx
mov ecx, dword [ecx]
push 0
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
mov dword [edx], ecx
setne al
ret 0xc

Function at 0x43bae0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x43bb20
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0043bae0
add esp, 8
test al, al
jne 0x43bb36
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
ret
Function at 0x43c6de
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x487aec], 0
push esi
jne 0x43c651
call fcn.0043c577
test eax, eax
je 0x43c694
mov eax, dword [0x487aec]
cmp eax, 1
jne 0x43c672
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43c694
pop esi
ret
push eax
call dword [0x487af4]
test eax, eax
jne 0x43c6dc
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43c698
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x487aec]
call dword [0x487af4]
mov edi, eax
test edi, edi
je 0x43c6bd
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43c6d9
mov edi, esi
add esi, 0xff0
push edi
push dword [0x487aec]
call dword [0x487af0]
add edi, 0x10
cmp edi, esi
jb 0x43c6c5
mov eax, edi
pop edi
pop esi
ret
jmp 0x43c63e

Function at 0x43ddf0
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
push esi
push edi
test ebx, ebx
je 0x43de34
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x43de34
mov edi, dword [ebx + 0x3c]
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
add esi, 0xf8
mov eax, ebp
cdq
adc ecx, 0
cmp edx, ecx
jb 0x43de34
ja 0x43de28
cmp eax, esi
jbe 0x43de34
cmp dword [edi + ebx], 0x4550
lea ecx, [edi + ebx]
je 0x43de3b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
movzx edx, word [ecx + 4]
mov esi, 0x14c
xor eax, eax
cmp dx, si
jne 0x43de5b
push ebp
mov eax, ecx
call fcn.0043dcb0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, 0x8664
cmp dx, si
je 0x43de6f
mov esi, 0x200
cmp dx, si
jne 0x43de7a
push ebx
mov eax, ebp
call fcn.0043dd30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4421c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46ad86
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
xor ebx, ebx
lea eax, [edi + 0x14]
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00441fd0
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x28], ebx
mov word [ecx + 4], dx
call fcn.00441fd0
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
lea eax, [edi + 0x4c]
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x28], 1
mov word [ecx + 4], dx
call fcn.00441fd0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x444420
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x444454
push str.SetFilePointerEx__
push eax
push 0xed
push str..QHImageHlp.c
call fcn.0043d8b0
add esp, 0x10
xor eax, eax
ret
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x444487
push str.ReadFile__
push eax
push 0xf0
push str..QHImageHlp.c
call fcn.0043d8b0
add esp, 0x10
xor eax, eax
ret
cmp edi, dword [esp + 4]
je 0x4444a9
push 0x473430
push 1
push 0xf2
push str..QHImageHlp.c
call fcn.0043d920
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x445be0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x445c12
xor ecx, ecx
jmp 0x445c1e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x445cd1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esi]
cmp dword [esp + 0x14], eax
jne 0x445c44
mov dword [esp + 0x10], esi
jmp 0x445ca4
push eax
push 1
push 0x40
call ebx
test eax, eax
jne 0x445c9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x445c90
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x445ca4
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x445ca4
push 0x4736a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x445ca4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x445cc7
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x445c36
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
test eax, eax
jne 0x445ce5
mov ecx, dword [edi]
add ecx, 8
call fcn.00445a60
test eax, eax
je 0x445ce5
mov edx, dword [esp + 0xc]
mov dword [eax], edx
pop edi
pop esi
add esp, 8
ret
Function at 0x445d00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46aee0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
jne 0x445d4c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x445d59
mov dword [ebp - 0x14], ebx
jmp 0x445d6b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x445e05
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, ebx
je 0x445d38
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x445d38
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00445be0
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x445da8
push 0x47e52c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.0044f18c
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x445dbe
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
jne 0x445df4
push 0x47e52c
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 4
call fcn.0044f18c
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445de8
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
push eax
add ecx, 8
call fcn.00445b40
mov eax, 0x445dee
ret
mov esi, dword [esi]
mov eax, dword [esi]
test eax, eax
je 0x445e03
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
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 0x445e20
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x46af0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0044e2b0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x18], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x445ebb
push 0x47e52c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0044f18c
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x445f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, 0x487c0c
jmp fcn.00445d00
Function at 0x4466a0
Capabilities:
Hash data with md5

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

Function at 0x446f50
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x805c]
mov eax, 0x805c
call fcn.0044f1e0
push 0xffffffffffffffff
push 0x46af70
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x485b90]
xor eax, ebp
mov dword [ebp + 0x8058], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0x8064]
mov eax, dword [ebp + 0x8068]
xor esi, esi
push esi
push esi
push esi
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], esi
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x446ff0
push 0x473778
push esi
push 0x1ae
push str..QHMD5.cpp
call fcn.0043d800
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
lea edx, [ebp + 0x58]
push edx
push edi
call ebx
test eax, eax
jne 0x447024
push 0x473754
push eax
push 0x1b1
push str..QHMD5.cpp
call fcn.0043d800
add esp, 0x10
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x44703c
push esi
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00446d80
cmp esi, 0x8000
je 0x446ff6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp]
push edx
push eax
call fcn.00446e40
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8058]
xor ecx, ebp
call fcn.0044e29c
add ebp, 0x805c
mov esp, ebp
pop ebp
ret 8
Function at 0x44b870
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x44b8ad
mov edx, dword [esp + 4]
test edx, edx
je 0x44b8ad
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x44b8ad
push esi
push 0
lea esi, [esp + 0xc]
push esi
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x44b8ad
mov eax, dword [esp + 4]
ret 8
or eax, 0xffffffff
ret 8

Function at 0x44b8c0
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x44b8d0
or eax, eax
or edx, 0xffffffff
pop ecx
ret
push esi
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.00451ca0
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret

Function at 0x44ba50
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 4], 0
jne 0x44ba6a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
pop esi
ret

Function at 0x44bb40
Capabilities:
Hash data with md5

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

Function at 0x44cd20
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x44cd50
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x44cd80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret