joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545178
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x46cd20
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4ce0cc
cmp dword [esi + 0x30], 0
je 0x4ce0cc
push eax
call fcn.00526d54
add esp, 4
mov ecx, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004eda30
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4ce5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545178
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x46ce10
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4ce62c
cmp dword [esi + 0x30], 0
je 0x4ce62c
push eax
call fcn.00526d54
add esp, 4
mov ecx, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004eda30
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4ceba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545178
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x46ced8
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4cebec
cmp dword [esi + 0x2c], 0
je 0x4cebec
push eax
call fcn.00526d54
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004eda30
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
sub esp, 0x104
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x59cfc4]
push esi
push eax
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4cf7ad
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4cf7ad
mov ecx, dword [0x59cfc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xff
lea edx, [esp + 8]
push edx
push 0x10
mov dword [esi], 0x130
call fcn.004bb2b0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.00526a8a
add esp, 0x104
ret 4
Function at 0x4cffa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5453b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x463df0]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, ecx
mov ecx, dword [0x59cfc4]
push ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4d0010
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d0010
mov edx, dword [0x59cfc4]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp + 0xc], 0x40
mov dword [esi], 0
jne 0x4d00c5
mov esi, dword [ebp + 0x14]
cmp esi, 0x20
jbe 0x4d00c5
mov eax, dword [ebp - 0x3c]
push 0x40
push eax
call fcn.004ee390
mov ecx, edi
test al, al
jne 0x4d0049
push 0x71
call fcn.004cc3d0
jmp 0x4d00fb
push esi
push ebx
call fcn.004cf360
test al, al
je 0x4d00fb
push 0x20
lea ecx, [ebp - 0x34]
xor eax, eax
add edi, 0x94
push ecx
mov ecx, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], eax
call fcn.004be0a0
add esi, 0xffffffc0
push edi
lea ecx, [ebp - 0x48]
add ebx, esi
call fcn.004f1300
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
push ebx
push esi
push edx
lea eax, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.004f1330
mov edx, dword [ebp + 0x14]
add esp, 0x14
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0
call fcn.004cc680
mov eax, dword [ebp - 0x38]
jmp 0x4d00fd
mov eax, dword [0x59cfc4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4d00f5
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d00f5
mov ecx, dword [0x59cfc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
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.00526a8a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d03f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545460
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [0x59cfc4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4d0450
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d0450
mov ecx, dword [0x59cfc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 0x10
mov dword [esi], 0
cmp dword [ebp + 0xc], eax
jne 0x4d04b1
cmp dword [ebp + 0x14], eax
jne 0x4d04b1
cmp dword [ebp + 0x1c], eax
jne 0x4d04b1
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.004eb420
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [0x59cfc4]
push edx
call edi
mov esi, eax
test esi, esi
jne 0x4d04dd
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d04dd
mov eax, dword [0x59cfc4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545480
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x463df0]
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], edi
mov eax, dword [0x59cfc4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4d0560
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d0560
mov ecx, dword [0x59cfc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp + 0xc]
mov dword [esi], 0
test al, 0xf
je 0x4d058c
push 0x69
mov ecx, edi
call fcn.004cc3d0
xor eax, eax
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
cmp dword [ebp + 0x14], 0x10
jne 0x4d056d
mov edx, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.004eb4d0
add esp, 0xc
mov eax, 1
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 0x4d05e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x104
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x59cfc4]
push esi
push eax
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4d062d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d062d
mov ecx, dword [0x59cfc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xff
lea edx, [esp + 8]
push edx
push 0x10
mov dword [esi], 0x130
call fcn.004bb2b0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.00526a8a
add esp, 0x104
ret 8
Function at 0x4d2280
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0xf0
push 0xffffffffffffffff
push 0x545860
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x463df0]
xor eax, ebp
mov dword [ebp + 0xec], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [0x59cfc4]
mov eax, dword [ebp + 0xfc]
mov esi, dword [ebp + 0xf8]
mov ebx, ecx
mov ecx, dword [ebp + 0x104]
push edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x4d2309
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x4d2309
mov eax, dword [0x59cfc4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [edi], 0
mov edi, 0x40
cmp dword [ebp + 0x108], edi
jb 0x4d2440
cmp dword [ebp + 0x100], edi
jb 0x4d2440
lea ecx, [ebx + 0x94]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004ecf70
xor edi, edi
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.004eb870
mov dword [ebp], 0x46c9d4
lea edx, [esi + 0x18]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004f2960
mov eax, dword [esi + 8]
push edi
push edi
push eax
push edi
lea ecx, [ebp]
call fcn.004f29a0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004eb3f0
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.004f28c0
add esp, 0xc
test al, al
jne 0x4d23c0
push 0x69
mov ecx, ebx
call fcn.004cc3d0
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.004eb8f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.004ebaa0
jmp 0x4d2475
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ecx
add esi, 0xa8
push esi
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.004ec910
mov dword [ebp - 4], 1
test al, al
je 0x4d241c
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.004eb8f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.004ebaa0
mov eax, 1
jmp 0x4d2477
push 0xca
jmp 0x4d2399
mov eax, dword [0x59cfc4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4d246f
push 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4d246f
mov ecx, dword [0x59cfc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xec]
xor ecx, ebp
call fcn.00526a8a
add ebp, 0xf0
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4d2d40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x545933
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [esi], 0x46cc30
mov byte [esi + 0x24], 0x20
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0x38], eax
call fcn.00526c21
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x4d2e12
push 1
mov dword [edi], 0x465920
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.005260f6
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x4d2dfa
mov byte [eax], bl
mov dword [esi + 0x3c], edi
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
mov dword [esi + 0x3c], ebx
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 0x4d2e30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x545933
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [esi], 0x46cc58
mov byte [esi + 0x24], 0x21
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0x38], eax
call fcn.00526c21
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x4d2f02
push 1
mov dword [edi], 0x465920
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.005260f6
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x4d2eea
mov byte [eax], bl
mov dword [esi + 0x3c], edi
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
mov dword [esi + 0x3c], ebx
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 0x4d2f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x545933
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [esi], 0x46cca8
mov byte [esi + 0x24], 0x22
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0x38], eax
call fcn.00526c21
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x4d2ff2
push 1
mov dword [edi], 0x465920
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.005260f6
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x4d2fda
mov byte [eax], bl
mov dword [esi + 0x3c], edi
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
mov dword [esi + 0x3c], ebx
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 0x4d3010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5458fe
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [esi], 0x46cd70
mov byte [esi + 0x24], 0x35
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
push 0x18
mov dword [esp + 0x28], ebx
mov dword [esi + 0x40], eax
call fcn.00526c21
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x24], 1
lea ebp, [ebx + 1]
cmp edi, ebx
je 0x4d30cc
push ebp
mov dword [edi], 0x465920
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.005260f6
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
cmp dword [edi + 0x14], ebp
jne 0x4d30ce
mov byte [eax], bl
jmp 0x4d30ce
xor edi, edi
push 0x18
mov byte [esp + 0x28], bl
mov dword [esi + 0x44], edi
call fcn.00526c21
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x24], 2
cmp edi, ebx
je 0x4d3122
push ebp
mov dword [edi], 0x465920
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.005260f6
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
cmp dword [edi + 0x14], ebp
jne 0x4d311d
mov byte [eax], bl
mov dword [esi + 0x48], edi
jmp 0x4d3125
mov dword [esi + 0x48], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4d3240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x545933
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
mov dword [esi], 0x46cf00
mov byte [esi + 0x24], 0x5a
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0xf8], ebx
call fcn.00526c21
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x4d3315
push 1
mov dword [edi], 0x465920
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.005260f6
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x4d32fa
mov byte [eax], bl
mov dword [esi + 0x100], edi
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
mov dword [esi + 0x100], ebx
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 0x4d3330
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x545966
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x3b8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
or eax, 0xffffffff
xor edi, edi
push 0x2c4
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x68]
push edi
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], edi
mov byte [esp + 0x54], 0
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0x68], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x48], 0x46caa0
mov byte [esp + 0x6c], 0x64
call fcn.00526600
add esp, 0xc
mov dword [esp + 0x328], edi
mov dword [esp + 0x3c0], edi
call fcn.004f08a0
mov ecx, eax
call fcn.004f0de0
mov dword [ebx + 0x1d0], eax
call fcn.004eee90
mov ecx, eax
call fcn.004eed70
test al, al
je 0x4d33f4
mov dword [ebx + 0x1d0], edi
xor eax, eax
lea esi, [ebx + 0x270]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esp + 0x14]
mov dword [esi + 0x14], eax
push ecx
lea edx, [esp + 0x330]
mov dword [esi + 0x18], eax
push edx
mov dword [esi + 0x1c], eax
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4d3492
mov eax, dword [esp + 0x14]
dec eax
push eax
lea ecx, [esp + 0x330]
push ecx
lea ecx, [esp + 0x24]
call fcn.00482730
push 0x20
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c8], 1
call fcn.004b54a0
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x3c0], 0
mov dword [esp + 0x1c], 0x469080
jb 0x4d3481
mov edx, dword [esp + 0x24]
push edx
call fcn.005265f5
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
mov eax, dword [ebp + 8]
and eax, 0x13
or eax, 0x10000000
mov byte [ebx + 0x28f], 0
mov dword [esp + 0x64], eax
mov ecx, 0xb0
mov esi, ebx
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
call fcn.004cc430
movzx cx, al
lea eax, [ebx + 0x134]
movzx esi, cx
mov byte [ebx + 0x1b3], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d34d5
sub eax, edi
mov edx, 0x80
sub edx, eax
push edx
lea eax, [ebx + eax + 0x134]
push 0
push eax
call fcn.00526600
add esp, 0xc
push 1
movzx ecx, si
push 8
mov dword [esp + 0x244], ecx
mov ecx, dword [esp + 0x20]
push 0x2c8
lea edx, [esp + 0x48]
push edx
add ecx, 0x28
call fcn.004eeba0
mov dword [esp + 0x3c0], 0xffffffff
mov dword [esp + 0x3c], 0x46caa0
lea ecx, [esp + 0x3c]
test al, al
jne 0x4d3540
call fcn.004eda30
xor eax, eax
jmp 0x4d354e
mov esi, dword [esp + 0x328]
call fcn.004eda30
mov eax, esi
mov ecx, dword [esp + 0x3b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.00526a8a
mov esp, ebp
pop ebp
ret 8