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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b578
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x77e784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 8
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xc], 0
call fcn.0060b8b2
mov edi, eax
add esp, 4
test edi, edi
je 0x47f474
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005f9024
add esp, 4
mov dword [edi + 4], eax
jmp 0x47f476
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov edi, dword [edi + 4]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6b94e8]
mov ecx, edi
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
call fcn.0047bba0
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x6b94e8]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47f502
mov edx, dword [edi]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x6b94e8]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x47f4ff
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x6b94e8]
mov ecx, edi
call esi
mov al, byte [ebp - 0xd]
cmp dword [ebx + 0x38], 0
mov byte [ebx + 0x40], al
jne 0x47f51e
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
and eax, 0x13
or eax, 4
mov dword [ebx + 0xc], eax
and ecx, eax
jne 0x47f541
cmp byte [ebp + 0xc], 0
je 0x47f52d
push ebx
call fcn.005f95a0
add esp, 4
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
test cl, 4
je 0x47f54d
mov esi, 0x6c39bc
jmp 0x47f55d
test cl, 2
mov esi, 0x6c39d4
mov eax, 0x6c39ec
cmove esi, eax
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0046a150
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.0046a670
push 0x744f2c
lea eax, [ebp - 0x2c]
push eax
call fcn.0060d282
int3
Function at 0x482480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test ecx, ecx
je 0x482518
test esi, esi
je 0x482518
push ebx
lea eax, [ebp - 0x14]
xor bl, bl
push eax
movzx eax, byte [ebp + 0x18]
xor eax, 1
shl eax, 8
add eax, 0x101
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4824fc
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4824fc
mov eax, dword [ebp - 0x10]
mov bl, 1
mov dword [edi], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
Function at 0x482620
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x482670
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x482682
cmp eax, 2
jne 0x4827de
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
mov dword [ebp - 0x220], edi
je 0x4826b1
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov dword [ebp - 0x220], edi
mov word [edi], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4827bb
nop dword [eax]
xor eax, eax
mov ecx, 0x208
mov word [edi], ax
mov eax, ebx
nop dword [eax]
cmp word [eax], 0
je 0x48270e
add eax, 2
sub ecx, 1
jne 0x482700
mov eax, 0x208
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x48276c
mov edx, 0x208
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x48275f
lea edi, [ebp - 0x20c]
mov eax, SysReAllocString
sub edi, ecx
nop word [eax + eax]
test eax, eax
je 0x482759
movzx esi, word [edi + ecx]
test si, si
je 0x482759
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x482740
mov edi, dword [ebp - 0x220]
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x224]
push ebx
push esi
call fcn.00482620
add esp, 8
test al, al
je 0x4827bb
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4826f0
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
je 0x482670
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
Function at 0x483960
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x728908
push 0x60e3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x77e784]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x483af6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x483ac0
push dword [ebp - 0x48]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x483ac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x483aad
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x20]
jae 0x483aea
lea eax, [edi + edi*8]
movups xmm1, xmmword [esi + eax*4]
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x483aad
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x483aad
cmp dword [ebp - 0x40], 1
je 0x483ac4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x48]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x483aad
cmp dword [ebp - 0x40], 1
je 0x483ac4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x483a73
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x77e784
call fcn.0060e550
add esp, 0xc
xor eax, eax
jmp 0x483afb
mov dword [ebp - 4], 0
call fcn.00483ae2
inc edi
mov dword [ebp - 0x50], edi
mov esi, dword [ebp - 0x54]
jmp 0x483a22
mov dword [ebp - 4], 0xfffffffe
call fcn.00483b1a
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
Function at 0x4859b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.0060e250
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x485a16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateToolhelp32Snapshot__Error:__d
push dword [0x76a548]
push 2
push str.WinSandboxingUtilities
push edi
call fcn.0054d5a0
add esp, 0x18
jmp 0x485b75
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x485a42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_Process32First__Error:__d
jmp 0x485b5a
push 3
lea eax, [ebp - 0x538]
push str.explorer.exe
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x53c], eax
call fcn.00483800
push dword [ebp - 0x53c]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.006217c4
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x538]
add esp, 0xc
cmp eax, ecx
je 0x485aa0
push eax
call fcn.0061cd90
add esp, 4
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x414]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x485ad6
test dx, dx
je 0x485ad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x485ad6
add eax, 4
add ecx, 4
test dx, dx
jne 0x485ab0
xor eax, eax
jmp 0x485adb
sbb eax, eax
or eax, 1
test eax, eax
je 0x485af2
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x485aa0
jmp 0x485afd
mov eax, dword [ebp - 0x430]
cmp eax, 0xffffffff
jne 0x485b1b
push str.Failed_to_find_explorer_process_id
push dword [0x76a548]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0054d5a0
add esp, 0x14
jmp 0x485b71
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x485b3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_OpenProcess__Error:__d
jmp 0x485b5a
push ebx
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x485b71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_OpenProcessToken_of_explorer__Error:__d
push dword [0x76a548]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0054d5a0
add esp, 0x18
test esi, esi
je 0x485b7c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x485b87
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
Function at 0x487ab0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67e4c3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00489300
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp + 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.004753c0
sub esp, 0x48
lea eax, [ebp + 8]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x44], esi
push eax
call fcn.0046cf20
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0046cf20
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x30]
call fcn.0046cf20
call fcn.00487c50
mov edi, eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
push eax
push edi
mov byte [ebp - 0x40], 0
call sym.agshelper.exe_AGDServiceConvertAGDStatusTypeEnumToString
add esp, 0x50
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x40]
lea ecx, [ebp + 8]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp + 0x20]
cmp dword [ebp - 0x2c], 0x10
push 0
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp + 0x1c], 0x10
push esi
cmovae ecx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
push edx
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
call sym.agshelper.exe_RSDServiceRecordStatus
mov edx, dword [ebp - 0x2c]
add esp, 0x14
cmp edx, 0x10
jb 0x487bcf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487bc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487c48
push edx
push ecx
call fcn.0060b8e2
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x487c11
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487c07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487c48
push edx
push ecx
call fcn.0060b8e2
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0047b550
mov eax, edi
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.0060bd4a
mov esp, ebp
pop ebp
ret
call fcn.0061777f
int3
Function at 0x4884e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67ea10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x77e784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0060b8b2
mov esi, eax
add esp, 4
test esi, esi
je 0x488540
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005f9024
add esp, 4
mov dword [esi + 4], eax
jmp 0x488542
xor esi, esi
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x34], esi
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp - 0x10]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [esi + 0x3c], eax
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 4
Function at 0x4893d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.0060e250
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x489431
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0061c4de
add esp, 0xc
lea edx, [ebp - 0x108]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x489440
sub edx, ecx
lea eax, [ebp - 0x108]
push edx
push eax
mov ecx, esi
call fcn.00475240
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
Function at 0x48ece0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x680a49
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x77e784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x783dc4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x783dc4
mov dword [esi + 0x30], 0x783dc4
mov dword [esi + 0x34], 0x783dc4
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48ed81
sub edx, ebx
push edx
push edi
call fcn.00494360
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x48eda0
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.00494360
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x48edc0
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.00494360
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 0xc

Function at 0x48edf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x680a83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x77e784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x783dc4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x783dc4
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x6c1fe5
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00494360
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x490220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x680b98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x77e784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x490271
push ebx
push ebx
push ebx
push 2
call fcn.00493860
xor al, al
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
mov esi, dword [edi + 0x18]
test esi, esi
je 0x490287
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x490278
push 2
push 0
push ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.0061cc0b
push ebx
call fcn.00623fbb
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.0061cc0b
add esp, 0x1c
test esi, esi
jg 0x4902ee
push 0
push 0
push 0
push 0xd
mov ecx, edi
call fcn.00493860
xor al, al
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
mov dword [ebp - 0x10], 0x783dc4
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00494440
lea eax, [esi + 1]
push eax
call fcn.0060b8f0
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.0061c7f9
add esp, 0x14
cmp eax, 1
je 0x490347
push ebx
call fcn.0060b8f9
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.00493860
xor bl, bl
jmp 0x4903e5
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
mov al, byte [ebx]
test al, al
je 0x4903af
cmp al, 0xa
jne 0x490370
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00494310
inc esi
mov ecx, esi
jmp 0x4903a9
cmp al, 0xd
jne 0x4903a8
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x490386
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00494310
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.00494310
xor eax, eax
cmp byte [esi + 1], 0xa
sete al
inc eax
add esi, eax
mov ecx, esi
jmp 0x4903a9
inc esi
mov al, byte [esi]
test al, al
jne 0x490358
sub esi, ecx
je 0x4903bd
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.00494310
push ebx
call fcn.0060b8f9
mov eax, dword [ebp - 0x10]
add esp, 4
mov edx, dword [edi]
add eax, 8
mov ecx, edi
push dword [ebp + 0xc]
push 0
push eax
call dword [edx + 0xc]
cmp byte [edi + 0x2c], 0
je 0x4903e3
xor bl, bl
jmp 0x4903e5
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x783dc4
je 0x4903f9
push ecx
call fcn.0060b8f9
add esp, 4
mov al, bl
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