joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6371f5
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x733df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x38], ecx
push 0xffffff
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x14], eax
push 1
mov ecx, dword [ebp + 8]
call fcn.0070c8bd
mov dword [ebp - 0x10], eax
push 0x78a3d8
lea ecx, [ebp - 0x20]
call fcn.007093f6
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x740]
add edx, 2
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x73c]
add ecx, 2
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042f5c0
push 0x78a3e0
lea ecx, [ebp - 0x20]
call fcn.007094c5
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004cf6c0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x748]
sub eax, 2
sub eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x73c]
add edx, 2
push edx
mov ecx, dword [ebp + 8]
call fcn.0042f5c0
push 2
mov ecx, dword [ebp + 8]
call fcn.0070cd53
mov dword [ebp - 0x24], eax
push 0x78a3e8
lea ecx, [ebp - 0x20]
call fcn.007094c5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004cf6c0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x740]
add eax, 2
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x744]
sub edx, 2
push edx
mov ecx, dword [ebp + 8]
call fcn.0042f5c0
push 0x78a3f0
lea ecx, [ebp - 0x20]
call fcn.007094c5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004cf6c0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x748]
sub eax, 2
sub eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x744]
sub edx, 2
push edx
mov ecx, dword [ebp + 8]
call fcn.0042f5c0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.0070cd53
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0070c8bd
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00709388
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x67eb59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7355b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb68
mov dword [ebp - 0xb74], ecx
lea ecx, [ebp - 0xb68]
call fcn.0054dde0
mov dword [ebp - 4], 0
push 0x797460
push 0x171
mov eax, dword [0x79de60]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [0x79de60]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [0x79de60]
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.007090c9
add esp, 4
mov dword [ebp - 0xb6c], eax
mov eax, dword [ebp - 0xb6c]
mov dword [ebp - 0xaf8], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xaf8]
push ecx
call fcn.006ede90
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x40418000
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x40418000
mov dword [ebp - 0xaf4], 0xab
mov eax, dword [ebp - 0xaf4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xb74]
fild dword [ecx + 0x88]
mov edx, dword [ebp - 0xb74]
fdiv qword [edx + 0x78]
fst qword [ebp - 0x20]
fmul qword [ebp - 0x20]
fimul dword [ebp - 0x30]
fstp qword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.006edbf4
add esp, 8
fadd qword [0x739910]
call fcn.006edbb8
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x12c], eax
mov eax, dword [ebp - 0xb74]
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + 0x12c]
mov dword [eax + 0x130], edx
mov eax, dword [ebp - 0xb74]
mov ecx, dword [ebp - 0xb74]
mov edx, dword [eax + 0x130]
imul edx, dword [ecx + 0x12c]
push edx
call fcn.007090c9
add esp, 4
mov dword [ebp - 0xb70], eax
mov eax, dword [ebp - 0xb74]
mov ecx, dword [ebp - 0xb70]
mov dword [eax + 0x140], ecx
push 0x4000cccc
push 0xcccccccd
mov edx, dword [ebp - 0xb74]
mov eax, dword [edx + 0x130]
push eax
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + 0x12c]
push edx
mov eax, dword [ebp - 0xb74]
mov ecx, dword [eax + 0x140]
push ecx
lea ecx, [ebp - 0xb68]
call fcn.00552656
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb68]
call fcn.0054de8a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6bb7d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7367ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
push eax
push 0x12a
mov ecx, dword [ebp - 0x34]
call fcn.00704e3f
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x5c
call fcn.00404cd0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
mov dword [ecx], 0x755e08
push 0x7b0d5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x5c
call fcn.007094c5
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x68], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x6c], 0x100
mov dword [ebp - 0x2c], 0x20
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x24]
shr ecx, 0xa
shr ecx, 0xa
add ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x68], ecx
push 0x798678
push 0x79867c
push 0x798684
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x79ddf8
call fcn.00722428
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 0x5c
call fcn.00709475
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00709388
push 0x100
push 0x798690
push 0x7986a0
mov ecx, 0x79ddf8
call fcn.007223bc
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x6c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x6bbb91
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
cmp dword [0x7b0d58], 0
jne 0x6bbbc3
push 0x7986f0
push 0x798704
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x7b0d58], eax
cmp dword [0x7b0d58], 0
je 0x6bbc09
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x7b0d58]
push 0
push 0x400
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.006ee700
push 0
push 0x400
push edx
push eax
call fcn.006ee700
mov dword [ebp - 4], eax
jmp 0x6bbc3b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceA]
test eax, eax
je 0x6bbc3b
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x24]
shr edx, 0xa
shr edx, 0xa
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6e6a30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x6e6a53
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.006e6690
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.006e66f0
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.006e67b0
lea eax, [esp + 0x18]
push eax
call fcn.006e6090
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x6e6a20
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
or eax, eax
je 0x6e6b04
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.006e6a00
or ax, ax
je 0x6e6acc
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x6e6af0
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x6e6af0
lea eax, [esp + 0xa]
push esi
push eax
call fcn.006e61a0
or al, al
jne 0x6e6b04
jmp 0x6e6aff
lea eax, [esp + 8]
push esi
push eax
call fcn.006e60f0
or al, al
jne 0x6e6b04
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x6e6b1c
cmp ax, 0xffff
je 0x6e6b1c
mov al, 1
pop esi
pop ebx
add esp, 0x40
ret 8
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x6e6b40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x6e6b63
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.006e6690
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.006e66f0
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.006e67b0
lea eax, [esp + 0x18]
push eax
call fcn.006e6090
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x6e6b30
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
or eax, eax
je 0x6e6c14
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.006e6a00
or ax, ax
je 0x6e6c14
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x6e6c14
cmp byte [esp + eax + 0xa], 0x3a
jne 0x6e6c14
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.006e60f0
or al, al
jne 0x6e6c00
jmp 0x6e6c0f
mov ax, word [esi]
cmp ax, 1
jl 0x6e6c0f
cmp ax, 6
jle 0x6e6c14
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0x6e6c40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.006e6690
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.006e66f0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.006e68a0
lea eax, [esp + 4]
push 0x10
push eax
call fcn.006e6850
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x6e6c30
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x6e6caf
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.006e5f10
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
cmp esi, 1
sbb al, al
inc al
pop esi
add esp, 0x50
ret 8

