joyce8/EMBER2024-capa huggingface dataset:
Function at 0x90582d8
Capabilities:
Get memory capacity

Disassembly:
push 0x28
mov eax, 0x90d2348
call fcn.0900620a
mov esi, ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x20
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x24]
xor edx, edx
sub eax, dword [ebp - 0x20]
sub eax, dword [esi + 8]
sbb edx, dword [esi + 0xc]
js 0x9058343
jg 0x905830d
test eax, eax
jb 0x9058343
mov ecx, dword [esi + 4]
imul edi, ecx, 3
test edx, edx
jg 0x9058343
jl 0x905831d
cmp eax, edi
ja 0x9058343
cmp eax, ecx
jbe 0x9058337
and dword [ebp - 4], 0
sub eax, ecx
mov ecx, dword [esi]
push eax
call fcn.0905f936
jmp 0x9058343
jae 0x9058343
sub ecx, eax
push ecx
mov ecx, dword [esi]
call fcn.0905f936
call fcn.09006fcf
ret
Function at 0x42a510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f58b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x534b41
call fcn.004c63e1
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x465
ja 0x42a565
cmp dword [ebp - 0x18], 0x465
je 0x42a5a5
cmp dword [ebp - 0x18], 0x113
je 0x42a585
jmp case.0x42a57e.2
mov ecx, dword [ebp - 0x18]
sub ecx, 0x466
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 7
ja case.0x42a57e.2
mov edx, dword [ebp - 0x18]
jmp dword [edx*4 + 0x42a744]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042ac00
mov dword [ebp - 0x24], eax
jmp case.0x42a57e.2
mov ecx, dword [ebp - 0x14]
call fcn.0042b1a0
jmp case.0x42a57e.2
push 1
mov ecx, dword [ebp - 0x14]
call fcn.0047e223
jmp case.0x42a57e.2
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x7a4], 1
jmp case.0x42a57e.2
cmp dword [ebp + 0xc], 0
je 0x42a5e9
push 1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.0047e78a
jmp 0x42a618
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0047e78a
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x7cc], 0
je 0x42a618
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x7cc]
call fcn.00476795
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x42a57e.2
lea ecx, [ebp - 0x1c]
call fcn.004078b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
shl ecx, 1
push ecx
push str._d__
lea edx, [ebp - 0x1c]
push edx
call fcn.00409950
add esp, 0xc
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x7c0]
call fcn.00483fba
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004082a0
jmp case.0x42a57e.2
cmp dword [ebp + 0xc], 1
jne 0x42a68d
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7a0], 0xffffffdc
cmp dword [ebp + 0xc], 0
je 0x42a699
mov byte [ebp - 0xd], 1
jmp 0x42a69d
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c4]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7c4]
mov eax, dword [edx + 0x104]
call eax
jmp case.0x42a57e.2
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x772]
test edx, edx
je 0x42a6d8
push 1
mov ecx, dword [ebp - 0x14]
call fcn.0047e223
jmp case.0x42a57e.2
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00407940
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004086f0
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c8]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7c8]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004082a0
jmp case.0x42a57e.2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402279
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4022b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4022b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4022b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4022a0
cmp esi, eax
jb 0x4022ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d010
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x458320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.004025e0
test eax, eax
je 0x40286f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x402884
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402856
cmp dword [ebp + 0x10], ebx
je 0x40289e
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402cb0
add esp, 4
test eax, eax
sete al
cmp al, bl
jne 0x402856
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], ebx
cmp esi, ebx
je 0x4028aa
mov dword [esi], ebx
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ebx
lea ebx, [ebp + 0xc]
lea edi, [ebp + 0x10]
call fcn.00402770
test esi, esi
je 0x4028c4
mov edx, dword [ebp + 0xc]
mov dword [esi], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402cb0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x148]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402d04
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004263ce
add esp, 0x144
ret
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x402d8c
cmp dword [esp + 0xc], 0x40
jne 0x402d8c
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x402d8c
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x402d8c
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x402d8c
cmp dword [esp + 0xc], 0xf8
jne 0x402d8c
cmp dword [esp + 0x10], 0x4550
jne 0x402d8c
cmp word [esp + 0x16], bx
je 0x402d8c
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004263ce
add esp, 0x144
ret

Function at 0x403320
Capabilities:
Check http status code

Disassembly:
sub esp, 0x14
push edi
xor edi, edi
mov dword [esp + 0xc], 3
mov dword [esp + 8], edi
mov dword [esp + 0x10], 4
cmp esi, edi
je 0x403419
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov eax, dword [esp + 0x14]
mov ecx, eax
dec eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x403417
push 0
push 0
push 0
push 0
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x4033d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x403388
cmp eax, 0x2f19
jne 0x4033c4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
push 0x1f
push esi
mov dword [esp + 0x2c], 4
call ebp
or dword [esp + 0xc], 0x3180
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x403350
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403350
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push 0x20000013
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
test edi, edi
je 0x4033c8
cmp dword [esp + 0x10], 0xc8
je 0x403417
xor edi, edi
jmp 0x403350
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x14
ret
Function at 0x403aa0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
sub esp, 0x834
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebp
push esi
push edi
lea eax, [esp + 0x220]
push eax
xor esi, esi
push 0x104
mov dword [esp + 0x18], esi
call ebx
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360ini.cab
lea ecx, [esp + 0x224]
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
lea ecx, [esp + 0x220]
call fcn.00403420
test eax, eax
jne 0x403b14
push 0x3e8
call edi
inc esi
cmp esi, 3
jb 0x403af0
xor eax, eax
jmp 0x403c13
lea edx, [esp + 0x18]
push edx
push 0x104
call ebx
lea esi, [esp + 0x630]
call fcn.00403170
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x403b6e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00401860
mov eax, dword [eax]
push eax
push 0
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x403b6e
mov bl, 1
jmp 0x403b70
xor bl, bl
test byte [esp + 0x10], 1
je 0x403b97
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
jg 0x403b97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x403b0d
lea ecx, [esp + 0x18]
push ecx
push 0x403220
push 0
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
mov esi, eax
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x403b0d
push str.360ini.dll
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x430]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x403b0d
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403b0d
lea esi, [esp + 0x428]
call fcn.00405980
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004263ce
add esp, 0x834
ret
Function at 0x403c30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d046
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
mov eax, dword [0x458320]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, 1
test byte [0x45c434], bl
jne 0x403cbe
or dword [0x45c434], ebx
xor eax, eax
mov dword [esp + 0x20], 0
mov ecx, 0x45c41c
mov dword [0x45c41c], eax
mov dword [0x45c420], eax
mov dword [0x45c424], eax
mov dword [0x45c428], eax
mov dword [0x45c42c], eax
mov dword [0x45c430], eax
call fcn.00405800
test eax, eax
jge 0x403ca9
push eax
call fcn.00402370
push 0x44d240
call fcn.004270f4
add esp, 4
mov dword [esp + 0x20], 0xffffffff
mov eax, 2
test byte [0x45c434], al
jne 0x403ce8
or dword [0x45c434], eax
push 0x44d220
mov dword [0x45c414], 0
call fcn.004270f4
add esp, 4
push 0x45c41c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x45c418], 0
jne 0x403d54
cmp dword [0x45c414], 0
jne 0x403d54
push str.A2CE3D3C_15E7_4985_B2C5_58F681DD07A5
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x45c414], eax
test eax, eax
jne 0x403d54
push str.A2CE3D3C_15E7_4985_B2C5_58F681DD07A5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x45c414], eax
test eax, eax
jne 0x403d54
push 0x45c41c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x45c41c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x45c414]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], 0x45c414
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x10], bl
mov dword [esp + 0x20], ebx
cmp dword [0x45c418], 0
jne 0x403db4
call fcn.00403aa0
mov dword [0x45c418], eax
test eax, eax
jne 0x403db4
mov ecx, dword [0x45c414]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x45c414]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov ecx, dword [0x45c418]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4064e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x56c
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x568], eax
mov eax, dword [esp + 0x570]
push ebp
push esi
push edi
push 0x11c
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.004263e0
push 0x11c
push 0
push ebx
mov dword [esp + 0x60], 0x11c
call fcn.004263e0
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x406584
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call edi
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x406584
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x406584
cmp dword [esp + 0x10], 0
jne 0x40664b
push str.RtlGetVersion
push str.ntdll
call ebp
push eax
call edi
test eax, eax
je 0x40659e
lea ecx, [esp + 0x48]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x4065cb
mov ecx, 0x47
lea esi, [esp + 0x48]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x16e]
push ecx
mov word [esp + 0x170], ax
call fcn.004263e0
add esp, 0xc
lea esi, [esp + 0x164]
call fcn.004063e0
test eax, eax
jl 0x40664b
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.00406680
test eax, eax
je 0x40664b
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x40663e
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x406656
mov edx, dword [esp + 0xc]
mov dword [edx + 4], 0
jmp 0x406656
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x574]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004263ce
add esp, 0x56c
ret 4
Function at 0x406680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4066fe
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4066f7
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4066f6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4066ef
push ebp
call fcn.00427733
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4066ef
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
call fcn.0042f650
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x406742
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x453aac
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406739
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.00427231
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x406c10
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x80
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00407fd0
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x78], ebx
call fcn.00409730
add esp, 4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.00409820
mov dword [esp + 0x10], ebx
jmp 0x406cb0
movzx ebx, byte [esp + ebx + 0x78]
mov eax, ebx
shr eax, 4
movzx ecx, word [eax*2 + str.0123456789abcdef]
mov eax, dword [esi]
mov ebp, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebp + 1]
sub eax, edi
or edx, eax
mov dword [esp + 0x14], ecx
jge 0x406ce8
mov ecx, edi
mov eax, esi
call fcn.00408f10
mov ecx, dword [esi]
mov dx, word [esp + 0x14]
mov word [ecx + ebp*2], dx
test edi, edi
jl 0x406d81
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x406d81
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
and ebx, 0xf
movzx ebp, word [ebx*2 + str.0123456789abcdef]
mov ebx, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x406d3a
mov ecx, edi
mov eax, esi
call fcn.00408f10
mov ecx, dword [esi]
mov word [ecx + ebx*2], bp
test edi, edi
jl 0x406d81
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x406d81
mov ebx, dword [esp + 0x10]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
inc ebx
xor eax, eax
mov word [edx + edi*2], ax
mov dword [esp + 0x10], ebx
cmp ebx, 0x14
jb 0x406cb0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004263ce
add esp, 0x80
ret
push 0x80070057
call fcn.00402370
int3
Function at 0x407100
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44c858
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
push 0x202
push ebx
push str.SOFTWARE360SafeLiveup
mov dword [esp + 0x38], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40720c
mov eax, dword [esi]
mov edi, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x200
je 0x4071be
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x407195
push 0x80004005
call fcn.00402370
push ecx
push eax
call fcn.00426603
add esp, 8
test eax, eax
je 0x4071be
mov esi, dword [esi]
test esi, esi
je 0x4071be
push esi
call ebp
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push str.m2_old
push edi
call ebx
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
test esi, esi
jne 0x4071cd
lea eax, [esi + 0xd]
jmp 0x4071e2
push esi
call ebp
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push 0x453a04
push edi
call ebx
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test edi, edi
je 0x4071f6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
xor eax, eax
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 0x40b110
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x454
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x458]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x468]
push edi
mov dword [eax], ebp
mov dword [esp + 0x30], ecx
mov dword [ecx], ebp
lea ecx, [esp + 0x28]
push ecx
push 8
push ebp
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x40b178
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
jmp 0x40b184
xor eax, eax
jmp 0x40b2a6
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x264]
push edx
push eax
mov esi, 0x104
push edi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40b292
lea eax, [esp + 0x20]
push eax
push 1
push ebp
lea ecx, [esp + 0x25c]
push ecx
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x40b225
mov ebx, dword [esp + 0x20]
push str.NetCfgInstanceId
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], esi
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.004094b0
test eax, eax
jne 0x40b212
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40b23b
cmp ebx, ebp
je 0x40b221
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x100
mov dword [esp + 0x24], eax
jl 0x40b180
jmp 0x40b292
push str.BusType
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], 0x104
call fcn.004094b0
test eax, eax
jne 0x40b287
mov eax, esi
push eax
call fcn.0042a5e4
add esp, 4
cmp eax, 5
jne 0x40b287
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx], 1
push edx
mov ecx, ebx
call fcn.0040afe0
add esp, 4
cmp ebx, ebp
je 0x40b292
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40b2a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004263ce
add esp, 0x454
ret
Function at 0x40e560
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x458320]
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.00414620
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.004146c0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004263ce
add esp, 0x68
ret

Function at 0x40e5d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x458320]
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.00414620
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.004146c0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004263ce
add esp, 0x68
ret