joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420428
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482160]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x420468
cmp byte [ebx], 0xa
jne 0x420468
or byte [eax + edi + 0x28], 4
jmp 0x42046d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x42056b
mov al, byte [edx]
cmp al, 0x1a
je 0x42054d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x42049c
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4204c1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4204cb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x42047e
jmp 0x42056b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420548
cmp dword [ebp - 0xc], 0
je 0x420548
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482160]
test byte [eax + edi + 0x28], 0x48
je 0x420522
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42050d
mov byte [esi], dl
jmp 0x42051e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482160]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42056b
cmp byte [ebp - 1], 0xa
jne 0x420531
cmp esi, ebx
jne 0x420531
mov byte [esi], 0xa
jmp 0x42056a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00420fa8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42056b
mov byte [esi], 0xd
jmp 0x42056a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482160]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420567
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42056b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420574
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482160]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4205b7
cmp word [esi], dx
jne 0x4205b7
or byte [edi + eax + 0x28], 4
jmp 0x4205bc
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42070f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4206ef
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4205fe
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420634
cmp eax, edx
jae 0x420640
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4205d6
jmp 0x42070f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4206eb
cmp dword [ebp - 0x14], 0
je 0x4206eb
mov eax, dword [ebx*4 + 0x482160]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4206c3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x42068c
mov word [esi], cx
jmp 0x4206bf
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482160]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482160]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482160]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42070f
pop ebx
cmp word [ebp - 4], bx
jne 0x4206d4
cmp esi, dword [ebp + 0xc]
jne 0x4206d4
mov word [esi], bx
jmp 0x42070c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00420fa8
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42070f
push 0xd
jmp 0x420708
mov ecx, dword [ebx*4 + 0x482160]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420706
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42070f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401179
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4011b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011a0
cmp esi, eax
jb 0x4011ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403ede
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x42ad00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x403f76
push 0x422554
push 4
push eax
call fcn.00410de8
push eax
call fcn.004010b0
add esp, 0x10
push ebx
push edi
call fcn.00410ef7
mov edi, dword [eax]
call fcn.00410ef7
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00410e94
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00410ef7
cmp dword [eax], ebx
je 0x403f8d
call fcn.00410ef7
push dword [eax]
call fcn.004037a8
pop ecx
jmp 0x403f94
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x403f21
jmp 0x40401b
call fcn.00410ef7
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x404017
cmp dword [ebp - 0x234], esi
jae 0x404017
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.004105b0
add esp, 0xc
push 0x4222b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x404006
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x404006
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x404006
push ebx
push ebx
push esi
jmp 0x40400f
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x404019
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00410594
leave
ret