Function at 0x6e6cc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.006e6690
lea eax, [esp]
push 0x10
push eax
call fcn.006e66f0
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.006e6800
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileIntA
mov ecx, dword [esp + 0x34]
cmp eax, 1
mov word [ecx], ax
sbb cl, cl
inc cl
mov al, cl
add esp, 0x30
ret 4

Function at 0x6e6d30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
push esi
mov esi, dword [esp + 0x78]
push 0x10
mov word [esi], 0
lea eax, [esp + 8]
push 0
push eax
call fcn.006e60b0
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.006e6690
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.006e66f0
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.006e6750
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.006e6900
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.006e69b0
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.006e6960
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x6e6d20
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
or eax, eax
je 0x6e6e03
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.006e5f10
or al, al
je 0x6e6dd1
mov word [esi], 2
jmp 0x6e6e03
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.006e5f10
or al, al
je 0x6e6deb
mov word [esi], 3
jmp 0x6e6e03
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.006e5f10
or al, al
je 0x6e6e03
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x6e6ff0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
mov esi, dword [esp + 0x18]
mov byte [esp + 0x13], 0
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
mov dword [esi], eax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov ax, word [edi + 0xa]
mov word [esi + 6], ax
mov ax, word [edi + 0x14]
mov word [esi + 0x16], ax
mov ax, word [edi + 8]
mov word [esi + 8], ax
mov ax, word [edi + 6]
mov word [esi + 0xa], ax
lea eax, [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 4]
push eax
call fcn.006e6ef0
or al, al
jne 0x6e717a
test byte [edi + 0x1c], 4
je 0x6e7053
mov byte [esp + 0x13], 1
sub cx, cx
sub dx, dx
lea esp, [esp]
mov ebp, ecx
and ebp, 0xffff
lea eax, [ebp*8]
sub eax, ebp
shl eax, 2
lea eax, [eax + eax*4]
lea ebx, [esi + eax]
lea eax, [ebp*4]
mov word [ebx + 0x36], cx
lea eax, [eax + eax*8]
lea ebp, [edi + eax]
mov ax, word [ebp + 0xe]
mov word [ebx + 0x9c], ax
mov ax, word [ebp + 0x12]
mov word [ebx + 0x8e], ax
mov ax, word [ebp + 0x16]
mov word [ebx + 0x34], ax
mov ax, word [ebp + 0x18]
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
cmp cx, 3
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x28], eax
lea eax, [esi + 4]
mov dword [ebx + 0xa4], eax
jne 0x6e70e0
mov dword [ebx + 0xa8], 0
jmp 0x6e70ec
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x6e7100
mov dword [ebx + 0xac], 0
jmp 0x6e7109
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x6e7120
cmp word [ebp + 0xe], 0xffff
jne 0x6e7120
or dword [ebx + 0x2c], 8
jmp 0x6e7126
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x6e7060
push esi
call fcn.006e6f60
push esi
call fcn.006e6ea0
push esi
call fcn.006e6e60
mov eax, dword [esi + 0x10]
push eax
call fcn.006e8320
mov word [esi + 0xc], ax
or ax, ax
je 0x6e7170
lea eax, [esi + 4]
push eax
call fcn.006e8170
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.006e6e30
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x6e9270
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push esi
push edi
lea eax, [esp + 0xa]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.006e7190
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.006e8da0
or al, al
jne 0x6e92fa
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.006e9b90
or al, al
jne 0x6e92fa
mov eax, dword [esp + 0xc]
mov ax, word [eax + 0xa]
push eax
mov eax, dword [esp + 0x10]
mov al, byte [eax + 8]
push eax
mov eax, dword [esp + 0x14]
mov ax, word [eax + 6]
push eax
mov eax, dword [esp + 0x18]
mov ax, word [eax + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.006e9a50
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.006e9be0
or di, di
je 0x6e92fa
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x6e93a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov edi, dword [esp + 0x28]
push eax
mov esi, dword [esp + 0x28]
push edi
push esi
call fcn.006e7190
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.006e7190
mov eax, dword [esp + 0x10]
push 0xe
mov ax, word [eax + 4]
push eax
call fcn.006e8da0
or al, al
jne 0x6e9483
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.006e9b90
mov bx, ax
or bl, bl
jne 0x6e9452
mov eax, dword [esp + 0x10]
mov ax, word [eax + 0xe]
push eax
mov eax, dword [esp + 0x14]
mov ax, word [eax + 0xc]
push eax
mov eax, dword [esp + 0x18]
mov ax, word [eax + 0xa]
push eax
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 8]
push eax
mov eax, dword [esp + 0x20]
mov ax, word [eax + 6]
push eax
mov eax, dword [esp + 0x24]
mov ax, word [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.006e9aa0
mov bx, ax
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.006e9be0
push esi
call fcn.006e72a0
cmp ax, 0xd
jne 0x6e9462
mov bx, 0xd
cmp bl, 0xd
je 0x6e946d
cmp bx, 3
jne 0x6e9480
mov ax, word [esp + 0xe]
dec word [esp + 0xe]
or ax, ax
jne 0x6e93f2
mov ax, bx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x6eb220
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
mov byte [esp + 4], 0x52
mov byte [esp + 5], 0x4e
mov byte [esp + 6], 0x42
mov byte [esp + 7], 0x4f
mov byte [esp + 8], 0x44
mov byte [esp + 9], 0x52
mov byte [esp + 0xa], 0x56
mov ax, word [esp + 0x18]
add al, 0x30
mov byte [esp + 0xb], al
mov esi, dword [esp + 0x14]
mov byte [esp + 0xc], 0
mov dword [esi], 0
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x18]
push 0xc0000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x6eb2b6
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jb 0x6eb293
cmp eax, 3
jbe 0x6eb2ab
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x6eb2a0
push eax
call sub.KERNEL32.DLL_CloseHandle
mov ax, 0x80b
pop esi
add esp, 0xc
ret 8
mov ax, 0x80c
pop esi
add esp, 0xc
ret 8
mov ax, 0x800
pop esi
add esp, 0xc
ret 8

