joyce8/EMBER2024-capa huggingface dataset:
Function at 0x888a2c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x8e4190]
jne 0x888a39
call fcn.00888b13
mov eax, dword [0x8e7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x8e7ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x888a71
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x8e4190]
jne 0x888a83
call fcn.00888b13
mov eax, dword [0x8e7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x8e7ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x888ac6
fadd qword [0x8dbac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x8dbaa0]
mov esp, ebp
pop ebp
ret

Function at 0x888ad6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x8e7530], ecx
inc esi
mov ecx, 0x8e7530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x8e7eec
jl 0x888ae7
mov dword [0x8e4190], esi
mov dword [0x8e7518], esi
pop esi
ret

Function at 0x888b13
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x8e7518], 0
push esi
push edi
mov esi, 0x8e7530
jne 0x888b32
push 0
call fcn.0084543a
pop ecx
mov ecx, eax
call fcn.00888ad6
mov dword [0x8e4190], 0x270
mov edi, 0xe3
mov dword [0x8e7ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x888b47
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x888b7c
mov ecx, dword [0x8e7530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret
Function at 0x88901b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x889040
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00841080
add esp, 0xc
jmp 0x889053
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00845812
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x8da4ec
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.008458c0
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x889129
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0x88913f
cmp eax, ecx
jne 0x88915a
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.00845812
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0x889172
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x45c]
cmp dword [edi + 0x45c], eax
jne 0x8891b9
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.00844a93
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4

Function at 0x8891bf
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x8891e7
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.00844a93
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0x889393
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.008891e9
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.0088922f
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x8893d7
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00889367
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x8893c1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x88a45a
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50000
call fcn.00851b90
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20004]
push eax
push 0x7fff
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
test eax, eax
je 0x88a5b7
push ebx
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push str.___s
push eax
call fcn.008438d8
lea eax, [ebp - 0x10004]
push eax
call fcn.00842e3c
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x10006], 0x5c
jne 0x88a4d2
cmp word [ebp + ebx*2 - 0x10008], 0x3a
je 0x88a4d2
xor eax, eax
mov word [ebp + ebx*2 - 0x10006], ax
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x88a4ec
cmp byte [ebp + 0x10], al
je 0x88a5a8
push edi
push 0x2200000
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x88a59f
push 0x2fffa
lea eax, [ebp - 0x50000]
push 0
push eax
call fcn.00843020
lea eax, [ebx + ebx]
mov dword [ebp - 0x50000], 0xa0000003
mov word [ebp - 0x4fff6], ax
mov eax, dword [ebp - 0x4fff6]
add eax, 2
mov word [ebp - 0x4fff4], ax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
lea eax, [ebp - 0x4fff0]
push eax
call fcn.008442ee
mov eax, dword [ebp - 0x4fff6]
lea ecx, [ebp + 8]
add esp, 0x18
xor edx, edx
add eax, 0xc
mov word [ebp - 0x4fffc], ax
movzx eax, ax
push edx
push ecx
push edx
push edx
add eax, 8
push eax
lea eax, [ebp - 0x50000]
push eax
push 0x900a4
push edi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
push edi
test eax, eax
jne 0x88a5ac
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
xor eax, eax
jmp 0x88a5b5
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x88f200
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_FindFirstFileW]
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x88f29b
lea eax, [ebp - 0x22c]
push 0x8afb80
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f289
lea eax, [ebp - 0x22c]
push 0x8da5a0
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f289
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
mov eax, dword [ebp + 0x10]
or ecx, dword [ebp + 0xc]
not eax
and ecx, eax
lea eax, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x88f34e
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x88f22a
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x88f343
lea eax, [ebp - 0x258]
push eax
push 0x8da598
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x88f33a
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x258], 0x10
je 0x88f328
lea eax, [ebp - 0x22c]
push 0x8afb80
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f328
lea eax, [ebp - 0x22c]
push 0x8da5a0
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f328
lea eax, [ebp - 0x22c]
push eax
call edi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0088f200
test al, al
je 0x88f359
push 0x8da5a0
call edi
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x88f2ca
mov bl, 1
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.kernel32.dll_FindClose]
xor al, al
jmp 0x88f345
xor ebx, ebx
jmp 0x88f33c
Function at 0x88f35d
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_FindFirstFileW]
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x88f3e3
lea eax, [ebp - 0x22c]
push 0x8afb80
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f3d1
lea eax, [ebp - 0x22c]
push 0x8da5a0
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f3d1
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x22c]
call fcn.008845c1
pop ecx
test al, al
je 0x88f496
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x88f387
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x88f48b
lea eax, [ebp - 0x258]
push eax
push 0x8da598
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x88f482
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x258], 0x10
je 0x88f470
lea eax, [ebp - 0x22c]
push 0x8afb80
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f470
lea eax, [ebp - 0x22c]
push 0x8da5a0
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f470
lea eax, [ebp - 0x22c]
push eax
call edi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0088f35d
test al, al
je 0x88f4a1
push 0x8da5a0
call edi
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x88f412
mov bl, 1
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.kernel32.dll_FindClose]
xor al, al
jmp 0x88f48d
xor ebx, ebx
jmp 0x88f484
Function at 0x88f65e
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call fcn.00827f41
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
push 0x8da598
mov dword [ebp - 0x18], eax
inc dword [eax]
call fcn.00827e0b
lea eax, [ebp - 0x278]
mov bl, 1
push eax
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x88f7bd
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00876920
cmp eax, 1
je 0x88f7b8
cmp eax, 0xb
jne 0x88f6e3
push 0xa
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x88f6c3
lea eax, [ebp - 0x24c]
push 0x8afb80
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f79e
lea eax, [ebp - 0x24c]
push 0x8da5a0
push eax
call fcn.0084378c
pop ecx
pop ecx
test eax, eax
je 0x88f79e
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.008281a7
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00827e0b
test byte [ebp - 0x278], 0x10
je 0x88f77b
cmp byte [ebp + 0x18], 0
je 0x88f74a
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x88f79e
push 0x8afac0
lea ecx, [ebp - 0x10]
call fcn.00827e0b
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x18]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0088f65e
mov bl, al
test bl, bl
je 0x88f7ba
jmp 0x88f79e
mov edx, dword [ebp + 0xc]
xor eax, eax
or eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
add dword [edx], eax
adc dword [edx + 4], ecx
cmp byte [ebp + 0x18], 0
je 0x88f79e
add dword [edi], 1
adc dword [edi + 4], 0
lea eax, [ebp - 0x278]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x88f6c3
jmp 0x88f7ba
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.00825a64
lea ecx, [ebp - 0x10]
call fcn.00825a64
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x891d09
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x74], 4
mov esi, dword [edi + 0x54]
mov dword [ebp - 4], esi
jne 0x891d2c
or esi, 0x800000
mov dword [ebp - 4], esi
movzx eax, word [ebx + 0x78]
push 0
push 0
push dword [ebx + 0x70]
push dword [ebx + 0x30]
push dword [ebx + 0x20]
push eax
push dword [ebx + 0x10]
push dword [edi + 4]
call dword [sym.imp.wininet.dll_InternetConnectW]
mov dword [edi], eax
test eax, eax
jne 0x891d64
push eax
push 0xdeadbeef
push 0xb
mov ecx, edi
call fcn.00892777
jmp 0x891e53
xor ecx, ecx
push ecx
push esi
push ecx
push ecx
push ecx
push dword [ebx + 0x60]
push ecx
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x891d89
push eax
push 0xdeadbeef
push 0xc
jmp 0x891e3d
cmp byte [ebp + 0xc], 0
je 0x891d98
push ebx
push esi
mov ecx, edi
call fcn.008927ae
test dword [ebp - 4], 0x1000
je 0x891dcd
push 4
pop ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 0xc]
push eax
push 0x1f
push esi
call dword [sym.imp.wininet.dll_InternetQueryOptionW]
or dword [ebp + 0xc], 0x100
lea eax, [ebp + 0xc]
push ebx
push eax
push 0x1f
push esi
call dword [sym.imp.wininet.dll_InternetSetOptionW]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.wininet.dll_HttpSendRequestW]
test eax, eax
je 0x891e35
push esi
call fcn.00891cc8
cmp eax, 0xc8
jne 0x891e35
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x20
push eax
lea eax, [ebp - 0x24]
push eax
push 5
push esi
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push eax
call fcn.008437d3
pop ecx
mov ecx, edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
cmp byte [ebp + 0x10], bl
je 0x891e2f
push esi
call fcn.008925e2
jmp 0x891e44
push 1
push ebx
push ebx
jmp 0x891e3f
push ebx
push 0xdeadbeef
push 0xd
mov ecx, edi
call fcn.00892777
mov bl, al
test esi, esi
je 0x891e51
push esi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x8924ca
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
inc ebx
push edi
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x8924e5
movzx eax, word [edi + 0x8c]
jmp 0x8924e9
movzx eax, word [edi + 0x58]
lea edx, [edi + 0xb0]
movsx ecx, ax
cmp dword [ebp + 8], ebx
je 0x8924fa
lea edx, [edi + 0x7c]
mov eax, dword [edi + 0xc0]
xor esi, esi
push esi
cmp ecx, ebx
jne 0x89250c
push esi
push esi
push ebx
jmp 0x89251f
cmp ecx, 2
jne 0x89251c
push str._local_
push dword [edx]
push 3
jmp 0x89251f
push esi
push esi
push esi
push eax
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [edi + 4], eax
cmp eax, esi
jne 0x892531
xor al, al
jmp 0x892551
cmp byte [edi + 0xdc], 0
je 0x89254f
push 8
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
push ecx
push 0x32
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.wininet.dll_InternetSetOptionW]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x8925e2
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x30], 0
je 0x8925f1
pop ebp
jmp fcn.008926b2
pop ebp
jmp fcn.008925f7

