joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4378c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d92f3
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x65afd4]
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 dword [ebp - 0x38], edx
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4378fd
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x437a20
push ebx
call fcn.005b5318
mov edi, eax
add esp, 4
test edi, edi
je 0x437a20
cmp dword [esi + 0x14], 8
jb 0x43792d
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x437a17
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x62b118
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x437a17
sub esp, 8
lea ecx, [ebp - 0xec]
call fcn.00413c70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
lea ecx, [ebp - 0xdc]
push eax
call fcn.0042f1c0
mov edx, 0x629274
mov ecx, eax
call fcn.00410580
mov ecx, eax
call fcn.0042f1c0
mov edx, 0x629274
mov ecx, eax
call fcn.00410580
mov ecx, eax
call fcn.0042f1c0
mov edx, 0x629274
mov ecx, eax
call fcn.00410580
mov ecx, eax
call fcn.0042f1c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00414520
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0040a6f2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004076c4
push edi
call fcn.005b2d01
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.004138a0
mov al, 1
jmp 0x437a22
push edi
call fcn.005b2d01
add esp, 4
xor al, al
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.005a8a56
mov esp, ebp
pop ebp
ret
Function at 0x4423e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da028
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x65afd4]
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 esi, ecx
cmp dword [esi + 0x14], 0
je 0x4425d3
cmp dword [esi + 0xc], 0
je 0x4425d3
cmp dword [esi + 0x18], 0
je 0x4425d3
cmp dword [esi + 0x10], 0
je 0x4425d3
push 1
lea ecx, [ebp - 0x48]
call fcn.0045ea00
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
push 0
push 0x116fb
mov ecx, esi
call fcn.0045de40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0x442390
mov dword [ebp - 0x3c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x442578
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x442578
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10028
push eax
push edi
mov dword [ebp - 0x34], 0x25
mov dword [ebp - 0x30], 0x1800
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x20000000
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x442578
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x442578
mov eax, dword [esi + 0xc]
push edi
call eax
mov dword [esi + 8], eax
test eax, eax
je 0x442578
push eax
mov eax, dword [esi + 0x10]
push edi
call eax
test eax, eax
je 0x442578
mov eax, dword [esi + 0x18]
push str.glGetStringi
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x442538
push str.glGetStringi
push dword [esi + 4]
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
push str.glGetString
call eax
mov dword [esi + 0x24], eax
test eax, eax
jne 0x442556
push str.glGetString
push dword [esi + 4]
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x18]
push str.glGetIntegerv
call eax
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x442574
push str.glGetIntegerv
push dword [esi + 4]
call edi
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x44257a
xor bl, bl
mov dword [ebp - 4], 5
or eax, 0xffffffff
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4425c8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4425f1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4425f1
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x4425d5
mov dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x4425d5
xor al, al
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.005a8a56
mov esp, ebp
pop ebp
ret
mov ecx, edx
call esi
jmp 0x4425c8
Function at 0x447f90
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da501
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x65afd4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x348], eax
mov byte [eax], 0
cmp byte [ecx + 0x1c], 0
jne 0x447fda
xor al, al
jmp 0x4481cc
lea eax, [ebp - 0x344]
mov dword [ebp - 4], 0
push eax
push str.SELECT__FROM_Win32_NetworkAdapter
call fcn.00449d90
test al, al
je 0x4481ca
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 0x4481ca
xor edi, edi
nop
cmp edi, dword [ebp - 0x33c]
jae 0x4481ca
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.PhysicalAdapter
push dword [ebp + edi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x4481a0
lea ecx, [ebp - 0x358]
call fcn.0044aea0
test al, al
je 0x4481a0
lea eax, [ebp - 0x358]
push eax
push str.NetConnectionStatus
push dword [ebp + edi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x4481a0
lea ecx, [ebp - 0x358]
call fcn.0044ae00
cmp eax, 2
jne 0x4481a0
lea eax, [ebp - 0x358]
push eax
push str.Name
push dword [ebp + edi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x4481a0
lea eax, [ebp - 0x335]
mov byte [ebp - 0x335], 0
push eax
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x340]
call fcn.0044ad50
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x448102
mov eax, dword [eax]
jmp 0x448104
xor eax, eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x35c], esp
push eax
call fcn.004076f8
mov byte [ebp - 4], 3
call fcn.0045cab0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0045cb40
mov byte [ebp - 4], 1
mov bl, al
mov esi, dword [ebp - 0x340]
test esi, esi
je 0x44818a
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x448180
test esi, esi
je 0x448180
mov eax, dword [esi]
test eax, eax
je 0x44815e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x448175
push eax
call fcn.0046217b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005a8d24
add esp, 8
mov dword [ebp - 0x340], 0
test bl, bl
je 0x4481a0
cmp byte [ebp - 0x335], 0
je 0x4481a0
mov eax, dword [ebp - 0x348]
mov byte [eax], 1
mov eax, dword [ebp + edi*4 - 0x334]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x448030
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.005a8a56
mov esp, ebp
pop ebp
ret 4
Function at 0x4481f0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da551
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x65afd4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x348], eax
mov byte [eax], 0
cmp byte [ecx + 0x1c], 0
jne 0x44823a
xor al, al
jmp 0x44842c
lea eax, [ebp - 0x344]
mov dword [ebp - 4], 0
push eax
push str.SELECT__FROM_Win32_NetworkAdapter
call fcn.00449d90
test al, al
je 0x44842a
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 0x44842a
xor edi, edi
nop
cmp edi, dword [ebp - 0x33c]
jae 0x44842a
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.PhysicalAdapter
push dword [ebp + edi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x448400
lea ecx, [ebp - 0x358]
call fcn.0044aea0
test al, al
je 0x448400
lea eax, [ebp - 0x358]
push eax
push str.NetConnectionStatus
push dword [ebp + edi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x448400
lea ecx, [ebp - 0x358]
call fcn.0044ae00
cmp eax, 2
jne 0x448400
lea eax, [ebp - 0x358]
push eax
push str.Name
push dword [ebp + edi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x448400
lea eax, [ebp - 0x335]
mov byte [ebp - 0x335], 0
push eax
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x340]
call fcn.0044ad50
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x448362
mov eax, dword [eax]
jmp 0x448364
xor eax, eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x35c], esp
push eax
call fcn.004076f8
mov byte [ebp - 4], 3
call fcn.0045cab0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0045cde0
mov byte [ebp - 4], 1
mov bl, al
mov esi, dword [ebp - 0x340]
test esi, esi
je 0x4483ea
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4483e0
test esi, esi
je 0x4483e0
mov eax, dword [esi]
test eax, eax
je 0x4483be
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4483d5
push eax
call fcn.0046217b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005a8d24
add esp, 8
mov dword [ebp - 0x340], 0
test bl, bl
je 0x448400
cmp byte [ebp - 0x335], 0
je 0x448400
mov eax, dword [ebp - 0x348]
mov byte [eax], 1
mov eax, dword [ebp + edi*4 - 0x334]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x448290
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.005a8a56
mov esp, ebp
pop ebp
ret 4
Function at 0x4498b0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x65afd4]
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 0x4498f7
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.00449d90
test al, al
je 0x4499d0
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 0x4499bc
lea ecx, [ebp - 0x50]
call fcn.004296a0
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.00449bf0
test al, al
je 0x44997c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.0044a300
lea eax, [ebp - 0x34]
push eax
push str.DeviceID
push dword [ebp - 0x1c]
call fcn.00449bf0
test al, al
je 0x44999d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044a300
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 - 0x50]
mov byte [ebp - 4], 0
call fcn.00429220
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4499d0
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 0x4499f0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da80b
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x65afd4]
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 0x449a31
xor al, al
jmp 0x449bc3
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.00449d90
test al, al
je 0x449bc1
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 0x449b69
xor esi, esi
nop dword [eax + eax]
cmp esi, dword [ebp - 0x340]
jae 0x449b69
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.00449bf0
test al, al
je 0x449aef
lea eax, [ebp - 0x350]
mov ecx, edi
push eax
call fcn.0044a300
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.00449bf0
test al, al
je 0x449b1a
lea eax, [ebp - 0x350]
push eax
lea ecx, [edi + 4]
call fcn.0044a300
lea eax, [ebp - 0x350]
push eax
push 0x62b380
push dword [ebp + esi*4 - 0x334]
call fcn.00449bf0
test al, al
je 0x449b45
lea eax, [ebp - 0x350]
push eax
lea ecx, [edi + 8]
call fcn.0044a300
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 0x449aa0
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x449bc1
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.005a8a56
mov esp, ebp
pop ebp
ret 4
Function at 0x44a890
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da9de
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65afd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00442fb0
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 8]
call fcn.00442fb0
lea eax, [esi + 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x10]
call fcn.00442fb0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x18]
call fcn.00442fb0
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x20], al
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], vtable.srl::Exists.0
movzx eax, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
mov dword [edi + 0x30], vtable.srl::Exists.0
movzx eax, byte [esi + 0x34]
mov byte [edi + 0x34], al
mov dword [edi + 0x38], vtable.srl::Exists.0
movzx eax, byte [esi + 0x3c]
mov byte [edi + 0x3c], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4532b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4532cf
cmp dword [edi], 2
jae 0x4532cf
pop edi
mov eax, 0x7a
pop esi
pop ebp
ret 0xc
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x453337
cmp dword [ebp + 0x10], 7
jne 0x453332
mov ecx, dword [ebp + 0xc]
test esi, esi
je 0x453326
test cl, 1
jne 0x453332
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x453332
cmp word [esi + eax*2 - 2], 0
jne 0x453332
cmp eax, 1
jbe 0x453326
cmp word [esi + eax*2 - 4], 0
jne 0x453332
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0xd
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x45c930
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, edx
mov ebx, ecx
test edi, edi
jne 0x45c94b
pop edi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
je 0x45c9d6
push eax
call fcn.00462180
mov esi, eax
add esp, 4
test esi, esi
jne 0x45c979
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 4]
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45c9cd
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
push 0x62b118
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45c9cd
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x45c9cd
mov eax, dword [ecx + 8]
mov dword [edi + 4], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [edi], eax
call fcn.0046217b
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0046217b
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45eae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc030
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x65afd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor bl, bl
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x20019
mov dword [ebp - 4], 0
push dword [edx]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0042f890
mov ecx, dword [ebp - 0x24]
test eax, eax
jne 0x45ec47
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, 0x3e8
mov byte [ebp - 4], 1
mov edx, 2
mul edx
test edx, edx
ja 0x45eb72
jb 0x45eb61
cmp eax, 0xffffffff
ja 0x45eb72
push eax
call fcn.005b5318
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x7d0
push eax
push esi
lea eax, [ebp - 0x18]
xor edi, edi
push eax
push edi
push dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45ebb8
cmp eax, 0xea
jne 0x45ebf9
push 0x7d0
push esi
call fcn.005b2d89
mov ecx, dword [ebp - 0x24]
add esp, 8
test eax, eax
je 0x45eb75
mov esi, eax
mov dword [ebp - 0x10], esi
jmp 0x45eb75
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x45ebcc
cmp eax, 2
je 0x45ebcc
mov eax, 0xd
jmp 0x45ebf9
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x45ebf3
test ecx, ecx
je 0x45ebee
test cl, 1
jne 0x45ebe7
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], di
je 0x45ebf3
mov eax, 0xd
jmp 0x45ebf9
xor eax, eax
mov word [esi], ax
mov edi, ecx
shr edi, 1
xor eax, eax
test eax, eax
sete bl
test eax, eax
jne 0x45ec2c
mov word [esi + edi*2], ax
test esi, esi
jne 0x45ec0e
xor ecx, ecx
jmp 0x45ec22
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ec13
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.004020e5
push esi
mov byte [ebp - 4], 2
call fcn.005b2d01
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x45ec60
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
mov al, bl
mov dword [ebp - 0x20], 0
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 0x462050
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x65afd4]
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 [0x62f768]
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.005b5318
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 0x4620dd
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.005a8a56
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.005a8a56
mov esp, ebp
pop ebp
ret 8

Function at 0x465366
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4653b0
call fcn.0047d8d0
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4653ad
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x465400
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x4653dd
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5eba74]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4653dd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4653fe
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x5eba74]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4728a1
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 0x4728f4
push esi
push dword [ebp + 8]
call fcn.00472a8a
mov edi, eax
test edi, edi
je 0x4728ef
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 0x4728ef
mov eax, dword [ebp - 8]
jmp 0x472906
mov eax, dword [ebp + 0x10]
jmp 0x472906
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