Function at 0x6eb2d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [esp + 0x18]
push esi
mov word [esi + 6], 0xffff
call fcn.006eb1c0
lea eax, [esp + 0xc]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
mov edi, dword [esp + 0x20]
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_WriteFile
mov ebx, eax
or ebx, ebx
je 0x6eb320
lea eax, [esp + 0xc]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_ReadFile
mov ebx, eax
push esi
call fcn.006eb180
or ebx, ebx
je 0x6eb332
cmp word [esi + 6], 0xffff
jne 0x6eb338
mov word [esi + 6], 0x83b
mov ax, word [esi + 6]
pop edi
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x6eb460
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
push esi
mov al, byte [esp + 0x1c]
push eax
lea eax, [esp + 8]
push eax
call fcn.006eb420
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x18]
push 0xc0000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov esi, dword [esp + 0x18]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x6eb4d0
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jb 0x6eb4a9
cmp eax, 3
jbe 0x6eb4c1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x6eb4b6
push eax
call sub.KERNEL32.DLL_CloseHandle
mov ax, 0x20b
pop esi
add esp, 0x10
ret 8
mov ax, 0x20c
pop esi
add esp, 0x10
ret 8
mov ax, 0x200
pop esi
add esp, 0x10
ret 8

Function at 0x6eb4f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 4
push esi
push edi
mov esi, dword [esp + 0x14]
push esi
mov word [esi + 6], 0xffff
call fcn.006eb1c0
lea eax, [esp + 8]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
mov eax, dword [esp + 0x1c]
push esi
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_ReadFile
mov edi, eax
push esi
call fcn.006eb180
cmp edi, 1
jne 0x6eb535
cmp word [esi + 6], 0xffff
jne 0x6eb53b
mov word [esi + 6], 0x23b
mov ax, word [esi + 6]
pop edi
pop esi
add esp, 4
ret 8

