joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fad0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x5f6757
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0xc], ebx
test byte [0x745b34], 1
jne 0x48fb32
or dword [0x745b34], 1
mov dword [esp + 0x1c], 1
mov ecx, 0x745b30
call fcn.00472830
push 0x610890
call fcn.005e05b7
add esp, 4
mov byte [esp + 0x1c], bl
mov eax, 0x745b30
call fcn.00473170
test al, al
jne 0x48fb4c
mov eax, 0x745b30
call fcn.00472850
jmp 0x48fb82
lea ecx, [esp + 0x10]
mov eax, 0x10
push ecx
mov ecx, 0x745b30
mov dword [esp + 0x14], eax
call fcn.004729d0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
or eax, 0xffffffff
mov ecx, 0x745b30
call fcn.00473130
mov eax, 0x745b30
call fcn.00472850
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x48fcb0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ef966
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.VUnknown_class_ISynchObject_.0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x5c], 0
lea edi, [esi + 8]
mov ecx, edi
mov dword [esi], vtable.VMutex.0
call fcn.004754c0
mov byte [esp + 0x5c], 1
lea ebp, [esi + 0x38]
xor ecx, ecx
mov eax, ebp
call fcn.0049a2a0
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, eax
mov eax, ebp
call fcn.0049a2a0
mov eax, dword [0x741af8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00475440
mov byte [esp + 0x5c], 3
lea edx, [esp + 0x20]
push edx
call fcn.00475790
mov byte [esp + 0x5c], 2
lea ecx, [esp + 0x20]
call fcn.00475600
mov dword [esp + 0x5c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x50
ret 0xc
Function at 0x493620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x601b60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0xc]
call fcn.00497790
mov dword [esp + 0x30], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xc]
push eax
push 3
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
call fcn.00493740
add esp, 0x10
test al, al
je 0x4936d6
lea ecx, [esp + 0xc]
call fcn.00430110
test al, al
jne 0x493695
call fcn.00473180
jmp 0x493716
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x30], 1
lea eax, [esp + 0xc]
call fcn.0044d900
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jge 0x4936fa
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004977a0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
push edx
mov eax, edi
call fcn.00472a30
mov byte [esp + 0x30], 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004977a0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x498c10
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x5fc7a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov ecx, esi
mov dword [esp + 8], 0
call fcn.00472830
mov dword [esp + 0x14], 0
push 0x200
mov eax, 0x200
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.004729d0
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or eax, 0xffffffff
mov ecx, esi
call fcn.00473130
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x498ca0
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
xor edx, edx
mov dword [esp], 0xc
cmp ecx, edx
je 0x498cbd
mov eax, ecx
call fcn.0048ee50
mov dword [esp + 4], eax
jmp 0x498cc1
mov dword [esp + 4], edx
neg ecx
sbb ecx, ecx
lea eax, [esp]
and ecx, eax
push ecx
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
add esp, 0xc
ret
Function at 0x499af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f6599
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 3
call fcn.0041d840
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], 0xffffffff
call fcn.00472830
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x24]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.00472830
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], bl
call fcn.00472830
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x499f70
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x5fc18d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
push 0
mov esi, ecx
push 0x25
push esi
mov dword [esp + 0x38], esi
call fcn.00473070
mov ebp, eax
test ebp, ebp
jl 0x49a19a
lea ecx, [esp + 0x18]
call fcn.00472830
mov dword [esp + 0x248], 0
mov eax, esi
lea esi, [esp + 0x14]
call fcn.00472850
mov bl, 1
mov byte [esp + 0x248], bl
lea ecx, [ecx]
push ebp
lea eax, [esp + 0x28]
push eax
xor edx, edx
lea ecx, [esp + 0x1c]
call fcn.00472e50
mov byte [esp + 0x248], 2
push eax
lea edi, [esp + 0x1c]
call fcn.00472a90
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x24]
call fcn.004740c0
lea ecx, [esp + 0x30]
push ecx
lea edx, [ebp + 1]
lea ecx, [esp + 0x18]
call fcn.00472de0
mov byte [esp + 0x248], 3
lea edi, [esp + 0x14]
call fcn.00472a50
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x30]
call fcn.004740c0
push 0
push 0x25
mov edx, edi
push edx
call fcn.00473070
mov esi, eax
test esi, esi
jl 0x49a151
push esi
lea eax, [esp + 0x20]
push eax
xor edx, edx
mov ecx, edi
call fcn.00472e50
mov byte [esp + 0x248], 4
lea ecx, [esp + 0x28]
push ecx
lea edx, [esi + 1]
mov ecx, edi
call fcn.00472de0
mov byte [esp + 0x248], 5
call fcn.00472a50
mov byte [esp + 0x248], 4
lea ecx, [esp + 0x28]
call fcn.004740c0
push 0x104
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
call fcn.004221b0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x49a0eb
push 0x25
lea edi, [esp + 0x1c]
call fcn.00472b20
lea eax, [esp + 0x1c]
push eax
call fcn.00472a90
push 0x25
call fcn.00472b20
jmp 0x49a127
cmp eax, 0x104
jae 0x49a127
push 0
or edi, 0xffffffff
lea eax, [esp + 0x38]
lea esi, [esp + 0x24]
call fcn.004728e0
mov byte [esp + 0x248], 6
mov ecx, esi
push ecx
lea edi, [esp + 0x1c]
call fcn.00472a90
mov byte [esp + 0x248], 4
mov ecx, esi
call fcn.004740c0
push 0
push 0x25
lea edx, [esp + 0x1c]
push edx
call fcn.00473070
mov ebp, eax
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x1c]
call fcn.004740c0
test ebp, ebp
jge 0x499ff0
jmp 0x49a15c
push 0x25
lea edi, [esp + 0x1c]
call fcn.00472b20
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
call fcn.00472a90
mov eax, edi
mov edi, dword [esp + 0x2c]
call fcn.00472a50
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x14]
call fcn.004740c0
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004740c0
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.005e038a
add esp, 0x238
ret
Function at 0x49c880
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x608a98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x49c8df
push 0
lea eax, [esp + 0x18]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, esi
lea esi, [esp + 0x10]
call fcn.004740a0
mov dword [esp + 0x20], 0
mov eax, esi
call fcn.004221b0
mov ecx, eax
mov eax, esi
call fcn.004748c0
push 0
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x49c91e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004740c0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x49ca10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f642c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esi], vtable.VLogEvent.0
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.00472830
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x20]
call fcn.00472830
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x24]
call fcn.00472830
mov byte [esp + 0x14], 2
mov eax, dword [0x741af8]
push eax
push 0x61040052
lea ecx, [esi + 0x40]
push ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.00475440
mov byte [esp + 0x14], 3
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x49d170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fbf9f
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
lea eax, [esi + 8]
lea edi, [esi + 4]
mov dword [edi], vtable.ISocketSink.0
xor ebx, ebx
push eax
mov dword [esi], vtable.VUnknown_class_Interface::VGenericProxySocket_.1.0
mov dword [edi], vtable.VUnknown_class_Interface::VGenericProxySocket_.0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 0xc]
mov dword [esi], vtable.VGenericProxySocket.0
mov dword [edi], vtable.VGenericProxySocket.1.0
call fcn.00474000
mov byte [esp + 0x1c], 1
lea ecx, [esi + 0x10]
call fcn.00474000
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x14]
call fcn.00474000
mov byte [esp + 0x1c], 3
mov eax, dword [esp + 0x2c]
push 0x20
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x1c], 4
cmp eax, ebx
je 0x49d230
push eax
call fcn.00481a50
mov ecx, eax
jmp 0x49d232
xor ecx, ecx
mov byte [esp + 0x1c], 3
lea eax, [esi + 0x38]
call fcn.00429570
mov byte [esp + 0x1c], 5
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x40], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push edi
call edx
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov edx, dword [ebp]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x1c], 6
lea edi, [esi + 0xc]
call fcn.004741b0
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x28]
call fcn.004740c0
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call edx
mov bl, 7
mov byte [esp + 0x1c], bl
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00476750
add esp, 8
mov byte [esp + 0x1c], 8
lea edi, [esi + 0x10]
call fcn.004741b0
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x28]
call fcn.004740c0
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov edx, dword [ebp]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x1c], 9
lea edi, [esi + 0x14]
call fcn.004741b0
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x28]
call fcn.004740c0
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
mov ecx, ebp
call edx
mov word [esi + 0x18], ax
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x49fe30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f26f5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x1c]
call fcn.0048b830
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, edi
call fcn.004a0460
test al, al
jne 0x49febd
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x49febd
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0049ebc0
mov byte [esp + 0x30], 3
call fcn.0044d900
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x14]
push eax
call fcn.0049d760
jmp 0x49ff33
lea esi, [esp + 0x1c]
call fcn.0048b8a0
push 0x24
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x49fef5
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov edx, dword [ebp + 8]
push eax
mov ecx, 0xe1040006
call fcn.004a72b0
jmp 0x49fef7
xor eax, eax
mov byte [esp + 0x30], bl
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.0049ed10
mov byte [esp + 0x30], 2
call fcn.00429130
mov esi, eax
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x18]
call fcn.0044d900
push eax
mov eax, dword [edi + 0xc]
mov ecx, esi
call eax
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.0049ed20
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0048b850
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49ff60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f26f5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x1c]
call fcn.0048b830
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, edi
call fcn.004a0460
test al, al
jne 0x49ffed
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x49ffed
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0049ebc0
mov byte [esp + 0x30], 3
call fcn.0044d900
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x14]
push eax
call fcn.0049d760
jmp 0x4a0063
lea esi, [esp + 0x1c]
call fcn.0048b8a0
push 0x20
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x4a0025
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov edx, dword [ebp + 8]
push eax
mov ecx, 0xe1040006
call fcn.004a70b0
jmp 0x4a0027
xor eax, eax
mov byte [esp + 0x30], bl
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.0049ed10
mov byte [esp + 0x30], 2
call fcn.00429130
mov esi, eax
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x18]
call fcn.0044d900
push eax
mov eax, dword [edi + 0xc]
mov ecx, esi
call eax
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.0049ed20
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0048b850
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a0090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f26f5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x1c]
call fcn.0048b830
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, edi
call fcn.004a0460
test al, al
jne 0x4a011d
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x4a011d
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0049ebc0
mov byte [esp + 0x30], 3
call fcn.0044d900
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x54]
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x14]
push eax
call fcn.0049d760
jmp 0x4a0193
lea esi, [esp + 0x1c]
call fcn.0048b8a0
push 0x24
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x4a0155
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov edx, dword [ebp + 8]
push eax
mov ecx, 0xe1040006
call fcn.004a7360
jmp 0x4a0157
xor eax, eax
mov byte [esp + 0x30], bl
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.0049ed10
mov byte [esp + 0x30], 2
call fcn.00429130
mov esi, eax
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x18]
call fcn.0044d900
push eax
mov eax, dword [edi + 0xc]
mov ecx, esi
call eax
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.0049ed20
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0048b850
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a36a0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
lea eax, [esp + 0x14]
call fcn.004a3950
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea esi, [esp + 0x20]
xor bl, bl
call fcn.004a3a60
test al, al
je 0x4a373a
mov eax, dword [esp + 0x10]
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4a371a
lea eax, [esp + 0x14]
call fcn.004a3a10
cmp byte [eax], 0
jne 0x4a371a
mov al, byte [esp + 0x24]
test al, al
jne 0x4a3701
mov eax, dword [esp + 0xc]
or dword [eax], edi
mov bl, 1
jmp 0x4a371a
cmp al, 1
jne 0x4a371a
mov eax, dword [esp + 0xc]
mov ecx, edi
not ecx
and dword [eax], ecx
jne 0x4a371a
lea esi, [esp + 0x14]
call fcn.004a3a90
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x20]
call fcn.004a3a60
test al, al
jne 0x4a36d1
test bl, bl
jne 0x4a3748
push edi
push ebp
push 0
lea edx, [esp + 0x20]
push edx
call fcn.004a3ad0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x4a3810
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
lea eax, [esp + 0x14]
call fcn.004a3950
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea esi, [esp + 0x20]
xor bl, bl
call fcn.004a3a60
test al, al
je 0x4a38aa
mov eax, dword [esp + 0x10]
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4a388a
lea eax, [esp + 0x14]
call fcn.004a3a10
cmp byte [eax], 0
jne 0x4a388a
mov al, byte [esp + 0x24]
cmp al, 1
jne 0x4a3871
mov eax, dword [esp + 0xc]
or dword [eax], edi
mov bl, 1
jmp 0x4a388a
test al, al
jne 0x4a388a
mov eax, dword [esp + 0xc]
mov ecx, edi
not ecx
and dword [eax], ecx
jne 0x4a388a
lea esi, [esp + 0x14]
call fcn.004a3a90
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x20]
call fcn.004a3a60
test al, al
jne 0x4a3841
test bl, bl
jne 0x4a38c6
lea eax, [esp + 0x14]
call fcn.00440f20
mov esi, eax
call fcn.004a3b70
push edi
push ebp
push 1
mov edx, esi
push edx
call fcn.004a3ad0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4a5b40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6065f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea eax, [ecx + 4]
call fcn.004221b0
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0047b760
add esp, 0xc
mov dword [esp + 0x28], 0
lea eax, [esp + 0x14]
call fcn.004221b0
push eax
call fcn.004a8d90
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
mov byte [esp + 0x30], al
test al, al
jne 0x4a5bbd
call ebp
cmp eax, 3
je 0x4a5bb8
call ebp
cmp eax, 2
jne 0x4a5bbd
mov byte [esp + 0x30], 1
push 0
or edi, 0xffffffff
mov eax, 0x6cea58
lea esi, [esp + 0x1c]
call fcn.004728e0
mov byte [esp + 0x28], 1
mov edx, esi
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004737a0
add esp, 0xc
mov byte [esp + 0x28], 2
call fcn.004221b0
call fcn.0047bb50
mov bl, al
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x1c]
call fcn.004740c0
mov byte [esp + 0x28], 0
mov ecx, esi
call fcn.004740c0
test bl, bl
jne 0x4a5c22
call ebp
cmp eax, 2
jne 0x4a5c22
mov bl, 1
cmp byte [esp + 0x30], 0
je 0x4a5c31
test bl, bl
je 0x4a5c31
mov bl, 1
jmp 0x4a5c33
xor bl, bl
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x14]
call fcn.004740c0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x4a74f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f6103
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 5
call fcn.0041d840
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x14]
call fcn.004a7a80
mov byte [esp + 0x14], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4