joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x708798
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call fcn.0048f510
test al, al
je 0x4921c8
xor esi, esi
mov dword [ebp - 0x20], esi
lea eax, [ebx + 4]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x491ff5
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49201f
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
jmp 0x492036
push 0
push 0x8a
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 4
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x49207c
push 0
push 0x8c
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
test esi, esi
je 0x492196
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x492196
lea ecx, [ebp - 0x14]
call fcn.00448f20
mov eax, dword [ebp + 0xc]
mov edx, str.KLFLAGS
push dword [eax]
push edi
push str.LoadFlag
push ecx
call fcn.00494190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.szwName
push 0
push 0x88
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push 0x4a3
push 0x7824b0
call fcn.00477ab0
int3
Function at 0x4921f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7087e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call fcn.0048f510
test al, al
je 0x492432
xor esi, esi
mov dword [ebp - 0x1c], esi
lea eax, [edi + 4]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x492255
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49227f
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
jmp 0x492296
push 0
push 0x8a
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 8
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push ebx
push esi
movlpd qword [ebp - 0x30], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4922dd
push 0
push 0x8c
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 4], eax
test esi, esi
je 0x492400
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x492400
lea ecx, [ebp - 0x14]
call fcn.00448f20
push dword [edi + 4]
mov edx, str.KLFLAGS
push dword [edi]
push ebx
push str.LoadFlag
push ecx
call fcn.00494220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.szwName
push 0
push 0x88
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push 0x4a3
push 0x7824b0
call fcn.00477ab0
int3
Function at 0x492b60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x708908
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 0xc]
mov edx, str.KLFLAGS
mov esi, dword [ebp + 8]
push ebx
push esi
push str.SaveFlag
mov dword [ebp - 4], 0
push ecx
mov byte [ebp - 4], 1
call fcn.00494190
mov ecx, esi
call fcn.0048f510
test al, al
je 0x492d62
mov dword [ebp - 0x18], 0
lea eax, [edi + 4]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x492bdc
mov eax, dword [eax]
sub esp, 0x14
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0046c920
test eax, eax
je 0x492c04
push 0
push 0xc6
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push 4
push 0
push esi
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x492c37
push 0
push 0xc7
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
test esi, esi
je 0x492d46
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x492d46
lea ecx, [ebp - 0x14]
call fcn.00448f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.szwName
push 0
push 0xc1
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push 0x4a3
push 0x7824b0
call fcn.00477ab0
int3
Function at 0x492d90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x708958
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 0x10]
mov edx, str.KLFLAGS
mov edi, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push edi
push str.SaveFlag
push ecx
mov byte [ebp - 4], 1
call fcn.00494220
mov ecx, edi
call fcn.0048f510
test al, al
je 0x492f9b
mov dword [ebp - 0x18], 0
lea eax, [esi + 4]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x492e0f
mov eax, dword [eax]
sub esp, 0x14
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0046c920
test eax, eax
je 0x492e37
push 0
push 0xc6
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
push 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0xb
push 0
push edi
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x492e70
push 0
push 0xc7
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
test esi, esi
je 0x492f7f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x492f7f
lea ecx, [ebp - 0x14]
call fcn.00448f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.szwName
push 0
push 0xc1
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push 0x4a3
push 0x7824b0
call fcn.00477ab0
int3
Function at 0x492fc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7089a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], 0
mov edi, dword [ebp + 0xc]
mov edx, str.KLFLAGS
mov ebx, dword [ebp + 8]
mov ecx, 4
push edi
push ebx
push str.SaveFlag
mov dword [ebp - 4], 0
push 0x7d0a54
mov byte [ebp - 4], 1
call fcn.0046b4c0
mov ecx, ebx
call fcn.0048f510
test al, al
je 0x4931d2
mov dword [ebp - 0x18], 0
lea eax, [esi + 4]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x493045
mov eax, dword [eax]
sub esp, 0x14
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0046c920
test eax, eax
je 0x49306d
push 0
push 0xc6
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x18]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4930a7
push 0
push 0xc7
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
test esi, esi
je 0x4931b6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4931b6
lea ecx, [ebp - 0x14]
call fcn.00448f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.szwName
push 0
push 0xc1
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push 0x4a3
push 0x7824b0
call fcn.00477ab0
int3
Function at 0x498e10
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70915a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x24c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x240], eax
push 0x20a
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push eax
mov byte [ebp - 4], 2
call fcn.006d4310
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x498ec9
push eax
push 0x92
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdiokltmppath.cpp
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00465440
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x498ef8
push 0
push 0x93
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdiokltmppath.cpp
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00465440
add esp, 0x10
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x498f01
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00449180
jmp 0x499271
lea ecx, [ebp - 0x240]
call fcn.00448f20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret 4
Function at 0x49a0f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x7c0ab4]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov edx, str.7A1DC78F_DC6F_48bf_97CB_EFF6F228592F_mut
lea ecx, [esp + 4]
call fcn.0049a050
cmp dword [eax + 0x14], 8
jb 0x49a11b
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [0x7ccc00]
test eax, eax
je 0x49a142
cmp eax, 0xffffffff
je 0x49a142
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x49a142
int3
mov edx, dword [esp + 0x18]
mov dword [0x7ccc00], esi
cmp edx, 8
jb 0x49a18a
mov ecx, dword [esp + 4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a17a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a2d6
push edx
push ecx
call fcn.006d0b31
mov esi, dword [0x7ccc00]
add esp, 8
xor eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 7
mov word [esp + 4], ax
test esi, esi
je 0x49a1aa
cmp esi, 0xffffffff
jne 0x49a1ab
int3
mov edx, str.7A1DC78F_DC6F_48bf_97CB_EFF6F228592F_map
lea ecx, [esp + 0x1c]
call fcn.0049a050
cmp dword [eax + 0x14], 8
jb 0x49a1c1
mov eax, dword [eax]
push eax
push 8
push 0
push 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov eax, dword [0x7ccc04]
test eax, eax
je 0x49a1ee
cmp eax, 0xffffffff
je 0x49a1ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x49a1ee
int3
mov edx, dword [esp + 0x30]
mov dword [0x7ccc04], esi
cmp edx, 8
jb 0x49a236
mov ecx, dword [esp + 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a226
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a2db
push edx
push ecx
call fcn.006d0b31
mov esi, dword [0x7ccc04]
add esp, 8
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
test esi, esi
je 0x49a256
cmp esi, 0xffffffff
jne 0x49a25d
int3
push 8
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x7cc6bc], eax
test eax, eax
jne 0x49a279
int3
push 0xffffffffffffffff
push dword [0x7ccc00]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x7cc6bc]
cmp dword [eax + 4], 0
jne 0x49a2a8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [0x7cc6bc]
mov dword [ecx], eax
jmp 0x49a2ae
mov ecx, dword [0x7cc6bc]
mov ecx, dword [ecx + 4]
mov eax, dword [0x7cc6bc]
inc ecx
mov dword [eax + 4], ecx
push dword [0x7ccc00]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call fcn.006d79b8
call fcn.006d79b8
int3
Function at 0x49a5d0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709460
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x49a73a
push eax
push 0xd5
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdiodel_path.cpp
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00465440
add esp, 0x10
jmp 0x49a73a
lea ecx, [ebp - 0x14]
call fcn.00448f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49a760
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7094a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x49a8ca
push eax
push 0xdd
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdiodel_path.cpp
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00465440
add esp, 0x10
jmp 0x49a8ca
lea ecx, [ebp - 0x14]
call fcn.00448f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49df20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x412
push 0
lea ebx, [esi + 0x416]
mov dword [ebp - 0x1c], esi
push ebx
call fcn.006d4310
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
push 0x209
push ebx
call fcn.00449340
xor eax, eax
mov dword [ebp - 0x20], 0x22
mov word [esi + 0x826], ax
add esp, 0x14
cmp word [0x7cc6c8], 0
movups xmm0, xmmword [str.___stp__]
mov ax, word [0x792a08]
mov word [ebp - 8], ax
movups xmmword [ebp - 0x18], xmm0
je 0x49dfde
push ebx
call fcn.006e550d
add esp, 4
mov esi, eax
push 0x7cc6c8
call fcn.006e550d
add eax, 9
add esp, 4
add eax, esi
cmp eax, 0x209
jae 0x49dfdb
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.006e8a95
push 0x7cc6c8
push ebx
call fcn.006e8a95
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.006e8a95
add esp, 0x18
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0x828]
xor edi, edi
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
and eax, 2
mov dword [esi + 0x854], edi
mov dword [ebp - 0x28], eax
je 0x49e013
cmp dword [0x7ccc10], edi
jle 0x49e013
mov eax, str.WinSta0Default
jmp 0x49e015
xor eax, eax
mov dword [esi + 0x830], eax
add esi, 0x86c
push esi
push dword [ebp - 0x1c]
push 0
push 0
push 8
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x49e050
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edi, 0x80070000
cmovle edi, eax
jmp 0x49e0be
test byte [ebp - 0x24], 3
je 0x49e096
cmp dword [ebp - 0x28], edi
jne 0x49e067
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x49e096
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x49e096
push 0x1f4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x49e091
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49e071
jmp 0x49e096
mov edi, 0x80004005
mov eax, dword [esi]
test eax, eax
je 0x49e0a9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x49e0be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov ecx, dword [ebp - 4]
not edi
shr edi, 0x1f
xor ecx, ebp
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.006d0856
mov esp, ebp
pop ebp
ret
Function at 0x49e4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709988
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x7c14d6], 0
jne 0x49e525
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49e55a
cmp eax, 0xffffffff
je 0x49e55a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
push 4
push 0x1000
push 0x888
xor edi, edi
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x49e656
push 0x888
push edi
push esi
call fcn.006d4310
add esp, 0xc
mov ecx, 0x10000
cmp dword [0x7ccc10], edi
mov eax, 0x210000
cmovl eax, ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp byte [0x7cc69a], 0
mov dword [esi + 0x880], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x87c], eax
mov dword [esi + 0x884], edi
je 0x49e60c
mov eax, dword [esi + 0x87c]
mov eax, dword [eax]
cmp dword [eax], 0xc00000fd
jne 0x49e606
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push edi
push esi
push fcn.0049db60
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x49e60c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49e60c
push esi
call fcn.0049db60
mov eax, dword [esi + 0x86c]
mov edi, dword [esi + 0x884]
test eax, eax
je 0x49e62d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x86c], 0
mov eax, dword [esi + 0x870]
test eax, eax
je 0x49e648
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x870], 0
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x49e66f
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x49e870
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x7c0ab4]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, ecx
cmp edi, 0x7ffdefff
ja 0x49ea21
push 0x40
xorps xmm0, xmm0
lea eax, [esp + 0x6c]
push 0
push eax
movaps xmmword [esp + 0x1c], xmm0
movaps xmmword [esp + 0x2c], xmm0
call fcn.006d4310
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
push str.K32GetProcessMemoryInfo
push 0x78f480
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x49e979
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
je 0x49e908
cmp edi, ecx
ja 0x49ea21
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x49e919
cmp edi, eax
ja 0x49ea21
cmp ecx, 0xffffffff
je 0x49e92d
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x49e92d
sub eax, ecx
xor ecx, ecx
jmp 0x49e964
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x49ea21
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sbb ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x49ea21
cmp eax, 0x60000000
ja 0x49ea21
jmp 0x49e9a3
push 0x28
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x70d440]
call esi
test eax, eax
je 0x49ea21
cmp dword [esp + 0x50], 0x60000000
ja 0x49ea21
mov esi, 0x64
nop dword [eax + eax]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40
lea eax, [esp + 0xac]
push 0
push eax
call fcn.006d4310
add esp, 0xc
mov dword [esp + 0xa8], 0x40
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x49ea01
cmp dword [esp + 0xcc], 0
ja 0x49ea08
jb 0x49ea01
cmp dword [esp + 0xc8], edi
ja 0x49ea08
test esi, esi
jle 0x49ea21
dec esi
jmp 0x49e9b0
mov ecx, dword [esp + 0xec]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call fcn.0049e7c0
int3