Function at 0x6eb620
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
sub esp, 0x24
mov byte [esp + 8], 0x53
mov byte [esp + 9], 0x59
mov byte [esp + 0xa], 0x53
mov byte [esp + 0xb], 0x54
mov byte [esp + 0xc], 0x45
mov byte [esp + 0xd], 0x4d
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x49
mov byte [esp + 0x10], 0x4e
mov byte [esp + 0x11], 0x49
mov byte [esp + 0x12], 0
mov byte [esp + 0x14], 0x53
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x74
mov byte [esp + 0x18], 0x69
mov byte [esp + 0x19], 0x6e
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x6c
mov byte [esp + 0x1c], 0x53
mov byte [esp + 0x1d], 0x65
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1f], 0x75
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x21], 0
mov byte [esp], 0x49
mov byte [esp + 1], 0x6f
lea eax, [esp + 8]
mov byte [esp + 2], 0x45
mov byte [esp + 3], 0x6e
mov byte [esp + 4], 0x74
mov byte [esp + 5], 0x72
mov byte [esp + 6], 0x79
mov byte [esp + 7], 0
push eax
lea eax, [esp + 4]
push 0
push eax
lea eax, [esp + 0x20]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileIntA
add esp, 0x24
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6eee3e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.006eed6b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x6eee61
test byte [esp + 8], 2
je 0x6eee61
call fcn.006eedde
mov dword [eax], 0xd
call fcn.006eede7
mov dword [eax], 5
jmp 0x6eee3a
xor eax, eax
ret
Function at 0x6f9fbf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x79d6e8
cmp edx, dword [eax]
je 0x6f9fe1
add eax, 8
inc ecx
cmp eax, 0x79d778
jl 0x6f9fd2
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x79d6e8]
jne 0x6fa10f
mov eax, dword [0x7b2e90]
cmp eax, 1
je 0x6fa0e9
test eax, eax
jne 0x6fa012
cmp dword [0x79ab9c], 1
je 0x6fa0e9
cmp edx, 0xfc
je 0x6fa10f
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x6fa049
lea eax, [ebp - 0x1a4]
push 0x75c948
push eax
call fcn.006ee940
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006ee8c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6fa08c
lea eax, [ebp - 0x1a4]
push eax
call fcn.006ee8c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x75c944
push edi
call fcn.006eea30
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x75c928
push eax
call fcn.006ee940
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006ee950
lea eax, [ebp - 0xa0]
push 0x75c924
push eax
call fcn.006ee950
push dword [esi + 0x79d6ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.006ee950
push 0x12010
lea eax, [ebp - 0xa0]
push 0x75c8fc
push eax
call fcn.006fd5fe
add esp, 0x2c
pop edi
jmp 0x6fa10f
lea eax, [ebp + 8]
lea esi, [esi + 0x79d6ec]
push 0
push eax
push dword [esi]
call fcn.006ee8c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret