joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c580
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], 0x2cd42bf6
jmp 0x40c5a0
mov dword [ebp - 0x1c], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x1c]
cmp eax, 0x7511c83a
jg 0x40c610
cmp eax, 0xab06343c
jg 0x40c640
cmp eax, 0x9464e30a
jne 0x40c5a0
mov eax, 4
call fcn.00413310
mov eax, 4
call fcn.00413310
mov esi, esp
mov eax, 4
call fcn.00413310
mov ecx, esp
mov eax, 4
call fcn.00413310
mov dword [esi], 0
mov dword [ecx], 0
mov eax, dword [0x40d560]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esi], eax
mov dword [ebp - 0x1c], 0xbe7dbc32
jmp 0x40c5a0
cmp eax, 0x7511c83b
jne 0x40c5a0
mov al, byte [ebp - 5]
test al, al
mov eax, 0xdeed6d77
jne 0x40c590
mov eax, 0x356b4417
jmp 0x40c590
cmp eax, 0xbe7dbc31
jg 0x40c657
cmp eax, 0xab06343d
jne 0x40c5a0
jmp 0x40c7ea
cmp eax, 0xd935c262
jg 0x40c6da
cmp eax, 0xbe7dbc32
jne 0x40c5a0
mov eax, 4
call fcn.00413310
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.00413310
mov dword [ebp - 0x14], esp
mov eax, 4
call fcn.00413310
mov dword [ebp - 0x10], esp
mov eax, 4
call fcn.00413310
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [0x40d560]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
sete byte [ebp - 5]
mov dword [ebp - 0x1c], 0x7511c83b
jmp 0x40c5a0
cmp eax, 0x356b4416
jg 0x40c713
cmp eax, 0x2cd42bf5
jg 0x40c7a7
cmp eax, 0xd935c263
je 0x40c6fe
cmp eax, 0xdeed6d77
jne 0x40c7be
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x1c], 0xab06343d
jmp 0x40c5a0
cmp eax, 0x356b4417
jne 0x40c5a0
sub esp, 4
mov dword [esp], 0
call fcn.0040c800
add esp, 4
mov esi, eax
call fcn.00402370
imul eax, esi
sub esp, 4
mov dword [esp], eax
call fcn.00413c82
add esp, 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
movzx esi, word [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00404750
add esp, 4
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
movzx eax, word [ecx + eax*2 - 2]
neg eax
add esi, 0xcadea4f2
sub esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [eax + esi + 0x35215b0e]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, 0xf892622
cmp ecx, dword [edx]
je 0x40c79f
mov eax, 0xd935c263
mov dword [ebp - 0x1c], eax
jmp 0x40c5a0
cmp eax, 0x2cd42bf6
jne 0x40c5a0
mov dword [ebp - 0x1c], 0xbe7dbc32
jmp 0x40c5a0
cmp eax, 0xf892622
jne 0x40c5a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x47d11c], eax
call fcn.00413c5f
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x1c], 0xab06343d
jmp 0x40c5a0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x41bc9a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47d690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00418af7
mov dword [ebp - 0x14], eax
cmp dword [0x4c5558], edi
jne 0x41bd8b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41bd18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41be6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41be6b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41be6b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4c5558], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4c555c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4c5560], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c5568], eax
test eax, eax
je 0x41bd88
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c5564], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41bdb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41bda3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41bdc5
push 4
pop eax
jmp 0x41be6d
cmp dword [ebp - 0x14], edi
je 0x41bdc5
push dword [0x4c5558]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41bdaa
mov eax, dword [0x4c5564]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41be23
cmp dword [0x4c5568], esi
je 0x41be23
push eax
call ebx
push dword [0x4c5568]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41be23
test eax, eax
je 0x41be23
call ecx
test eax, eax
je 0x41be18
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41be18
test byte [ebp - 8], 1
jne 0x41be23
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41be53
mov eax, dword [0x4c555c]
cmp eax, esi
je 0x41be50
push eax
call ebx
test eax, eax
je 0x41be50
call eax
mov edi, eax
test edi, edi
je 0x41be50
mov eax, dword [0x4c5560]
cmp eax, esi
je 0x41be50
push eax
call ebx
test eax, eax
je 0x41be50
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c5558]
call ebx
test eax, eax
je 0x41be6b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41be6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415c09
leave
ret
Function at 0x4037e6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433517
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00426313
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.00426313
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], 1
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404510
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4441e0]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x26
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x40457e
push eax
push 0x435b48
push 0x435b2c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [esp + 0x224]
call fcn.004185be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404585
sub eax, edx
push eax
lea ecx, [esp + 0x14]
lea esi, [ebx + 0xc]
push ecx
mov ecx, esi
call fcn.00402130
lea edx, [esp + 0x118]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x118]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4045c0
mov eax, dword [str.Setup.ini]
mov ecx, dword [0x435b24]
mov dx, word [0x435b28]
mov dword [edi], eax
mov dword [edi + 4], ecx
push 0x8e
lea eax, [esp + 0x11c]
push eax
mov ecx, ebx
mov word [edi + 8], dx
call fcn.00401ac0
test eax, eax
je 0x404569
lea ecx, [esp + 0x118]
push ecx
mov ecx, ebx
call fcn.00403e30
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00402220
mov eax, dword [eax]
push 0x435b1c
push eax
call fcn.00418d0d
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40465d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40466d
push 0x435b1c
mov ecx, esi
call fcn.00402680
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.004185be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4046c0
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4046e6
xor eax, eax
pop ecx
ret 4
mov edx, dword [esp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4046f0
mov ecx, dword [esp + 4]
sub eax, esi
push eax
push edx
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x404730
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x160
mov eax, dword [0x4441e0]
push ebx
mov ebx, dword [esp + 0x168]
mov dword [esp + 0x160], eax
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404750
sub eax, edx
mov dword [esp + 0x14], eax
je 0x40482e
push esi
push edi
push 0x104
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0xb
mov esi, str.Program_FilesInternet_Exploreriexplore.exe
lea edi, [esp + 0x67]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, ebx
movsb byte es:[edi], byte [esi]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404790
lea edi, [esp + 0x64]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4047a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, eax
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x40482c
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x84]
push ecx
push 0
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop edi
pop esi
mov ecx, dword [esp + 0x160]
pop ebx
call fcn.004185be
add esp, 0x160
ret 4
Function at 0x406380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x433828
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
call fcn.0042feba
movzx ecx, word [esp + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
push 0x4359f0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4063ce
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push edi
call fcn.0042feba
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call fcn.0042feba
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x28]
push 0x1001
push edx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0042b87a
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 8]
jne 0x406449
mov dword [esp + 0x20], 0xffffffff
call fcn.0042b48e
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push esi
push edi
call fcn.0042b1a2
lea ecx, [esp + 8]
call fcn.0042b3ed
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042b48e
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4077e0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4441e0]
push esi
mov dword [esp + 0x108], eax
push edi
lea eax, [esp + 8]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 8]
dec edi
jmp 0x407810
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407810
mov ecx, dword [str.Language.ini]
mov edx, dword [0x436310]
mov eax, dword [0x436314]
mov dword [edi], ecx
mov cl, byte [0x436318]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
push 0x8b
lea edx, [esp + 0xc]
mov byte [edi + 0xc], cl
push edx
mov ecx, esi
call fcn.00406380
test eax, eax
jne 0x407864
pop edi
pop esi
mov ecx, dword [esp + 0x104]
call fcn.004185be
add esp, 0x108
ret
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00406970
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10c]
pop edi
mov eax, 1
pop esi
call fcn.004185be
add esp, 0x108
ret
Function at 0x407e10
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
test eax, eax
mov dword [esi], eax
jne 0x407e2a
pop esi
pop ebx
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.IsWow64Process
push eax
call edi
mov ecx, dword [esi]
push str.Wow64DisableWow64FsRedirection
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi]
push str.Wow64RevertWow64FsRedirection
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push str.GetSystemWow64DirectoryA
push eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
test eax, eax
mov dword [esi + 4], eax
jne 0x407e82
pop edi
pop esi
pop ebx
ret
push str.Wow64RevertWow64FsRedirection
push eax
call edi
mov ecx, dword [esi + 4]
push str.Wow64RevertWow64FsRedirection
push ecx
mov dword [esi + 0x20], eax
call edi
pop edi
mov dword [esi + 0x1c], eax
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4095f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x520
mov eax, dword [0x4441e0]
push esi
mov dword [esp + 0x520], eax
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.softwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409762
mov edx, dword [esp + 8]
push edi
push eax
lea ecx, [esp + 0xc]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push 0x43702c
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x40975a
lea eax, [esp + 0x31c]
push 0x43702c
push eax
call fcn.00418f95
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [esp + 0x1c]
push str._sUninst.exe
push eax
call fcn.00418f95
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [esp + 0x12c]
push str._swnwbwnwb.exe
push eax
call fcn.00418f95
lea ecx, [esp + 0x238]
push 0x437000
push ecx
call fcn.00418f95
lea edx, [esp + 0x448]
push str.http:__www.wn51.com
push edx
call fcn.00418f95
mov ecx, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0x30
push 0x104
lea eax, [esp + 0x320]
push eax
push 1
push 0
push str.DisplayName
push ecx
call esi
mov eax, dword [esp + 8]
push 0x104
lea edx, [esp + 0x14]
push edx
push 1
push 0
push str.UninstallString
push eax
call esi
mov edx, dword [esp + 8]
push 0x104
lea ecx, [esp + 0x118]
push ecx
push 1
push 0
push str.DisplayIcon
push edx
call esi
mov ecx, dword [esp + 8]
push 0x104
lea eax, [esp + 0x21c]
push eax
push 1
push 0
push str.Publisher
push ecx
call esi
mov eax, dword [esp + 8]
push 0x104
lea edx, [esp + 0x424]
push edx
push 1
push 0
push str.URLInfoAbout
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
pop edi
mov ecx, dword [esp + 0x520]
pop esi
call fcn.004185be
add esp, 0x520
ret

