joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469af8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
test edi, edi
je 0x43c6fd
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
push 1
push 0x478068
lea esi, [esp + 0x18]
mov dword [esp + 0x40], eax
call fcn.004018a0
push 0xffffffffffffffff
push 0
push edi
call fcn.00404fd0
push 2
push 0x47806c
mov eax, esi
call fcn.00405090
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x38]
push ecx
call fcn.00404fd0
xor ebx, ebx
lea ebx, [ebx]
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x43c6af
lea eax, [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, edi
call fcn.00402190
push eax
call fcn.0043be00
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [edi + 0xf0], eax
test esi, esi
jne 0x43c6e7
inc ebx
cmp ebx, 3
jl 0x43c6a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xec], eax
cmp dword [esp + 0x28], 8
jb 0x43c6fb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044b6e3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x30
ret
Function at 0x4401e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x468e17
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x4db024]
mov edx, dword [eax + 0xc]
mov ecx, 0x4db024
call edx
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x28], ebx
mov edi, 1
mov dword [esp + 0x14], edi
call fcn.00440790
mov ecx, dword [eax + 0x58]
mov ebp, dword [ecx]
mov esi, dword [eax + 0x40]
add eax, 0x40
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov edi, edi
test byte [0x4e0fb0], 1
jne 0x440279
or dword [0x4e0fb0], edi
mov dword [esp + 0x28], edi
call fcn.0043ff00
push 0x46b020
call fcn.0044bd1c
add esp, 4
mov byte [esp + 0x28], bl
mov edi, dword [0x4e1010]
cmp esi, ebx
je 0x44028b
cmp esi, dword [0x4e0ff8]
je 0x440290
call fcn.0044be90
cmp ebp, edi
je 0x440335
cmp esi, ebx
jne 0x4402ce
call fcn.0044be90
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4402ad
call fcn.0044be90
mov edx, dword [esp + 0x34]
cmp dword [ebp + 0xc], edx
je 0x4402d2
lea esi, [esp + 0x18]
call fcn.004409a0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, 1
jmp 0x440250
mov eax, dword [esi]
jmp 0x4402a3
cmp esi, ebx
jne 0x4402f2
call fcn.0044be90
xor esi, esi
cmp ebp, dword [esi + 0x18]
jne 0x4402e7
call fcn.0044be90
cmp dword [ebp + 0x28], 8
jb 0x4402f6
mov ebp, dword [ebp + 0x14]
jmp 0x4402f9
mov esi, dword [esi]
jmp 0x4402dd
add ebp, 0x14
cmp ebp, ebx
jne 0x440310
mov esi, dword [esp + 0x30]
xor eax, eax
push eax
push ebp
mov eax, esi
call fcn.0041b3e0
mov eax, esi
jmp 0x440339
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x440315
mov esi, dword [esp + 0x30]
sub eax, edx
sar eax, 1
push eax
push ebp
mov eax, esi
call fcn.0041b3e0
mov eax, esi
jmp 0x440339
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x4412a0
Capabilities:
Create thread

Disassembly:
sub esp, 8
call fcn.00406350
test eax, eax
mov eax, str.360BPROT
jne 0x4412b6
mov eax, str.360BPROT32
push ebx
xor ebx, ebx
lea ecx, [esp + 4]
push ecx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x1c], ebx
call sub.FLTLIB.DLL_FilterConnectCommunicationPort
test eax, eax
jge 0x4412d7
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esp + 4]
mov dword [esi + 4], edx
cmp dword [esi + 0xc], ebx
jne 0x4412fe
push 0x4430
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x44132a
lea eax, [esp + 8]
push eax
push ebx
push esi
push 0x441060
push ebx
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x44132a
mov dword [esi], 1
mov eax, dword [esi]
pop ebx
add esp, 8
ret
cmp dword [esi], ebx
jne 0x44135f
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x441342
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x44135e
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 8]
push ecx
call edi
mov dword [esi + 8], ebx
pop edi
mov eax, dword [esi]
pop ebx
add esp, 8
ret
Function at 0x4422c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469fab
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
cmp ebx, eax
je 0x4424bf
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], cx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x4b4], eax
call fcn.00409ef0
add esp, 4
test eax, eax
je 0x4424a8
push 0xa
push str._sesvc.exe
lea eax, [esp + 0x78]
call fcn.00405090
mov eax, dword [esp + 0x74]
mov esi, 8
cmp dword [esp + 0x88], esi
jae 0x442368
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442469
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x442388
lea edi, [esp + 0x74]
push 0x4dfa00
call fcn.00403570
test eax, eax
je 0x442469
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x96]
push edx
mov word [esp + 0x98], cx
call fcn.0044e9d0
add esp, 0xc
cmp dword [esp + 0x88], esi
mov esi, dword [esp + 0x74]
jae 0x4423cb
lea esi, [esp + 0x74]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea eax, [esp + 0x98]
push str.__s___crash:_d__crashcfg:__s_
push eax
mov edx, 0x207
call fcn.00443550
add esp, 0x14
push 0x40
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0044e9d0
add esp, 0xc
xor eax, eax
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov word [esp + 0x74], dx
lea edx, [esp + 0xac]
push edx
push 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x442464
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x44247f
mov edx, dword [esp + 0x74]
push edx
call fcn.0044b6e3
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x490]
xor ecx, esp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x88], 8
jb 0x4424bf
mov eax, dword [esp + 0x74]
push eax
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x442484
Function at 0x4425a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46922b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x29c]
xor esi, esi
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], ax
push 0x24
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], esi
call fcn.004091a0
add esp, 4
test eax, eax
je 0x442687
push 9
push str.Minidump
lea eax, [esp + 0x20]
call fcn.00405090
push 0x24c
lea edx, [esp + 0x3c]
push esi
push edx
mov dword [esp + 0x40], esi
call fcn.0044e9d0
add esp, 0xc
push 2
push 0x476bc8
lea eax, [esp + 0x20]
call fcn.00405090
mov eax, dword [esp + 0x1c]
mov ebx, 8
cmp dword [esp + 0x30], ebx
jae 0x44265a
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44269f
cmp dword [esp + 0x30], ebx
jb 0x44269b
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x44271a
cmp dword [esp + 0x30], 8
jb 0x44269b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x44271a
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x34]
push eax
push esi
call edi
test eax, eax
je 0x4426d7
mov ebx, 0x10
cmp dword [esp + 0x34], ebx
je 0x4426c8
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.004424d0
lea edx, [esp + 0x34]
push edx
push esi
call edi
test eax, eax
jne 0x4426b6
lea ebx, [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0x12
je 0x442702
cmp dword [esp + 0x30], ebx
jb 0x44269b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x44271a
cmp dword [esp + 0x30], ebx
jb 0x442715
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044b6e3
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x284
ret 4
Function at 0x4446e0
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x468210
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], edi
jge 0x44480b
sub esp, 0x24
mov edi, esp
mov dword [esp + 0x48], esp
lea ecx, [esi + esi*8]
xor edx, edx
push 0xffffffffffffffff
lea ebp, [ebp + ecx*4]
push edx
lea ebx, [ebp - 0x24]
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
push ebx
mov eax, edi
mov word [edi + 4], dx
call fcn.00401950
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [ebx + 0x20]
mov dword [edi + 0x20], ecx
sub esp, 0x24
mov edi, esp
mov dword [esp + 0x68], esp
xor edx, edx
push 0xffffffffffffffff
mov byte [esp + 0x7c], 1
push edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
push ebp
mov eax, edi
mov word [edi + 4], dx
call fcn.00401950
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x20], ecx
mov byte [esp + 0x78], 0
call dword [esp + 0x60]
add esp, 0x48
test al, al
je 0x4447bf
dec esi
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
lea edx, [esi + esi*8]
lea eax, [eax + eax*8]
push 0xffffffffffffffff
lea edi, [ebx + edx*4]
lea ebx, [ebx + eax*4]
push 0
push edi
mov eax, ebx
call fcn.00401950
mov ecx, dword [edi + 0x1c]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x3c], esi
mov dword [ebx + 0x1c], ecx
mov edx, dword [edi + 0x20]
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x40]
mov dword [ebx + 0x20], edx
jl 0x444737
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
cmp esi, ebx
jne 0x44483a
push 0xffffffffffffffff
lea eax, [ebx + ebx*8]
lea ecx, [edi + edi*8]
lea esi, [ebp + eax*4 - 0x24]
lea edi, [ebp + ecx*4]
push 0
push esi
mov eax, edi
call fcn.00401950
mov edx, dword [esi + 0x1c]
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x20]
dec ebx
mov dword [edi + 0x20], eax
mov dword [esp + 0x3c], ebx
mov edi, ebx
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x44], esp
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x70]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push edx
mov eax, esi
mov word [esi + 4], cx
call fcn.00401950
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
push edx
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x40]
push edi
push ebp
call fcn.00444970
add esp, 0x30
cmp dword [esp + 0x5c], 8
jb 0x4448a1
mov eax, dword [esp + 0x48]
push eax
call fcn.0044b6e3
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x444970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4681e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [ebx - 1]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], 0
jge 0x444a8f
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x40], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x6c]
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov eax, esi
mov word [esi + 4], dx
call fcn.00401950
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x84]
mov dword [esi + 0x20], edx
mov ecx, dword [esp + 0x38]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x68], esp
xor edx, edx
push 0xffffffffffffffff
lea eax, [ebp + ebp*8]
mov byte [esp + 0x78], 1
lea edi, [ecx + eax*4]
push edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push edi
mov eax, esi
mov word [esi + 4], dx
call fcn.00401950
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov byte [esp + 0x74], 0
call dword [esp + 0x60]
add esp, 0x48
test al, al
je 0x444a8f
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
lea edx, [ebx + ebx*8]
lea esi, [eax + edx*4]
push 0
push edi
mov eax, esi
call fcn.00401950
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
lea eax, [ebp - 1]
mov dword [esi + 0x20], edx
cdq
sub eax, edx
mov ebx, ebp
sar eax, 1
cmp dword [esp + 0x3c], ebx
mov ebp, eax
jl 0x4449c3
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
lea eax, [ebx + ebx*8]
lea esi, [ecx + eax*4]
push 0
lea edx, [esp + 0x48]
push edx
mov eax, esi
call fcn.00401950
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
jb 0x444acb
mov edx, dword [esp + 0x44]
push edx
call fcn.0044b6e3
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x444fd0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x4832f0]
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.00448ec0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00448f60
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0044b6ee
add esp, 0x68
ret
Function at 0x445160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0x20119
xor edi, edi
push edi
push 0x478470
push 0x80000002
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4452f3
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x20]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4451f5
cmp dword [esp + 0x18], 1
jne 0x4452da
mov eax, dword [esp + 0x14]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4452da
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x44523a
cmp dword [esp + 0x18], 1
jne 0x4452da
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4452da
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x445271
cmp dword [esp + 0x18], 1
jne 0x4452da
mov eax, dword [esp + 0x14]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4452da
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4452da
cmp dword [esp + 0x18], 3
jne 0x4452da
mov eax, dword [esp + 0x14]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4452da
lea eax, [esi + 0xc]
call fcn.00445040
test eax, eax
je 0x4452da
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
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, 0x14
ret
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x445720
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x78]
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.004479b0
add esp, 8
test eax, eax
jne 0x445791
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x6c
ret
mov eax, dword [esp + 0x78]
test eax, eax
jbe 0x4457a6
push esi
lea ecx, [esp + 0x14]
call fcn.00448ec0
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00448f60
test edi, edi
je 0x4457c4
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
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044b6ee
add esp, 0x6c
ret

Function at 0x445800
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x6c]
xor eax, eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00447bb0
add esp, 4
test eax, eax
jne 0x445864
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x64
ret
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00448f60
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044b6ee
add esp, 0x64
ret

Function at 0x445890
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x4832f0]
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.00447ca0
add esp, 8
test eax, eax
jne 0x44590f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.00448a80
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0044b6ee
add esp, 0x74
ret

Function at 0x446300
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 0x446332
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.00449da0
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x446357
push 0x478604
push 0xfe
push str..QHImageHlp.c
mov edx, 1
call fcn.00449ed0
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x447820
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 0x44786d
push str.GetFileSizeEx__
push 0x11e
push str..QHImageHlp.c
call fcn.00449da0
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 0x447904
jg 0x447893
cmp ebx, ecx
jb 0x447904
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 0x4478c9
push str.SetFilePointerEx__
push 0xf9
push str..QHImageHlp.c
xor edx, edx
call fcn.00449da0
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.00446300
test eax, eax
je 0x4478bf
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4478ea
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x447911
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 0x447911
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret