joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006aae0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018bedf
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
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], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.10003400
mov ecx, eax
test ecx, ecx
je 0x1006ac94
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.10003400
mov ecx, eax
test ecx, ecx
je 0x1006ac9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10003400
mov ecx, eax
test ecx, ecx
je 0x1006aca8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
test edx, edx
jne 0x1006abb8
xor ecx, ecx
jmp 0x1006abd0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006abc0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10006830
push edi
mov ecx, ebx
call fcn.10005610
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1006abec
xor ecx, ecx
jmp 0x1006ac04
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006abf4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10006830
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1006b830
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.10005610
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006ac45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x1006ac7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1006ac7e
cmp dword [esi + 0x10], 0
je 0x1006ac75
push dword [edi]
call fcn.1016e926
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10003040
push 0x80004005
call fcn.10003040
push 0x80004005
call fcn.10003040
int3
Function at 0x1006b6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018bfc8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x101d90a8]
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 esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x1006b811
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x1006b708
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x1006b811
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x1006b722
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x1006b811
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x1006b73c
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x1006b811
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x1006b756
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x1006b811
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x1006b811
push 3
mov ecx, esi
call fcn.1006b650
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10063669
push 0x1019d1d8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1001f7c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006b7ae
push 0
mov ecx, esi
call fcn.1006b650
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1006b7bf
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x1006b801
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x1006b801
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1006b801
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.10027fe0
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.10012d00
lea ecx, [ebp - 0x2c]
call fcn.10013620
lea ecx, [ebp - 0x28]
call fcn.10012d00
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.1013724c
mov esp, ebp
pop ebp
ret 4
Function at 0x1006d5e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x1006d5ef
pop ebp
jmp fcn.1006e3e0
xor eax, eax
pop ebp
ret 0xc
Function at 0x1006e6e0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c573
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x101d90a8]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x1006e785
cmp word [esi], di
je 0x1006e785
test eax, eax
je 0x1006e741
cmp word [eax], di
je 0x1006e741
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x1006e785
jmp 0x1006e780
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1015bd90
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x1006e785
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1006e7fc
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x1006e7e7
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x1006e7b5
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x1006e7d6
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x1006e81c
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x1006e7e7
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1006e7fc
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 - 0x10]
xor ecx, ebp
call fcn.1013724c
mov esp, ebp
pop ebp
ret 0x30
call fcn.1005e2c8
int3