Function at 0x409780
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4097a0
xor eax, eax
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40979a
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret
Function at 0x409880
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x4441e0]
push esi
push edi
mov esi, ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x268], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x20]
push str._BuildTable
shl ecx, 5
mov ecx, dword [ecx + eax + 0x1c]
push str.wnwbWnwbExeTool.exe
push ecx
lea edx, [esp + 0x6c]
push str._s_s__s
push edx
call fcn.00418f95
add esp, 0x14
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x409952
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x168]
push 0x437094
push ecx
call fcn.00418f95
add esp, 0xc
lea edx, [esp + 0x164]
push edx
mov ecx, esi
call fcn.00409800
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x260]
call fcn.004185be
add esp, 0x264
ret
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x168]
push 0x437080
push eax
call fcn.00418f95
add esp, 0xc
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call fcn.00409800
mov ecx, dword [esp + 0x268]
pop edi
mov eax, 1
pop esi
call fcn.004185be
add esp, 0x264
ret
Function at 0x4099d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x4441e0]
mov dword [esp + 0x260], eax
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x70]
test eax, eax
mov dword [esp + 0x1c], 0x44
je 0x409a39
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x3c]
mov eax, dword [edx + 0x20]
push str._SetDefault_StartUp
push str.wnwbWnwbExeTool.exe
shl ecx, 5
mov ecx, dword [ecx + eax + 0x1c]
push ecx
push str._s_s__s
lea edx, [esp + 0x70]
push edx
jmp 0x409a5e
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx + 0x20]
push str._SetDefault
push str.wnwbWnwbExeTool.exe
shl eax, 5
mov eax, dword [eax + edx + 0x1c]
push eax
push str._s_s__s
lea ecx, [esp + 0x70]
push ecx
call fcn.00418f95
add esp, 0x14
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x409ad0
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x168]
push 0x437094
push eax
call fcn.00418f95
add esp, 0xc
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call fcn.00409800
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x260]
call fcn.004185be
add esp, 0x264
ret
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x168]
push 0x437080
push edx
call fcn.00418f95
add esp, 0xc
lea eax, [esp + 0x164]
push eax
mov ecx, esi
call fcn.00409800
mov ecx, dword [esp + 0x268]
pop edi
mov eax, 1
pop esi
call fcn.004185be
add esp, 0x264
ret

Function at 0x409b50
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x409ba5
push 0
push 0x80
push 3
push 0
push 0
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x409b9e
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop esi
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
ret 4