joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cf10
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
push str.rootwmi
mov ebx, ecx
call esi
push str.MSSmBios_RawSMBiosTables
mov ebp, eax
call esi
mov edi, eax
push 0x4c2f4c
mov dword [esp + 0x2c], edi
call esi
xor esi, esi
push 2
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x47d0ba
push esi
push 2
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x47cf85
cmp eax, 0x80010119
jne 0x47d061
lea eax, [esp + 0x10]
push eax
push 0x4c756c
push 1
push esi
push 0x4c762c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x47d061
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x47d061
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push esi
push esi
push edi
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x47d061
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0xfa0
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x24], 1
jne 0x47d061
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
push ecx
push eax
call edx
cmp word [esp + 0x30], 0x2011
jne 0x47d061
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x10]
cmp edi, esi
je 0x47d061
cmp edi, 0x4000
jg 0x47d061
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
push edi
push eax
push ecx
call fcn.004903d0
mov edx, dword [ebx + 0x10]
add esp, 0xc
mov word [edx + 6], di
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x47d075
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x47d089
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x47d09d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push ebp
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret
Function at 0x485231
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48526a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004851f4
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004840d7
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x486d8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x486dce
call fcn.00481b48
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x486dce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x486de9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00486942
test ebx, ebx
mov esi, eax
je 0x486de7
test edi, edi
je 0x486de7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x487a8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4abd95
call fcn.00490d8e
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00481b48
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x487ad7
call fcn.00481b48
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x487ae8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x487af5
or eax, 0xffffffff
jmp 0x487c51
mov ecx, esi
call fcn.004875de
mov dword [ebp - 0x14], eax
call fcn.00484286
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x487b73
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x487b73
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x487b73
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00404da0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x487b73
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x487b73
mov ecx, ebx
call fcn.00480afb
test eax, eax
je 0x487b73
push 0
mov ecx, ebx
call fcn.00480b16
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00485c6e
push dword [ebp - 0x14]
call fcn.004841de
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00487894
xor edi, edi
cmp eax, edi
je 0x487bd0
test byte [esi + 0x3c], 0x10
je 0x487bba
push 4
pop edi
mov ecx, esi
call fcn.004809e2
test ax, 0x100
je 0x487bb0
push 5
pop edi
push edi
mov ecx, esi
call fcn.00483d81
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x487bd0
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00480b7d
or dword [ebp - 4], 0xffffffff
jmp 0x487bfb
cmp dword [ebp - 0x28], edi
je 0x487c09
push 1
mov ecx, ebx
call fcn.00480b16
cmp dword [ebp - 0x2c], edi
je 0x487c19
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x487c32
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x487c32
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00487618
cmp dword [esi + 0x58], edi
je 0x487c4e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00490dfa
ret
Function at 0x489995
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4e3e9c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x4899d5
push 0x4c53c8
push 4
push eax
call fcn.0048ef9c
push eax
call fcn.004142d0
add esp, 0x10
jmp 0x4899e7
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x489a55
push edi
call fcn.00490efa
mov edi, dword [eax]
call fcn.00490efa
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0048f321
add esp, 0x18
mov ebx, eax
call fcn.00490efa
cmp dword [eax], 0
je 0x489a35
call fcn.00490efa
push dword [eax]
call fcn.0047fc73
pop ecx
jmp 0x489a3c
call fcn.00490efa
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x489a55
cmp ebx, esi
jae 0x489a55
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x489a57
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e5ae
leave
ret
Function at 0x48b48c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48b4ba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48b4d8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048b3f6
jmp 0x48b4d8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48b4d8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0048b3f6
test edi, edi
mov eax, edi
jne 0x48b4c2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4e7e60]
test ecx, ecx
je 0x48b59b
jmp 0x48b48b
ret 8

Function at 0x48e5ae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e3e9c]
jne 0x48e5b8
repz ret
jmp fcn.00493003

