joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b680
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [eax + 0x24]
movzx edx, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
lea eax, [edx + ecx + 0x18]
xor edx, edx
test esi, esi
jbe 0x48b6af
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x48b6a7
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x48b6b1
inc edx
add eax, 0x28
cmp edx, esi
jb 0x48b697
xor eax, eax
pop esi
pop ebx
ret

Function at 0x48b6c0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [eax + 0x24]
movzx ecx, word [eax + 0x14]
push ebx
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x48b6ef
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x48b6e7
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x48b6f4
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x48b6d7
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, edi
pop ebx
ret

Function at 0x48b700
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ebx + 0x24]
movzx ecx, word [eax + 0x14]
push ebp
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x48b72f
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x48b727
mov ebp, dword [ecx + 8]
add ebp, eax
cmp edi, ebp
jb 0x48b734
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x48b717
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, dword [ebx + 0x28]
pop ebp
add eax, edi
ret

Function at 0x48bae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bf7b1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], 1
cmp eax, ebx
jbe 0x48bbe3
cmp eax, 1
jne 0x48bba2
test esi, esi
jns 0x48bb84
lea eax, [esp + 0x14]
push ebp
push eax
mov ecx, esi
call fcn.0048b820
add esp, 8
mov dword [esp + 0x20], 2
call fcn.004084d8
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x48bbd7
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0048ba00
add esp, 4
mov dword [esp + 0x20], 4
call fcn.004084d8
jmp 0x48bbbf
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, esi
call fcn.0048b820
add esp, 8
mov dword [esp + 0x20], 6
call fcn.004084d8
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48bbe3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x48bc00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c38b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], 0
cmp ecx, 0x64
ja 0x48bd32
mov eax, dword [edx]
cmp eax, 0x4e20
jg 0x48bd32
inc eax
mov dword [edx], eax
mov eax, dword [ebp + 4]
test eax, eax
jns 0x48bc83
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [ebp]
push edx
push ecx
and eax, 0x7fffffff
push edi
add eax, edi
push eax
mov ecx, ebx
call fcn.0048bd50
jmp 0x48bd34
mov esi, dword [ebp]
push edi
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.0048bae0
add esp, 0xc
mov dword [esp + 0x20], 0
mov ebp, dword [ebp + 4]
add ebp, edi
je 0x48bd21
mov edi, dword [ebp]
call fcn.0048b700
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push 0x689bc4
push ecx
mov edi, eax
call fcn.0041683c
mov byte [esp + 0x28], 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x40]
push ecx
mov esi, eax
call fcn.004167ea
add esp, 0x10
mov byte [esp + 0x20], 2
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 4]
push edx
push ecx
push edi
push eax
call dword [esp + 0x48]
mov bl, al
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x34]
call fcn.004084b5
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x2c]
call fcn.004084b5
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004084b5
mov al, bl
jmp 0x48bd34
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004084b5
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18
Function at 0x48df40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5b3f59
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x28], ebx
movzx eax, word [esp + 0x34]
push 0x689004
push eax
push ebx
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x48dffd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
cmp ebp, ebx
je 0x48dffd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], 1
cmp edi, ebx
je 0x48dfee
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x28], 2
mov dword [esi], eax
mov dword [esi + 4], ecx
mov byte [esp + 0x28], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
cmp edi, ebx
je 0x48dffd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x48e020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5b5544
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
push 0xc
mov dword [esp + 0x18], ebx
call fcn.005812e3
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x24], ecx
cmp eax, ebx
je 0x48e076
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x48e078
xor eax, eax
mov byte [esp + 0x24], bl
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [esp + 0x24], ebx
movzx eax, word [esp + 0x30]
push 0x689004
push eax
push ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x48e117
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], 2
cmp ebp, ebx
je 0x48e108
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x48e104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
je 0x48e104
push edi
lea ecx, [esp + 0x34]
push ecx
mov edi, eax
call fcn.0048e140
add esp, 8
mov byte [esp + 0x24], 3
mov ebx, dword [esp + 0x2c]
push eax
call fcn.00433213
mov byte [esp + 0x24], 2
lea ebx, [esp + 0x30]
call fcn.004170a7
xor ebx, ebx
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x24], bl
cmp ebp, ebx
je 0x48e117
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x493c30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b94d8
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x828], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
mov dword [esp + 0x18], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x828], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x828], 2
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x493cc1
push eax
call edi
mov dword [esp + 0xc], ebx
lea eax, [esp + 0xc]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x493d3c
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push str.ProgramFilesDir
push eax
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x493d3c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x493d3c
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x1c], cx
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x493d20
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
mov eax, esi
call fcn.0040b4fa
mov byte [esp + 0x828], bl
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x493d4e
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00581268
add esp, 0x820
ret
Function at 0x49c260
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5b52a4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push 0xc
mov dword [esp + 0x18], esi
call fcn.005812e3
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, esi
je 0x49c2b9
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jmp 0x49c2bb
xor eax, eax
mov byte [esp + 0x30], 0
mov dword [ebp], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx]
mov edi, dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 4]
je 0x49c306
mov eax, dword [edi]
push esi
push eax
call fcn.00582da6
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x49c303
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00586790
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push 5
add edx, 0xfffffff3
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x20]
push edx
add ecx, 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.0057b660
mov esi, dword [ebp]
test eax, eax
jne 0x49c386
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 4]
je 0x49c3a2
mov eax, dword [esi]
push edi
push eax
call fcn.00582da6
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp edi, ecx
jbe 0x49c36e
mov edx, edi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00586790
add esp, 0xc
mov dword [esi + 4], edi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
cmp dword [esi + 4], 0
je 0x49c3a2
mov eax, dword [esi]
push 0
push eax
call fcn.00582da6
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], 0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x49cd60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bf0c4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [ebp], esi
jne 0x49cd9f
call fcn.0049c5a0
mov eax, dword [ebp + 4]
cmp eax, esi
jne 0x49cdab
call fcn.0049c5a0
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], esi
call fcn.00571d53
add esp, 4
cmp eax, 6
jne 0x49ce98
jmp 0x49cdd0
cmp dword [esp + 0x14], 0x3e8
jg 0x49ce98
cmp dword [esp + 0x30], 3
jg 0x49ce98
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 8
mov edi, eax
call fcn.005812e3
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 1
test esi, esi
je 0x49ce26
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x49ce28
xor esi, esi
mov byte [esp + 0x28], 0
mov eax, dword [ebp]
push esi
push 0x49c3e0
push eax
call fcn.0055bb66
add esp, 0xc
nop
push 1
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0xc0
je 0x49ce40
test eax, eax
je 0x49ce5d
inc dword [esp + 0x30]
mov ecx, dword [ebp]
push 0
push 0
push ecx
call fcn.0055bb66
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 4]
inc dword [esp + 0x14]
push edx
call fcn.0056b6a5
mov eax, dword [ebp + 4]
push eax
call fcn.00571d53
add esp, 8
xor esi, esi
cmp eax, 6
je 0x49cdd0
cmp eax, 0x65
jne 0x49cee0
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov byte [ebx + 8], 1
call fcn.00546002
add esp, 4
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 1
mov eax, ebx
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
cmp eax, 0x64
mov eax, dword [ebp + 4]
push eax
jne 0x49cf06
mov edx, dword [ebp]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov byte [ebx + 8], 0
call fcn.00546002
add esp, 4
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
jmp 0x49cebc
call fcn.0056b6a5
mov ecx, dword [ebp]
push ecx
mov esi, eax
call fcn.00554304
add esp, 8
push 0x6991a4
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], esi
call fcn.0058652e
int3
Function at 0x49d2f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bf0c4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebp], eax
jne 0x49d32b
call fcn.0049c5a0
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push eax
mov ebx, ebp
call fcn.0049d650
mov ebx, eax
push ebx
call fcn.00571d53
add esp, 4
cmp eax, 6
jne 0x49d426
cmp dword [esp + 0x14], 0x3e8
jg 0x49d426
cmp dword [esp + 0x30], 3
jg 0x49d426
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 8
mov edi, eax
call fcn.005812e3
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 1
test esi, esi
je 0x49d3ac
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x49d3ae
xor esi, esi
mov byte [esp + 0x28], 0
mov ecx, dword [ebp]
push esi
push 0x49c3e0
push ecx
call fcn.0055bb66
add esp, 0xc
push 1
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0xc0
je 0x49d3c5
test eax, eax
je 0x49d3e2
inc dword [esp + 0x30]
mov edx, dword [ebp]
push 0
push 0
push edx
call fcn.0055bb66
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0x14]
push ebx
call fcn.0056b64e
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
mov ebx, ebp
call fcn.0049d650
mov ebx, eax
push ebx
call fcn.00571d53
add esp, 4
cmp eax, 6
je 0x49d353
push ebx
cmp eax, 0x65
jne 0x49d473
mov ecx, dword [ebp]
mov esi, dword [esp + 0x38]
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov byte [esi + 8], 1
call fcn.00546002
add esp, 4
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
cmp eax, 0x64
jne 0x49d4a9
mov edx, dword [ebp]
mov esi, dword [esp + 0x38]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
call fcn.00546002
mov dword [esi + 0xc], eax
mov eax, 1
add esp, 4
mov byte [esi + 0x10], al
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
jmp 0x49d45b
call fcn.0056b64e
mov esi, eax
mov eax, dword [ebp]
push eax
call fcn.00554304
add esp, 8
push 0x6991a4
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], esi
call fcn.0058652e
int3
Function at 0x4a57f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bed99
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push edx
push ecx
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.004a5870
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14

Function at 0x4a8cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b90ed
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x810], eax
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x824], edi
mov dword [esp + 0x10], edi
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
mov dword [esp + 0x14], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x824], edi
lea eax, [esp + 8]
push eax
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a8dc7
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push edi
push str.ProgramFilesDir
push eax
mov dword [esp + 0x24], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a8dbc
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4a8dbc
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x18], cx
lea eax, [esp + 0x18]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4a8da0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
mov eax, esi
call fcn.0040b4fa
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00581268
add esp, 0x820
ret
Function at 0x4abbd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5cc8da
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push edx
push ecx
push eax
push esi
call fcn.004abc50
add esp, 0x18
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4af6d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5baf5c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.0049d7c0
xor edi, edi
mov dword [esp + 0x1c], edi
lea eax, [esi + 0x18]
push eax
call fcn.0049d7c0
mov byte [esp + 0x1c], 1
lea eax, [esi + 0x50]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esp + 0xc], eax
mov dword [eax], 0xffffffff
mov byte [esp + 0x1c], 2
mov dword [eax + 4], edi
mov byte [esp + 0x1c], 3
add eax, 8
mov dword [esp + 0x10], eax
mov dword [eax], edi
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x4afb80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdb6a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push esi
mov dword [esp + 0x24], 0
call fcn.004aa810
add esp, 0x1c
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4aff20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c6022
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x24]
xor ebx, ebx
push ecx
mov byte [esp + 0x1b], bl
call fcn.004be8e0
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x4b0048
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp dword [esp + 0x18], ebx
ja 0x4aff98
cmp edi, 0x10
jbe 0x4b0048
mov eax, dword [esp + 0x28]
push 4
push str.MSDB
push eax
call fcn.00583302
add esp, 0xc
test eax, eax
jne 0x4b0048
mov ebx, dword [esp + 0x28]
add edi, 0xfffffffc
lea ecx, [esp + 0x14]
push edi
add ebx, 4
push ecx
call fcn.0049c260
add esp, 8
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
je 0x4b001a
cmp dword [eax + 4], 0
je 0x4b001a
lea ebx, [esi + 8]
mov edi, ebx
call fcn.004afac0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edi, dword [esi]
push 1
push 0
push ecx
push eax
call fcn.00486ff0
add esp, 0x10
test al, al
je 0x4b001a
mov esi, dword [esi]
push esi
mov eax, ebx
call fcn.004af770
test al, al
je 0x4b001a
mov byte [esp + 0x13], 1
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], 0
jne 0x4b0048
xor edi, edi
call fcn.0041ad11
mov edx, dword [esp + 0x14]
push edx
call fcn.0058125d
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x20]
push eax
call fcn.004bea60
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b23e0
Capabilities:
Hash data with md5

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