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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x46cebb
mov eax, dword [ebp - 0x214]
xor esi, esi
test eax, eax
je 0x46cdec
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edi
test esi, esi
jne 0x46cebb
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x46ce87
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0046cd60
mov esi, eax
test esi, esi
jne 0x46cebb
lea eax, [ebp - 0x228]
mov dword [ebp - 0x208], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x46ce40
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x46ce9e
push eax
call ebx
mov dword [ebp - 0x214], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x210], 0
call fcn.00469e90
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x46cec8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
Function at 0x46d080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf8bb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x640844]
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 + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call fcn.004730c0
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x46d126
push 2
push eax
push edi
call fcn.004730c0
mov esi, eax
mov dword [ebp - 0x420], eax
test esi, esi
jne 0x46d126
call fcn.0041df60
mov edi, eax
jmp 0x46d211
push dword [ebp - 0x41c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x46d144
call fcn.0041df60
jmp 0x46d204
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x46d162
call fcn.0041df60
jmp 0x46d204
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x46d183
mov edi, 0x8007000e
jmp 0x46d206
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00469cb0
jmp 0x46d1ad
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x46d1c4
mov edi, 0x8007000e
jmp 0x46d206
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x46d1e4
call fcn.0041df60
jmp 0x46d204
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0046cee0
mov edi, eax
test esi, esi
je 0x46d211
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x46d22a
lea ecx, [ebp - 0x418]
call fcn.0046b9d0
mov eax, edi
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.004ed0cc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x471450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfc0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x640844]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004ece2f
mov edi, eax
add esp, 4
test edi, edi
je 0x4714ed
push 1
mov dword [ebp - 4], 0
call fcn.004d7399
add esp, 4
mov dword [edi + 4], eax
jmp 0x4714ef
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00467e80
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x47154a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x47154a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x471566
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x471589
cmp byte [ebp + 0xc], 0
je 0x471575
push esi
call fcn.004d7aa2
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 0x471595
mov esi, str.ios_base::badbit_set
jmp 0x4715a5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00440600
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0043d4a0
push 0x62eb68
lea eax, [ebp - 0x28]
push eax
call fcn.004ee6eb
int3
Function at 0x478e10
Capabilities:
Copy file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov ecx, esi
push edi
cmp dword [esi + 0x14], 8
jb 0x478e20
mov ecx, dword [esi]
mov edi, dword [esp + 0xc]
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x478e2e
mov edx, dword [edi]
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x478e4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x478e4e
xor eax, eax
push str.boost::filesystem::copy_file
push dword [esp + 0x1c]
push esi
push edi
push eax
call fcn.00479c80
add esp, 0x14
pop edi
pop esi
ret

Function at 0x478e70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d051d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x478eab
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x478ed1
test esi, esi
je 0x478ecd
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x5e18d8
mov al, 1
jmp 0x478f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
mov byte [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], 0x5e18d8
push edi
push eax
call fcn.0047a7d0
add esp, 0xc
cmp dword [ebp - 0x70], 3
jne 0x478f12
test esi, esi
je 0x478f27
mov dword [esi], 0
mov byte [esi + 4], 0
jmp 0x478f20
test esi, esi
je 0x478f45
test ebx, ebx
mov dword [esi], ebx
setne al
mov byte [esi + 4], al
mov dword [esi + 8], 0x5e18d8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x28]
call fcn.00475050
mov dword [ebp - 4], 0
call fcn.00475a30
push eax
push ebx
lea ecx, [ebp - 0x7c]
call fcn.00475090
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x5c]
call fcn.00478360
push 0x63325c
lea eax, [ebp - 0x5c]
push eax
call fcn.004ee6eb
int3
Function at 0x47a220
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x47a233
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47a25b
push dword [esp + 0x18]
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0047a0f0
add esp, 0xc
mov eax, dword [eax]
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47a274
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0x5e18d8
test ebx, 0x400
je 0x47a2aa
push esi
call fcn.00479ee0
add esp, 4
test al, al
je 0x47a29f
test bl, 0x10
mov eax, 4
mov ecx, 0xb
pop esi
cmovne eax, ecx
pop ebx
add esp, 8
ret
pop esi
mov eax, 9
pop ebx
add esp, 8
ret
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x47a680
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
cmp eax, 1
jne 0x47a6ad
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47a736
pop edi
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0x5e18d8
xor al, al
pop esi
ret
cmp eax, 3
je 0x47a6ce
cmp eax, 0xb
je 0x47a6ce
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x47a6c5
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x47a6e3
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x47a6dc
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47a71d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x47a71d
cmp eax, 3
je 0x47a71d
cmp eax, 0x7b
je 0x47a71d
cmp eax, 0xf
je 0x47a71d
cmp eax, 0x15
je 0x47a71d
cmp eax, 0x57
je 0x47a71d
cmp eax, 0xa1
je 0x47a71d
cmp eax, 0x35
je 0x47a71d
call edi
jmp 0x47a71f
xor eax, eax
push str.boost::filesystem::remove
push dword [esp + 0x18]
push esi
push eax
call fcn.00479d50
add esp, 0x10
test al, al
je 0x47a73b
pop edi
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret
Function at 0x47a7d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d07bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
cmp dword [edi + 0x14], 8
jb 0x47a811
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x47a830
push esi
push edi
push ebx
call fcn.0047a0f0
add esp, 0xc
jmp 0x47a978
test eax, 0x400
je 0x47a947
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x47a845
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a860
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041b0d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x47a8e0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a8d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a996
push edx
push ecx
call fcn.004ece5f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x47a908
push dword [ebp - 0x2c]
push edi
push ebx
call fcn.0047a0f0
add esp, 0xc
jmp 0x47a978
push edi
call fcn.00479ee0
add esp, 4
test al, al
jne 0x47a933
push dword [ebp - 0x30]
push edi
call fcn.00479fc0
add esp, 8
mov dword [ebx], 9
mov dword [ebx + 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47a978
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
test esi, esi
je 0x47a95c
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x5e18d8
push eax
push edi
mov esi, eax
call fcn.00479fc0
xor ecx, ecx
mov dword [ebx + 4], eax
add esp, 8
and esi, 0x10
setne cl
add ecx, 2
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
call fcn.004f242f
int3
Function at 0x47adb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d088d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
push 0
push eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, eax
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x4c], edx
xor esi, esi
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
test edx, edx
je 0x47ae4d
cmp edx, 0x7fffffff
ja 0x47afd0
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041b070
mov esi, eax
mov eax, dword [ebp - 0x4c]
add eax, eax
mov dword [ebp - 0x1c], esi
push eax
push 0
push esi
lea edi, [eax + esi]
mov dword [ebp - 0x14], edi
call fcn.004ef230
add esp, 0xc
mov dword [ebp - 0x18], edi
mov eax, edi
mov ecx, esi
mov dword [ebp - 4], 0
cmp esi, eax
je 0x47aea8
sub eax, esi
sar eax, 1
push eax
push ecx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x47aea8
mov ecx, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ae85
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0041b0d0
lea ecx, [ebp - 0x40]
mov eax, 5
jmp 0x47aec5
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov eax, 6
mov dword [ebp - 0x14], 7
mov edx, dword [ebp - 0x48]
movups xmm0, xmmword [ecx]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
movups xmmword [edx], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edx + 0x10], xmm0
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 2
je 0x47af46
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x44], eax
cmp edx, 8
jb 0x47af46
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47af39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47afcb
push edx
push ecx
call fcn.004ece5f
mov eax, dword [ebp - 0x44]
add esp, 8
test al, 1
je 0x47af80
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x47af80
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47af76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47afcb
push edx
push ecx
call fcn.004ece5f
add esp, 8
test esi, esi
je 0x47afad
sub edi, esi
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x47afa3
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x47afcb
mov esi, ecx
push edi
push esi
call fcn.004ece5f
add esp, 8
mov eax, dword [ebp - 0x48]
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.004ed0cc
mov esp, ebp
pop ebp
ret
call fcn.004f242f
call fcn.00427420
int3
Function at 0x47b440
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0988
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x640844]
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], 0x647438
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], 0x647438
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5de8d4
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.00484aa0
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 0x47c620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0add
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x640844]
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 0x47c671
push ebx
push ebx
push ebx
push 2
call fcn.0047f2b0
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 0x47c687
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x47c678
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.004f83fd
push ebx
call fcn.004fb589
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.004f83fd
add esp, 0x1c
test esi, esi
jg 0x47c6ee
push 0
push 0
push 0
push 0xd
mov ecx, edi
call fcn.0047f2b0
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], 0x647438
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00484b80
lea eax, [esi + 1]
push eax
call fcn.004ed176
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.004fadcb
add esp, 0x14
cmp eax, 1
je 0x47c747
push ebx
call fcn.004ed17f
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.0047f2b0
xor bl, bl
jmp 0x47c7e5
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
mov al, byte [ebx]
test al, al
je 0x47c7af
cmp al, 0xa
jne 0x47c770
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00484a50
inc esi
mov ecx, esi
jmp 0x47c7a9
cmp al, 0xd
jne 0x47c7a8
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x47c786
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00484a50
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.00484a50
xor eax, eax
cmp byte [esi + 1], 0xa
sete al
inc eax
add esi, eax
mov ecx, esi
jmp 0x47c7a9
inc esi
mov al, byte [esi]
test al, al
jne 0x47c758
sub esi, ecx
je 0x47c7bd
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.00484a50
push ebx
call fcn.004ed17f
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 + 8]
cmp byte [edi + 0x2c], 0
je 0x47c7e3
xor bl, bl
jmp 0x47c7e5
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x647438
je 0x47c7f9
push ecx
call fcn.004ed17f
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
Function at 0x4893f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1756
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x44], ebx
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 7
mov word [ebx + 0x30], ax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], 3
mov dword [ebx + 0x48], eax
mov ecx, edx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4894a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041b0d0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, edx
mov byte [ebp - 4], 4
lea edi, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
cmp eax, 8
mov ecx, ebx
cmovae esi, edx
cmp esi, edi
je 0x48954f
movzx ebx, word [esi]
add esi, 2
mov edx, ebx
lea eax, [edx - 0xd800]
cmp eax, 0x3ff
ja 0x489525
cmp esi, edi
je 0x489577
movzx eax, word [esi]
add esi, 2
movzx ebx, ax
mov dword [ebp - 0x2c], eax
lea eax, [ebx - 0xdc00]
cmp eax, 0x3ff
ja 0x4895a9
shl edx, 0xa
add edx, 0xfca02400
add edx, ebx
jmp 0x489532
lea eax, [edx - 0xdc00]
cmp eax, 0x3ff
jbe 0x489577
push ecx
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00488180
add esp, 0xc
mov ecx, dword [eax]
cmp esi, edi
jne 0x4894e2
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x489584
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48957a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4895a4
jmp 0x48957a
push ebx
jmp 0x4895ac
push ecx
push edx
call fcn.004ece5f
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
call fcn.004f242f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
call fcn.00489020
push 0x634248
lea eax, [ebp - 0x40]
push eax
call fcn.004ee6eb
int3