Function at 0x410594
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ad00]
jne 0x41059e
repz ret
jmp fcn.0041700c
Function at 0x419500
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00413bc6
and dword [ebp - 4], 0
cmp dword [0x42eb28], 0
mov ebx, eax
jne 0x4195b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x419662
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x419662
push eax
call fcn.00413b54
mov dword [esp], 0x4246b8
push edi
mov dword [0x42eb28], eax
call esi
push eax
call fcn.00413b54
mov dword [esp], 0x4246a4
push edi
mov dword [0x42eb2c], eax
call esi
push eax
call fcn.00413b54
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42eb30], eax
call esi
push eax
call fcn.00413b54
pop ecx
mov dword [0x42eb38], eax
test eax, eax
je 0x4195b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413b54
pop ecx
mov dword [0x42eb34], eax
mov eax, dword [0x42eb34]
cmp eax, ebx
je 0x419609
cmp dword [0x42eb38], ebx
je 0x419609
push eax
call fcn.00413bcf
push dword [0x42eb38]
mov esi, eax
call fcn.00413bcf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x419609
test edi, edi
je 0x419609
call esi
test eax, eax
je 0x419600
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x419600
test byte [ebp - 0xc], 1
jne 0x419609
or dword [ebp + 0x10], 0x200000
jmp 0x419642
mov eax, dword [0x42eb2c]
cmp eax, ebx
je 0x419642
push eax
call fcn.00413bcf
pop ecx
test eax, eax
je 0x419642
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x419642
mov eax, dword [0x42eb30]
cmp eax, ebx
je 0x419642
push eax
call fcn.00413bcf
pop ecx
test eax, eax
je 0x419642
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42eb28]
call fcn.00413bcf
pop ecx
test eax, eax
je 0x419662
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x419664
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476528
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], ebx
call fcn.0041e570
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x44], 1
mov ecx, esp
mov dword [esp + 0x18], esp
push str.IsCalcInstall
call fcn.004027e0
push ecx
mov byte [esp + 0x48], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREICBCEbankToolsSettings
call fcn.004027e0
push ecx
mov byte [esp + 0x4c], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push str.HKEY_LOCAL_MACHINE
call fcn.004027e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.0041e6e0
cmp eax, ebx
jne 0x40382f
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.0041cd60
mov esi, dword [esp + 0xc]
cmp esi, ebx
je 0x40395b
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40395b
cmp esi, ebx
je 0x40395b
mov eax, dword [esi]
cmp eax, ebx
je 0x403811
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x403821
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
jmp 0x40395b
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esp
cmp eax, ebx
je 0x403850
add eax, 8
push eax
call esi
call fcn.004157a0
add esp, 4
push ecx
cmp eax, ebx
jne 0x4038ef
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x481b1c
call fcn.004027e0
push ecx
mov byte [esp + 0x44], 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IsCalcInstall
call fcn.004027e0
push ecx
mov byte [esp + 0x48], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SOFTWAREICBCEbankToolsSettings
call fcn.004027e0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.HKEY_LOCAL_MACHINE
mov byte [esp + 0x50], 6
call fcn.004027e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.0041e8a0
cmp eax, 1
jne 0x403945
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0x57c]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x108]
push 1
push esi
call edx
cmp eax, ebx
jge 0x403916
push 0x48270c
push esi
push eax
call fcn.00414040
jmp 0x403916
mov ecx, dword [esp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], esp
cmp eax, ebx
je 0x403909
add eax, 8
push eax
call esi
call fcn.004157a0
add esp, 4
cmp eax, 1
jne 0x403945
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.0041cd60
lea ecx, [esp + 0xc]
call fcn.00402910
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.0041cd60
lea ecx, [esp + 0xc]
call fcn.00402910
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 4
Function at 0x408930
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
xor esi, esi
cmp dword [esp + 0xc], esi
mov eax, 0x64
mov dword [esp + 8], eax
jle 0x4089a1
mov edx, dword [edi + esi*4]
lea ecx, [esp + 8]
push ecx
push str.start_d
push edx
call fcn.00442bba
add esp, 0xc
cmp eax, 1
je 0x40898a
inc esi
cmp esi, dword [esp + 0xc]
jl 0x408962
mov eax, dword [esp + 8]
jmp 0x4089a1
mov eax, dword [esp + 8]
cmp eax, 0x64
jb 0x408998
cmp eax, 0x67
jbe 0x4089a1
mov eax, 0x64
mov dword [esp + 8], eax
test edi, edi
je 0x4089b0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 8
ret
Function at 0x40a8d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40a8e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a924
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40a920
lea ebx, [ebx]
cmp esi, eax
jae 0x40a924
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40a910
cmp esi, eax
jb 0x40a92a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40e1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4768f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
test edi, edi
jne 0x40e1fe
push str.pItem___NULL
push str.ASSERT_FAIL:__s_n
push str.install_management_icbc::CExeInstaller_class_install_management_icbc::CSoftwareItem_::VerifyInstallation
push 0x54
push str.c:usersliuchunwangdesktopicbcebankassisticbcebankassist..EBankAssistLibExeInstaller.h
push edi
push 3
call fcn.0041c300
add esp, 0x1c
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
lea esi, [esp + 0x10]
mov eax, edi
call fcn.0040c470
push 0x4826e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.004027e0
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0041e570
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x38], 2
mov esi, esp
mov eax, edi
mov dword [esp + 0x1c], esp
call fcn.0040c490
mov eax, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
mov dword [ecx], eax
test eax, eax
je 0x40e264
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov esi, esp
mov eax, edi
mov dword [esp + 0x24], esp
call fcn.0040c450
lea ecx, [esp + 0x28]
call fcn.0041e6e0
test eax, eax
je 0x40e2a7
lea esi, [esp + 0x14]
mov eax, edi
call fcn.0040c4d0
mov ecx, esi
push ecx
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x38], 3
call fcn.0040efd0
mov ecx, esi
test eax, eax
je 0x40e2da
call fcn.00402910
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0041cd60
lea ecx, [esp + 0xc]
call fcn.00402910
lea ecx, [esp + 0x10]
call fcn.00402910
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
call fcn.00402910
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0041cd60
lea ecx, [esp + 0xc]
call fcn.00402910
lea ecx, [esp + 0x10]
call fcn.00402910
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x411990
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4722eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x478ba4
call fcn.00460390
push 4
mov dword [esp + 0x24], 0
call fcn.00422bbd
mov edi, eax
add esp, 4
test edi, edi
je 0x411a12
call fcn.0045fe83
mov dword [edi], eax
call fcn.0045fd0f
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0045fc33
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x411a07
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0045fc5b
jmp 0x411a14
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x414640
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x64c
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
mov ebx, dword [esp + 0x654]
push 1
push str.SeDebugPrivilege
call fcn.004145b0
add esp, 8
test eax, eax
jne 0x414685
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.004424e7
add esp, 0x64c
ret
push esi
push 0
push 2
mov dword [esp + 0x1c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x4146b8
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4146d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.004424e7
add esp, 0x64c
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x1fffff
call edi
mov esi, eax
test esi, esi
je 0x4147c2
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4147bf
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x252]
push edx
mov word [esp + 0x254], cx
call fcn.00443d20
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x466]
push ecx
mov word [esp + 0x468], ax
call fcn.00443d20
push ebx
lea edx, [esp + 0x46c]
push 0x104
push edx
call fcn.00444105
mov ecx, dword [esp + 0x34]
add esp, 0x24
push 0x104
lea eax, [esp + 0x24c]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x4147bf
lea ecx, [esp + 0x450]
lea eax, [esp + 0x248]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4147b6
test dx, dx
je 0x4147b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4147b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x414790
xor eax, eax
jmp 0x4147bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4147f7
push esi
call ebp
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4146e0
push esi
call ebp
xor eax, eax
mov ecx, dword [esp + 0x658]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.004424e7
add esp, 0x64c
ret
push esi
call ebp
mov eax, 1
jmp 0x4147de
Function at 0x414870
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x648
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x644], eax
push ebx
mov ebx, dword [esp + 0x650]
push 1
push str.SeDebugPrivilege
call fcn.004145b0
add esp, 8
test eax, eax
jne 0x4148b5
pop ebx
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.004424e7
add esp, 0x648
ret
push ebp
push 0
push 2
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4148e4
lea eax, [esp + 0x10]
push eax
push ebp
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4148fd
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.004424e7
add esp, 0x648
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x1fffff
call edi
mov esi, eax
test esi, esi
je 0x4149f1
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4149ea
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x456]
push edx
mov word [esp + 0x458], cx
call fcn.00443d20
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x25a]
push ecx
mov word [esp + 0x25c], ax
call fcn.00443d20
push ebx
lea edx, [esp + 0x260]
push 0x104
push edx
call fcn.00444105
mov ecx, dword [esp + 0x34]
add esp, 0x24
push 0x104
lea eax, [esp + 0x450]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x4149f1
lea ecx, [esp + 0x244]
lea eax, [esp + 0x44c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4149d7
test dx, dx
je 0x4149d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4149d7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4149b1
xor eax, eax
jmp 0x4149dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4149f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4149f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x18]
push edx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x414905
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x654]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004424e7
add esp, 0x648
ret
Function at 0x415900
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x472168
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x4008340
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x415972
mov edi, eax
mov eax, dword [eax]
cmp eax, esi
je 0x415972
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
cmp eax, esi
jne 0x415974
push 0x8007000e
call fcn.00414020
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4159d0
lea ecx, [esp + 0x58]
call fcn.00402910
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x4159ec
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x58]
call fcn.00402910
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret