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

Disassembly:
cmp ecx, dword [0x452004]
jne 0x401010
repz ret
jmp fcn.004016df

Function at 0x4065a8
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.00402408
and dword [ebp - 4], 0
cmp dword [0x453fdc], 0
mov ebx, eax
jne 0x406659
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40670a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40670a
push eax
call fcn.00402396
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x453fdc], eax
call esi
push eax
call fcn.00402396
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453fe0], eax
call esi
push eax
call fcn.00402396
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x453fe4], eax
call esi
push eax
call fcn.00402396
pop ecx
mov dword [0x453fec], eax
test eax, eax
je 0x406659
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402396
pop ecx
mov dword [0x453fe8], eax
mov eax, dword [0x453fe8]
cmp eax, ebx
je 0x4066b1
cmp dword [0x453fec], ebx
je 0x4066b1
push eax
call fcn.00402411
push dword [0x453fec]
mov esi, eax
call fcn.00402411
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4066b1
test edi, edi
je 0x4066b1
call esi
test eax, eax
je 0x4066a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4066a8
test byte [ebp - 0xc], 1
jne 0x4066b1
or dword [ebp + 0x10], 0x200000
jmp 0x4066ea
mov eax, dword [0x453fe0]
cmp eax, ebx
je 0x4066ea
push eax
call fcn.00402411
pop ecx
test eax, eax
je 0x4066ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4066ea
mov eax, dword [0x453fe4]
cmp eax, ebx
je 0x4066ea
push eax
call fcn.00402411
pop ecx
test eax, eax
je 0x4066ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453fdc]
call fcn.00402411
pop ecx
test eax, eax
je 0x40670a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40670c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44afb0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x414
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x410], eax
push ebp
mov ebp, dword [esp + 0x41c]
push edi
cmp ebx, 0x182
jne 0x44afef
push 0
push 0
push 0
push str.ralerurohuzurusayovuzuwusanuwed
push str.jevebimeyevigokufalekimufazul
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
jmp 0x44b019
cmp ebx, 0x19f
jne 0x44b019
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor edi, edi
test ebx, ebx
jle 0x44b094
push esi
lea esi, [esp + 0x14]
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], 0
call fcn.0044afa0
mov eax, dword [esp + 0x14]
add eax, 0x46
mov dword [esp + 0x10], eax
sub dword [esp + 0x10], 0x46
movsx eax, byte [edi + ebp]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
xor dword [esp + 0xc], eax
mov cl, byte [esp + 0xc]
mov byte [edi + ebp], cl
cmp ebx, 0xf
jne 0x44b08e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.rihuvuvujikokogububeyus
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
inc edi
cmp edi, ebx
jl 0x44b020
pop esi
pop edi
pop ebp
cmp ebx, 0x2d
jne 0x44b0af
mov dword [0x2b521f8], 0xa62e7790
mov dword [0x2b521fc], 0xffffffff
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00401006
add esp, 0x414
ret
Function at 0x4040d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49da15
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4c0100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
mov ebx, dword [ebp + 0xc]
cmp esi, dword [edi + 8]
je 0x4041bf
push dword [ebp + 0x10]
cmp ebx, esi
jne 0x404149
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00403a50
push dword [ebp + 0x14]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.00403a50
mov eax, dword [ebp + 8]
add dword [edi + 4], 0x30
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00403a50
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00403a50
lea ecx, [esi - 0x30]
mov edx, esi
push ecx
call fcn.00404d20
add dword [edi + 4], 0x30
mov edx, ecx
push esi
mov ecx, ebx
call fcn.00404da0
add esp, 8
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00403910
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x18]
call fcn.00403910
lea ecx, [ebp - 0x40]
call fcn.004029d0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.00404b70
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a220
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x10]
push esi
mov esi, edx
test eax, eax
je 0x40a2b1
cmp eax, 0x104
ja 0x40a2b1
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40a24e
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], 0
mov word [eax], dx
cmp dword [ecx + 0x14], 7
jbe 0x40a262
mov ecx, dword [ecx]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x40a2b1
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a282
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00409510
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004728e8
mov esp, ebp
pop ebp
ret

Function at 0x40a2d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49de7d
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
cmp dword [ecx + 0x14], 7
jbe 0x40a307
mov ecx, dword [ecx]
lea eax, [ebp - 0x278]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40a330
xor al, al
jmp 0x40a428
cmp word [ebp - 0x24c], 0x2e
je 0x40a409
test byte [ebp - 0x278], 0x10
jne 0x40a409
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a370
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00404400
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x40a3c0
movups xmm0, xmmword [ebp - 0x28]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x40a3cf
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.0040a6f0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x40a409
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a443
push ecx
push edx
call fcn.0047292b
add esp, 8
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a330
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004780c4
int3
Function at 0x40f950
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x40f970
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
push ecx
push ecx
push 0x801a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40fa2e
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f9a2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409510
push 0x5c
mov ecx, esi
call fcn.0040fa40
push str.EasyAntiCheat
mov ecx, esi
call fcn.0040bf80
push 0x5c
mov ecx, esi
call fcn.0040fa40
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40f9e8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40fa09
test al, 0x10
je 0x40fa09
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 7
jbe 0x40fa11
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004728e8
mov esp, ebp
pop ebp
ret

Function at 0x411cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c2ef0], 2
je 0x411d9b
cmp dword [0x4c2ef0], 0
jne 0x411d84
mov ecx, 1
mov edx, 0x4c2ef0
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x411d84
mov dword [0x4c2ee8], eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x640061
mov dword [ebp - 0x1c], 0x610076
mov dword [ebp - 0x18], 0x690070
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x64002e
mov dword [ebp - 0xc], 0x6c006c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4c2ee8], eax
mov dword [0x4c2ef0], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
cmp dword [0x4c2ef0], 2
je 0x411d9b
nop dword [eax]
pause
cmp dword [0x4c2ef0], 2
jne 0x411d90
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c2ee8]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
Function at 0x411db0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c2edc], 2
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, edx
je 0x411e4b
cmp dword [0x4c2edc], 0
jne 0x411e2f
mov ecx, 1
mov edx, 0x4c2edc
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x411e2f
mov dword [0x4c2ed8], eax
mov dword [ebp - 0x14], 0x4f676552
mov dword [ebp - 0x10], 0x4b6e6570
mov dword [ebp - 0xc], 0x78457965
mov word [ebp - 8], 0x57
call fcn.00411cf0
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2ed8], eax
mov dword [0x4c2edc], 2
jmp 0x411e4b
cmp dword [0x4c2edc], 2
je 0x411e4b
nop dword [eax + eax]
pause
cmp dword [0x4c2edc], 2
jne 0x411e40
mov dword [edi], 0
mov esi, dword [0x4c2ed8]
test esi, esi
jne 0x411e71
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret 0xc
push edi
push 1
push 0
push ebx
push reloc.WS2_32.dll_bind
mov ecx, esi
call dword [0x4a2398]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004728e8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412080
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4c2e65], 0
je 0x4120ac
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, 0x104
lea eax, [ebp - 0x20c]
nop dword [eax]
cmp word [eax], 0
je 0x4120de
add eax, 2
sub ecx, 1
jne 0x4120d0
xor edx, edx
test ecx, ecx
cmovne edx, eax
test edx, edx
je 0x412120
lea eax, [ebp - 0x20c]
sub edx, eax
sar edx, 1
cmp edx, 0x104
je 0x412120
mov eax, 0x104
lea ecx, [ebp - 0x20c]
sub eax, edx
lea ecx, [ecx + edx*2]
push eax
mov edx, 0x4b5138
call fcn.0040fd30
add esp, 4
nop dword [eax]
push esi
push edi
push str.wintrust.dll
lea eax, [ebp - 0x20c]
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040fd90
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
lea eax, [ebp - 0x20c]
push str.crypt32.dll
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040fd90
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test edi, edi
je 0x4122b0
test esi, esi
je 0x4122b0
push str.WinVerifyTrust
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e90], eax
test eax, eax
je 0x4122b0
push str.CryptDecodeObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e94], eax
test eax, eax
je 0x4122b0
push 0x4b5564
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2ea0], eax
test eax, eax
je 0x4122b0
push str.CryptMsgGetParam
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e80], eax
test eax, eax
je 0x4122b0
push 0x4b558c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2ea8], eax
test eax, eax
je 0x4122b0
push 0x4b55a8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e98], eax
test eax, eax
je 0x4122b0
push 0x4b55c4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e84], eax
test eax, eax
je 0x4122b0
push 0x4b55d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2ea4], eax
test eax, eax
je 0x4122b0
push str.CertOpenSystemStoreW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e9c], eax
test eax, eax
je 0x4122b0
push 0x4b560c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e88], eax
test eax, eax
je 0x4122b0
push str.CryptMsgClose
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c2e8c], eax
test eax, eax
je 0x4122b0
mov al, 1
pop edi
mov byte [0x4c2e65], al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x4c2e65]
xor ecx, ebp
pop edi
pop esi
call fcn.004728e8
mov esp, ebp
pop ebp
ret
Function at 0x412840
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e6f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c0100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 4], 0
call fcn.0040bb40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push esi
call fcn.0040bb40
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi + 0x30]
call fcn.0040bb40
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
push ebx
call fcn.0040bb40
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x60]
call fcn.0040bb40
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov dword [esi + 0x78], eax
mov al, byte [ebp + 0x34]
mov byte [esi + 0x7c], al
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x80], eax
cmp ecx, 7
jbe 0x412912
mov edx, dword [ebp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412908
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412928
push ecx
push edx
call fcn.0047292b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
call fcn.004780c4
int3
Function at 0x412f20
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4c0100]
xor eax, esp
mov dword [esp + 0x60], eax
movaps xmm0, xmmword [0x4b7e40]
lea eax, [esp + 0x30]
push esi
push eax
mov esi, ecx
mov dword [esp + 0x14], 0x43747645
mov dword [esp + 0x18], 0x65736f6c
mov byte [esp + 0x1c], 0
mov dword [esp + 0x20], 0x51747645
mov dword [esp + 0x24], 0x79726575
mov byte [esp + 0x28], 0
mov dword [esp + 0xc], 0x4e747645
mov dword [esp + 0x10], 0x747865
mov dword [esp + 0x2c], 0x52747645
mov dword [esp + 0x30], 0x65646e65
mov word [esp + 0x34], 0x72
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0x65746e6f
mov word [esp + 0x64], 0x7478
mov byte [esp + 0x66], 0
mov dword [esp + 0x38], 0x650057
mov dword [esp + 0x3c], 0x740076
mov dword [esp + 0x40], 0x700061
mov dword [esp + 0x44], 0x2e0069
mov dword [esp + 0x48], 0x6c0064
mov dword [esp + 0x4c], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x413063
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
je 0x413063
lea eax, [esp + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
je 0x413063
lea eax, [esp + 0x1c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x413063
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
je 0x413063
lea eax, [esp + 0x4c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
test eax, eax
je 0x413063
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop esi
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
Function at 0x416cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ebf0
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
movups xmmword [ebp - 0x230], xmm0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x416d50
add eax, eax
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00409510
jmp 0x416d73
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmova eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x220], 0
je 0x416e66
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0x3c
cmova eax, dword [ebp - 0x230]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x270]
push eax
movlpd qword [ebp - 0x24c], xmm0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x26c], 0x40
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], str.runas
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 5
mov dword [ebp - 0x250], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x416e66
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x416e66
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x416e50
push dword [ebp - 0x238]
mov esi, dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416e6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x238]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416e6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x416eaa
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416ea0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416ec6
push ecx
push edx
call fcn.0047292b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004780c4
int3
Function at 0x418790
Capabilities:
Check if file exists
Delete file
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00473320
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4187d0
test al, 0x10
jne 0x418818
push pe_nt_image_headers32
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x418823
push ebx
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x418835
xor bl, bl
jmp 0x4188cd
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4188c4
nop dword [eax]
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x4188c4
push 0
lea ecx, [ebp - 0x100c]
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4188e7
mov eax, dword [ebp - 0x100c]
cmp eax, dword [ebp - 0x1008]
jne 0x4188e7
push 0
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x418870
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004728e8
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x4188c6