joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e3ac
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x48e780]
mov dword [ebp - 8], eax
mov ecx, dword [0x48e784]
mov dword [ebp - 4], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45e476
push 0xf01ff
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45e421
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x45e414
mov eax, 1
jmp 0x45e478
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
xor eax, eax
jmp 0x45e478
push 0
push 0
push 0
push 0
push str.Extended_Base
push str.SYSTEM32driversDS1410D.SYS
push 1
push 2
push 1
push 0xf01ff
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45e476
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x45e472
mov eax, 1
jmp 0x45e478
xor eax, eax
jmp 0x45e478
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45f359
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 1
cmp dword [0x4dfb54], 0
je 0x45f37a
mov al, byte [ebp + 8]
push eax
push 2
call fcn.0045f3ed
add esp, 8
jmp 0x45f3e9
cmp dword [0x4dfb50], 0
je 0x45f3e7
cmp dword [0x4dfb38], 0
je 0x45f3e2
mov byte [0x5530f4], 1
mov cl, byte [ebp + 8]
mov byte [0x5530f5], cl
push 0
push 0x553100
push 2
push 0x5530f4
mov edx, dword [0x55310c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f3e2
push 0
push 0x553100
push 1
push 0x5530f4
mov eax, dword [0x55310c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f3e2
mov cl, byte [0x5530f4]
mov byte [ebp - 4], cl
mov al, byte [ebp - 4]
jmp 0x45f3e9
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 8]
mov byte [ebp - 4], al
cmp dword [0x4dfb54], 0
je 0x45f481
mov cl, byte [ebp + 8]
push ecx
push 3
call fcn.0045f3ed
add esp, 8
jmp 0x45f4f0
cmp dword [0x4dfb50], 0
je 0x45f4ee
cmp dword [0x4dfb38], 0
je 0x45f4e9
mov byte [0x5530f4], 2
mov dl, byte [ebp + 8]
mov byte [0x5530f5], dl
push 0
push 0x553100
push 2
push 0x5530f4
mov eax, dword [0x55310c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f4e9
push 0
push 0x553100
push 1
push 0x5530f4
mov ecx, dword [0x55310c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f4e9
mov dl, byte [0x5530f4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x45f4f0
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4dfb54], 0
je 0x45f513
push 0
push 1
call fcn.0045f3ed
add esp, 8
jmp 0x45f58b
cmp dword [0x4dfb50], 0
je 0x45f589
cmp dword [0x4dfb38], 0
je 0x45f584
mov byte [0x5530f4], 0
mov al, byte [0x48e76c]
mov byte [0x5530f5], al
push 0
push 0x553100
push 2
push 0x5530f4
mov ecx, dword [0x55310c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f57c
push 0
push 0x553100
push 1
push 0x5530f4
mov edx, dword [0x55310c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f57c
mov al, byte [0x5530f4]
mov byte [ebp - 4], al
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 4]
jmp 0x45f58b
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x45f58f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4dfb54], 0
je 0x45f5ae
push 0
push 4
call fcn.0045f3ed
add esp, 8
jmp 0x45f614
cmp dword [0x4dfb50], 0
je 0x45f612
cmp dword [0x4dfb38], 0
je 0x45f60d
mov byte [0x5530f4], 3
push 0
push 0x553100
push 2
push 0x5530f4
mov eax, dword [0x55310c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f60d
push 0
push 0x553100
push 1
push 0x5530f4
mov ecx, dword [0x55310c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f60d
mov dl, byte [0x5530f4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x45f614
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4dfb54], 0
je 0x45f637
push 0
push 0x22
call fcn.0045f3ed
add esp, 8
jmp 0x45f69d
cmp dword [0x4dfb50], 0
je 0x45f69b
cmp dword [0x4dfb38], 0
je 0x45f696
mov byte [0x5530f4], 0x22
push 0
push 0x553100
push 2
push 0x5530f4
mov eax, dword [0x55310c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f696
push 0
push 0x553100
push 1
push 0x5530f4
mov ecx, dword [0x55310c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f696
mov dl, byte [0x5530f4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x45f69d
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4dfb54], 0
je 0x45f6c0
push 0
push 5
call fcn.0045f3ed
add esp, 8
jmp 0x45f726
cmp dword [0x4dfb50], 0
je 0x45f724
cmp dword [0x4dfb38], 0
je 0x45f71f
mov byte [0x5530f4], 5
push 0
push 0x553100
push 2
push 0x5530f4
mov eax, dword [0x55310c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f71f
push 0
push 0x553100
push 1
push 0x5530f4
mov ecx, dword [0x55310c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f71f
mov dl, byte [0x5530f4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x45f726
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4dfb38], 0
je 0x45fa0d
mov byte [0x5530f4], 6
mov al, byte [0x48e76c]
mov byte [0x5530f5], al
push 0
push 0x553100
push 2
push 0x5530f4
mov ecx, dword [0x55310c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x553100
push 1
push 0x5530f4
mov edx, dword [0x55310c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esp, ebp
pop ebp
ret
Function at 0x45fa11
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x45faa3
cmp dword [ebp - 0x10], 0
jne 0x45faa3
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [ebp + 8]
and edx, 0xffff
imul eax, edx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45faa3
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.0045fabe
add esp, 8
push 0
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0045fb1e
add esp, 8
test eax, eax
jne 0x45fa74
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x45faba
push 0
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov esp, ebp
pop ebp
ret

Function at 0x460690
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 0x4606b3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004602f0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00460350
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.00460410
lea eax, [esp + 0x18]
push eax
call fcn.0045fcf0
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 0x460680
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x460764
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00460660
or ax, ax
je 0x46072c
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x460750
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x460750
lea eax, [esp + 0xa]
push esi
push eax
call fcn.0045fe00
or al, al
jne 0x460764
jmp 0x46075f
lea eax, [esp + 8]
push esi
push eax
call fcn.0045fd50
or al, al
jne 0x460764
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x46077c
cmp ax, 0xffff
je 0x46077c
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 0x4607a0
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 0x4607c3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004602f0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00460350
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.00460410
lea eax, [esp + 0x18]
push eax
call fcn.0045fcf0
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 0x460790
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x460874
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00460660
or ax, ax
je 0x460874
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x460874
cmp byte [esp + eax + 0xa], 0x3a
jne 0x460874
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.0045fd50
or al, al
jne 0x460860
jmp 0x46086f
mov ax, word [esi]
cmp ax, 1
jl 0x46086f
cmp ax, 6
jle 0x460874
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x4608a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.004602f0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00460350
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00460500
lea eax, [esp + 4]
push 0x10
push eax
call fcn.004604b0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x460890
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x46090f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.0045fb80
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 0x460920
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.004602f0
lea eax, [esp]
push 0x10
push eax
call fcn.00460350
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.00460460
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 0x460990
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.0045fd10
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.004602f0
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00460350
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.004603b0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00460560
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00460610
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.004605c0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x460980
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x460a63
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.0045fb80
or al, al
je 0x460a31
mov word [esi], 2
jmp 0x460a63
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.0045fb80
or al, al
je 0x460a4b
mov word [esi], 3
jmp 0x460a63
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.0045fb80
or al, al
je 0x460a63
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x460c50
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.00460b50
or al, al
jne 0x460dda
test byte [edi + 0x1c], 4
je 0x460cb3
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 0x460d40
mov dword [ebx + 0xa8], 0
jmp 0x460d4c
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x460d60
mov dword [ebx + 0xac], 0
jmp 0x460d69
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x460d80
cmp word [ebp + 0xe], 0xffff
jne 0x460d80
or dword [ebx + 0x2c], 8
jmp 0x460d86
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x460cc0
push esi
call fcn.00460bc0
push esi
call fcn.00460b00
push esi
call fcn.00460ac0
mov eax, dword [esi + 0x10]
push eax
call fcn.00461f80
mov word [esi + 0xc], ax
or ax, ax
je 0x460dd0
lea eax, [esi + 4]
push eax
call fcn.00461dd0
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.00460a90
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x462ed0
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.00460df0
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.00462a00
or al, al
jne 0x462f5a
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.004637f0
or al, al
jne 0x462f5a
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.004636b0
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00463840
or di, di
je 0x462f5a
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x463000
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.00460df0
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.00460df0
mov eax, dword [esp + 0x10]
push 0xe
mov ax, word [eax + 4]
push eax
call fcn.00462a00
or al, al
jne 0x4630e3
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.004637f0
mov bx, ax
or bl, bl
jne 0x4630b2
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.00463700
mov bx, ax
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00463840
push esi
call fcn.00460f00
cmp ax, 0xd
jne 0x4630c2
mov bx, 0xd
cmp bl, 0xd
je 0x4630cd
cmp bx, 3
jne 0x4630e0
mov ax, word [esp + 0xe]
dec word [esp + 0xe]
or ax, ax
jne 0x463052
mov ax, bx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x464e90
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 0x464f26
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x464f03
cmp eax, 3
jbe 0x464f1b
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x464f10
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 0x464f40
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.00464e30
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 0x464f90
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.00464df0
or ebx, ebx
je 0x464fa2
cmp word [esi + 6], 0xffff
jne 0x464fa8
mov word [esi + 6], 0x83b
mov ax, word [esi + 6]
pop edi
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x4650d0
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.00465090
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 0x465140
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x465119
cmp eax, 3
jbe 0x465131
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x465126
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 0x465150
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push esi
mov byte [esp + 4], 0x5c
mov byte [esp + 5], 0x5c
mov byte [esp + 6], 0x2e
mov byte [esp + 7], 0x5c
mov byte [esp + 8], 0x53
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x74
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], 0x55
mov byte [esp + 0xe], 0x73
mov byte [esp + 0xf], 0x62
mov byte [esp + 0x10], 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 esi, dword [esp + 0x18]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x4651f0
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x4651cb
cmp eax, 3
jbe 0x4651e3
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4651d8
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 0x465210
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.00464e30
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.00464df0
cmp edi, 1
jne 0x465255
cmp word [esi + 6], 0xffff
jne 0x46525b
mov word [esi + 6], 0x23b
mov ax, word [esi + 6]
pop edi
pop esi
add esp, 4
ret 8
Function at 0x465410
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 0x469fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
jmp 0x469fe5
pop edi
pop esi
pop ebx
leave
ret