joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493328
Capabilities:
Set current directory

Disassembly:
mov eax, 0x559176
call fcn.00514868
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x24], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00493d73
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x493362
lea eax, [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x493390
Capabilities:
Copy file

Disassembly:
mov eax, 0x55f49b
call fcn.00514868
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x4933af
xor al, al
jmp 0x493449
mov eax, dword [0x65bc14]
test eax, eax
je 0x4933eb
cmp dword [eax + 8], 5
jb 0x4933eb
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x4933c9
mov eax, dword [eax]
push esi
push eax
push 0x5de3e8
push 0x5de3fc
push 0x420
push 0x5de2e4
push 5
push 2
call fcn.0049283a
add esp, 0x20
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00492e13
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
call fcn.0049390d
test al, al
je 0x493419
cmp byte [ebp + 0xc], bl
je 0x49343a
push 1
lea ecx, [ebp - 0x30]
call fcn.004934ab
test al, al
je 0x49343a
lea ecx, [edi + 4]
cmp dword [ecx + 0x14], 0x10
jb 0x493424
mov ecx, dword [ecx]
xor eax, eax
cmp byte [ebp + 0xc], al
sete al
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00492fd6
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x49345b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push esi
push edi
mov edi, 0x104
mov esi, ecx
push edi
push 0
push eax
call fcn.0052c4e0
add esp, 0xc
lea ecx, [esi + 4]
push 0
call fcn.00403d18
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.0049472d
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4934ab
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
lea esi, [ecx + 4]
cmp dword [esi + 0x14], 0x10
jb 0x4934bc
mov eax, dword [esi]
jmp 0x4934be
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4934ce
xor al, al
jmp 0x493505
test al, 1
je 0x4934d8
cmp byte [ebp + 8], 0
je 0x4934ca
cmp dword [esi + 0x14], 0x10
jb 0x4934e2
mov eax, dword [esi]
jmp 0x4934e4
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esi + 0x14], 0x10
jb 0x4934f8
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
pop esi
pop ebp
ret 4
Function at 0x49350a
Capabilities:
Create directory

Disassembly:
mov eax, 0x55f2ff
call fcn.00514868
mov eax, dword [0x65bc14]
sub esp, 0x3c
push ebx
mov bh, byte [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, 0x5d23ac
test eax, eax
je 0x49356b
cmp dword [eax + 8], 5
jb 0x49356b
mov ecx, edi
test bh, bh
jne 0x49353e
mov ecx, 0x5de29c
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x493549
mov eax, dword [eax]
push ecx
push eax
push 0x5de40c
push 0x5de438
push 0x5b4
push 0x5de2e4
push 5
push 2
call fcn.0049283a
add esp, 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x24], al
mov dword [ebp - 4], eax
mov ecx, esi
call fcn.00493734
test al, al
je 0x4935c4
mov eax, dword [0x65bc14]
test eax, eax
je 0x4935bd
cmp dword [eax + 8], 5
jb 0x4935bd
push 0x5de450
push 0x5de438
push 0x5ba
push 0x5de2e4
push 5
push 2
call fcn.0049283a
add esp, 0x18
mov bl, 1
jmp 0x49370f
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00493d73
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00494ab0
mov eax, dword [0x65bc14]
test eax, eax
je 0x493616
cmp dword [eax + 8], 5
jb 0x493616
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x4935f5
lea eax, [ebp - 0x24]
push eax
push 0x5de478
push 0x5de438
push 0x5c1
push 0x5de2e4
push 5
push 2
call fcn.0049283a
add esp, 0x1c
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x493622
lea eax, [ebp - 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
test bl, bl
jne 0x4936d6
test bh, bh
je 0x4936d6
mov eax, dword [0x65bc14]
test eax, eax
je 0x49366f
cmp dword [eax + 8], 5
jb 0x49366f
push 0x5de484
push 0x5de438
push 0x5cf
push 0x5de2e4
push 5
push 2
call fcn.0049283a
add esp, 0x18
push 1
push 0xffffffffffffffff
lea eax, [ebp + 8]
mov byte [ebp + 8], 0x5c
push eax
lea ecx, [ebp - 0x24]
call fcn.00494fd2
cmp eax, 0xffffffff
jne 0x49368f
xor bl, bl
jmp 0x49370f
push 0
inc eax
lea ecx, [ebp - 0x24]
push eax
call fcn.0045a0da
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
call fcn.00492c6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 1
call fcn.0049350a
test al, al
je 0x4936c6
push 0
mov ecx, esi
call fcn.0049350a
mov bl, al
jmp 0x4936c8
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00492fd6
jmp 0x49370f
mov eax, dword [0x65bc14]
test eax, eax
je 0x49370f
cmp dword [eax + 8], 5
jb 0x49370f
test bl, bl
jne 0x4936ee
mov edi, 0x5de29c
push edi
push 0x5de4a4
push 0x5de438
push 0x5db
push 0x5de2e4
push 5
push 2
call fcn.0049283a
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x493960
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
push edi
mov esi, ecx
call fcn.00493948
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi + 0x20], ebx
and ebx, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x493989
mov eax, dword [edi]
jmp 0x49398b
mov eax, edi
lea ecx, [ebp - 0x140]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x4939d6
push dword [ebp - 0x140]
mov ecx, esi
push dword [esi + 0x20]
call fcn.004932ee
test al, al
je 0x4939c2
test ebx, ebx
je 0x4939e1
cmp byte [ebp - 0x114], 0x2e
jne 0x4939e1
lea eax, [ebp - 0x140]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4939a1
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test byte [ebp - 0x140], 0x10
je 0x4939f2
push edi
mov ecx, esi
call fcn.00494ab0
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.004949ae
test byte [ebp - 0x140], 0x10
je 0x493a11
push edi
mov ecx, esi
call fcn.004938e0
mov al, 1
jmp 0x4939d8

Function at 0x4953b4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x55f462
call fcn.00514868
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00495113
xor eax, eax
mov dword [ebp - 4], eax
mov byte [esi + 0xc], al
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], eax
mov byte [esi + 0x10], al
mov byte [ebp - 4], 1
mov byte [esi + 0x28], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0xa00000
mov dword [esi + 0x34], eax
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x498a9a
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x563e2d
call fcn.00514868
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x50
push ebx
mov byte [esi + 0x68], bl
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.0052c4e0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ebx
call fcn.00490e4d
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x6c]
lea eax, [ebp - 0x24]
cmp ecx, eax
je 0x498aff
push 0xffffffffffffffff
push ebx
push eax
call fcn.00403c08
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x499449
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x65bc14]
push ebx
push esi
mov esi, ecx
mov ebx, 0x5de664
cmp dword [eax + 4], 5
jb 0x499479
push 0x5cbdec
push ebx
push 0x2c
push 0x5de62c
push 5
push 1
call fcn.0049283a
add esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x499556
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov eax, dword [0x65bc14]
cmp dword [eax + 4], 5
jb 0x4994bb
push 0x5cbe24
push ebx
push 0x37
push 0x5de62c
push 5
push 1
call fcn.0049283a
add esp, 0x18
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x4994c3
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x65bc14]
push ebx
push esi
push edi
push 5
pop edi
mov esi, ecx
mov ebx, 0x5de6ec
cmp dword [eax + 4], edi
jb 0x4994f2
push 0x5cbdec
push ebx
push 0x7e
push 0x5de62c
push edi
push 1
call fcn.0049283a
add esp, 0x18
mov ecx, esi
call fcn.0049960d
test al, al
je 0x49952d
mov eax, dword [0x65bc14]
cmp dword [eax + 4], edi
jb 0x499522
push 0x5de700
push ebx
push 0x82
push 0x5de62c
push edi
push 1
call fcn.0049283a
add esp, 0x18
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x65bc14]
cmp dword [eax + 4], edi
jb 0x499552
push 0x5cbe24
push ebx
push 0x88
push 0x5de62c
push edi
push 1
call fcn.0049283a
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x4a9ac6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x560a9b
call fcn.00514868
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004c2a25
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
push eax
lea eax, [ebp - 0x28]
mov dword [esi], 0x5e0958
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ecx, dword [0x65bc74]
push eax
call fcn.0049e2c5
mov byte [ebp - 4], 1
lea ecx, [esi + 0x10]
push eax
call fcn.00490e1d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00401fa5
lea ecx, [esi + 0x38]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.00490e87
mov byte [ebp - 4], 4
lea ecx, [esi + 0x50]
call fcn.00490e87
mov byte [ebp - 4], 5
lea ecx, [esi + 0x68]
call fcn.00490e87
mov byte [ebp - 4], 6
lea ecx, [esi + 0x80]
call fcn.00490e87
mov byte [ebp - 4], 7
mov ecx, esi
mov al, byte [ebp + 0xc]
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], al
call fcn.004aa4aa
mov ecx, dword [0x65bc74]
mov edi, 0x4aab86
push edi
push esi
push 0xfd
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x100
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x102
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x104
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x106
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x107
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x67
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x68
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x69
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push 0x6a
call fcn.0049e465
mov ecx, dword [0x65bc74]
push edi
push esi
push dword [esi + 0xc]
call fcn.0049e465
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b2f34
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561499
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
mov ecx, dword [0x65bc74]
test ecx, ecx
je 0x4b2f75
push 0x4ba801
push esi
push 0xd9
call fcn.0049ecb6
mov byte [ebp - 4], 3
lea ecx, [esi + 0x40]
call fcn.0043ea21
mov byte [ebp - 4], 2
lea ecx, [esi + 0x38]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
call fcn.004b2e7a
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.004b2e7a
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
push 0
push 1
call fcn.00401fa5
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4b30ef
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x56150e
call fcn.00514868
sub esp, 0x20
and dword [ebp - 0x10], 0
push ebx
push esi
push 0x5da0bc
push dword [ebp + 0xc]
mov ebx, ecx
call fcn.0053145e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4b3135
mov ecx, dword [ebp + 8]
push 0x5cba50
call fcn.00402588
and dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
jmp 0x4b31be
push edi
push esi
xor edi, edi
lea eax, [ebp + 0xc]
inc edi
push edi
push 3
push eax
call fcn.0053d671
add esp, 0x10
cmp eax, edi
jne 0x4b31a1
cmp byte [ebp + 0xc], 0xef
jne 0x4b31a1
cmp byte [ebp + 0xd], 0xbb
jne 0x4b31a1
cmp byte [ebp + 0xe], 0xbf
jne 0x4b31a1
push esi
call fcn.0053e5da
pop ecx
test eax, eax
jne 0x4b31a1
mov edi, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.004b31fd
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x2c], edi
je 0x4b31d3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00401fa5
push esi
call fcn.0053e5da
pop ecx
test eax, eax
je 0x4b316d
xor edi, edi
inc edi
push esi
call fcn.00531312
mov ecx, dword [ebp + 8]
mov dword [esp], 0x5cba50
call fcn.00402588
and dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
pop edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push esi
call fcn.00531312
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004068fd
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00401fa5
jmp 0x4b31bd
Function at 0x4b3535
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x5615fc
call fcn.00514868
sub esp, 0x60
push ebx
push edi
mov edi, ecx
lea ebx, [edi + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
push dword [eax + 4]
call fcn.004ba80d
mov eax, dword [ebx]
push 0xd9
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
and dword [ebx + 4], 0
mov ecx, dword [0x65bc74]
call fcn.0049de58
test al, al
je 0x4b3586
mov byte [edi + 0x48], 1
mov al, 1
jmp 0x4b3671
push esi
mov ecx, edi
call fcn.004b2fd5
push eax
lea ecx, [ebp - 0x18]
call fcn.0043e28c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00490e87
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x4b35fc
mov ecx, dword [0x65c704]
lea eax, [esi + 0x20]
push eax
call fcn.0040abce
test eax, eax
je 0x4b35cc
mov esi, dword [esi]
cmp esi, dword [ebp - 0x18]
jne 0x4b35b0
jmp 0x4b35fc
add esi, 8
lea ecx, [ebp - 0x50]
push esi
call fcn.00490e1d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00403c08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
push 0
push 1
call fcn.00401fa5
cmp dword [ebp - 0x28], 0
je 0x4b3650
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x4b360e
lea eax, [ebp - 0x38]
push 0x5da0bc
push eax
call fcn.0053145e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4b3650
push esi
push 1
lea eax, [ebp - 0x10]
push 3
push eax
call fcn.0053d671
add esp, 0x10
cmp eax, 1
jne 0x4b3649
cmp byte [ebp - 0x10], 0xef
jne 0x4b3649
cmp byte [ebp - 0xf], 0xbb
jne 0x4b3649
cmp byte [ebp - 0xe], 0xbf
je 0x4b36b1
push esi
call fcn.00531312
pop ecx
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
push 0
push 1
call fcn.00401fa5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0043ea21
mov al, bl
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.004b31fd
mov byte [ebp - 4], 7
mov ecx, ebx
push dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.004b2c6b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
push 0
push 1
call fcn.00401fa5
push esi
call fcn.0053e5da
pop ecx
push esi
test eax, eax
je 0x4b3681
call fcn.00531312
pop ecx
mov byte [edi + 0x48], 1
mov bl, 1
jmp 0x4b3652
Function at 0x4babc2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x5662a2
call fcn.00514868
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004c2a25
xor eax, eax
mov dword [ebp - 4], eax
push 0x70
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov word [esi + 0x34], ax
lea eax, [esi + 0x38]
push eax
mov dword [esi], 0x5e49d8
call fcn.0052c4e0
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4c05e2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5643db
call fcn.00514868
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004958be
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 4]
call fcn.004c0528
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
call fcn.004c0528
mov byte [ebp - 4], 2
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 3
mov dword [edi + 0x18], ebx
mov byte [ebp - 4], 4
lea ecx, [edi + 0x1c]
call fcn.004bf93e
mov byte [ebp - 4], 5
lea ecx, [edi + 0x24]
call fcn.004bf93e
mov byte [ebp - 4], 6
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov byte [ebp - 4], 7
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov byte [ebp - 4], 8
lea ecx, [edi + 0x44]
call fcn.0050e469
mov byte [ebp - 4], 9
lea ecx, [edi + 0x4c]
call fcn.0050e469
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x54]
push 0x4c2a16
call fcn.0049930a
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x54]
push edi
mov dword [edi + 0x64], 1
mov dword [edi + 0x68], 1
call fcn.00499449
or dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c55b9
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [0x65bc74]
push 0x29
call fcn.0049de58
test al, al
je 0x4c569b
mov eax, dword [0x65c748]
mov ecx, 0x5000520
and eax, 0xfffffff
cmp eax, ecx
ja 0x4c563f
je 0x4c563a
sub eax, 0x5000500
je 0x4c562d
sub eax, 8
je 0x4c5616
sub eax, 8
je 0x4c55ff
sub eax, 8
je 0x4c569b
jmp 0x4c5650
mov eax, dword [0x65c670]
mov ecx, dword [eax + 0x1e0]
mov eax, dword [0x65c750]
mov dword [ecx], eax
jmp 0x4dd3e1
mov eax, dword [0x65c670]
mov ecx, dword [eax + 0x1d4]
mov eax, dword [0x65c750]
mov dword [ecx], eax
jmp fcn.004dd79a
mov eax, dword [0x65c670]
mov ecx, dword [eax + 0x1c8]
jmp 0x4c5694
jmp 0x4ddbb0
sub eax, 0x5000528
je 0x4c5689
sub eax, 8
je 0x4c567c
sub eax, 0x18
je 0x4c566f
cmp byte [0x65c71c], 0
je 0x4c569b
mov ecx, dword [0x65c678]
push 0x876
push 0x5e5248
mov eax, dword [ecx]
call dword [eax + 0x28]
ret
mov eax, dword [0x65c670]
mov ecx, dword [eax + 0x21c]
jmp 0x4c5694
mov eax, dword [0x65c670]
mov ecx, dword [eax + 0x204]
jmp 0x4c5694
mov eax, dword [0x65c670]
mov ecx, dword [eax + 0x1fc]
mov eax, dword [0x65c750]
mov dword [ecx], eax
ret
mov edx, dword [0x65c670]
push ebx
xor ebx, ebx
mov eax, dword [edx + 0x1e0]
mov ecx, dword [eax]
mov eax, dword [edx + 0x1f0]
and ecx, 0xff0000
xor edx, edx
inc edx
mov dword [eax], ecx
mov ecx, dword [0x65c670]
mov eax, dword [ecx + 0x1f0]
movzx eax, word [eax + 2]
test eax, eax
jne 0x4dd41f
mov dword [0x65cab4], ebx
jmp 0x4dd42a
cmp eax, 0x5a
jne 0x4dd430
mov dword [0x65cab4], edx
mov dword [0x65cab8], ebx
mov eax, dword [ecx + 0x1e0]
push esi
mov esi, 0x1000000
test dword [eax], 0x2000000
je 0x4dd452
mov eax, dword [ecx + 0x1dc]
or dword [eax], esi
mov ecx, dword [0x65c670]
mov eax, dword [ecx + 0x1e0]
test dword [eax], esi
je 0x4dd46e
mov eax, dword [ecx + 0x1d0]
and dword [eax], 0xfdffffff
mov ecx, dword [0x65c670]
mov eax, dword [ecx + 0x1e0]
mov esi, 0x10000000
test dword [eax], esi
je 0x4dd485
mov byte [0x65caa9], dl
jmp 0x4dd48b
mov dl, byte [0x65caa9]
mov eax, dword [ecx + 0x1e0]
test dword [eax], esi
pop esi
jne 0x4dd4d8
test dl, dl
je 0x4dd4d8
mov byte [0x65caa9], bl
mov eax, dword [ecx + 0x1d0]
and dword [eax], 0xa3ffffff
mov eax, dword [0x65c670]
mov eax, dword [eax + 0x1dc]
mov dword [eax], ebx
mov eax, dword [0x65c670]
mov eax, dword [eax + 0x1f0]
mov dword [eax], ebx
mov ecx, dword [0x65c670]
mov dword [0x65cab4], ebx
mov dword [0x65cab8], ebx
mov eax, dword [ecx + 0x1d0]
test dword [eax], 0x6000000
jne 0x4dd4f5
mov eax, dword [ecx + 0x54]
and dword [eax], 0xfffff7ff
mov ecx, dword [0x65c670]
mov eax, dword [ecx + 0x1e0]
cmp dword [eax], ebx
pop ebx
jge 0x4dd511
mov eax, dword [ecx + 0x1dc]
or dword [eax], 0x80000000
jmp fcn.004dd581
ret
mov eax, dword [0x65bc14]
cmp dword [eax + 0x1c], 5
jb 0x4ddbdb
push 0x5e9b30
push 0x5e9b3c
push 0xb5
push 0x5e9b18
push 5
push 7
call fcn.0049283a
add esp, 0x18
mov eax, dword [0x65c670]
mov eax, dword [eax + 0x1d0]
or dword [eax], 0x400000
cmp dword [0x65c684], 0
mov byte [0x65caaa], 0
je 0x4ddc0d
mov eax, dword [0x65c670]
mov eax, dword [eax + 0x1d0]
or dword [eax], 0x1000000
ret