Function at 0x892882
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00843020
xor eax, eax
mov dword [ebp - 0x4c], 0x7c
inc eax
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
push eax
push esi
push dword [ebp + 8]
call fcn.00842e3c
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
jne 0x8928d9
xor al, al
jmp 0x892989
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x44]
push esi
push dword [ebp - 0x48]
call fcn.008278ad
push dword [ebp - 0x38]
lea ecx, [ebx + 0x10]
push esi
push dword [ebp - 0x3c]
call fcn.008278ad
push dword [ebp - 0x2c]
lea ecx, [ebx + 0x20]
push esi
push dword [ebp - 0x30]
call fcn.008278ad
push dword [ebp - 0x24]
lea ecx, [ebx + 0x30]
push esi
push dword [ebp - 0x28]
call fcn.008278ad
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x40]
push esi
push dword [ebp - 0x20]
call fcn.008278ad
push dword [ebp - 0x14]
lea esi, [ebx + 0x50]
push 0
push dword [ebp - 0x18]
mov ecx, esi
call fcn.008278ad
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x40]
call fcn.00878123
push eax
lea ecx, [ebx + 0x60]
call fcn.008281a7
lea ecx, [ebp - 0x10]
call fcn.00825a64
mov ax, word [ebp - 0x34]
mov word [ebx + 0x78], ax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x74], eax
dec eax
je 0x89297e
dec eax
je 0x892975
mov dword [ebx + 0x70], 3
jmp 0x892985
mov dword [ebx + 0x70], 2
jmp 0x892985
mov dword [ebx + 0x70], 1
pop edi
mov al, 1
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x892990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x8929cd
cmp byte [ebp + 8], 0
je 0x8929cd
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.00891a2e
push esi
push 0
push 0x892a60
call fcn.00845efc
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0x8929d5
push dword [ebp + 8]
call fcn.00891c02
pop esi
pop ebp
ret 4

Function at 0x897590
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
or edx, 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
mov ebx, eax
imul ebx, dword [ebp + 0x14]
push edi
mov edi, esi
lea eax, [esi + eax*4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
shl ebx, 2
shl eax, 2
mov dword [ebp + 0xc], eax
movzx eax, byte [esi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi + 1]
xor edx, dword [ecx*4 + 0x8d70b0]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi]
add esi, ebx
xor edx, dword [ecx*4 + 0x8d70b0]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x8d70b0]
cmp esi, dword [ebp + 8]
jb 0x897607
add edi, dword [ebp + 0xc]
mov esi, edi
cmp edi, dword [ebp + 0x10]
jb 0x8975c3
not edx
mov dword [ebp + 8], edx
fild dword [ebp + 8]
test edx, edx
jns 0x89761e
fadd qword [0x8dbac8]
pop edi
fstp qword [ebp - 8]
fld qword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x89762d
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 8]
mov edx, dword [esi]
cmp eax, edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 4]
setl bl
cmp ecx, edi
mov byte [ebp - 1], bl
setl bh
mov byte [ebp + 0xf], bh
test bl, bl
je 0x897660
mov dword [esi], eax
mov dword [esi + 8], edx
test bh, bh
je 0x89766a
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x104]
call fcn.00893c94
mov ecx, dword [ebp - 0x1c]
add dword [esi + 8], ecx
mov eax, dword [ebp - 0x18]
add dword [esi + 0xc], eax
add dword [esi], ecx
add dword [esi + 4], eax
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
sub edi, dword [esi]
sub ebx, dword [esi + 4]
inc edi
inc ebx
push 0
mov dword [ebp - 0xc], ebx
call dword [sym.imp.user32.dll_GetDC]
push ebx
push edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov dh, byte [ebp + 0xf]
mov ecx, ebx
mov dword [ebp - 0x14], eax
test dh, dh
je 0x8976db
neg ecx
mov dl, byte [ebp - 1]
mov eax, edi
test dl, dl
je 0x8976e6
neg eax
test dh, dh
je 0x8976ef
mov ebx, dword [esi + 0xc]
jmp 0x8976f2
mov ebx, dword [esi + 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0xc]
test dl, dl
je 0x897701
mov edx, dword [esi + 8]
jmp 0x897703
mov edx, dword [esi]
mov esi, dword [ebp - 0x10]
push 0xcc0020
push ecx
push eax
push dword [ebp + 0xc]
push edx
push dword [ebp - 8]
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.gdi32.dll_StretchBlt]
mov eax, ebx
mov dword [ebp - 0x48], 0x28
neg eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
xor ecx, ecx
push 0x20
xor eax, eax
mov dword [ebp - 0x38], ecx
inc eax
mov word [ebp - 0x3c], ax
pop eax
push ecx
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x48]
push eax
push ecx
push ecx
push ecx
push dword [ebp + 8]
push esi
mov esi, dword [sym.imp.gdi32.dll_GetDIBits]
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x34]
push ecx
mov dword [eax], ecx
call fcn.00840ff6
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp + 8]
push ebx
call esi
push dword [ebp - 0x14]
mov esi, eax
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
push dword [ebp + 8]
call dword [sym.imp.gdi32.dll_DeleteObject]
push ebx
call dword [sym.imp.gdi32.dll_DeleteDC]
push dword [ebp - 8]
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
test esi, esi
je 0x8977ac
mov eax, edi
jmp 0x8977b5
push edi
call fcn.0084106c
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x898131
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
and dword [ebx], 0
mov edi, ecx
mov dword [ebx + 4], eax
mov ecx, 0x3e8
mov eax, esi
inc dword [ebx]
cdq
idiv ecx
mov dword [ebp - 8], eax
imul eax, eax, 0x3e8
sub esi, eax
imul eax, esi, 0x3e8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
cmp byte [ebp + 0x14], al
je 0x89817a
push ebx
push eax
jmp 0x89817c
push eax
push ebx
push eax
call dword [sym.imp.wsock32.dll_select]
mov esi, eax
test esi, esi
jne 0x898196
cmp byte [ebp + 0x14], al
je 0x8981c2
push eax
push 0x274c
jmp 0x8981b6
jle 0x8981ad
push ebx
push dword [ebp + 8]
call dword [sym.imp.wsock32.dll___WSAFDIsSet]
test eax, eax
jne 0x8981c2
push 0xfffffffffffffffe
pop esi
push eax
push esi
jmp 0x8981b6
push 0
call dword [sym.imp.wsock32.dll_WSAGetLastError]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00876aa3
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10