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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.0045ea30
mov eax, dword [0x52965c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x800
push 0
push eax
call fcn.00474bb0
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x42d834
test esi, esi
je 0x42d869
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x42d81d
push 0x800
lea eax, [ebp - 0x1804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x1804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea esi, [ebp - 0x1804]
push 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.00490d4b
add esp, 0xc
jmp 0x42d850
lea ecx, [ebp - 0x804]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x42d840
cmp dword [ebp + 0x20], 0
je 0x42d87c
lea eax, [ebp - 0x804]
push eax
call fcn.0045cab0
add esp, 4
test eax, eax
jne 0x42d87c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e5d8
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x2858], 0x44
lea eax, [ebp - 0x2858]
movlpd qword [ebp - 0x2854], xmm0
push eax
movlpd qword [ebp - 0x284c], xmm0
movlpd qword [ebp - 0x2844], xmm0
movlpd qword [ebp - 0x283c], xmm0
movlpd qword [ebp - 0x2834], xmm0
movlpd qword [ebp - 0x282c], xmm0
movlpd qword [ebp - 0x2824], xmm0
movlpd qword [ebp - 0x281c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x2828], ax
lea eax, [ebp - 0x2804]
push 0
push eax
mov dword [ebp - 0x282c], 1
movups xmmword [ebp - 0x2814], xmm0
call fcn.00474bb0
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x42d92d
push edi
push eax
lea eax, [ebp - 0x2804]
push 0x4f52b8
push eax
call fcn.00423ae0
add esp, 0x10
jmp 0x42d942
push eax
lea eax, [ebp - 0x2804]
push 0x4f52c8
push eax
call fcn.00423ae0
add esp, 0xc
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x2858]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x42d99c
cmp dword [ebp + 0x18], 0
je 0x42d986
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x2810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2814]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e5d8
mov esp, ebp
pop ebp
ret
Function at 0x42ec30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x52965c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.004173b0
mov eax, dword [esi + 0x20]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
call fcn.00442db0
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ecdc
lea eax, [ebp - 0x218]
push eax
push 0x4f61a4
push 0x4f61a8
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b070
lea ecx, [esi - 0x24]
cmp dword [eax], 0
je 0x42edc9
push 1
call fcn.0042ee40
call fcn.00442db0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jne 0x42edbc
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b080
test eax, eax
je 0x42edbc
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
call fcn.00442db0
push 0x104
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.00407070
push 0x7408
push dword [esi - 0x20]
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push eax
call fcn.0042e830
mov ecx, eax
call fcn.0042d380
mov edx, dword [ebp - 0x424]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42eda8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0x7407
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42edd0
mov eax, dword [esi + 0x20]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x42edd0
push 0
call fcn.0042ee40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e5d8
mov esp, ebp
pop ebp
ret 4
Function at 0x42f3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6fe8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x52965c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
jne 0x42f5ce
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
push 0
push dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417990
mov dword [ebx + 0x2c], esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x42f434
mov eax, 1
jmp 0x42f4b1
cmp esi, 1
jne 0x42f455
push dword [ebp + 0x14]
mov ecx, ebx
mov dword [ebx + 0x40], esi
call fcn.00417150
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x40], 0
je 0x42f4af
mov eax, esi
jmp 0x42f4b1
cmp esi, 0xf
jne 0x42f484
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [ebx + 0x40], 1
mov dword [eax], ecx
mov ecx, ebx
call fcn.00417400
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [ebx + 0x40], 0
je 0x42f4af
lea eax, [esi - 0xe]
jmp 0x42f4b1
cmp esi, 0x14
jne 0x42f4af
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [ebx + 0x40], 1
mov dword [eax], ecx
mov ecx, ebx
call fcn.004171a0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x40], 0
je 0x42f4af
lea eax, [esi - 0x13]
jmp 0x42f4b1
xor eax, eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x40], ecx
test eax, eax
jne 0x42f523
cmp esi, 0x111
jne 0x42f53c
mov eax, 3
cmp ax, word [ebp + 0x10]
jne 0x42f5ce
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish_launch
mov dword [ebp - 4], 0
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
push 1
mov eax, dword [ebx + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x7407
jne 0x42f581
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
call fcn.0042e830
mov ecx, eax
call fcn.0042d9b0
push dword [ebp + 0x10]
push str.Wait_DeskBand__d
call fcn.00435160
add esp, 8
cmp dword [ebp + 0x10], 0
jne 0x42f51a
call fcn.0042e830
mov ecx, eax
call fcn.0042de50
push 0
jmp 0x42f511
cmp esi, 0x7408
jne 0x42f5ce
push str.Ludashi
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x42f571
push 0
push 6
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push str.FindWindow_Ludashi_exist
call fcn.00435160
add esp, 4
call fcn.0042e830
mov ecx, eax
call fcn.0042de50
push 0
jmp 0x42f511
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x430e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e72b7
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x52965c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00442db0
mov esi, eax
test esi, esi
je 0x431099
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x4f34a8
push str.ApplicationsVMwareHostOpen.exe_shellopencommand
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x430f51
cmp dword [ebp - 0x220], 2
jbe 0x430f51
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x21c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.avolap_v
mov dword [ebp - 4], 0
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
mov eax, dword [esi]
push 0
push 0
push 0x4f489c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [eax + 0x68]
test eax, eax
je 0x430fa3
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x21c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.avolap_s
mov dword [ebp - 4], 1
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
mov eax, dword [esi]
push 0
push 0
push str.InstallDir
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [eax + 0x68]
test eax, eax
je 0x430ff5
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x21c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.avolap_q
mov dword [ebp - 4], 2
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
mov eax, dword [esi]
push 0
push 0
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Internet_Security
push reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [eax + 0x68]
test eax, eax
je 0x431047
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x21c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.avlap_j
mov dword [ebp - 4], 3
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
mov eax, dword [esi]
push 1
push 0
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHuorongSysdiag
push reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [eax + 0x68]
test eax, eax
je 0x431099
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x21c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.avlap_h
mov dword [ebp - 4], 4
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e5d8
mov esp, ebp
pop ebp
ret
Function at 0x431f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e74c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x52965c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00442db0
mov edi, dword [0x52de5c]
mov esi, eax
push str.SETUPDATA
push 0xd7
push edi
mov ecx, dword [esi]
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x432046
push str.InitPackInfo_failed__exit
call fcn.00435160
add esp, 4
push 4
push 0x4f688c
push 0
call fcn.0043f500
cmp eax, 6
jne 0x431fb5
push 1
push 0
push 0
push str.http:__dl.ludashi.com_ludashi_ludashisetup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x432161
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.ex3InitPackInfo:_d
push eax
call fcn.004046e0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 1
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0041e240
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432033
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.00435160
mov eax, dword [esi]
add esp, 4
push str.lds.ldsprj
push str.SETUPCONFIG
push 0xd5
push edi
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x43213e
push str.InitConfig_failed__exit
call fcn.00435160
add esp, 4
push 4
push 0x4f688c
push 0
call fcn.0043f500
cmp eax, 6
jne 0x4320a9
push 1
push 0
push 0
push str.http:__dl.ludashi.com_ludashi_ludashisetup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x43216b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push str.ex3InitConfig:_d
push eax
call fcn.004046e0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 3
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041e240
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432033
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InitConfig_success
call fcn.00435160
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
int3
Function at 0x432670
Capabilities:
Create process on windows

Disassembly:
push 4
push 0x4f688c
push 0
call fcn.0043f500
cmp eax, 6
jne 0x43269b
push 1
push 0
push 0
push str.http:__dl.ludashi.com_ludashi_ludashisetup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x432d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7566
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x52965c]
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 + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x432dfc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x432dfc
call fcn.00423ed0
mov edi, eax
jmp 0x432f1b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x432e1f
call fcn.00423ed0
jmp 0x432f0e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x432e3d
call fcn.00423ed0
jmp 0x432f0e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x432e5e
mov edi, 0x8007000e
jmp 0x432f10
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x432f54
jb 0x432e7c
cmp eax, 0xffffffff
ja 0x432f54
cmp eax, 0x400
jbe 0x432e91
push eax
lea ecx, [ebp - 0x418]
call fcn.00430200
jmp 0x432eb7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x432eb7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x432ece
mov edi, 0x8007000e
jmp 0x432f10
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x432eee
call fcn.00423ed0
jmp 0x432f0e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00432bb0
mov edi, eax
test esi, esi
je 0x432f1b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x432f34
lea ecx, [ebp - 0x418]
call fcn.004313b0
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 - 0x14]
xor ecx, ebp
call fcn.0045e5d8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004043b0
int3
Function at 0x4354c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7738
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x52965c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x435641
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x435541
test edx, 0xffff0000
jne 0x435527
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.004066f0
jmp 0x43554d
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435530
sub ecx, esi
sar ecx, 1
jmp 0x435543
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.004068a0
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404e20
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4355ea
push dword [ebp - 0x10]
call fcn.0045cab0
add esp, 4
test eax, eax
je 0x4355ea
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x4355ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallProvider
push eax
call esi
push str.RemoveProvider
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.LdsIsInstall
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.LdsSetRegKey
push dword [edi]
mov dword [edi + 0xc], eax
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x10], eax
je 0x4355ea
cmp dword [edi + 8], 0
je 0x4355ea
cmp dword [edi + 0xc], 0
je 0x4355ea
test eax, eax
je 0x4355ea
mov esi, 1
jmp 0x4355ec
xor esi, esi
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43560d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43562c
mov ecx, dword [eax]
push eax
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
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004043b0
int3
Function at 0x436d30
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7990
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x52965c]
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, ecx
cmp dword [edi + 0x6c], 2
je 0x436ef7
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.00436a40
mov eax, dword [edi + 0x6c]
sub eax, 1
je 0x436db0
sub eax, 2
jne 0x436de2
cmp ebx, 1
je 0x436de2
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x28], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 1
push str.finish_close
jmp 0x436dcf
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x28], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 0
push str.startpage_close
call fcn.00421cb0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e240
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b030
mov esi, dword [eax]
call fcn.00442db0
xor ecx, ecx
test esi, esi
setne cl
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
test ebx, ebx
je 0x436e7e
call fcn.00442db0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
je 0x436e7e
lea eax, [ebp - 0x24]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x436ef7
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x436ef7
push eax
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x436ef7
call fcn.00442db0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b070
cmp dword [eax], 0
jne 0x436ed1
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b080
test eax, eax
jne 0x436ed1
call fcn.00442db0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
je 0x436ed1
lea ecx, [edi + 0x70]
call fcn.0043a3f0
test eax, eax
jne 0x436ef7
mov ecx, 0x52de04
call fcn.0040d590
jmp 0x436eef
mov ecx, 0x52de04
call fcn.0040d590
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
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.0045e5d8
mov esp, ebp
pop ebp
ret 4