joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445cf0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2a06
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, eax
push 0x62e782
mov dword [ebp - 0x35c], eax
call fcn.004105e0
cmp byte [esi + 0x1c], 0
jne 0x445d45
xor al, al
jmp 0x445ef1
lea eax, [ebp - 0x358]
mov dword [ebp - 4], 0
push eax
push str.SELECT__FROM_Win32_ComputerSystem
mov ecx, esi
call fcn.004484f0
test al, al
je 0x445eef
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x350]
push edx
lea edx, [ebp - 0x334]
mov dword [ebp - 0x350], 0
push edx
mov ecx, dword [eax]
push 0xc8
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x445eef
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
cmp edi, dword [ebp - 0x350]
jae 0x445eef
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x370]
mov byte [ebp - 4], 1
push eax
push str.Name
push dword [ebp + edi*4 - 0x334]
call fcn.00447d00
test al, al
je 0x445ec9
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x354]
call fcn.00449b60
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x445dff
mov eax, dword [eax]
jmp 0x445e01
xor eax, eax
push eax
lea ecx, [ebp - 0x34c]
call fcn.00407953
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x354]
test esi, esi
je 0x445e69
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x445e5f
test esi, esi
je 0x445e5f
mov eax, dword [esi]
test eax, eax
je 0x445e3d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x445e54
push eax
call fcn.0046583d
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005af9e7
add esp, 8
mov dword [ebp - 0x354], 0
cmp dword [ebp - 0x338], 8
lea eax, [ebp - 0x34c]
mov ecx, dword [ebp - 0x35c]
cmovae eax, dword [ebp - 0x34c]
push eax
call fcn.0040d9f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x338]
cmp ecx, 8
jb 0x445ec9
mov edx, dword [ebp - 0x34c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445ebf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445f0f
push ecx
push edx
call fcn.005af9e7
add esp, 8
mov eax, dword [ebp + edi*4 - 0x334]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x370]
mov byte [ebp - 4], 0
push eax
call ebx
inc edi
jmp 0x445da2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005af765
mov esp, ebp
pop ebp
ret 4
call fcn.005b681f
int3
Function at 0x445f20
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2a56
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp byte [ecx + 0x1c], 0
mov ebx, dword [ebp + 8]
jne 0x445f61
xor al, al
jmp 0x446139
lea eax, [ebp - 0x344]
mov dword [ebp - 4], 0
push eax
push str.SELECT__FROM_Win32_PnPEntity
call fcn.004484f0
test al, al
je 0x446137
mov eax, dword [ebp - 0x344]
lea edx, [ebp - 0x33c]
push edx
lea edx, [ebp - 0x334]
mov dword [ebp - 0x33c], 0
push edx
mov ecx, dword [eax]
push 0xc8
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x446137
xor edi, edi
nop word [eax + eax]
cmp edi, dword [ebp - 0x33c]
jae 0x446137
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 1
push eax
push str.Service
push dword [ebp + edi*4 - 0x334]
call fcn.00447d00
test al, al
je 0x44611a
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x340]
call fcn.00449b60
mov byte [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x44601d
mov esi, dword [esi]
jmp 0x44601f
xor esi, esi
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x446157
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
push esi
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 3
call fcn.0040d850
test al, al
jne 0x44605c
push esi
lea ecx, [ebp - 0x338]
call fcn.0040d9f0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x340]
test esi, esi
je 0x4460b8
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x4460ae
test esi, esi
je 0x4460ae
mov eax, dword [esi]
test eax, eax
je 0x44608c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4460a3
push eax
call fcn.0046583d
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005af9e7
add esp, 8
mov dword [ebp - 0x340], 0
cmp byte [ebx], 0
mov eax, dword [ebp - 0x338]
jne 0x446102
mov edx, str.usbvideo
mov ecx, eax
nop word [eax + eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4460f6
test si, si
je 0x4460f2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4460f6
add ecx, 4
add edx, 4
test si, si
jne 0x4460d0
xor ecx, ecx
jmp 0x4460fb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
mov byte [ebx], cl
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44611a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x445fc0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005af765
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040238e
int3
Function at 0x4479a0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2cc5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x663000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp byte [ecx + 0x1c], 0
jne 0x4479e7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
xor bl, bl
push str.SELECT__FROM_Win32_SoundDevice
mov byte [ebp - 0x15], bl
call fcn.004484f0
test al, al
je 0x447ac0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push edx
push 1
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x447aac
lea ecx, [ebp - 0x58]
call fcn.0042e140
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
push str.Name
push dword [ebp - 0x1c]
mov bl, 1
mov byte [ebp - 0x15], bl
call fcn.00447d00
test al, al
je 0x447a6c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x58]
call fcn.00449610
lea eax, [ebp - 0x34]
push eax
push str.DeviceID
push dword [ebp - 0x1c]
call fcn.00447d00
test al, al
je 0x447a8d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
call fcn.00449610
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0042d900
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x447ac0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447ae0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2d00
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp byte [ecx + 0x1c], 0
mov edi, dword [ebp + 8]
jne 0x447b21
xor al, al
jmp 0x447cde
lea eax, [ebp - 0x33c]
mov dword [ebp - 4], 0
push eax
xor bl, bl
mov dword [ebp - 0x33c], 0
push str.SELECT__FROM_Win32_BaseBoard
mov byte [ebp - 0x335], bl
call fcn.004484f0
test al, al
je 0x447cdc
mov eax, dword [ebp - 0x33c]
lea edx, [ebp - 0x340]
push edx
lea edx, [ebp - 0x334]
mov dword [ebp - 0x340], 0
push edx
mov ecx, dword [eax]
push 0xc8
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x447c84
xor esi, esi
nop dword [eax + eax]
cmp esi, dword [ebp - 0x340]
jae 0x447c84
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 1
push eax
push str.Manufacturer
push dword [ebp + esi*4 - 0x334]
call fcn.00447d00
test al, al
je 0x447bdf
lea eax, [ebp - 0x350]
mov ecx, edi
push eax
call fcn.00449610
mov bl, 1
mov byte [ebp - 0x335], bl
lea eax, [ebp - 0x350]
push eax
push str.Product
push dword [ebp + esi*4 - 0x334]
call fcn.00447d00
test al, al
je 0x447c0a
lea eax, [ebp - 0x350]
push eax
lea ecx, [edi + 4]
call fcn.00449610
lea eax, [ebp - 0x350]
push eax
push 0x632dd0
push dword [ebp + esi*4 - 0x334]
call fcn.00447d00
test al, al
je 0x447c35
lea eax, [ebp - 0x350]
push eax
lea ecx, [edi + 8]
call fcn.00449610
lea eax, [ebp - 0x350]
push eax
push str.SerialNumber
push dword [ebp + esi*4 - 0x334]
call fcn.00447d00
test al, al
je 0x447c60
lea eax, [ebp - 0x350]
push eax
lea ecx, [edi + 0x1c]
call fcn.00449610
mov eax, dword [ebp + esi*4 - 0x334]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc esi
jmp 0x447b90
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x447cdc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005af765
mov esp, ebp
pop ebp
ret 4
Function at 0x44cef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, ecx
push ebx
xor bl, bl
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x44cf0d
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push 0x20019
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44cfeb
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44cfe2
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00465842
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], 3
jne 0x44cfcd
mov edx, dword [ebp - 4]
lea ecx, [edx - 1]
xor eax, eax
mov bl, 1
test ecx, ecx
jle 0x44cfcd
nop dword [eax]
cmp word [esi + eax*2], 0
jne 0x44cfc1
movzx ecx, word [esi + eax*2 + 2]
test cx, cx
je 0x44cfc1
mov word [esi + eax*2], cx
xor ecx, ecx
mov word [esi + eax*2 + 2], cx
xor bl, bl
mov edx, dword [ebp - 4]
inc eax
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x44cfa0
test bl, bl
je 0x44cf91
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00415110
push esi
call fcn.0046583d
add esp, 4
mov bl, 1
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cbc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x45cc73
test ebx, ebx
je 0x45cc73
push esi
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
je 0x45cc67
push eax
call fcn.00465842
mov esi, eax
add esp, 4
test esi, esi
jne 0x45cc0a
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 4]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45cc5e
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
push 0x632b48
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45cc5e
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x45cc5e
mov eax, dword [ecx + 8]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebx], eax
call fcn.0046583d
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0046583d
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x663000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor bl, bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push dword [edx]
mov dword [ebp - 0x10], edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x460e67
mov edi, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], esi
mov ebx, 0x3e8
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
ja 0x460dc0
jb 0x460dae
cmp eax, 0xffffffff
ja 0x460dc0
push eax
call fcn.005bc026
add esp, 4
mov esi, eax
mov dword [ebp - 0x10], esi
nop dword [eax]
lea eax, [ebx + ebx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x460e11
cmp eax, 0xea
jne 0x460e1e
mov ebx, 0x3e8
mov ecx, 2
mov eax, ebx
mul ecx
test edx, edx
ja 0x460dc0
jb 0x460e01
cmp eax, 0xffffffff
ja 0x460dc0
push eax
push esi
call fcn.005b996f
add esp, 8
test eax, eax
je 0x460dc0
jmp 0x460db7
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x460e22
cmp eax, 2
je 0x460e22
xor bl, bl
jmp 0x460e5a
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x460e47
test ecx, ecx
je 0x460e42
test cl, 1
jne 0x460e1e
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x460e47
xor bl, bl
jmp 0x460e5a
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
push esi
mov bl, 1
mov word [esi + ecx*2], ax
mov ecx, dword [ebp + 0xc]
call fcn.0040d9f0
push esi
mov byte [ebp - 4], 0
call fcn.005b98d1
add esp, 4
test edi, edi
je 0x460e72
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x460ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [edx]
xor bl, bl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x460f56
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push esi
mov esi, dword [ebp - 4]
push edi
mov edi, dword [ebp + 0xc]
push ecx
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 4
push ecx
push 0
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x460f3c
cmp dword [ebp - 0xc], 4
jne 0x460f3c
mov bl, 1
jmp 0x460f42
mov dword [edi], 0
test esi, esi
je 0x460f4d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463960
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov dword [edi], 0
movq xmm0, qword [str.Data_Buffer]
mov eax, dword [0x637528]
movq qword [ebp - 0x24], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
push 0x3c
mov esi, eax
call fcn.005bc026
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x24]
push 0x3e8
push 0x3c
push ebx
push 0
push 0x20
push eax
push 0xee9f5836
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x4639ed
mov eax, dword [ebx + 8]
mov dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af765
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005af765
mov esp, ebp
pop ebp
ret 8
Function at 0x4689f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x468a3e
call fcn.00481371
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x468a3b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468a85
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x468a61
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5f5a78]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x468a82
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5f5a78]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x4762ad
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x476300
push esi
push dword [ebp + 8]
call fcn.00476496
mov edi, eax
test edi, edi
je 0x4762fb
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4762fb
mov eax, dword [ebp - 8]
jmp 0x476312
mov eax, dword [ebp + 0x10]
jmp 0x476312
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x476318
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e60b9
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.005b0130
mov eax, dword [0x663000]
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, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
cmp dword [ecx + 0x58], ebx
je 0x476449
push ebx
push edx
call fcn.00476496
mov ebx, eax
test ebx, ebx
jne 0x476380
push esi
jmp 0x476471
lea ecx, [ebp - 0x2014]
call fcn.004023f3
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x476408
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.004020df
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.0046802e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x476436
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.004022dd
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.004023d1
jmp 0x476478
push esi
mov ecx, edi
call fcn.0040303e
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x47642f
test esi, esi
jne 0x476452
mov esi, 0x62de00
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.0040303e
mov eax, edi
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.005af765
leave
ret 0x10

Function at 0x479e5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x479e99
call fcn.00481371
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x479e99
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x479ea1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00482970
pop edi
pop esi
pop ebx
pop ebp
ret 4