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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x102e2c2c], 0
je 0x10069d3e
push 0
push 4
call fcn.10069b7d
add esp, 8
jmp 0x10069da4
cmp dword [0x102e2c28], 0
je 0x10069da2
cmp dword [0x102e2c10], 0
je 0x10069d9d
mov byte [0x102f33e4], 3
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov eax, dword [0x102f33fc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10069d9d
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov ecx, dword [0x102f33fc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10069d9d
mov dl, byte [0x102f33e4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x10069da4
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x102e2c2c], 0
je 0x10069dc7
push 0
push 0x22
call fcn.10069b7d
add esp, 8
jmp 0x10069e2d
cmp dword [0x102e2c28], 0
je 0x10069e2b
cmp dword [0x102e2c10], 0
je 0x10069e26
mov byte [0x102f33e4], 0x22
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov eax, dword [0x102f33fc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10069e26
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov ecx, dword [0x102f33fc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10069e26
mov dl, byte [0x102f33e4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x10069e2d
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x102e2c2c], 0
je 0x10069e50
push 0
push 5
call fcn.10069b7d
add esp, 8
jmp 0x10069eb6
cmp dword [0x102e2c28], 0
je 0x10069eb4
cmp dword [0x102e2c10], 0
je 0x10069eaf
mov byte [0x102f33e4], 5
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov eax, dword [0x102f33fc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10069eaf
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov ecx, dword [0x102f33fc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10069eaf
mov dl, byte [0x102f33e4]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x10069eb6
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x102e2c10], 0
je 0x1006a19d
mov byte [0x102f33e4], 6
mov al, byte [0x10115e98]
mov byte [0x102f33e5], al
push 0
push 0x102f33f0
push 2
push 0x102f33e4
mov ecx, dword [0x102f33fc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x102f33f0
push 1
push 0x102f33e4
mov edx, dword [0x102f33fc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esp, ebp
pop ebp
ret
Function at 0x1006a1a1
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 0x1006a233
cmp dword [ebp - 0x10], 0
jne 0x1006a233
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 0x1006a233
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.1006a24e
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.1006a2ae
add esp, 8
test eax, eax
jne 0x1006a204
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x1006a24a
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 0x1006ae20
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 0x1006ae43
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.1006aa80
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.1006aae0
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.1006aba0
lea eax, [esp + 0x18]
push eax
call fcn.1006a480
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 0x1006ae10
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x1006aef4
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.1006adf0
or ax, ax
je 0x1006aebc
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x1006aee0
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x1006aee0
lea eax, [esp + 0xa]
push esi
push eax
call fcn.1006a590
or al, al
jne 0x1006aef4
jmp 0x1006aeef
lea eax, [esp + 8]
push esi
push eax
call fcn.1006a4e0
or al, al
jne 0x1006aef4
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x1006af0c
cmp ax, 0xffff
je 0x1006af0c
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 0x1006af30
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 0x1006af53
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.1006aa80
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.1006aae0
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.1006aba0
lea eax, [esp + 0x18]
push eax
call fcn.1006a480
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 0x1006af20
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x1006b004
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.1006adf0
or ax, ax
je 0x1006b004
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x1006b004
cmp byte [esp + eax + 0xa], 0x3a
jne 0x1006b004
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.1006a4e0
or al, al
jne 0x1006aff0
jmp 0x1006afff
mov ax, word [esi]
cmp ax, 1
jl 0x1006afff
cmp ax, 6
jle 0x1006b004
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x1006b030
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.1006aa80
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.1006aae0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.1006ac90
lea eax, [esp + 4]
push 0x10
push eax
call fcn.1006ac40
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x1006b020
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x1006b09f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.1006a310
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 0x1006b0b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.1006aa80
lea eax, [esp]
push 0x10
push eax
call fcn.1006aae0
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.1006abf0
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 0x1006b120
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.1006a4a0
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.1006aa80
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.1006aae0
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.1006ab40
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.1006acf0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.1006ada0
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.1006ad50
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x1006b110
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x1006b1f3
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.1006a310
or al, al
je 0x1006b1c1
mov word [esi], 2
jmp 0x1006b1f3
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.1006a310
or al, al
je 0x1006b1db
mov word [esi], 3
jmp 0x1006b1f3
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.1006a310
or al, al
je 0x1006b1f3
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x1006b3e0
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.1006b2e0
or al, al
jne 0x1006b56a
test byte [edi + 0x1c], 4
je 0x1006b443
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 0x1006b4d0
mov dword [ebx + 0xa8], 0
jmp 0x1006b4dc
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x1006b4f0
mov dword [ebx + 0xac], 0
jmp 0x1006b4f9
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x1006b510
cmp word [ebp + 0xe], 0xffff
jne 0x1006b510
or dword [ebx + 0x2c], 8
jmp 0x1006b516
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x1006b450
push esi
call fcn.1006b350
push esi
call fcn.1006b290
push esi
call fcn.1006b250
mov eax, dword [esi + 0x10]
push eax
call fcn.1006c710
mov word [esi + 0xc], ax
or ax, ax
je 0x1006b560
lea eax, [esi + 4]
push eax
call fcn.1006c560
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.1006b220
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x1006d660
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.1006b580
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.1006d190
or al, al
jne 0x1006d6ea
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.1006df80
or al, al
jne 0x1006d6ea
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.1006de40
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.1006dfd0
or di, di
je 0x1006d6ea
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x1006d790
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.1006b580
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.1006b580
mov eax, dword [esp + 0x10]
push 0xe
mov ax, word [eax + 4]
push eax
call fcn.1006d190
or al, al
jne 0x1006d873
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.1006df80
mov bx, ax
or bl, bl
jne 0x1006d842
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.1006de90
mov bx, ax
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.1006dfd0
push esi
call fcn.1006b690
cmp ax, 0xd
jne 0x1006d852
mov bx, 0xd
cmp bl, 0xd
je 0x1006d85d
cmp bx, 3
jne 0x1006d870
mov ax, word [esp + 0xe]
dec word [esp + 0xe]
or ax, ax
jne 0x1006d7e2
mov ax, bx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x1006f620
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 0x1006f6b6
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x1006f693
cmp eax, 3
jbe 0x1006f6ab
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1006f6a0
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 0x1006f6d0
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.1006f5c0
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 0x1006f720
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.1006f580
or ebx, ebx
je 0x1006f732
cmp word [esi + 6], 0xffff
jne 0x1006f738
mov word [esi + 6], 0x83b
mov ax, word [esi + 6]
pop edi
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x1006f860
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.1006f820
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 0x1006f8d0
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x1006f8a9
cmp eax, 3
jbe 0x1006f8c1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1006f8b6
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 0x1006f8e0
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 0x1006f980
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x1006f95b
cmp eax, 3
jbe 0x1006f973
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1006f968
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 0x1006f9a0
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.1006f5c0
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.1006f580
cmp edi, 1
jne 0x1006f9e5
cmp word [esi + 6], 0xffff
jne 0x1006f9eb
mov word [esi + 6], 0x23b
mov ax, word [esi + 6]
pop edi
pop esi
add esp, 4
ret 8
Function at 0x1006fba0
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 0x10070f60
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 0x10070fa5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100722d0
Capabilities:
Link many functions at runtime

Disassembly:
lea esi, [0x102f6818]
push esi
mov eax, dword [0x102f6408]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x102f682d], eax
mov dword [0x102f60f5], 1
mov eax, 0x4000
push eax
lea eax, [0x102f6333]
push eax
lea eax, [0x102f60e1]
push eax
lea esi, [0x102f65cf]
call dword [esi]
cmp eax, 0xffffffff
jne 0x1007231c
mov dword [0x102f60f5], 0
cmp dword [0x102f60f5], 0
je 0x10072392
mov eax, 0x4000
push eax
lea eax, [0x102f6333]
push eax
lea eax, [0x102f60ca]
push eax
lea esi, [0x102f65cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x10072392
lea eax, [0x102f60ca]
push eax
call dword [0x102f61f3]
mov dword [0x102f60ed], eax
cmp eax, 0
je 0x10072392
lea edx, [0x102f60f9]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x10072392
mov dword [0x102f614b], eax
mov eax, dword [0x102f60ed]
lea edx, [0x102f6130]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x10072392
mov dword [0x102f614f], eax
jmp 0x1007240a
mov eax, 0x4000
push eax
lea eax, [0x102f6333]
push eax
lea eax, [0x102f60d7]
push eax
lea esi, [0x102f65cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x100723ff
lea eax, [0x102f60d7]
push eax
call dword [0x102f61f3]
mov dword [0x102f60f1], eax
cmp eax, 0
je 0x100723ff
lea edx, [0x102f6115]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x100723ff
mov dword [0x102f614b], eax
mov eax, dword [0x102f60f1]
lea edx, [0x102f613e]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x100723ff
mov dword [0x102f614f], eax
jmp 0x10072415
mov dword [0x102f6153], 0
ret
mov dword [0x102f6153], 1
ret
mov dword [0x102f6153], 2
ret

Function at 0x1007272d
Capabilities:
Packed with generic packer

Disassembly:
pushal
push eax
push ecx
push edx
test ax, 1
je 0x1007274a
push ecx
push edx
call dword [0x102f6763]
cmp eax, 0
je 0x1007274a
pop edx
pop ecx
pop eax
stc
jmp 0x10072765
pop edx
pop ecx
pop eax
test ax, 2
je 0x10072764
push ecx
push edx
call dword [0x102f6775]
cmp ax, 0
je 0x10072764
stc
jmp 0x10072765
clc
popal
ret

Function at 0x10073598
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 8]
mov dword [esp + 0x14], 0xc
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, dword [edi]
mov dword [edi + 4], edx
mov edx, dword [eax + 4]
add ecx, edx
mov dword [edi], ecx
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, ebx
mov edx, ebx
shr esi, 4
xor edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
add ebp, 8
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, 0x20
or eax, edx
mov edx, dword [ebp - 8]
sub eax, edx
mov edx, eax
mov dword [edi + 4], eax
shr edx, 7
and edx, 0x1f
xor eax, ebx
sub ecx, edx
mov esi, eax
shr esi, cl
mov ecx, edx
mov edx, dword [ebp - 4]
shl eax, cl
or esi, eax
mov eax, dword [esp + 0x14]
add esi, edx
dec eax
mov dword [edi], esi
mov dword [esp + 0x14], eax
jne 0x100735c2
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10073621
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 0x60]
mov dword [esp + 0x14], 0xc
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [ebp + 4]
mov esi, ebx
shr esi, 7
sub edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
sub ebp, 8
shl eax, cl
mov ecx, esi
shr edx, cl
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov ecx, dword [ebp + 8]
mov edx, eax
shr edx, 4
lea esi, [ebx + ecx]
and edx, 0x1f
mov ecx, 0x20
mov ebx, esi
sub ecx, edx
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [edi + 4], ebx
mov dword [esp + 0x14], eax
jne 0x10073638
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
mov ecx, ebx
mov edx, dword [eax + 4]
sub esi, edx
mov dword [edi], esi
mov eax, dword [eax]
sub ecx, eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
ret