Function at 0x49a2c5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4e4af0]
je 0x49a2e0
inc edi
cmp edi, 0x17
jb 0x49a2d1
cmp edi, 0x17
jae 0x49a460
push ebp
push 3
call fcn.0049fd73
cmp eax, 1
pop ecx
je 0x49a42c
push 3
call fcn.0049fd73
test eax, eax
pop ecx
jne 0x49a314
cmp dword [0x4e3ed0], 1
je 0x49a42c
cmp ebx, 0xfc
je 0x49a45f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4e8610
push ebp
call fcn.0048ef9c
add esp, 0xc
test eax, eax
je 0x49a34a
push esi
push esi
push esi
push esi
push esi
call fcn.00493c05
add esp, 0x14
push 0x104
mov esi, 0x4e8629
push esi
push 0
mov byte [0x4e872d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x49a38e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0048ef9c
add esp, 0xc
test eax, eax
je 0x49a38e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00493c05
add esp, 0x14
push esi
call fcn.00490cd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x49a3d3
push esi
call fcn.00490cd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4e8924
push 0x4c62a8
sub ecx, eax
push ecx
push eax
call fcn.00490beb
add esp, 0x14
test eax, eax
je 0x49a3d3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00493c05
add esp, 0x14
jmp 0x49a3d5
xor esi, esi
push 0x4aea58
push ebx
push ebp
call fcn.0048f3c7
add esp, 0xc
test eax, eax
je 0x49a3f5
push esi
push esi
push esi
push esi
push esi
call fcn.00493c05
add esp, 0x14
push dword [edi*8 + 0x4e4af4]
push ebx
push ebp
call fcn.0048f3c7
add esp, 0xc
test eax, eax
je 0x49a417
push esi
push esi
push esi
push esi
push esi
call fcn.00493c05
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0049fbb6
add esp, 0xc
jmp 0x49a45f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x49a45f
cmp ebp, 0xffffffff
je 0x49a45f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4e4af4]
push dword [esi]
call fcn.00490cd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x49fbb6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00495949
xor ebx, ebx
cmp dword [0x4e8b74], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x49fc8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x49fd6c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c748c
push edi
call esi
cmp eax, ebx
je 0x49fd6c
push eax
call fcn.004958db
mov dword [esp], 0x4c747c
push edi
mov dword [0x4e8b74], eax
call esi
push eax
call fcn.004958db
mov dword [esp], 0x4c7468
push edi
mov dword [0x4e8b78], eax
call esi
push eax
call fcn.004958db
mov dword [0x4e8b7c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004928bf
test eax, eax
pop ecx
pop ecx
je 0x49fc5a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00493c05
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x49fc8c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004958db
cmp eax, ebx
pop ecx
mov dword [0x4e8b84], eax
je 0x49fc8c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004958db
pop ecx
mov dword [0x4e8b80], eax
mov eax, dword [0x4e8b80]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x49fd11
cmp dword [0x4e8b84], ecx
je 0x49fd11
push eax
call fcn.00495952
push dword [0x4e8b84]
mov esi, eax
call fcn.00495952
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x49fd11
cmp edi, ebx
je 0x49fd11
call esi
cmp eax, ebx
je 0x49fcde
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x49fcde
test byte [ebp - 0x18], 1
jne 0x49fd11
lea eax, [ebp - 0x10]
push eax
call fcn.004928f6
test eax, eax
pop ecx
je 0x49fcf9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00493c05
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x49fd08
or dword [ebp + 0x10], 0x200000
jmp 0x49fd4c
or dword [ebp + 0x10], 0x40000
jmp 0x49fd4c
mov eax, dword [0x4e8b78]
cmp eax, dword [ebp - 8]
je 0x49fd4c
push eax
call fcn.00495952
cmp eax, ebx
pop ecx
je 0x49fd4c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x49fd4c
mov eax, dword [0x4e8b7c]
cmp eax, dword [ebp - 8]
je 0x49fd4c
push eax
call fcn.00495952
cmp eax, ebx
pop ecx
je 0x49fd4c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e8b74]
call fcn.00495952
cmp eax, ebx
pop ecx
je 0x49fd6c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x49fd6e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a2822
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4e3e9c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004a27b7
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0048f440
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4a2871
cmp dword [ebp - 0x1c], 5
jb 0x4a2889
jmp 0x4a2885
cmp dword [ebp - 0x10], 1
jne 0x4a2889
cmp dword [ebp - 0x1c], 4
ja 0x4a2885
jne 0x4a2889
cmp dword [ebp - 0x18], 0
jbe 0x4a2889
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c74fc
call fcn.004a26a8
test eax, eax
jge 0x4a28aa
mov byte [0x4e62c8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048e5ae
add ebp, 0x78
leave
ret

Function at 0x4a2ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac3a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e3e9c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push 0x1000
call fcn.0044ad00
or edi, 0xffffffff
xor ebx, ebx
push 0x400
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.CSoftwareInterface.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.0047fb47
mov dword [esi + 0x1c], eax
push 0x200
mov byte [eax], bl
call fcn.0047fb47
mov dword [esi + 0x20], eax
push 0x400
mov byte [eax], bl
call fcn.0047fb47
mov dword [esi + 0x30], eax
push 0x200
mov byte [eax], bl
call fcn.0047fb47
mov dword [esi + 0x34], eax
push 0x210
mov byte [eax], bl
call fcn.0047fb47
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 1
je 0x4a2f93
mov ecx, eax
call fcn.00436810
jmp 0x4a2f95
xor eax, eax
push 0xc
mov byte [esp + 0x24], bl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov byte [esi + 0x40], bl
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x84], ebx
call fcn.0047fb47
add esp, 4
cmp eax, ebx
je 0x4a2fde
mov ecx, eax
call fcn.004a2e90
mov dword [esi + 0x80], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x80], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4a3030
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ac3c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e3e9c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CSoftwareInterface.0
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x4a3078
push eax
call fcn.0047fb77
add esp, 4
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x4a308b
push eax
call fcn.0047fb77
add esp, 4
mov dword [esi + 0x34], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4a309b
push eax
call fcn.0047fb77
add esp, 4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x4a30ae
push eax
call fcn.0047fb77
add esp, 4
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x4a30c1
push eax
call fcn.0047fb77
add esp, 4
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 0x80]
cmp ecx, edi
je 0x4a30e8
call fcn.004236f0
mov ecx, dword [esi + 0x80]
cmp ecx, edi
je 0x4a30e2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x80], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0044ad20
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4a3440
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4a34f9
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4a34f9
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x4a34ed
push eax
call fcn.0047fb47
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a348c
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4a34e4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4ba584
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4a34e4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a34e4
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.0047fb77
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.0047fb77
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
add esp, 8
ret
pop edi
mov eax, 0x80070057
pop ebx
add esp, 8
ret
Function at 0x4a4ba0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
push reloc.OLEAUT32.dll_SysReAllocString
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4a4bce
or eax, esi
pop esi
add esp, 0x10
ret
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.EnableFirewall
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a4c06
cmp dword [esp + 0xc], 4
jne 0x4a4c06
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 4]
test eax, eax
je 0x4a4c15
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4a4cc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HTTP_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4a4cec
xor eax, eax
pop edi
add esp, 0xc
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x4ae335
push eax
call esi
test eax, eax
jne 0x4a4d3a
cmp dword [esp + 0xc], 1
jne 0x4a4d3a
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x4ae335
push ecx
call esi
mov edi, 1
mov eax, dword [esp + 8]
test eax, eax
pop esi
je 0x4a4d4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0xc
ret
Function at 0x1000fd40
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000ff04
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
jmp 0x1000fd6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000fd71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000fd60
mov eax, 1
add ebx, ebx
jne 0x1000fd83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000fd78
jne 0x1000fd94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fd78
xor ecx, ecx
sub eax, 3
jb 0x1000fda8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000fe1a
mov ebp, eax
add ebx, ebx
jne 0x1000fdb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000fdc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000fde4
inc ecx
add ebx, ebx
jne 0x1000fdd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000fdc5
jne 0x1000fde1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fdc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000fe04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000fdf5
jmp 0x1000fd66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000fe04
add edi, ecx
jmp 0x1000fd66
pop esi
mov edi, esi
mov ecx, 0x1fb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000fe22
cmp byte [edi], 9
jne 0x1000fe22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1000fe27
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x1000fe96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf438]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf4c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000fe54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf4c4]
or eax, eax
je 0x1000fe90
mov dword [ebx], eax
add ebx, 4
jmp 0x1000fe71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000fec7
cmp al, 0xef
ja 0x1000feba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000fe9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000fea9
mov ebp, dword [esi + 0xf4c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000fefb
sub esp, 0xffffff80
jmp 0x10001bda