joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427830
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5949f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
call fcn.004555a0
mov ecx, esi
call fcn.00427370
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push 0x437a80
mov dword [esi + 0x2e0], ebx
mov dword [ebp - 0x10], ebx
call fcn.00438ae0
add esp, 8
test eax, eax
jne 0x427884
mov dword [0x6175e4], ebx
mov ecx, dword [ebp - 0x10]
xor ecx, 0xd15d
je 0x427a0f
lea edx, [ebp - 0x14]
push 0x617a78
push edx
call fcn.00579f60
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00415f40
jmp 0x4278b2
mov ecx, esi
call fcn.00426fc0
test eax, eax
je 0x42794d
push 1
mov ecx, esi
call fcn.00455203
push 0xfe
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.005545b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0xff
lea ecx, [ebp - 0x218]
push ecx
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x3f
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x18]
call fcn.00416750
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00579f60
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00415f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00415f40
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0xfe
lea ecx, [ebp - 0x117]
push ebx
push ecx
mov byte [ebp - 0x118], bl
call fcn.005545b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0xff
lea edx, [ebp - 0x118]
push edx
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x3f
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x14]
call fcn.00416750
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00579f60
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.00415f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00415f40
mov ecx, esi
call fcn.00426be0
mov dword [0x617b54], eax
cmp eax, 1
jge 0x427a0f
push ebx
lea ecx, [esi + 0x9c]
call fcn.00454090
jmp 0x4279e5
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0044fb63
push eax
mov ecx, esi
call fcn.0044f417
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 1
mov ecx, esi
call fcn.00455203
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x428da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 3
push 0
push str.SOFTWAREStaffCopAdminProtect
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x428dc8
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SIZE
push ecx
mov dword [ebp - 8], 0
call ebx
test eax, eax
je 0x428e05
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp - 8]
test edi, edi
jne 0x428e15
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push edi
call fcn.005544b5
mov esi, eax
add esp, 8
test esi, esi
je 0x428e5f
push edi
push 0
push esi
call fcn.005545b0
mov edx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
push str.DATA
push edx
mov dword [ebp - 0xc], 3
call ebx
test eax, eax
jne 0x428e5f
cmp dword [ebp - 4], eax
jne 0x428e68
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push edi
push esi
push ecx
call fcn.00553160
mov edx, dword [ebp + 0xc]
add esp, 0xc
pop esi
mov dword [edx], edi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push edi
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
push 3
push edi
push str.SOFTWAREStaffCopAdminProtect
push SysReAllocStringLen
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x428ff5
push esi
mov esi, dword [ebp - 0x10]
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push edi
push str.SIZE
mov dword [ebp - 0x24], esi
mov ebx, 4
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x428fed
cmp dword [ebp - 0x18], ebx
je 0x42900d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429018
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], edi
jne 0x429048
cmp esi, edi
je 0x429024
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x429035
push esi
call ebx
mov dword [ebp - 0x24], edi
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp esi, edi
je 0x429054
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x429065
push esi
call ebx
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0xc]
pop ebx
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4291c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594d29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x21f]
mov dword [ebp - 0x14], ebx
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x220], bl
call fcn.005545b0
push 0x103
lea ecx, [ebp - 0x11b]
push ebx
push ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x11c], bl
call fcn.005545b0
add esp, 0x18
push ebx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x5afac0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x11c]
push str._8.8X
push eax
call fcn.00555808
mov esi, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
call fcn.00429110
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42ba40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595773
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0057c708
mov dword [ebp - 4], 0
push 4
call fcn.00448ee2
mov edi, eax
add esp, 4
test edi, edi
je 0x42babf
push ebx
call fcn.00579ed1
mov dword [edi], eax
call fcn.00579d8b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00579cc0
mov byte [ebp - 4], 1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42bab0
inc eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00579ce8
pop ebx
jmp 0x42bac1
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42c010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042ba40
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esi + 0x50], cl
mov byte [esi + 0x4a], cl
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [esi + 0x54], edx
mov eax, dword [0x618b58]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42cdf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5952f8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x42cf4f
cmp byte [edi + 0x4a], bl
je 0x42cf4f
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x42ce4e
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x42ce73
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
push esi
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x42ce8c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x42ced2
dec eax
je 0x42ced6
sub eax, 2
je 0x42cf2d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404b20
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x42cee6
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, ecx
je 0x42cf0f
cmp ebx, 0x10
jae 0x42cef5
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00556b66
add esp, 0x10
cmp esi, eax
jne 0x42ceb0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x42cf2d
test esi, esi
jne 0x42ce80
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0042c6a0
jmp 0x42ce7a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404b20
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5954b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], vtable.CAgentListBase.0
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
push ebx
lea ecx, [esi + 0x28]
mov byte [esi + 0x24], bl
call fcn.00434c40
mov byte [ebp - 4], 1
push ebx
lea ecx, [esi + 0x2c]
call fcn.00434c40
mov byte [ebp - 4], 2
push str.E16BEF60_B9F4_4604_8624_735092A03F31
xor eax, eax
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
push ebx
mov dword [esi + 0x1c], eax
push ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4309e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595773
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0057c708
mov dword [ebp - 4], 0
push 4
call fcn.00448ee2
mov edi, eax
add esp, 4
test edi, edi
je 0x430a5f
push ebx
call fcn.00579ed1
mov dword [edi], eax
call fcn.00579d8b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00579cc0
mov byte [ebp - 4], 1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x430a50
inc eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00579ce8
pop ebx
jmp 0x430a61
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x434610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push 2
push 0
push ebx
mov dword [ebp - 4], ecx
call fcn.0055788e
add esp, 0xc
test eax, eax
je 0x434638
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push ebx
call fcn.0055779f
mov edi, eax
add esp, 4
test edi, edi
jns 0x434655
pop edi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
call fcn.00448f1c
mov esi, eax
add esp, 4
test esi, esi
jne 0x434671
lea eax, [esi - 2]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push ebx
call fcn.0055788e
push ebx
push edi
push 1
push esi
call fcn.005575ee
add esp, 0x1c
cmp eax, edi
je 0x4346a3
push esi
call fcn.00448f11
add esp, 4
pop esi
pop edi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
push eax
push esi
call fcn.00434400
push esi
mov edi, eax
call fcn.00448f11
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x435640
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x43568f
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 4]
push ecx
mov edi, eax
call esi
test eax, eax
jne 0x43568e
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x8003
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
push 0
test eax, eax
je 0x43572b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4356e4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edx
push 2
push eax
mov dword [ebp - 0xc], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x43571f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 4]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
Function at 0x437bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ecx + 0x35c]
jae 0x437c54
mov dword [ebp - 4], edx
wait
mov esi, dword [ecx + eax*4 + 0x1cc]
xor esi, dword [ecx + eax*4 + 0x3c]
mov dword [ebp - 0x20], esi
jne 0x437c28
mov dword [ebp - 0x1c], edx
push 0x5f8950
lea eax, [ebp - 0x1c]
push eax
call fcn.005542ca
wait
mov dword [ebp - 4], 0xffffffff
inc eax
jmp 0x437bf8
mov ecx, dword [ecx + 0x360]
cmp eax, ecx
jne 0x437c9f
mov edx, ecx
mov dword [ebp - 0x18], edx
cmp eax, edx
je 0x437c9b
movzx esi, dl
movzx ecx, al
sub ecx, esi
jne 0x437c93
movzx edx, dh
movzx ecx, ah
sub ecx, edx
jne 0x437c93
movzx eax, byte [ebp - 0x16]
movzx ecx, byte [ebp - 0x12]
sub ecx, eax
jne 0x437c93
movzx edx, byte [ebp - 0x15]
movzx ecx, byte [ebp - 0x11]
sub ecx, edx
je 0x437c9b
sar ecx, 0x1f
or ecx, 1
jne 0x437c9f
push 0x1e
jmp 0x437ca1
push 0xa
call dword [ebp + 8]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x438490
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8b08
push 0x554328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x224], edi
push 0x204
push edi
lea eax, [ebp - 0x220]
push eax
call fcn.005545b0
add esp, 0xc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x38], eax
cmp eax, 0xffffffff
je 0x4385e7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4385e7
push 4
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
cmp eax, edi
je 0x4385e7
push edi
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [esi + 4]
jne 0x4385c6
mov ecx, esi
call fcn.00438220
test eax, eax
jne 0x438597
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0055a295
add esp, 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004382f0
test eax, eax
jne 0x4385c6
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call fcn.0055a295
add esp, 8
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call fcn.0055a295
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
call fcn.00438606
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595fe1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
push 0x190
mov dword [esi + 0x35c], eax
mov dword [esi + 0x360], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x38], eax
lea eax, [esi + 0x3c]
push 0xaaaaaaaa
push eax
call fcn.005545b0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret