joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dc50
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x38]
test byte [eax], 8
jne 0x45dc6b
mov dword [0x548518], 0x6f
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45dc81
push 1
lea eax, [esp + 0xb]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x45dc96
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.004d1027
add esp, 0x10
cmp eax, 1
je 0x45dcaa
mov dword [0x548518], 0x66
xor eax, eax
pop esi
pop ecx
ret
movzx eax, byte [esp + 7]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
call fcn.0045dcc0
pop esi
pop ecx
ret

Function at 0x45dcc0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esi + 0x38]
cmp dword [edi + 0x3c], 0
mov eax, edi
je 0x45dcdf
mov edx, dword [eax + 0x3c]
push 1
lea ecx, [esp + 0xb]
push ecx
push esi
call edx
add esp, 0xc
jmp 0x45dcf4
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.004d1027
add esp, 0x10
cmp eax, 1
jne 0x45dd40
mov cl, byte [esp + 7]
test cl, cl
jbe 0x45dd4f
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x45dd22
movzx ecx, byte [esp + 7]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x45dd37
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 7]
push edx
push ecx
push 1
push eax
call fcn.004d1027
add esp, 0x10
movzx edx, byte [esp + 7]
cmp eax, edx
je 0x45dd55
mov dword [0x548518], 0x66
xor eax, eax
pop edi
pop ecx
ret
mov dword [ebx], 0
mov eax, 1
pop edi
pop ecx
ret

Function at 0x45de20
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45de3a
push 2
lea eax, [esp + 4]
push eax
push edx
call ecx
add esp, 0xc
jmp 0x45de4f
mov ecx, dword [eax + 0x38]
push ecx
push 2
lea edx, [esp + 8]
push 1
push edx
call fcn.004d1027
add esp, 0x10
cmp eax, 2
je 0x45de62
mov dword [0x548518], 0x66
xor eax, eax
pop ecx
ret
mov ax, word [esp]
movzx ecx, ah
movzx edx, al
mov eax, dword [esp + 8]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, 1
pop ecx
ret
Function at 0x45de80
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x38]
cmp dword [edi + 0x3c], 0
mov eax, edi
je 0x45dea4
mov edx, dword [eax + 0x3c]
push 1
lea ecx, [esp + 0xf]
push ecx
push esi
call edx
add esp, 0xc
jmp 0x45deb9
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0x13]
push 1
push edx
call fcn.004d1027
add esp, 0x10
cmp eax, 1
jne 0x45df06
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x45df16
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebp], eax
inc eax
test edx, edx
je 0x45dee8
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x45defd
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
push edx
push ecx
push 1
push eax
call fcn.004d1027
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x45df28
pop edi
mov dword [0x548518], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [edi + 0x44], 0
mov dword [edi + 0x34], 0
pop edi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x45df40
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [eax + 0x38]
xor ebx, ebx
push edi
mov ecx, esi
cmp dword [esi + 0x3c], ebx
je 0x45df62
push 1
lea edx, [esp + 0x13]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
add esp, 0xc
jmp 0x45df77
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004d1027
add esp, 0x10
movzx ecx, byte [esp + 0xf]
mov eax, 1
shl eax, cl
mov dword [esi + 8], ecx
inc ecx
mov edx, 1
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x10], eax
inc eax
shl edx, cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov eax, 0x1002
mov byte [esi + 0x44], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x2144]
mov dword [esi + 0x1c], edx
mov ecx, 0x1000
rep stosd dword es:[edi], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x45e320
Capabilities:
Read file on windows

Disassembly:
mov cl, byte [esi]
push ebp
mov ebp, dword [esp + 8]
push edi
test cl, cl
jne 0x45e3c9
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x45e345
push 1
push esi
push ebx
call eax
add esp, 0xc
jmp 0x45e356
mov eax, dword [ecx + 0x38]
push eax
push 1
push 1
push esi
call fcn.004d1027
add esp, 0x10
cmp eax, 1
je 0x45e36a
pop edi
mov dword [0x548518], 0x66
xor eax, eax
pop ebp
ret
mov al, byte [esi]
test al, al
jne 0x45e37f
pop edi
mov dword [0x548518], 0x70
xor eax, eax
pop ebp
ret
mov ecx, dword [ebx + 0x38]
mov edx, dword [ecx + 0x3c]
lea edi, [esi + 1]
test edx, edx
je 0x45e399
movzx ecx, al
push ecx
push edi
push ebx
call edx
add esp, 0xc
jmp 0x45e3ac
mov edx, dword [ecx + 0x38]
push edx
movzx eax, al
push eax
push 1
push edi
call fcn.004d1027
add esp, 0x10
mov cl, byte [esi]
movzx edx, cl
cmp eax, edx
jne 0x45e35b
mov al, byte [edi]
mov byte [edi], 2
mov byte [ebp], al
dec cl
pop edi
mov byte [esi], cl
mov eax, 1
pop ebp
ret
mov al, byte [esi + 1]
movzx edx, al
mov dl, byte [edx + esi]
inc al
dec cl
pop edi
mov byte [ebp], dl
mov byte [esi + 1], al
mov byte [esi], cl
mov eax, 1
pop ebp
ret

Function at 0x45e7e0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x5230c8
push eax
lea ecx, [esp + 8]
push ecx
mov dword [ebx], 0
mov dword [esp + 0xc], 0
call fcn.004cf6cb
mov eax, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x45e80c
pop ecx
ret
push esi
push 2
push 0
push eax
call fcn.004d12e9
mov edx, dword [esp + 0x10]
push edx
call fcn.004d11f1
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x45e83c
mov eax, dword [esp + 4]
push eax
call fcn.004d038d
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.004d12e9
push esi
call fcn.004cf589
mov edx, dword [esp + 0x18]
push edx
push esi
mov edi, eax
push 1
push edi
call fcn.004d1027
mov eax, dword [esp + 0x28]
push eax
call fcn.004d038d
add esp, 0x24
mov dword [ebx], edi
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x45f720
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x5405a0]
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 0x45f770
push ecx
push edi
lea esi, [esp + 0x18]
call fcn.0045f560
lea ecx, [esp + 0x10]
mov ebx, edi
call fcn.0045f610
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ccee1
add esp, 0x64
ret 4
Function at 0x45f8a0
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 0x45f8e2
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 0x45f8b5
pop ebx
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebp
ret

Function at 0x45f910
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50af75
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 4], fcn.004ccfcd
mov dword [esi + 8], fcn.004cf168
mov dword [esi + 0xc], fcn.004ccef0
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.0046d510
lea ecx, [esi + 0x80]
push ecx
mov byte [esp + 0x18], 1
call fcn.00466d00
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 0x4635d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x510921
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
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 [0x54851c]
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 0x46364e
mov ecx, esi
call fcn.00439450
push 0x52c4a0
jmp 0x4637cb
cmp ebp, ebx
je 0x4637bf
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 0x463660
sub eax, edx
sar eax, 1
je 0x4637bf
lea ecx, [esp + 0x2c]
call fcn.0043a090
mov eax, edi
lea edx, [esp + 0x2c]
call fcn.0043a2e0
mov dword [esp + 0x160], 1
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x4636a6
mov eax, dword [esp + 0x34]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46376d
shr eax, 4
not al
and al, 1
je 0x46376d
mov dword [esp + 0x160], 0xffffffff
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x4636f8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x4636f8
push eax
call fcn.004ccef0
add esp, 4
inc ebx
cmp ebx, 1
jl 0x463656
mov dword [esp + 0x24], vtable.t_mutex::t_locker.0
mov dword [esp + 0x28], 0
push esi
mov edi, 0x5433d8
mov dword [esp + 0x164], 2
call fcn.00440620
test al, al
je 0x4637b1
mov dword [esp + 0x28], edi
lea edi, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.0045ffe0
mov eax, dword [esp + 0x20]
push eax
push esi
mov ecx, ebp
call fcn.004630a0
add esp, 8
mov edi, 0x5433d8
mov bl, al
mov dword [esp + 0x160], 0xffffffff
call fcn.00440760
mov al, bl
jmp 0x4637dc
mov ecx, esi
call fcn.00439450
push str.invalid_parameter.
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x4637da
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x4637da
push eax
call fcn.004ccef0
add esp, 4
jmp 0x4637da
mov ecx, esi
call fcn.00439450
push 0x52ca6c
jmp 0x4637cb
mov ecx, esi
call fcn.00439450
push str.invalid_parameter.
push 0x52139c
mov edx, eax
call fcn.0043a8a0
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.004ccee1
add esp, 0x150
ret
Function at 0x463d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x510921
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
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 [0x54851c]
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 0x463dfe
mov ecx, esi
call fcn.00439450
push 0x52c4a0
jmp 0x463f79
cmp ebp, ebx
je 0x463f6d
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 0x463e10
sub eax, edx
sar eax, 1
je 0x463f6d
lea ecx, [esp + 0x2c]
call fcn.0043a090
mov eax, edi
lea edx, [esp + 0x2c]
call fcn.0043a2e0
mov dword [esp + 0x160], 1
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x463e56
mov eax, dword [esp + 0x34]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x463f1b
shr eax, 4
not al
and al, 1
je 0x463f1b
mov dword [esp + 0x160], 0xffffffff
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x463ea8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x463ea8
push eax
call fcn.004ccef0
add esp, 4
inc ebx
cmp ebx, 1
jl 0x463e06
mov dword [esp + 0x24], vtable.t_mutex::t_locker.0
mov dword [esp + 0x28], 0
push esi
mov edi, 0x5433d8
mov dword [esp + 0x164], 2
call fcn.00440620
test al, al
je 0x463f5f
mov dword [esp + 0x28], edi
lea edi, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.0045ffe0
mov ecx, dword [esp + 0x20]
push ebp
push esi
call fcn.00463810
add esp, 8
mov edi, 0x5433d8
mov bl, al
mov dword [esp + 0x160], 0xffffffff
call fcn.00440760
mov al, bl
jmp 0x463f8a
mov ecx, esi
call fcn.00439450
push str.invalid_parameter.
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x463f88
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x463f88
push eax
call fcn.004ccef0
add esp, 4
jmp 0x463f88
mov ecx, esi
call fcn.00439450
push 0x52ca6c
jmp 0x463f79
mov ecx, esi
call fcn.00439450
push str.invalid_parameter.
push 0x52139c
mov edx, eax
call fcn.0043a8a0
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.004ccee1
add esp, 0x150
ret
Function at 0x464210
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x50d068
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x54851c]
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 0x46428b
mov ecx, ebp
call fcn.00439450
push 0x52c4a0
push 0x52139c
mov edx, eax
call fcn.0043a8a0
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, 0x542d68
mov dword [esp + 0x34], ebx
call fcn.00440620
test al, al
je 0x464300
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.0045fa10
add esp, 8
test al, al
jne 0x464311
mov ecx, ebp
call fcn.00439450
push 0x52c3c0
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
mov edi, 0x542d68
mov dword [esp + 0x30], 0xffffffff
call fcn.00440760
jmp 0x464275
mov ecx, ebp
call fcn.00439450
push 0x52c4b0
jmp 0x464266
call fcn.00466680
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
call fcn.0046e580
test al, al
jne 0x464339
push str.Attach
mov ecx, ebp
call fcn.00402960
jmp 0x4642e9
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call fcn.00466680
mov ecx, ebp
mov ebx, eax
call fcn.0046e8e0
test al, al
jne 0x46437b
push 0x52cb28
mov ecx, ebp
call fcn.00402960
lea esi, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00444670
jmp 0x464275
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.004d4040
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.00444670
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 0x466090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50f52c
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x16c]
mov esi, ecx
test ebp, ebp
je 0x4662ba
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4660e1
sub eax, edx
sar eax, 1
je 0x4662ba
lea ecx, [esp + 0x2c]
call fcn.0043a090
mov eax, ebp
lea edx, [esp + 0x2c]
call fcn.0043a2e0
mov ebx, 1
mov dword [esp + 0x164], ebx
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x466128
mov eax, dword [esp + 0x34]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x466140
shr eax, 4
not al
and al, bl
jne 0x46618f
mov ecx, esi
call fcn.00439450
push str.invalid_parameter.
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x4662d5
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x4662d5
push eax
call fcn.004ccef0
add esp, 4
jmp 0x4662d5
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], 0
push esi
mov edi, 0x5433d8
mov byte [esp + 0x168], 2
call fcn.00440620
test al, al
je 0x46621d
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.t_lockerMemSharable.0
lea edx, [esp + 0x18]
push edx
mov eax, esi
mov byte [esp + 0x168], 3
call fcn.00425120
test al, al
jne 0x466247
push 0x52c4b0
mov ecx, esi
call fcn.00402960
lea esi, [esp + 0x18]
mov byte [esp + 0x164], 2
call fcn.00444670
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], bl
call fcn.00440310
lea ecx, [esp + 0x2c]
call fcn.0043a230
jmp 0x4662d5
push 0x52ca6c
mov ecx, esi
call fcn.00402960
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], bl
call fcn.00440310
lea ecx, [esp + 0x2c]
call fcn.0043a230
jmp 0x4662d5
call fcn.00471c20
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x46625b
push str.invalid_sugg_dict_pointer_
jmp 0x4661e9
push edi
mov edx, ebp
call fcn.004704a0
test al, al
jne 0x466271
push 0x52ccc8
jmp 0x4661e7
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.0046f680
test al, al
jne 0x46628c
push 0x52cce0
jmp 0x4661e7
lea esi, [esp + 0x18]
mov byte [esp + 0x164], 2
call fcn.00444670
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], bl
call fcn.00440310
lea ecx, [esp + 0x2c]
call fcn.0043a230
mov al, bl
jmp 0x4662d7
mov ecx, esi
call fcn.00439450
push str.invalid_parameter.
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
xor al, al
mov ecx, dword [esp + 0x15c]
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.004ccee1
add esp, 0x154
ret
Function at 0x469c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50dd27
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5405a0]
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.004ccfcd
mov dword [esi + 0x54], fcn.004cf168
mov dword [esi + 0x58], fcn.004ccef0
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.0047af60
lea ecx, [esi + 0x120]
push ecx
mov byte [esp + 0x18], 1
call fcn.00479260
lea edx, [esi + 0x5e4]
push edx
mov byte [esp + 0x18], 2
call fcn.0046d510
lea eax, [esi + 0x5fc]
push eax
mov byte [esp + 0x18], 3
call fcn.0046d510
lea ecx, [esi + 0x614]
push ecx
mov byte [esp + 0x18], 4
call fcn.0046d510
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x469da0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50e2ca
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5405a0]
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.0047af60
lea ecx, [esi + 0xfc]
push ecx
mov dword [esp + 0x30], edi
call fcn.0047d4c0
lea edx, [esi + 0x208]
push edx
mov byte [esp + 0x30], 1
call fcn.00469c60
lea eax, [esi + 0x83c]
push eax
mov byte [esp + 0x30], 2
call fcn.0046d510
lea ecx, [esi + 0x854]
push ecx
mov byte [esp + 0x30], 3
call fcn.0046d510
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