joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f3c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47de58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x490]
mov dword [ebp - 0x2c], 0xf
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004065c0
push 5
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
push 0
cmovae eax, dword [ebp - 0x40]
push str._auto__delay__service
push eax
push 0x48d798
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x460]
mov dword [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004065c0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push 0
push str._service
push eax
push 0x48d798
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp - 0x14], 0x10
jb 0x40f491
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x40f4a2
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret

Function at 0x40f4d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x504], 0x10
push esi
lea esi, [ecx + 0x4f0]
push edi
jb 0x40f4f5
mov eax, dword [esi]
jmp 0x40f4f7
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f51d
push str.CreateDllLogic
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f516
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004065c0
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00401a90
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x40f552
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 8], 8
jb 0x40f56a
push dword [ebp - 0x1c]
call fcn.0045eb11
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
Function at 0x40f7a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xffffffffffffffff
lea eax, [ecx + 0x460]
mov dword [ebp - 8], 0xf
push 0
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.004065c0
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 5
cmovae eax, dword [ebp - 0x1c]
push 0
push str._default
push eax
push 0x48d798
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp - 8], 0x10
jb 0x40f808
push dword [ebp - 0x1c]
call fcn.0045eb11
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
Function at 0x412870
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d99b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x49c4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ecx, ecx
mov dword [esi + 8], eax
mov edx, 4
mov eax, 0x53
mov dword [esi], vtable.DuiLib::CWindowWnd.0
mul edx
mov dword [esi + 4], 0
mov byte [esi + 0xc], 0
seto cl
mov dword [esi + 0x1c], 0
neg ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
or ecx, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], vtable.DuiLib::CNotifyPump.0
push ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0x53
call fcn.0045f449
push 0x14c
push 0
push eax
mov dword [esi + 0x24], eax
call fcn.00463310
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], vtable.DuiLib::INotifyUI.0
mov dword [esi + 0x34], vtable.DuiLib::IMessageFilterUI.0
mov dword [esi + 0x38], vtable.DuiLib::IDialogBuilderCallback.0
mov dword [esi], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
call fcn.0041d520
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4129b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x88]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0xf003f
push 0
push edx
push ecx
mov dword [ebp - 0x88], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x412a01
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
push 0x7f
lea eax, [ebp - 0x83]
mov byte [ebp - 0x84], 0
push 0
push eax
call fcn.00463310
add esp, 0xc
mov dword [ebp - 0x8c], 0x80
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], 1
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push esi
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4129ef
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x84], 0
jne 0x412a70
xor ecx, ecx
jmp 0x412a89
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412a80
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
call fcn.00406930
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
Function at 0x412ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0xf003f
push 0
mov edi, edx
mov dword [ebp - 4], 0
mov esi, ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x412b13
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x412b13
push 0x76
push str.register_tools.cpp
push str.false
call fcn.00462252
add esp, 0xc
xor bl, bl
jmp 0x412b43
push dword [ebp + 0x1c]
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push 1
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x412b38
xor bl, bl
jmp 0x412b43
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
cmp dword [ebp + 0x20], 0x10
jb 0x412b54
push dword [ebp + 0xc]
call fcn.0045eb11
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412b60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREFeiRar
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x412bcb
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREFeiRar
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x412bcb
push 0x76
push str.register_tools.cpp
push str.false
call fcn.00462252
add esp, 0xc
xor al, al
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x412bff
push 0x68
push str.register_tools.cpp
push str.false
call fcn.00462252
add esp, 0xc
xor al, al
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x412cd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60c
mov eax, dword [0x49c4b0]
xor eax, esp
mov dword [esp + 0x608], eax
mov edx, dword [ebp + 0x10]
xor eax, eax
push esi
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
cmp word [edx], ax
jne 0x412d0e
xor ecx, ecx
jmp 0x412d22
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412d13
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00406350
push 2
push ecx
push 0x48e134
lea ecx, [esp + 0x14]
call fcn.00403450
test eax, eax
js 0x412d94
lea ecx, [esp + 0x20]
call fcn.0040b2a0
push 9
push ecx
push str._runbysvr
lea ecx, [esp + 0x14]
mov byte [esp + 0x398], 1
call fcn.00403450
mov ecx, dword [0x49d630]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x49d630], ecx
lea ecx, [esp + 0x20]
call fcn.0040d4a0
lea ecx, [esp + 0x20]
call fcn.0040db80
lea ecx, [esp + 0x20]
call fcn.0040b730
jmp 0x412e12
mov eax, dword [ebp + 8]
push 0
mov dword [0x49fed4], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x412e12
push 0x5e8
call fcn.0045f314
add esp, 4
test eax, eax
je 0x412e12
mov ecx, eax
call fcn.0040b2a0
mov esi, eax
test esi, esi
je 0x412e12
push ecx
push 0x258
push 0x384
push 0
push 0
push 0x100
push 0x10cf0000
push 0x48e154
push 0
mov ecx, esi
call fcn.00423420
push ecx
mov ecx, esi
call fcn.00423610
mov ecx, esi
call fcn.004234e0
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00420450
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x1c], 8
jb 0x412e25
push dword [esp + 8]
call fcn.0045eb11
add esp, 4
mov ecx, dword [esp + 0x60c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416610
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e260
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x49c4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.004082a0
push ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004080c0
add esp, 4
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41667c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004174b0
mov edi, eax
add esp, 4
test edi, edi
jne 0x416695
xor esi, esi
jmp 0x41679d
push edi
mov edx, 0x417910
lea ecx, [ebp - 0x3c]
call fcn.00416990
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
movdqu xmm0, xmmword [edi + 0x38]
push esi
movdqu xmmword [ebp - 0x50], xmm0
call fcn.004082a0
push 0
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x4166fb
lea ecx, [edx - 1]
test ecx, ecx
js 0x4167d2
cmp ecx, edx
jg 0x4167d2
cmp word [eax + ecx*2], 0x5c
je 0x4166fb
push 0x487534
lea ecx, [ebp - 0x10]
call fcn.004167f0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], 0
test ecx, ecx
jb 0x416770
mov eax, dword [ebp - 0x50]
ja 0x416712
test eax, eax
je 0x416770
add eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
mov eax, ecx
movlpd qword [ebp - 0x30], xmm0
adc eax, 0xffffffff
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov edi, edi
mov edx, dword [ebp - 0x10]
mov ecx, edi
call fcn.00416150
cmp ebx, dword [ebp - 0x20]
ja 0x416755
jb 0x416746
cmp esi, dword [ebp - 0x24]
jae 0x416755
mov ecx, edi
call fcn.00417e40
test eax, eax
jne 0x4167dc
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cdq
mov ebx, edx
mov esi, eax
cmp ebx, dword [ebp - 0x4c]
ja 0x41676d
jb 0x416730
cmp esi, dword [ebp - 0x50]
jb 0x416730
or ebx, 0xffffffff
mov esi, 1
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416795
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00416a30
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4167be
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401530
xor esi, esi
or ebx, 0xffffffff
jmp 0x416775
Function at 0x4189a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e32b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
or esi, 0xffffffff
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
push 0x104
push 0
push 0x105
mov dword [ebp - 4], 0
push eax
mov dword [edi], 0
call fcn.00462c4b
push 0x104
lea eax, [ebp - 0x117]
mov byte [ebp - 0x118], 0
push 0
push eax
call fcn.00463310
add esp, 0x1c
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x418a5a
mov dword [edi], 3
jmp 0x418bb6
cmp byte [ebp - 0x118], 0
jne 0x418a67
xor ecx, ecx
jmp 0x418a79
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418a70
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x130]
call fcn.00406930
push str.GlobalMgr.db
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x14c]
call fcn.00403c80
mov esi, eax
add esp, 4
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x418aef
cmp dword [ebp - 0x11c], 0x10
jb 0x418ac8
push dword [ebp - 0x130]
call fcn.0045eb11
add esp, 4
push esi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
call fcn.00406ae0
cmp dword [ebp - 0x138], 0x10
jb 0x418b06
push dword [ebp - 0x14c]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0
cmovae eax, dword [ebp - 0x130]
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418b42
mov dword [edi], 0x50
jmp 0x418b81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x418bb0
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0
cmovae eax, dword [ebp - 0x130]
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418bb0
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0x104
cmovae eax, dword [ebp - 0x130]
push eax
push 0x105
push dword [ebp - 0x134]
call fcn.00462cb6
add esp, 0x10
jmp 0x418bb6
mov dword [edi], 0x65f
cmp dword [ebp - 0x11c], 0x10
jb 0x418bcd
push dword [ebp - 0x130]
call fcn.0045eb11
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419630
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
xorps xmm0, xmm0
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], 0x67452301
mov dword [ebp - 0x9c], 0xefcdab89
movdqu xmmword [ebx], xmm0
mov dword [ebp - 0x98], 0x98badcfe
movdqu xmmword [edi], xmm0
mov dword [ebp - 0x94], 0x10325476
movdqu xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
jb 0x4196b6
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.0041ae10
add esp, 4
lea ecx, [ebp - 0xa0]
mov edx, ebx
call fcn.0041aef0
xor esi, esi
movzx eax, byte [ebx + esi]
push eax
push str._02x
push 2
push 3
push edi
call fcn.0045f38a
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x4196d6
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 0x20], 0
pop ebx
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
Function at 0x41b170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.0046b6b0
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00463310
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x48e26c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x41b1f4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b2fd
lea ecx, [ebp - 0x2a90]
mov dword [ebp - 0x2a90], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x41b2fd
mov eax, ebx
mov dword [ebp - 0x2aa0], 3
lea ecx, [ebp - 0x2a98]
push esi
sub eax, ecx
push edi
lea edi, [ebp - 0x2a8c]
mov dword [ebp - 0x2aa4], eax
lea esp, [esp]
lea ecx, [edi + 8]
call fcn.0041b360
mov dword [ebp - 0x2a9c], eax
xor eax, eax
mov dword [ebp - 0x2a98], eax
xor ecx, ecx
mov word [ebp - 0x2a94], ax
mov eax, dword [ebp - 0x2aa4]
lea esi, [ebp - 0x2a98]
add esi, ecx
mov dl, byte [eax + esi]
cmp dl, byte [esi]
jne 0x41b292
inc ecx
cmp ecx, 6
jb 0x41b275
mov ecx, dword [ebp - 0x2a9c]
jmp 0x41b2b0
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x41b2a2
cmp eax, 0x17
jne 0x41b2f1
mov ecx, dword [ebp - 0x2a9c]
cmp dword [ebp - 0x2aa0], ecx
jle 0x41b2f1
movzx eax, byte [edi + 0x194]
mov byte [ebx], al
movzx eax, byte [edi + 0x195]
mov byte [ebx + 1], al
movzx eax, byte [edi + 0x196]
mov byte [ebx + 2], al
movzx eax, byte [edi + 0x197]
mov byte [ebx + 3], al
movzx eax, byte [edi + 0x198]
mov byte [ebx + 4], al
movzx eax, byte [edi + 0x199]
mov byte [ebx + 5], al
mov dword [ebp - 0x2aa0], ecx
mov edi, dword [edi]
test edi, edi
jne 0x41b250
pop edi
pop esi
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x2a98], eax
mov word [ebp - 0x2a94], ax
lea eax, [ebp - 0x2a98]
sub ebx, eax
lea ecx, [ebp - 0x2a98]
add ecx, edx
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x41b33b
inc edx
cmp edx, 6
jb 0x41b322
mov cl, 1
jmp 0x41b33d
xor cl, cl
xor eax, eax
test cl, cl
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.0045eb02
mov esp, ebp
pop ebp
ret
Function at 0x41b360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x114], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x10c], 0
call esi
test eax, eax
jne 0x41b52e
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.0045f38a
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41b526
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 4
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call edi
test eax, eax
jne 0x41b51e
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x114], 0x103
call fcn.00463310
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call edi
test eax, eax
jne 0x41b51e
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x41b50f
push ebx
lea eax, [ebp - 0x108]
push 0x48e318
push eax
call fcn.00462e90
add esp, 0xc
test eax, eax
jne 0x41b4dd
xor ebx, ebx
jmp 0x41b51e
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x41b50f
push 3
lea eax, [ebp - 0x108]
push 0x48e318
push eax
call fcn.00462e90
add esp, 0xc
test eax, eax
je 0x41b509
mov ebx, 2
jmp 0x41b51e
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call esi
push dword [ebp - 0x11c]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045eb02
mov esp, ebp
pop ebp
ret