joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4526d0
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea edx, [ebp - 0x1d4]
push edx
push 0x202
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1dc], ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, 2
push 0x501380
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp + 8]
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
or esi, 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x1d8], eax
call ebx
mov edi, eax
call ebx
cmp eax, edi
jb 0x452827
mov edx, dword [ebp + 0xc]
lea ecx, [edi + edx]
mov dword [ebp - 0x1e0], ecx
cmp eax, dword [ebp - 0x1e0]
jae 0x452827
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4527ee
mov edx, dword [ebp - 0x1d8]
push 0x10
push edx
push esi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x4527ee
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4527ee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4527ee
push 0
push 0x64
push 1
lea ecx, [ebp - 0x1d8]
push ecx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
jne 0x4527ee
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x44]
push edx
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x4527ee
test byte [ebp - 0x44], 0x10
je 0x4527ee
cmp dword [ebp - 0x30], eax
je 0x452859
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x452805
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x45285d
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx]
push 0
push eax
call edx
test eax, eax
jne 0x452864
call ebx
cmp eax, edi
jae 0x45275b
mov edi, 0x102
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x1d8]
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x45282c
mov edi, 0x24f
jmp 0x45282c
mov edi, 0x3e3
jmp 0x45282c
Function at 0x452870
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebx]
push esi
add eax, 0xa
push edi
mov dword [ebp - 0x1d8], eax
lea ecx, [ecx]
mov esi, dword [ebx]
lea ecx, [ebp - 0x1d0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 2
push 0x501380
mov word [ebp - 0x14], dx
call dword [sym.imp.WS2_32.dll_inet_addr]
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
or esi, 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [ebp - 0x1d4], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, edi
jb 0x4529b8
jmp 0x452900
lea ecx, [edi + 0x64]
cmp eax, ecx
jae 0x4529b8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x452992
mov eax, dword [ebp - 0x1d4]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x452992
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x452992
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x452992
push 0
push 0x64
push 1
lea edx, [ebp - 0x1d4]
push edx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
jne 0x452992
mov ecx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x40]
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x452992
test byte [ebp - 0x40], 0x10
je 0x452992
cmp dword [ebp - 0x2c], eax
je 0x452a10
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx]
push 0
push eax
call edx
test eax, eax
jne 0x452a14
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, edi
jae 0x452900
mov edi, 0x102
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x1d4]
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
call dword [sym.imp.WS2_32.dll_WSACleanup]
test edi, edi
jne 0x452a1b
mov ecx, dword [ebx]
push ecx
push str.Localhost_port__d_is_already_in_use.
push edi
push edi
call fcn.00432650
mov edx, dword [ebp - 0x1d8]
inc dword [ebx]
add esp, 0x10
cmp dword [ebx], edx
jle 0x4528a0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x4529bd
mov edi, 0x3e3
jmp 0x4529bd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x452a30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_GenerateConsoleCtrlEvent]
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x64
push esi
call edi
test eax, eax
je 0x452a7b
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x452a69
push 0x1388
push esi
call edi
test eax, eax
je 0x452a7b
push ebx
push str.TerminateProcess_failed_for_process_with_PID__d
push 0
push 0
call fcn.00432650
add esp, 0x10
pop edi
pop ebx
pop ebp
ret
Function at 0x452e90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwarePsiphon3
push SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x452ef1
cmp dword [edi + 0x14], 0x10
jb 0x452ed1
mov eax, dword [edi]
jmp 0x452ed3
mov eax, edi
push 4
lea edx, [ebp + 8]
push edx
push 4
push ebx
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
jne 0x452ef1
mov bl, 1
jmp 0x452ef3
xor bl, bl
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x452f25
cmp dword [edi + 0x14], 0x10
jb 0x452f0b
mov eax, dword [edi]
jmp 0x452f0d
mov eax, edi
push esi
push eax
push str.WriteRegistryDwordValue
push str._s_failed_for__S_with_code__ld
push 1
push 0
call fcn.00432650
add esp, 0x18
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePsiphon3
push SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452f91
cmp dword [esi + 0x14], 0x10
jb 0x452f6b
mov eax, dword [esi]
jmp 0x452f6d
mov eax, esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x452f91
cmp dword [ebp - 0xc], 4
jne 0x452f91
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452fb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edi, eax
mov eax, dword [ebp + 0xc]
push str.SoftwarePsiphon3
push SysReAllocString
mov dword [ebp - 4], 0
mov dword [eax], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
je 0x453017
cmp dword [edi + 0x14], 0x10
jb 0x452ffd
mov edi, dword [edi]
push esi
push edi
push str.WriteRegistryStringValue
push str._s:_RegCreateKeyEx_failed_for__S_with_code__ld
push 1
push 0
call fcn.00432650
add esp, 0x18
jmp 0x45307a
mov ecx, dword [ebx + 0x10]
mov eax, 0x10
cmp dword [ebx + 0x14], eax
jb 0x453026
mov ebx, dword [ebx]
cmp dword [edi + 0x14], eax
jb 0x45302f
mov eax, dword [edi]
jmp 0x453031
mov eax, edi
mov edx, dword [ebp - 4]
inc ecx
push ecx
push ebx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x45307a
cmp dword [edi + 0x14], 0x10
jb 0x453051
mov edi, dword [edi]
push esi
push edi
push str.WriteRegistryStringValue
push str._s:_RegSetValueExA_failed_for__S_with_code__ld
push 1
push 0
call fcn.00432650
add esp, 0x18
cmp esi, 0x5aa
jne 0x45307a
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4530a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePsiphon3
push SysReAllocString
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45312f
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push ebx
push edx
push eax
call edi
test eax, eax
jne 0x45312e
mov ecx, dword [ebp - 4]
inc ecx
push ecx
call fcn.0049842b
mov esi, eax
add esp, 4
test esi, esi
je 0x45312e
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 8]
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
push ecx
push edx
call edi
test eax, eax
jne 0x45312e
cmp dword [ebp - 0xc], 1
jne 0x45312e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push esi
mov byte [esi + eax], bl
call fcn.00406940
mov bl, 1
pop edi
push esi
call fcn.004a9da3
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453310
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x30], ebx
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x30], ebx
jb 0x45334f
mov ecx, dword [edi]
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push 1
push eax
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x453382
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4e10ad
mov ecx, esi
mov byte [esi], bl
call fcn.004082f0
jmp 0x45341e
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
cmp eax, ebx
ja 0x4533a6
push 0xffffffffffffffff
push eax
call fcn.0040a2c0
jmp 0x4533ad
push ebx
push eax
call fcn.00408150
mov ecx, dword [ebp - 0x2c]
mov edx, 0x10
cmp dword [ebp - 0x18], edx
jae 0x4533bd
lea ecx, [ebp - 0x2c]
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], edx
jb 0x4533c7
mov edi, dword [edi]
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
push ecx
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
test eax, eax
jne 0x453401
push ebx
push 0x4e10ad
mov ecx, esi
call fcn.004082f0
cmp dword [ebp - 0x18], 0x10
jb 0x45341e
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x453416
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004080d0
cmp dword [ebp - 0x18], 0x10
jb 0x45341e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a9dd8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x4537f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4b78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
push 0x59
push 0x400
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov ebx, eax
cmp ebx, edi
jg 0x453855
push edi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 0x4fc3d4
mov ecx, esi
mov word [esi], ax
call fcn.0041ef70
jmp 0x453911
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049842b
add esp, 4
push ebx
mov edi, eax
push edi
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
xor ebx, ebx
cmp eax, ebx
jg 0x4538a3
push ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x4fc3d4
mov ecx, esi
mov word [esi], ax
call fcn.0041ef70
jmp 0x453911
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
jmp 0x4538c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4538c0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041ef70
push edi
mov dword [ebp - 4], ebx
call fcn.004a9da3
add esp, 4
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.0041f640
cmp dword [ebp - 0x18], 8
jb 0x453911
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004a9dd8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x454ea0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfd53
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5254e0]
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, dword [ebp + 8]
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x14], ebx
mov byte [ebx + 0x14], al
mov dword [ebp - 4], 4
mov dword [ebx], vtable.CryptoPP::HMAC_class_CryptoPP::SHA256_.0
mov dword [ebx + 4], vtable.CryptoPP::HMAC_class_CryptoPP::SHA256_.1.0
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x28]
mov dword [eax + 0x4c], eax
mov esi, 0x10
mov dword [eax + 0x48], esi
mov cl, 1
mov byte [eax + 0x41], cl
mov byte [ebx + 0xc1], cl
lea eax, [ebx + 0x78]
mov ecx, eax
neg ecx
and ecx, 0xf
add ecx, eax
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], ecx
mov edi, dword [ebx + 0xcc]
mov ecx, 8
mov esi, 0x503df4
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x18], vtable.CryptoPP::SHA256.0
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 7
mov eax, dword [0x52d8a8]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0045a7e0
mov eax, ebx
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.004a91d2
mov esp, ebp
pop ebp
ret 8

