joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6408
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6fb010]
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 0x20019
push 0
xorps xmm0, xmm0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x2e], xmm0
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x38], 0x10
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x46092f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push str.Install
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46092a
cmp dword [ebp - 0x34], 4
jne 0x46092a
cmp dword [ebp - 0x30], 1
jne 0x46092a
push str.DOTNET_INSTALLED
lea ecx, [ebp - 0x6c]
call fcn.004051f0
push 1
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
call fcn.00407870
lea ecx, [ebp - 0x6c]
call fcn.00405300
push dword [ebp - 0x3c]
call esi
mov eax, 1
jmp 0x460a00
push dword [ebp - 0x3c]
call esi
lea eax, [ebp - 0x3c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4609b5
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push str.Install
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4609b0
cmp dword [ebp - 0x34], 4
jne 0x4609b0
cmp dword [ebp - 0x30], 1
jne 0x4609b0
push str.DOTNET_INSTALLED
lea ecx, [ebp - 0x6c]
call fcn.004051f0
push 1
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 1
call fcn.00407870
lea ecx, [ebp - 0x6c]
call fcn.00405300
push dword [ebp - 0x3c]
call esi
mov eax, 1
jmp 0x460a00
push dword [ebp - 0x3c]
call esi
push 0x10
xor eax, eax
push str.DOTNET_INSTALLED
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.004058d0
push 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 2
call fcn.00407870
cmp dword [ebp - 0x40], 8
jb 0x4609fe
push dword [ebp - 0x54]
call fcn.0048166b
add esp, 4
xor eax, eax
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.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x466c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0xf
xor eax, eax
push str.SELECTEDCOUNTRY
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004058d0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 8
jb 0x466cf2
push dword [ebp - 0x40]
call fcn.0048166b
add esp, 4
xor eax, eax
xor ecx, ecx
cmp word [0x624928], cx
mov word [ebp - 0x40], ax
mov esi, 2
mov eax, esi
cmove eax, ecx
push eax
push 0x624928
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], 7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
call fcn.00406530
test eax, eax
je 0x466d8a
xor ecx, ecx
cmp word [0x624930], cx
mov eax, esi
cmove eax, ecx
push eax
push 0x624930
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406530
test eax, eax
je 0x466d8a
xor eax, eax
cmp word [0x624970], ax
cmove esi, eax
push esi
push 0x624970
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406530
test eax, eax
je 0x466d8a
push 0x624980
lea ecx, [ebp - 0x28]
call fcn.00406390
test eax, eax
je 0x466d8a
xor esi, esi
jmp 0x466de8
push 0x11
push str.ASIALicense.txt
lea ecx, [ebp + 8]
call fcn.004057a0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x466de3
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.CDlgEULA::IsEULATypeChina_GetFileAttributes___Failed___EulaPath:_s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
xor esi, esi
jmp 0x466de8
mov esi, 1
cmp dword [ebp - 0x14], 8
jb 0x466df9
push dword [ebp - 0x28]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x466e1e
push dword [ebp + 8]
call fcn.0048166b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0x18
Function at 0x468d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d71f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65a000]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0048d383
mov ecx, esi
call fcn.00468e20
mov ecx, esi
call fcn.00469170
push 0xd
xor eax, eax
push str.SELECTED_LANG
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.004058d0
lea eax, [esp + 8]
mov dword [esp + 0x48], 0
mov ecx, dword [0x6fb010]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
cmp dword [esp + 0x1c], 8
jb 0x468db4
push dword [esp + 8]
call fcn.0048166b
add esp, 4
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call fcn.005a54c4
add esp, 4
push 0
push eax
push 0x186
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x34], 8
jb 0x468df2
push dword [esp + 0x20]
call fcn.0048166b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x475d20
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7960
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
xor eax, eax
push str.ONLINEFLAG
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.004058d0
mov dword [ebp - 4], 0
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0xc]
call fcn.004070c0
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], 8
jb 0x475dad
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
test bl, bl
je 0x475ddf
push 0
push 1
push 0xf1
push dword [esi + 0x3c4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea ecx, [esi + 0x3a4]
call fcn.00488df9
push 6
push str.Online
jmp 0x475eae
push 1
lea ecx, [esi + 0x3a4]
call fcn.004883b2
push 0xd
xor eax, eax
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004058d0
mov dword [ebp - 4], 1
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0xc]
call fcn.004070c0
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x475e46
push dword [ebp - 0x2c]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push eax
test bl, bl
je 0x475e94
push 1
push 0xf1
push dword [esi + 0x3c4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 8
push str.CdOnline
mov ecx, 0x6fb0c0
call fcn.004058d0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x475eb8
push eax
push 0
push 0xf1
push dword [esi + 0x3c4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0x6280c8
mov ecx, 0x6fb0c0
call fcn.004058d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x4785f0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov word [ebp - 8], 0x500
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x10]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x47864f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x78
sete cl
pop edi
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x47868f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x47868f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 0x14]
call fcn.00481662
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x478716
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push ebx
push 2
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x47870d
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x47870d
xor esi, esi
cmp dword [ebx], esi
jbe 0x478704
lea edi, [ebx + 4]
push dword [ebp - 0x18]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4786ff
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x4786e4
xor edi, edi
jmp 0x478704
mov edi, 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call fcn.0048166b
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
pop esi
mov eax, edi
xor ecx, ebp
pop edi
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x47b6d0
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push str.Credui.dll
mov edi, ecx
call esi
mov dword [edi], eax
test eax, eax
jne 0x47b712
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Credui.dll
push str.CProxyInfo::LoadProxyLibrary_LoadLibrary___failed___s__:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x18
jmp 0x47b7cc
push str.Advapi32.dll
call esi
mov dword [edi + 4], eax
test eax, eax
jne 0x47b72e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Advapi32.dll
jmp 0x47b6f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CredFree
push eax
call esi
push str.CredDeleteW
push dword [edi + 4]
mov dword [0x6fb028], eax
call esi
push str.CredEnumerateW
push dword [edi + 4]
mov dword [0x6fb030], eax
call esi
push str.CredUIPromptForCredentialsW
push dword [edi]
mov dword [0x6fb02c], eax
call esi
push str.CredUIConfirmCredentialsW
push dword [edi]
mov dword [0x6fb024], eax
call esi
cmp dword [0x6fb028], 0
mov dword [0x6fb020], eax
je 0x47b7ac
cmp dword [0x6fb030], 0
je 0x47b7ac
cmp dword [0x6fb02c], 0
je 0x47b7ac
cmp dword [0x6fb024], 0
je 0x47b7ac
test eax, eax
je 0x47b7ac
mov eax, 1
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CProxyInfo::LoadProxyLibrary_GetProcAddress___failed_:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
mov ecx, edi
call fcn.0047b7f0
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x47e470
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0048d383
mov ecx, esi
call fcn.0047e4c0
push 0
push 4
push 0
push 0
push esi
push 0x47e5b0
call fcn.0048babd
mov dword [esi + 0x98], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x98]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
Function at 0x47e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d83d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65a000]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push str.MSM2096
lea eax, [esp + 0x24]
push eax
call fcn.00462780
mov dword [esp + 0x48], 0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00488db5
push str.MSM2097
lea eax, [esp + 0xc]
push eax
call fcn.00462780
mov byte [esp + 0x48], 1
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
lea ecx, [esi + 0x9c]
call fcn.00488db5
cmp dword [esp + 0x1c], 8
jb 0x47e565
push dword [esp + 8]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [esp + 0x34], 8
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
jb 0x47e58f
push dword [esp + 0x20]
call fcn.0048166b
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x47e710
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d84d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65a000]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
push 3
xor eax, eax
push 0x61218c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004058d0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x54], 0
mov ecx, dword [0x6fb010]
lea eax, [esp + 0x2c]
push eax
add ecx, 0x1c
call fcn.00406e30
mov byte [esp + 0x50], 2
cmp dword [esp + 0x24], 8
jb 0x47e7a8
push dword [esp + 0x10]
call fcn.0048166b
add esp, 4
push 0x5c
xor eax, eax
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004119a0
push 0xc
push str.cnwiduns.dll
lea ecx, [esp + 0x30]
call fcn.004057a0
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x47e801
push str.CUSBLanSetup::Initialize__LoadLibrary___Failed
jmp 0x47e8c8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CNWIDUNS_CreateInstance
push eax
call esi
push str.CNWIDUNS_DestroyInstance
push dword [edi + 0x2c]
mov dword [edi + 4], eax
call esi
push str.CNWIDUNS_Search
push dword [edi + 0x2c]
mov dword [edi + 8], eax
call esi
push str.CNWIDUNS_GetDeviceId
push dword [edi + 0x2c]
mov dword [edi + 0xc], eax
call esi
push str.CNWIDUNS_CommStart
push dword [edi + 0x2c]
mov dword [edi + 0x10], eax
call esi
push str.CNWIDUNS_CommEnd
push dword [edi + 0x2c]
mov dword [edi + 0x14], eax
call esi
push str.CNWIDUNS_GetInfo
push dword [edi + 0x2c]
mov dword [edi + 0x18], eax
call esi
push str.CNWIDUNS_SetInfo
push dword [edi + 0x2c]
mov dword [edi + 0x1c], eax
call esi
push str.CNWIDUNS_Control
push dword [edi + 0x2c]
mov dword [edi + 0x20], eax
call esi
mov ecx, dword [edi + 4]
mov dword [edi + 0x24], eax
test ecx, ecx
je 0x47e8c3
cmp dword [edi + 8], 0
je 0x47e8c3
cmp dword [edi + 0xc], 0
je 0x47e8c3
cmp dword [edi + 0x10], 0
je 0x47e8c3
cmp dword [edi + 0x14], 0
je 0x47e8c3
cmp dword [edi + 0x18], 0
je 0x47e8c3
cmp dword [edi + 0x1c], 0
je 0x47e8c3
cmp dword [edi + 0x20], 0
je 0x47e8c3
test eax, eax
je 0x47e8c3
call ecx
mov dword [edi + 0x28], eax
test eax, eax
jne 0x47e8bf
push str.CUSBLanSetup::CNWIDUNS_CreateInstance____Failed
jmp 0x47e8c8
mov bl, 1
jmp 0x47e8cf
push str.CUSBLanSetup::Initialize____Failed
call fcn.00415fc0
xor bl, bl
cmp dword [esp + 0x3c], 8
jb 0x47e8e2
push dword [esp + 0x28]
call fcn.0048166b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x48307f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6f6388]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4830cb
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4830e8
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6f6388], eax
jmp 0x4830d4
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4830e8
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x483155
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x483103
xor eax, eax
jmp 0x483155
lea eax, [ebp - 0x210]
push eax
call fcn.005a77ca
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x483134
push 0x618734
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005a7720
add esp, 0xc
test eax, eax
jne 0x4830ff
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005a7720
add esp, 0xc
test eax, eax
jne 0x4830ff
lea eax, [ebp - 0x210]
push eax
call fcn.00487e7c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005a4646
leave
ret

Function at 0x48394c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x483991
call fcn.0048e2ab
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x483991
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4839ad
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048e446
mov ebx, eax
test edi, edi
je 0x4839ab
test esi, esi
je 0x4839ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4888f4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5ccfd7
call fcn.005a71d4
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x48891a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x48896e
call fcn.0048b870
push eax
lea ecx, [ebp - 0x10]
call fcn.00408d50
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.005a54f5
push eax
call fcn.00408e20
add esp, 0x14
test edi, edi
je 0x488961
push edi
call fcn.005a77ca
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409050
mov eax, esi
call fcn.005a71a2
ret 8
Function at 0x48cc3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0048e2ab
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48cc74
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0048cc93
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x48f291
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.00488504
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x48f2cd
call fcn.0048f54f
mov dword [esi + 0xc], 1
jmp 0x48f2d2
call fcn.0048f54f
cmp dword [esi], 0
je 0x48f31b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x48f2f5
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004818c2
jmp 0x48f306
push 0xff
mov ecx, esi
call fcn.004091b0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00481ad8
jmp 0x48f33f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x48f33f
push dword [esi]
push dword [ebp - 4]
call fcn.004a1a8f
pop esi
leave
ret 0xc

Function at 0x48f4a6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0048f54f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x48f4ee
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004818c2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00481ad8
jmp 0x48f4f9
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004a1a8f
pop edi
pop esi
pop ebp
ret 0xc