Function at 0x1006f2c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1006f2d5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006f2e0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10077190
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d2d2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x101d90a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.1015bd90
add esp, 0xc
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push str.SOFTWAREComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1007726e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10077250
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001fa60
cmp dword [esi + 0x10], 0
jne 0x100772ea
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1015bd90
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10154260
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100772a4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001fa60
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x100772cf
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push str.SOFTWAREComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013724c
mov esp, ebp
pop ebp
ret
Function at 0x1007d9e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018df68
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101d90a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.1007e740
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x1007da47
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007dac5
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.1007e740
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1007da8b
mov ecx, eax
call fcn.10012d00
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1007dac5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007dabb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007dbcd
push edx
push ecx
call fcn.10136eb8
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x1007daf0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x10192a28
mov word [edi], ax
call fcn.1001fa60
jmp 0x1007dba6
call fcn.10003400
mov ecx, eax
test ecx, ecx
je 0x1007dbd2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10004fe0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1007dd20
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007db57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007db72
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1001fa60
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007dba6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10012d00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013724c
mov esp, ebp
pop ebp
ret 8
call fcn.1015f359
push 0x80004005
call fcn.10003040
int3
Function at 0x10080d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018e532
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x101d90a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x10080e40
test eax, eax
je 0x10080e40
test ebx, ebx
je 0x10080e40
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10080e2f
cmp dword [ebp - 0x818], eax
je 0x10080e40
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1015bd90
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10080e2f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10080e11
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001fa60
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x10080e40
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013724c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10088830
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
test edi, edi
je 0x1008897d
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1008897d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008897d
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1008897d
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocString
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x10088969
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10088962
cmp dword [ebp - 0x1c], ebx
jne 0x10088962
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ecx
ja 0x100888fd
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x100888f7
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x10088909
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.1001f4b0
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push 0
call fcn.1005f038
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10088962
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x10088962
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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
Function at 0x1008d9f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018fab8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101d90a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1013725d
mov edi, eax
add esp, 4
test edi, edi
je 0x1008da8d
push 1
mov dword [ebp - 4], 0
call fcn.1005ec38
add esp, 4
mov dword [edi + 4], eax
jmp 0x1008da8f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.10027900
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x1008daf1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1008daf1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x1008db14
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1008db37
cmp byte [ebp + 0xc], 0
je 0x1008db23
push esi
call fcn.1005f50c
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 8
test cl, 4
je 0x1008db43
mov esi, str.ios_base::badbit_set
jmp 0x1008db53
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.10025810
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.100124e0
push 0x101c3fbc
lea eax, [ebp - 0x30]
push eax
call fcn.1015ae78
int3
Function at 0x100a7ad0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x101d90a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10
mov dword [ebp - 0xb8], eax
mov eax, 0x20
mov dword [ebp - 0xbc], edi
mov edi, dword [edi + 0x1005c]
cmp edi, 1
cmovne esi, eax
xor eax, eax
cmp dword [ebp + 0x10], eax
push esi
push dword [ebp + 0x14]
sete al
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1015b290
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov eax, ecx
mov byte [ebp + esi - 0x2c], cl
sar eax, 8
mov byte [ebp + esi - 0x2b], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp + esi - 0x2a], al
mov eax, ecx
sar eax, 0x18
mov byte [ebp + esi - 0x29], al
mov dword [ebp + esi - 0x28], 0x546c4173
cmp edi, 2
jne 0x100a7b74
lea eax, [ebp - 0x5c]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100e19b0
add esp, 0xc
jmp 0x100a7bd7
lea eax, [esi + 8]
mov dword [ebp - 0xb4], 0x67452301
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xb0], 0xefcdab89
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], 0x98badcfe
push eax
mov dword [ebp - 0xa8], 0x10325476
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call fcn.100a8980
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100a8260
add esp, 0x14
mov esi, dword [ebp - 0xbc]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.100a8010
lea eax, [ebp - 0x3c]
xor ecx, ecx
push eax
mov eax, 2
cmp dword [esi + 0x1005c], eax
cmovne eax, ecx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0xc0]
push 1
push dword [esi + 0x4c]
call fcn.100a9fd0
mov eax, dword [ebp + 0x1c]
add esp, 0x24
mov ecx, dword [esi + 0x4c]
shl eax, 3
cmp dword [ebp + 0x10], 0
push dword [ebp - 0xb8]
push eax
push ebx
push ecx
je 0x100a7c47
call fcn.100a94b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1013724c
mov esp, ebp
pop ebp
ret
call fcn.100a9150
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1013724c
mov esp, ebp
pop ebp
ret
Function at 0x100a8010
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x101d90a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, 0x4f7a09cd
inc ecx
imul ecx
imul ecx, ecx, 0x9ef4
push ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
push esi
mov esi, dword [ebp + 0x10]
sub ecx, eax
lea ebx, [ecx + 0x7fffff07]
cmovns ebx, ecx
mov eax, ebx
imul ecx, ebx, 0x9ef4
sar eax, 8
mov byte [ebp - 0x13], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0x12], al
mov eax, ebx
sar eax, 0x18
mov byte [ebp - 0x11], al
mov eax, 0x4f7a09cd
imul ebx
mov byte [ebp - 0x14], bl
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
sub ecx, eax
lea ebx, [ecx + 0x7fffff07]
cmovns ebx, ecx
mov eax, ebx
imul ecx, ebx, 0x9ef4
sar eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
sar eax, 0x18
mov byte [ebp - 0xd], al
mov eax, 0x4f7a09cd
imul ebx
mov byte [ebp - 0x10], bl
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
sub ecx, eax
mov eax, 0x4f7a09cd
lea ebx, [ecx + 0x7fffff07]
cmovns ebx, ecx
imul ebx
mov ecx, ebx
mov byte [ebp - 0xc], bl
sar ecx, 8
mov byte [ebp - 0xb], cl
mov ecx, ebx
sar ecx, 0x10
sar edx, 0xe
mov byte [ebp - 0xa], cl
mov eax, edx
shr eax, 0x1f
mov ecx, ebx
add eax, edx
sar ecx, 0x18
mov byte [ebp - 9], cl
imul eax, eax, 0x7fffff07
imul ecx, ebx, 0x9ef4
sub ecx, eax
lea edx, [ecx + 0x7fffff07]
cmovns edx, ecx
mov byte [ebp - 8], dl
mov eax, edx
sar eax, 8
mov byte [ebp - 7], al
mov eax, edx
sar eax, 0x10
mov byte [ebp - 6], al
lea eax, [ebp - 0x14]
push 0x10
push eax
lea eax, [ebp - 0x6c]
sar edx, 0x18
push eax
mov byte [ebp - 5], dl
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.100a8980
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.100a8260
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop esi
pop ebx
call fcn.1013724c
mov esp, ebp
pop ebp
ret