Function at 0x455130
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfd10
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.CryptoPP::SHA1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 4
Function at 0x458b90
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], esi
call fcn.004ac360
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [ebp - 0x14], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x458bc3
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049842b
push esi
push ebx
mov edi, eax
push esi
push edi
call fcn.004aaf6b
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push edi
test eax, eax
je 0x458c2f
call fcn.004a9da3
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a9da3
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4886
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5254e0]
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 edi, ecx
mov ebx, dword [edi]
mov dword [ebp - 0x254], edi
cmp ebx, dword [edi + 4]
je 0x458f1f
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004ac360
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push str..htm
push 1
push 4
mov dword [ebp - 0x258], 0x104
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
xor esi, esi
test eax, eax
jne 0x458ea8
mov edi, 7
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x458d75
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
call fcn.0041ef70
mov dword [ebp - 4], esi
push 2
xor eax, eax
push 0x5025a4
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], ax
call fcn.0041ef70
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x458dda
lea eax, [ebp - 0x250]
mov esi, dword [ebp - 0x240]
push esi
push eax
lea ecx, [ebp - 0x234]
push ecx
xor eax, eax
call fcn.004271b0
cmp eax, 0xffffffff
je 0x458e05
push ebx
push esi
lea esi, [ebp - 0x234]
call fcn.00458f40
add ebx, 0x1c
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x458e1a
lea eax, [ebp - 0x234]
push eax
call fcn.00458b90
mov esi, eax
add esp, 4
test esi, esi
jne 0x458e39
push str.LaunchApplication_failed
push 1
push eax
call fcn.00432650
add esp, 0xc
cmp dword [ebp - 0x23c], 8
jb 0x458e51
mov edx, dword [ebp - 0x250]
push edx
call fcn.004a9dd8
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
jb 0x458e89
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004a9dd8
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], edi
mov edi, dword [ebp - 0x254]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], dx
cmp ebx, dword [edi + 4]
je 0x458f1f
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
test esi, esi
je 0x458ec3
push 0x2710
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
test esi, esi
je 0x458ede
push 0x2710
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [ebx + 0x14], 8
jb 0x458ee8
mov eax, dword [ebx]
jmp 0x458eea
mov eax, ebx
push 1
push 0
push 0
push eax
push 0x502558
push 0
call edi
cmp eax, 0x20
jg 0x458f11
push eax
push str.ShellExecute_failed___d_
push 0
push 0
call fcn.00432650
add esp, 0x10
mov eax, dword [ebp - 0x254]
add ebx, 0x1c
cmp ebx, dword [eax + 4]
jne 0x458eb3
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.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x459ae0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2682
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
lea ecx, [ecx]
mov eax, dword [esi]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], cx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x58], edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [esp + 0x34], edi
jbe 0x459b78
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x459b5d
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push edx
push 0x4fb87c
push str._s:_obtained_0x_x:__s
push 1
push edi
call fcn.00432650
add esp, 0x18
mov dword [esp + 0x50], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
sete byte [esp + 0x17]
mov dword [esp + 0x18], ebx
mov edi, ebx
xor ecx, ecx
mov edx, eax
xor eax, eax
mov esi, ebx
test edx, edx
je 0x459bd0
jns 0x459bc3
mov eax, edx
neg eax
je 0x459bc3
or eax, 0xffffffff
sub eax, edx
shr eax, 5
add eax, eax
add eax, eax
mov ebx, 0xfffffffc
sub ebx, eax
add esi, ebx
mov ebx, dword [esp + 0x18]
jmp 0x459bcb
mov eax, edx
shr eax, 5
lea esi, [esi + eax*4]
mov eax, edx
and eax, 0x1f
cmp edi, esi
jne 0x459bd8
cmp ecx, eax
je 0x459bf6
mov eax, 1
shl eax, cl
test dword [edi], eax
je 0x459c6f
cmp ecx, 0x1f
jae 0x459bef
inc ecx
jmp 0x459b98
xor ecx, ecx
add edi, 4
jmp 0x459b98
mov dword [esp + 0x50], 3
cmp dword [esp + 0x34], 0
jbe 0x459c30
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x459c14
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str.AutoMUTEX::AutoMUTEX
push str._s:_releasing_0x_x:__s
push 1
push 0
call fcn.00432650
add esp, 0x18
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x459c57
mov eax, dword [esp + 0x24]
push eax
call fcn.004a9dd8
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x459ccc
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov esi, dword [esp + 0x1c]
jmp 0x459b20
mov dword [esp + 0x50], 2
cmp dword [esp + 0x34], 0
jbe 0x459ca9
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x459c8d
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str.AutoMUTEX::AutoMUTEX
push str._s:_releasing_0x_x:__s
push 1
push 0
call fcn.00432650
add esp, 0x18
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
cmp dword [esp + 0x38], 8
jb 0x459cc8
mov eax, dword [esp + 0x24]
push eax
call fcn.004a9dd8
add esp, 4
xor al, al
jmp 0x459cce
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret