joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453410
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
push edi
jne 0x453446
push 0
mov byte [esi + 0xc], 1
call fcn.004cf68f
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call ebx
mov dword [esi + 0x1c0], eax
cmp byte [esi + 0x20], 0
mov edi, 4
je 0x45351b
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x453494
mov dword [esi + 8], 5
jmp 0x45351b
mov eax, dword [esi + 8]
cmp eax, 5
jne 0x4534bf
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x4534c7
cmp eax, 0x3e8
je 0x4534c4
push esi
mov dword [esi + 0x1c4], 0x3e8
call fcn.00451270
jmp 0x4534c4
cmp eax, 3
je 0x4534c7
mov dword [esi + 8], edi
cmp byte [esi + 0x508], 0
je 0x45351b
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x453518
call ebx
sub eax, dword [esp + 0x14]
cmp eax, 0x1388
jbe 0x453505
mov dword [esi + 8], 3
jmp 0x45351b
cmp dword [esi + 8], 3
jne 0x453511
push esi
call fcn.00451270
mov byte [esi + 0x508], 0
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x453534
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test al, al
je 0x453534
mov dword [esi + 8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4541b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50f023
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x24]
xor ebx, ebx
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x21], 1
mov byte [esi + 0x20], 1
mov dword [esp + 0x1c], ebx
lea ebp, [esi + 0x3c]
mov ecx, ebp
mov dword [esi], vtable.t_bbcBmpButton.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], 1
call fcn.00438f20
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 1
mov byte [esi + 0x168], bl
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
lea ecx, [esi + 0x24]
movzx ebx, di
mov dword [esi + 0x16c], edi
mov edi, dword [esp + 0x2c]
push ecx
mov dword [esi + 0x17c], eax
call fcn.00457180
add esp, 4
push 0x7f89
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x34], eax
xor eax, eax
mov edx, ebp
call fcn.00439130
mov dword [esi + 0x164], edi
mov dword [esi + 0x160], edi
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 0x454bd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5093c3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x20]
xor eax, eax
xor ebx, ebx
mov dword [edi + 4], 0xffffffff
mov byte [edi + 8], bl
mov byte [edi + 9], bl
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov al, 1
mov dword [edi + 0x1c], ebx
mov byte [edi + 0x21], al
mov byte [edi + 0x20], al
mov dword [esp + 0x18], ebx
mov dword [edi], vtable.t_bbcStatic.0
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], fcn.004cc39d
mov dword [edi + 0x38], fcn.004ce4c2
mov dword [edi + 0x3c], fcn.004cc2c0
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x28]
mov ecx, edi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], eax
call fcn.004550c0
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [esp + 0x24]
push ecx
push esi
mov esi, dword [esp + 0x34]
mov dword [edi + 0x40], eax
call fcn.00455590
mov dword [edi + 0x44], eax
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x457c30
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x520e78
push eax
lea ecx, [esp + 8]
push ecx
mov dword [ebx], 0
mov dword [esp + 0xc], 0
call fcn.004ce7c5
mov eax, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x457c5c
pop ecx
ret
push esi
push 2
push 0
push eax
call fcn.004d068b
mov edx, dword [esp + 0x10]
push edx
call fcn.004d0593
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x457c8c
mov eax, dword [esp + 4]
push eax
call fcn.004cf613
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push edi
push 0
push 0
push ecx
call fcn.004d068b
push esi
call fcn.004cf9e8
mov edx, dword [esp + 0x18]
push edx
push esi
mov edi, eax
push 1
push edi
call fcn.004d03c9
mov eax, dword [esp + 0x28]
push eax
call fcn.004cf613
add esp, 0x24
mov dword [ebx], edi
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x458b70
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push ebx
push esi
push edi
mov edi, edx
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
cmp eax, edx
je 0x458bc0
push ecx
push edi
lea esi, [esp + 0x18]
call fcn.004589b0
lea ecx, [esp + 0x10]
mov ebx, edi
call fcn.00458a60
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cc2b1
add esp, 0x64
ret 4

Function at 0x458cf0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax]
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [eax + 4]
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x458d32
push ebx
inc ecx
and ecx, 0xf
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xf
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xf
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor byte [edi + ebp], dl
inc edi
cmp edi, dword [esp + 0x18]
jl 0x458d05
pop ebx
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebp
ret
Function at 0x458d40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5092c3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 4], fcn.004cc39d
mov dword [esi + 8], fcn.004ce4c2
mov dword [esi + 0xc], fcn.004cc2c0
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0x1fff8
mov dword [esi], vtable.t_heap.0
mov dword [esp + 0x14], edi
mov eax, 0x40
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea eax, [esi + 0x68]
push eax
mov dword [esi + 0x24], 0x1332ba5
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
call fcn.00476b00
lea ecx, [esi + 0x80]
push ecx
mov byte [esp + 0x18], 1
call fcn.0045ec00
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
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 0x45b5f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50ef41
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x16c]
mov esi, ecx
mov ecx, dword [0x546f90]
push ecx
lea edx, [esp + 0x20]
xor ebx, ebx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x1c], ebx
jne 0x45b66e
mov ecx, esi
call fcn.00438300
push 0x52bc40
jmp 0x45b7eb
cmp ebp, ebx
je 0x45b7df
mov edi, dword [ebp + ebx*4]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b680
sub eax, edx
sar eax, 1
je 0x45b7df
lea ecx, [esp + 0x2c]
call fcn.00438f20
mov eax, edi
lea edx, [esp + 0x2c]
call fcn.00439130
mov dword [esp + 0x160], 1
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x45b6c6
mov eax, dword [esp + 0x34]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b78d
shr eax, 4
not al
and al, 1
je 0x45b78d
mov dword [esp + 0x160], 0xffffffff
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45b718
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x45b718
push eax
call fcn.004cc2c0
add esp, 4
inc ebx
cmp ebx, 1
jl 0x45b676
mov dword [esp + 0x24], vtable.t_mutex::t_locker.0
mov dword [esp + 0x28], 0
push esi
mov edi, 0x5423f0
mov dword [esp + 0x164], 2
call fcn.004423b0
test al, al
je 0x45b7d1
mov dword [esp + 0x28], edi
lea edi, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.00459540
mov eax, dword [esp + 0x20]
push eax
push esi
mov ecx, ebp
call fcn.0045b0c0
add esp, 8
mov edi, 0x5423f0
mov bl, al
mov dword [esp + 0x160], 0xffffffff
call fcn.004424f0
mov al, bl
jmp 0x45b7fc
mov ecx, esi
call fcn.00438300
push str.invalid_parameter.
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45b7fa
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x45b7fa
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x45b7fa
mov ecx, esi
call fcn.00438300
push 0x52be18
jmp 0x45b7eb
mov ecx, esi
call fcn.00438300
push str.invalid_parameter.
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x150
ret
Function at 0x45bda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50ef41
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x16c]
mov esi, ecx
mov ecx, dword [0x546f90]
push ecx
lea edx, [esp + 0x20]
xor ebx, ebx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x1c], ebx
jne 0x45be1e
mov ecx, esi
call fcn.00438300
push 0x52bc40
jmp 0x45bf99
cmp ebp, ebx
je 0x45bf8d
mov edi, dword [ebp + ebx*4]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45be30
sub eax, edx
sar eax, 1
je 0x45bf8d
lea ecx, [esp + 0x2c]
call fcn.00438f20
mov eax, edi
lea edx, [esp + 0x2c]
call fcn.00439130
mov dword [esp + 0x160], 1
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x45be76
mov eax, dword [esp + 0x34]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45bf3b
shr eax, 4
not al
and al, 1
je 0x45bf3b
mov dword [esp + 0x160], 0xffffffff
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45bec8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x45bec8
push eax
call fcn.004cc2c0
add esp, 4
inc ebx
cmp ebx, 1
jl 0x45be26
mov dword [esp + 0x24], vtable.t_mutex::t_locker.0
mov dword [esp + 0x28], 0
push esi
mov edi, 0x5423f0
mov dword [esp + 0x164], 2
call fcn.004423b0
test al, al
je 0x45bf7f
mov dword [esp + 0x28], edi
lea edi, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.00459540
mov ecx, dword [esp + 0x20]
push ebp
push esi
call fcn.0045b830
add esp, 8
mov edi, 0x5423f0
mov bl, al
mov dword [esp + 0x160], 0xffffffff
call fcn.004424f0
mov al, bl
jmp 0x45bfaa
mov ecx, esi
call fcn.00438300
push str.invalid_parameter.
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45bfa8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x45bfa8
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x45bfa8
mov ecx, esi
call fcn.00438300
push 0x52be18
jmp 0x45bf99
mov ecx, esi
call fcn.00438300
push str.invalid_parameter.
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x150
ret
Function at 0x45c230
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x50bb58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x546f90]
mov ebp, dword [esp + 0x38]
mov esi, ecx
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x1c], ebx
jne 0x45c2ab
mov ecx, ebp
call fcn.00438300
push 0x52bc40
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.t_lockerMemSharable.0
push ebp
mov edi, 0x541d80
mov dword [esp + 0x34], ebx
call fcn.004423b0
test al, al
je 0x45c320
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], edi
push eax
mov edi, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.00458f90
add esp, 8
test al, al
jne 0x45c331
mov ecx, ebp
call fcn.00438300
push 0x52bb60
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
mov edi, 0x541d80
mov dword [esp + 0x30], 0xffffffff
call fcn.004424f0
jmp 0x45c295
mov ecx, ebp
call fcn.00438300
push 0x52bc50
jmp 0x45c286
call fcn.0045e630
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
call fcn.00465820
test al, al
jne 0x45c359
push str.Attach
mov ecx, ebp
call fcn.00402790
jmp 0x45c309
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call fcn.0045e630
mov ecx, ebp
mov ebx, eax
call fcn.00465a20
test al, al
jne 0x45c39b
push 0x52c00c
mov ecx, ebp
call fcn.00402790
lea esi, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00427b30
jmp 0x45c295
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ebx, dword [esp + 0x18]
mov dword [esi], eax
mov cx, word [edi + 0x22]
mov word [esi + 0x34], cx
mov dx, word [edi + 0x20]
mov word [esi + 0x36], dx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x18]
movzx ecx, word [eax + ebx]
add eax, ebx
push ecx
add eax, 2
push eax
lea edx, [esi + 4]
push edx
call fcn.004d33e0
mov eax, dword [edi + 0x1c]
add eax, ebx
mov dword [esi + 0x38], eax
mov ecx, dword [eax]
add dword [esi + 0x38], 4
mov dword [esi + 0x3c], ecx
add esp, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00427b30
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x460e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50bb26
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov ecx, 0x40
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov edx, 0x1332ba5
mov dword [esi + 0xc], edx
mov dword [esi + 0x50], fcn.004cc39d
mov dword [esi + 0x54], fcn.004ce4c2
mov dword [esi + 0x58], fcn.004cc2c0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 0x1fff8
mov dword [esi + 0x4c], vtable.t_heap.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, 0x34
mov dword [esi + 0x6c], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x98]
push eax
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], 1
mov dword [esi + 0x70], 0x30
mov dword [esi + 0x74], 0xc
call fcn.00472500
lea ecx, [esi + 0x120]
push ecx
mov byte [esp + 0x18], 1
call fcn.00470810
lea edx, [esi + 0x5e4]
push edx
mov byte [esp + 0x18], 2
call fcn.00476b00
lea eax, [esi + 0x5fc]
push eax
mov byte [esp + 0x18], 3
call fcn.00476b00
lea ecx, [esi + 0x614]
push ecx
mov byte [esp + 0x18], 4
call fcn.00476b00
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x460fc0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50cd49
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
xor edi, edi
mov dword [esi], 0x1332ba5
mov dword [esi + 4], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0xc], 0x30
mov dword [esi + 0x10], 0xc
mov eax, 0x34
mov dword [esi + 8], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov eax, 0x40
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
lea eax, [esi + 0x74]
push eax
mov dword [esi + 0x34], 0x1332ba5
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.00472500
lea ecx, [esi + 0xfc]
push ecx
mov dword [esp + 0x30], edi
call fcn.00474a00
lea edx, [esi + 0x208]
push edx
mov byte [esp + 0x30], 1
call fcn.00460e80
lea eax, [esi + 0x83c]
push eax
mov byte [esp + 0x30], 2
call fcn.00476b00
lea ecx, [esi + 0x854]
push ecx
mov byte [esp + 0x30], 3
call fcn.00476b00
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x86c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esi + 0x870]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
Function at 0x468790
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x50cbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x35c], eax
push ebx
push ebp
push esi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x374]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x384]
lea esi, [esp + 0x14]
mov ebx, ecx
call fcn.004419b0
xor esi, esi
mov dword [esp + 0x14], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x364], esi
mov dword [esp + 0x368], esi
push esi
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, ebx
mov dword [esp + 0x388], esi
call fcn.00441af0
test al, al
je 0x46889c
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x468845
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x468845
xor eax, eax
jmp 0x468847
mov eax, ebx
mov dword [esp + 0x364], eax
sub eax, dword [esp + 0x368]
push eax
call fcn.004cf7ac
mov ecx, dword [esp + 0x368]
sub ecx, dword [esp + 0x36c]
add esp, 4
push ecx
push eax
push edi
lea ecx, [esp + 0x36c]
mov dword [ebp], eax
call fcn.00446be0
test al, al
jne 0x4688e2
mov ebp, dword [ebp]
push ebp
call fcn.004cf7a1
add esp, 4
mov ecx, edi
call fcn.00438300
push 0x521054
jmp 0x4688a8
mov ecx, edi
call fcn.00438300
push 0x528a94
push 0x51f1f4
mov edx, eax
call fcn.00439710
mov dword [esp + 0x384], 0xffffffff
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441a20
xor al, al
jmp 0x468909
mov dword [esp + 0x37c], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441a20
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x370
ret 4