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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4407e0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42ae85
cmp word [esi], dx
jne 0x42ae85
or byte [edi + eax + 0x28], 4
jmp 0x42ae8a
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42afdd
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x42afbd
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42aecc
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42af02
cmp eax, edx
jae 0x42af0e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x42aea4
jmp 0x42afdd
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42afb9
cmp dword [ebp - 0x14], 0
je 0x42afb9
mov eax, dword [ebx*4 + 0x4407e0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x42af91
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x42af5a
mov word [esi], cx
jmp 0x42af8d
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4407e0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4407e0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4407e0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42afdd
pop ebx
cmp word [ebp - 4], bx
jne 0x42afa2
cmp esi, dword [ebp + 0xc]
jne 0x42afa2
mov word [esi], bx
jmp 0x42afda
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00422df1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42afdd
push 0xd
jmp 0x42afd6
mov ecx, dword [ebx*4 + 0x4407e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42afd4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42afdd
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42d9f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42da1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42da1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x14f6070
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, dword [0x14ebc6c]
cmp eax, 1
jne 0x14f6088
push 0x14ebcc8
call fcn.014fe7f0
movzx eax, ax
push eax
push 0x14ecc74
push 0x14ebb88
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea esi, [eax + 0x14ebb88]
mov edx, dword [0x14ebc6c]
xor ecx, ecx
add edx, 0x4ed1567b
mov eax, edx
inc esi
shr eax, 9
inc ecx
imul edx, edx, 0x1003411d
add eax, 0x79d11093
xor eax, edx
mov edx, eax
mov eax, dword [0x14ebc6c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov al, byte [ecx + eax*8 + 0x14eb2cd]
xor al, dl
cmp ecx, 0xc8
mov byte [esi - 1], al
jl 0x14f60b0
mov eax, 0x14ebb88
mov byte [esi], 0
pop esi
ret
Function at 0x14f74d0
Capabilities:
Suspend thread

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
push 0x14f4900
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp*4 + 0x14f4920]
mov eax, dword [esi]
test eax, eax
je 0x14f751e
lea ecx, [esp + 0x10]
push ecx
push eax
call edi
test eax, eax
je 0x14f751e
cmp dword [esp + 0x10], 0x103
je 0x14f751e
mov eax, dword [esi]
push eax
call ebx
mov dword [esi], 0
push ebp
call fcn.014f76c0
add esp, 4
mov ebp, eax
cmp ebp, 0x64
jl 0x14f74f0
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [edi*4 + 0x14f4920]
test eax, eax
je 0x14f7544
push eax
call esi
push edi
call fcn.014f76c0
add esp, 4
mov edi, eax
cmp edi, 0x64
jl 0x14f7536
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x14f7560
Capabilities:
Resume thread

Disassembly:
push esi
push edi
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [edi*4 + 0x14f4920]
test eax, eax
je 0x14f7578
push eax
call esi
push edi
call fcn.014f76c0
add esp, 4
mov edi, eax
cmp edi, 0x64
jl 0x14f756a
push 0x14f4900
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret

Function at 0x14f89c0
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 0x14f89e3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.014f8620
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.014f8680
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.014f8740
lea eax, [esp + 0x18]
push eax
call fcn.014f8020
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 0x14f89b0
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x14f8a94
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.014f8990
or ax, ax
je 0x14f8a5c
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x14f8a80
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x14f8a80
lea eax, [esp + 0xa]
push esi
push eax
call fcn.014f8130
or al, al
jne 0x14f8a94
jmp 0x14f8a8f
lea eax, [esp + 8]
push esi
push eax
call fcn.014f8080
or al, al
jne 0x14f8a94
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x14f8aac
cmp ax, 0xffff
je 0x14f8aac
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 0x14f8ad0
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 0x14f8af3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.014f8620
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.014f8680
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.014f8740
lea eax, [esp + 0x18]
push eax
call fcn.014f8020
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 0x14f8ac0
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x14f8ba4
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.014f8990
or ax, ax
je 0x14f8ba4
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x14f8ba4
cmp byte [esp + eax + 0xa], 0x3a
jne 0x14f8ba4
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.014f8080
or al, al
jne 0x14f8b90
jmp 0x14f8b9f
mov ax, word [esi]
cmp ax, 1
jl 0x14f8b9f
cmp ax, 6
jle 0x14f8ba4
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x14f8bd0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.014f8620
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.014f8680
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.014f8830
lea eax, [esp + 4]
push 0x10
push eax
call fcn.014f87e0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x14f8bc0
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x14f8c3f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.014f7ea0
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 0x14f8c50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.014f8620
lea eax, [esp]
push 0x10
push eax
call fcn.014f8680
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.014f8790
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 0x14f8cc0
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.014f8040
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.014f8620
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.014f8680
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.014f86e0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.014f8890
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.014f8940
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.014f88f0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x14f8cb0
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x14f8d93
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.014f7ea0
or al, al
je 0x14f8d61
mov word [esi], 2
jmp 0x14f8d93
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.014f7ea0
or al, al
je 0x14f8d7b
mov word [esi], 3
jmp 0x14f8d93
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.014f7ea0
or al, al
je 0x14f8d93
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x14f8f80
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.014f8e80
or al, al
jne 0x14f910a
test byte [edi + 0x1c], 4
je 0x14f8fe3
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 0x14f9070
mov dword [ebx + 0xa8], 0
jmp 0x14f907c
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x14f9090
mov dword [ebx + 0xac], 0
jmp 0x14f9099
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x14f90b0
cmp word [ebp + 0xe], 0xffff
jne 0x14f90b0
or dword [ebx + 0x2c], 8
jmp 0x14f90b6
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x14f8ff0
push esi
call fcn.014f8ef0
push esi
call fcn.014f8e30
push esi
call fcn.014f8df0
mov eax, dword [esi + 0x10]
push eax
call fcn.014fa2b0
mov word [esi + 0xc], ax
or ax, ax
je 0x14f9100
lea eax, [esi + 4]
push eax
call fcn.014fa100
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.014f8dc0
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x14fb200
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.014f9120
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.014fad30
or al, al
jne 0x14fb28a
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.014fbb20
or al, al
jne 0x14fb28a
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.014fb9e0
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.014fbb70
or di, di
je 0x14fb28a
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x14fb330
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.014f9120
lea eax, [esp + 0xe]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.014f9120
mov eax, dword [esp + 0x10]
push 0xe
mov ax, word [eax + 4]
push eax
call fcn.014fad30
or al, al
jne 0x14fb413
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.014fbb20
mov bx, ax
or bl, bl
jne 0x14fb3e2
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.014fba30
mov bx, ax
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.014fbb70
push esi
call fcn.014f9230
cmp ax, 0xd
jne 0x14fb3f2
mov bx, 0xd
cmp bl, 0xd
je 0x14fb3fd
cmp bx, 3
jne 0x14fb410
mov ax, word [esp + 0xe]
dec word [esp + 0xe]
or ax, ax
jne 0x14fb382
mov ax, bx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x14fd1b0
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 0x14fd246
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x14fd223
cmp eax, 3
jbe 0x14fd23b
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x14fd230
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 0x14fd260
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.014fd150
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 0x14fd2b0
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.014fd110
or ebx, ebx
je 0x14fd2c2
cmp word [esi + 6], 0xffff
jne 0x14fd2c8
mov word [esi + 6], 0x83b
mov ax, word [esi + 6]
pop edi
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x14fd3f0
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.014fd3b0
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 0x14fd460
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x14fd439
cmp eax, 3
jbe 0x14fd451
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x14fd446
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 0x14fd480
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.014fd150
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.014fd110
cmp edi, 1
jne 0x14fd4c5
cmp word [esi + 6], 0xffff
jne 0x14fd4cb
mov word [esi + 6], 0x23b
mov ax, word [esi + 6]
pop edi
pop esi
add esp, 4
ret 8

Function at 0x14fd5b0
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 0x4328c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e172b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004d327c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x432942
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d0136
mov eax, dword [eax]
push 0x756d6c
push eax
call fcn.004c11e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d3507
test bl, bl
je 0x432942
push 0x756d6c
lea ecx, [esp + 0xc]
call fcn.004d38e3
push 0x756d78
lea ecx, [esp + 0xc]
call fcn.004d38e3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43297e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d3507
jmp 0x432a49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x432a02
lea edx, [esp + 0x7c]
push 0x756d74
push edx
call fcn.004c11e4
add esp, 8
test eax, eax
je 0x432a02
lea eax, [esp + 0x7c]
push 0x756d70
push eax
call fcn.004c11e4
add esp, 8
test eax, eax
je 0x432a02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432992
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004d3507
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x433240
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4332a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4332b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e17ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x764344]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4333e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x433316
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d3507
xor eax, eax
jmp 0x43345f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d3690
push esi
lea ecx, [esp + 0xc]
call fcn.004d391f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x756dac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43343d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00433240
test eax, eax
jne 0x43343d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00433240
test eax, eax
jne 0x43343d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004c2300
mov esi, eax
add esp, 8
test esi, esi
jne 0x43341c
lea ecx, [esp + 0x14]
push 0x756d84
push ecx
call fcn.004c2280
mov esi, eax
add esp, 8
test esi, esi
jne 0x43341c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43341f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d3640
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43332e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d3507
xor eax, eax
jmp 0x43345f
mov byte [esi], 0
push 0x756d80
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004d3507
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x43c626
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x43c64e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret