joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e8db7
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.004307e0
mov eax, dword [0x5685f0]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
jbe 0x4e8f24
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
shl eax, 8
or ebx, eax
inc esi
movzx eax, byte [esi + 1]
inc esi
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 1]
shl edx, 0x18
inc esi
or ebx, edx
movzx edx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
inc esi
mov byte [edi], dl
mov byte [ebp], al
call fcn.00499c10
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00499d10
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00501c80
push ebp
call fcn.00499c10
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00499d10
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00501c80
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
inc eax
shr edx, 8
add esp, 0x30
mov byte [eax], dl
inc eax
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
inc eax
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
inc eax
inc eax
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
inc eax
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x4e8dd3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.00429fbb
add esp, 0xa0
ret
Function at 0x4f9440
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor esi, esi
mov edx, 0x578c00
mov eax, esi
mov ecx, 8
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec ecx
jne 0x4f9450
mov dword [edx], eax
add edx, 4
inc esi
cmp edx, 0x579000
jl 0x4f9449
cmp esi, 0x800
jae 0x4f94aa
lea ecx, [esi*4 + 0x578c00]
mov eax, dword [ecx - 0x400]
add ecx, 4
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x578c00]
xor edx, eax
cmp ecx, 0x57ac00
mov dword [ecx - 4], edx
jl 0x4f9482
mov dword [0x577640], fcn.004f9f50
call fcn.004fa130
pop edi
pop esi
test eax, eax
jne 0x4f94c9
mov dword [0x577640], 0x4fa000
ret
Function at 0x4fc968
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5685f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004fc8fd
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042faa0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4fc9b7
cmp dword [ebp - 0x1c], 5
jb 0x4fc9cf
jmp 0x4fc9cb
cmp dword [ebp - 0x10], 1
jne 0x4fc9cf
cmp dword [ebp - 0x1c], 4
ja 0x4fc9cb
jne 0x4fc9cf
cmp dword [ebp - 0x18], 0
jbe 0x4fc9cf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x55b920
call fcn.004fc7d1
test eax, eax
jge 0x4fc9f0
mov byte [0x577a48], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00429fbb
add ebp, 0x78
leave
ret
Function at 0x4fd1bb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4fd1f8
cmp dword [ebp + 0x14], edi
je 0x4fd1f8
cmp ecx, edi
jne 0x4fd1ff
call fcn.004303c4
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042aab5
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4fd213
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4fd234
cmp ebx, 0xffffffff
je 0x4fd223
push ebx
push edi
push ecx
call fcn.0042faa0
add esp, 0xc
cmp esi, edi
je 0x4fd1e0
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4fd1e0
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4fd250
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4fd257
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4fd348
test word [esi + 0xc], 0x10c
je 0x4fd2ab
mov eax, dword [esi + 4]
test eax, eax
je 0x4fd2ab
jl 0x4fd3a9
cmp ebx, eax
mov edi, ebx
jb 0x4fd27c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4fd350
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042a26a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4fd340
cmp ebx, dword [ebp - 0xc]
jb 0x4fd318
cmp dword [ebp - 0xc], 0
je 0x4fd2d5
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4fd2ca
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4fd2d1
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4fd2e0
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4fd2e0
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4fd37c
push eax
push dword [ebp - 8]
push esi
call fcn.00436269
pop ecx
push eax
call fcn.004436de
add esp, 0xc
test eax, eax
je 0x4fd3bb
cmp eax, 0xffffffff
je 0x4fd3a9
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4fd340
push esi
call fcn.0043dce9
cmp eax, 0xffffffff
pop ecx
je 0x4fd3ad
cmp dword [ebp - 4], 0
je 0x4fd37c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4fd25f
mov eax, dword [ebp + 0x14]
jmp 0x4fd1fa
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4fd367
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042faa0
add esp, 0xc
call fcn.004303c4
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4fd1f0
cmp dword [ebp + 0xc], 0xffffffff
je 0x4fd392
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042faa0
add esp, 0xc
call fcn.004303c4
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4fd1f0
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4fd1fa
or dword [esi + 0xc], 0x10
jmp 0x4fd3ad
Function at 0x4060e7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417020]
jne 0x4060f1
repz ret
jmp fcn.0040748a

Function at 0x410063
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040af73
and dword [ebp - 4], 0
cmp dword [0x41b44c], 0
mov ebx, eax
jne 0x410114
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4101c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4101c5
push eax
call fcn.0040af01
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41b44c], eax
call esi
push eax
call fcn.0040af01
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41b450], eax
call esi
push eax
call fcn.0040af01
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41b454], eax
call esi
push eax
call fcn.0040af01
pop ecx
mov dword [0x41b45c], eax
test eax, eax
je 0x410114
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040af01
pop ecx
mov dword [0x41b458], eax
mov eax, dword [0x41b458]
cmp eax, ebx
je 0x41016c
cmp dword [0x41b45c], ebx
je 0x41016c
push eax
call fcn.0040af7c
push dword [0x41b45c]
mov esi, eax
call fcn.0040af7c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41016c
test edi, edi
je 0x41016c
call esi
test eax, eax
je 0x410163
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410163
test byte [ebp - 0xc], 1
jne 0x41016c
or dword [ebp + 0x10], 0x200000
jmp 0x4101a5
mov eax, dword [0x41b450]
cmp eax, ebx
je 0x4101a5
push eax
call fcn.0040af7c
pop ecx
test eax, eax
je 0x4101a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4101a5
mov eax, dword [0x41b454]
cmp eax, ebx
je 0x4101a5
push eax
call fcn.0040af7c
pop ecx
test eax, eax
je 0x4101a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41b44c]
call fcn.0040af7c
pop ecx
test eax, eax
je 0x4101c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4101c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014b2b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x1869f
push 0x80000301
push 0
push 0x63
push 2
mov ebx, 0x94
call fcn.1008bfd0
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.1008c0c0
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00
mov ecx, 2
call fcn.10001134
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10014bb1
push ebx
call fcn.1008b0e6
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_StrDupA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10014bd3
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10014be6
push ebx
call fcn.1008b0e6
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x12c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10014c1c
push 6
call fcn.1008b0ec
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x10014c24
mov esp, ebp
pop ebp
ret
Function at 0x100255b6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 1
push 0x100d4294
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x100da7ad
push 0x100da7ba
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x100255fc
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x10025618
mov eax, 0
jmp 0x10025622
mov eax, 1
jmp 0x10025622
mov esp, ebp
pop ebp
ret 4
Function at 0x1006de9c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1006e04c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x1006df9a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x1006df3d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x1006df80
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x1006df54
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x1006df6f
test al, 0x40
je 0x1006df66
mov ecx, dword [edi + 0x20]
jmp 0x1006df6d
test al, 0x80
je 0x1006df80
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x1006df80
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x1006df0c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1007010e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [0x100fcda9], 0x5b8d80
jl 0x10070138
mov dword [0x100fcda9], 0
push 0x100d4294
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.10013f8c
add esp, 8
cmp eax, 0
je 0x10070195
mov dword [0x100fcda9], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1007017b
push eax
mov ebx, eax
call fcn.100010c9
inc eax
push eax
call fcn.1008b0e0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x100fcdad]
test ebx, ebx
je 0x1007018f
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov dword [0x100fcdad], eax
push 0x100d4294
push dword [0x100fcdad]
call fcn.10013f8c
add esp, 8
cmp eax, 0
jne 0x100701bb
mov eax, 0xffffffff
jmp 0x10070317
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.1008c440
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100701f0
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [0x100fcda9], 0x5b8d80
jge 0x1007030d
inc dword [0x100fcda9]
mov dword [ebp - 8], esp
push dword [0x100fcda9]
call dword [sym.imp.USER32.dll_IsWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1007022f
push 6
call fcn.1008b0ec
add esp, 4
test eax, eax
je 0x100702f6
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
push dword [0x100fcda9]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10070264
push 6
call fcn.1008b0ec
add esp, 4
push 0x100fa9bd
push dword [ebp - 4]
push 0x100fa9bd
mov ecx, 3
call fcn.10001134
add esp, 0xc
mov dword [ebp - 8], eax
push closesocket
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x100fcdad]
test eax, eax
jne 0x100702a8
mov eax, 0x100d4294
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100702bc
mov eax, 0x100d4294
push eax
push 4
mov ebx, 0x148
call fcn.1008be00
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100702e2
push ebx
call fcn.1008b0e6
add esp, 4
cmp dword [ebp - 0xc], 0xffffffff
je 0x100702f6
mov eax, dword [0x100fcda9]
jmp 0x10070317
push 0
mov ebx, 0x350
call fcn.1008c390
add esp, 4
jmp 0x100701f4
mov eax, 0xffffffff
jmp 0x10070317
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10070328
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10070bbf
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [0x100fce15], 0x4d29ac2
push 0
mov ebx, pe_nt_image_headers32
call fcn.1008d070
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10070c0d
mov eax, 0x100d4294
push eax
push 2
mov ebx, 0x138
call fcn.1008bbc0
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10070c33
push ebx
call fcn.1008b0e6
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10070c46
mov eax, 0x100d4294
push eax
push 1
mov ebx, 0x154
call fcn.1008c880
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10070c6c
push ebx
call fcn.1008b0e6
add esp, 4
push str..tmp
push dword [ebp - 0x10]
call fcn.10013f8c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10070c9a
push ebx
call fcn.1008b0e6
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10070d99
push reloc.WS2_32.dll_connect
push 0
push str.Super_EC
push 1
mov ebx, 0x158
call fcn.1008cc90
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10070cf1
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10070d04
push ebx
call fcn.1008b0e6
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10070d40
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 3
mov eax, 0x100fa9cd
test eax, eax
je 0x10070d57
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10070d77
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10070d99
push 6
call fcn.1008b0ec
add esp, 4
call fcn.10070dac
mov eax, 0
jmp 0x10070da8
mov esp, ebp
pop ebp
ret
Function at 0x1007a39d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1007a3d8
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.1008c910
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1007a43b
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.1008d110
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1007a45f
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.1008c910
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1007a4c2
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.1008d110
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1007a4e6
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.1008c910
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1007a549
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.1008d110
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1007a551
mov esp, ebp
pop ebp
ret
Function at 0x1007ea1b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1007ea61
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x100d5c80]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10012d37
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.1008c440
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1007eab4
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1007eaed
push 6
call fcn.1008b0ec
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x1007eb09
push eax
mov ebx, eax
call fcn.100010c9
inc eax
push eax
call fcn.1008b0e0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1007eb0e
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1007eb1f
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1008b490
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.100be7d2
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x1008b4fa
push esi
lea edi, [eax + 0x400]
call fcn.100be7c7
push edi
call fcn.100be7d2
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x1008b4ca
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1008b516
push ecx
push esi
call fcn.1008d940
add esp, 8
mov ebx, eax
push esi
call fcn.100be7c7
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1008c4e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x1008c572
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x1008c564
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1008c55c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x1008c525
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x1008c860
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1008c87e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1008c873
pop esi
ret