joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8709d9
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
inc ebx
cmp dword [edi + 0x20], 0
jne 0x870a19
test byte [edi], 2
je 0x8709f6
cmp dword [edi + 8], 0
je 0x8709f6
mov al, bl
jmp 0x8709f8
xor al, al
test al, al
je 0x870a19
mov esi, dword [edi + 8]
push 0x3c
call fcn.0081fddb
pop ecx
push esi
mov ecx, eax
call fcn.0087011d
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.00870944
cmp dword [edi + 0x24], 0
jne 0x870a55
test byte [edi], 4
je 0x870a2a
cmp dword [edi + 0x10], 0
jne 0x870a2c
xor bl, bl
test bl, bl
je 0x870a55
test byte [edi], 8
jne 0x870a55
mov esi, dword [edi + 0x10]
push 0x3c
call fcn.0081fddb
pop ecx
push esi
mov ecx, eax
call fcn.0087011d
mov dword [edi + 0x24], eax
mov ecx, eax
pop edi
pop esi
pop ebx
jmp fcn.00870944
pop edi
pop esi
pop ebx
ret

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

Disassembly:
sub dword [0x8d06e0], 1
jne 0x871f6a
call fcn.00872046
mov eax, dword [0x8d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x8d2ff4], 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 0x871fa2
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x8d06e0], 1
jne 0x871fb5
call fcn.00872046
mov eax, dword [0x8d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x8d2ff4], 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 0x871ff8
fadd qword [0x8c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x8c8190]
leave
ret

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

Disassembly:
push esi
xor esi, esi
mov dword [0x8d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x8d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x8d2630], eax
inc edx
cmp edx, 0x270
jl 0x872012
mov dword [0x8d06e0], esi
mov dword [0x8d2ff0], esi
pop esi
ret
Function at 0x872046
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x8d2ff0], 0
push esi
push edi
mov esi, 0x8d2630
jne 0x872069
push 0
call fcn.0082e4e8
pop ecx
mov ecx, eax
call fcn.00872006
mov dword [0x8d06e0], 0x270
mov edx, 0xe3
mov dword [0x8d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x87207e
mov eax, dword [esi]
mov dword [ebp - 4], 0x18c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x8720b8
mov eax, dword [0x8d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret

Function at 0x872557
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 0x87257c
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00820e20
add esp, 0xc
jmp 0x87258f
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.0082e8c4
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 str.EA06
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.0082e980
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
leave
ret 4

Function at 0x872693
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, 0x10000
mov ecx, dword [esi + 0x464]
test ecx, ecx
je 0x8726a9
cmp ecx, eax
jne 0x8726c5
push dword [esi + 0x1c]
push eax
push 1
push dword [esi + 0x45c]
call fcn.0082e8c4
add esp, 0x10
xor ecx, ecx
mov dword [esi + 0x464], ecx
mov eax, dword [esi + 0x45c]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret

Function at 0x8726d7
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 + 0x460]
mov esi, dword [edi + 0x458]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x460]
cmp dword [edi + 0x460], eax
jne 0x87271e
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x458]
call fcn.0082dbb3
add esp, 0x10
and dword [edi + 0x460], 0
pop edi
pop esi
pop ebp
ret 4
Function at 0x872724
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x460]
test eax, eax
je 0x87274c
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.0082dbb3
add esp, 0x10
and dword [esi + 0x460], 0
pop esi
ret

Function at 0x8728fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 0xdc]
call fcn.0087274e
push dword [ebp + 8]
lea ecx, [ebp - 0xdc]
call fcn.00872792
xor esi, esi
test ebx, ebx
je 0x872942
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.008728d2
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0x87292d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x873d1e
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50000
call fcn.00841f50
push ebx
push edi
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 0x873dd4
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push str.___s
push eax
call fcn.0081fb21
lea eax, [ebp - 0x10004]
push eax
call fcn.00824963
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x10006], 0x5c
jne 0x873d97
cmp word [ebp + ebx*2 - 0x10008], 0x3a
je 0x873d97
xor eax, eax
mov word [ebp + ebx*2 - 0x10006], ax
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x873dac
cmp byte [ebp + 0x10], al
je 0x873dd4
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
jne 0x873ddc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
pop edi
pop ebx
leave
ret 0xc
push 0x2fffa
lea eax, [ebp - 0x50000]
push 0
push eax
call fcn.00822340
lea eax, [ebx + ebx]
mov dword [ebp - 0x50000], 0xa0000003
mov word [ebp - 0x4fff6], ax
add eax, 2
mov word [ebp - 0x4fff4], ax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
lea eax, [ebp - 0x4fff0]
push eax
call fcn.0082d2eb
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 0x873e6b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x873dcb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x873dd6
Function at 0x879642
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 0x8796dd
lea eax, [ebp - 0x22c]
push 0x89cc40
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x8796cb
lea eax, [ebp - 0x22c]
push 0x8c6b7c
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x8796cb
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 0x87978e
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x87966c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x879785
lea eax, [ebp - 0x258]
push eax
push 0x8c6b74
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x87977c
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x258], 0x10
je 0x87976a
lea eax, [ebp - 0x22c]
push 0x89cc40
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x87976a
lea eax, [ebp - 0x22c]
push 0x8c6b7c
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x87976a
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.00879642
test al, al
je 0x879799
push 0x8c6b7c
call edi
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x87970c
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x879787
xor ebx, ebx
jmp 0x87977e
Function at 0x87979d
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 0x879823
lea eax, [ebp - 0x22c]
push 0x89cc40
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x879811
lea eax, [ebp - 0x22c]
push 0x8c6b7c
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x879811
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x22c]
call fcn.0086dae5
pop ecx
test al, al
je 0x8798d4
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x8797c7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x8798cb
lea eax, [ebp - 0x258]
push eax
push 0x8c6b74
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x8798c2
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x258], 0x10
je 0x8798b0
lea eax, [ebp - 0x22c]
push 0x89cc40
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x8798b0
lea eax, [ebp - 0x22c]
push 0x8c6b7c
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x8798b0
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.0087979d
test al, al
je 0x8798df
push 0x8c6b7c
call edi
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x879852
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x8798cd
xor ebx, ebx
jmp 0x8798c4
Function at 0x879b2b
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 - 4], ecx
lea ecx, [ebp - 0x14]
call fcn.00809cb3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
push 0x8c6b74
mov dword [ebp - 0x18], eax
inc dword [eax]
call fcn.008033c6
lea eax, [ebp - 0x278]
mov bl, 1
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x879c8a
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
call fcn.00873874
cmp eax, 1
je 0x879c85
cmp eax, 0xb
jne 0x879bb0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x879b90
lea eax, [ebp - 0x24c]
push 0x89cc40
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x879c6b
lea eax, [ebp - 0x24c]
push 0x8c6b7c
push eax
call fcn.00825232
pop ecx
pop ecx
test eax, eax
je 0x879c6b
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.0080a8c7
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x14]
call fcn.008033c6
test byte [ebp - 0x278], 0x10
je 0x879c48
cmp byte [ebp + 0x18], 0
je 0x879c17
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x879c6b
push 0x89cb68
lea ecx, [ebp - 0x14]
call fcn.008033c6
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
push dword [ebp + 0x18]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00879b2b
mov bl, al
test bl, bl
je 0x879c87
jmp 0x879c6b
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 0x879c6b
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 0x879b90
jmp 0x879c87
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.0080988f
lea ecx, [ebp - 0x14]
call fcn.0080988f
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0x18
Function at 0x87c476
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [edi + 0x74], 4
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], eax
jne 0x87c498
or eax, 0x800000
mov dword [ebp - 4], eax
movzx eax, word [edi + 0x78]
xor ebx, ebx
push ebx
push ebx
push dword [edi + 0x70]
push dword [edi + 0x30]
push dword [edi + 0x20]
push eax
push dword [edi + 0x10]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi], eax
test eax, eax
jne 0x87c4e4
mov dword [esi + 0x18], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x87c4dd
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x87c603
push ebx
push dword [ebp - 4]
push ebx
push ebx
push ebx
push dword [edi + 0x60]
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x87c508
mov dword [esi + 0x18], 0xc
jmp 0x87c5dc
cmp byte [ebp + 0xc], bl
je 0x87c518
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0087d001
test dword [ebp - 4], 0x1000
je 0x87c54f
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
lea eax, [ebp + 0xc]
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp + 0xc], 0x100
lea eax, [ebp + 0xc]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x87c5d5
push edi
call fcn.0087c437
cmp eax, 0xc8
jne 0x87c5d5
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 edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push eax
call fcn.008262fb
pop ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp byte [ebp + 0x10], bl
je 0x87c5bd
mov ecx, esi
push edi
cmp byte [esi + 0x30], bl
je 0x87c5b4
call fcn.0087cf1a
jmp 0x87c5b9
call fcn.0087ce44
mov bl, al
jmp 0x87c5f6
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x87c5d1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
jmp 0x87c5f6
mov dword [esi + 0x18], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x87c5f6
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test edi, edi
je 0x87c601
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x87cd1e
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
inc ebx
push edi
mov edi, ecx
cmp eax, ebx
jne 0x87cd3b
movzx ecx, word [edi + 0x8c]
jmp 0x87cd3f
movzx ecx, word [edi + 0x58]
movzx edx, cx
mov ecx, dword [edi + 0xc0]
cmp dx, bx
jne 0x87cd55
xor esi, esi
push esi
push esi
push esi
push ebx
jmp 0x87cd7c
cmp dx, 2
jne 0x87cd76
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffcc
xor esi, esi
push esi
push str._local_
push dword [eax + edi + 0xb0]
push 3
jmp 0x87cd7c
xor esi, esi
push esi
push esi
push esi
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 4], eax
test eax, eax
jne 0x87cd8e
xor al, al
jmp 0x87cdae
cmp byte [edi + 0xdc], 0
je 0x87cdac
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
leave
ret 4

Function at 0x87ce44
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, ecx
push edi
push 0x8c6a94
push dword [esi + 0x34]
call fcn.0082e5eb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x87ce70
mov dword [esi + 0x18], 0x1f
jmp 0x87ceea
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x87cee3
cmp dword [ebp - 4], 0
je 0x87cebb
push edi
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x404]
push eax
call fcn.0082dbb3
mov eax, dword [ebp - 4]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x87ce76
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x87cecc
mov dword [esi + 0x18], 0x21
jmp 0x87ceea
and dword [esi + 0x18], 0
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x87cf06
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x87cf06
mov dword [esi + 0x18], 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x87cf04
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor bl, bl
test edi, edi
je 0x87cf11
push edi
call fcn.0082e678
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
Function at 0x87cf1a
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
inc eax
mov esi, ecx
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x87cf4d
mov eax, 0x400
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
je 0x87cfa5
test eax, eax
jne 0x87cf5a
mov edi, ebx
jmp 0x87cf66
push eax
call fcn.0081fe0b
mov edi, eax
mov eax, dword [ebp - 8]
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x87cfd2
cmp dword [ebp - 4], ebx
je 0x87cf9c
push dword [ebp - 4]
lea ecx, [esi + 0x44]
push edi
call fcn.0087d27e
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
adc dword [esi + 0xc], ebx
test eax, eax
je 0x87cfa5
mov eax, dword [ebp - 8]
jmp 0x87cf52
push ebx
push edi
call fcn.0081fdcd
pop ecx
pop ecx
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x87cfe4
mov dword [esi + 0x18], 0x21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x87cfce
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x87cffa
push ebx
push edi
call fcn.0081fdcd
pop ecx
pop ecx
mov dword [esi + 0x18], 0x20
jmp 0x87cfb4
mov dword [esi + 0x18], ebx
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x87cff8
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x87d0f4
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push 0x3c
xor esi, esi
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00822340
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.00824963
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x87d14b
xor al, al
jmp 0x87d203
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x44]
push esi
push dword [ebp - 0x48]
call fcn.00806e90
push dword [ebp - 0x38]
lea ecx, [ebx + 0x10]
push esi
push dword [ebp - 0x3c]
call fcn.00806e90
push dword [ebp - 0x2c]
lea ecx, [ebx + 0x20]
push esi
push dword [ebp - 0x30]
call fcn.00806e90
push dword [ebp - 0x24]
lea ecx, [ebx + 0x30]
push esi
push dword [ebp - 0x28]
call fcn.00806e90
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x40]
push esi
push dword [ebp - 0x20]
call fcn.00806e90
push dword [ebp - 0x14]
lea esi, [ebx + 0x50]
push 0
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00806e90
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x40]
call fcn.00804a88
lea ecx, [ebx + 0x60]
cmp ecx, eax
je 0x87d1c6
push eax
call fcn.0080a8c7
lea ecx, [ebp - 0x10]
call fcn.0080988f
mov ax, word [ebp - 0x34]
mov word [ebx + 0x78], ax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x74], eax
sub eax, 1
je 0x87d1f8
sub eax, 1
je 0x87d1ef
mov dword [ebx + 0x70], 3
jmp 0x87d1ff
mov dword [ebx + 0x70], 2
jmp 0x87d1ff
mov dword [ebx + 0x70], 1
pop edi
mov al, 1
pop ebx
pop esi
leave
ret 8

Function at 0x87d208
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x87d244
cmp byte [ebp + 8], 0
je 0x87d244
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.0087c118
push esi
push 0
push 0x87d2d8
call fcn.0082d1cc
add esp, 0xc
cmp dword [esi + 0x18], 0
sete al
jmp 0x87d24c
push dword [ebp + 8]
call fcn.0087c364
pop esi
pop ebp
ret 4
Function at 0x8824c1
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 + 0x8c3640]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi]
add esi, ebx
xor edx, dword [ecx*4 + 0x8c3640]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x8c3640]
cmp esi, dword [ebp + 8]
jb 0x882538
add edi, dword [ebp + 0xc]
mov esi, edi
cmp edi, dword [ebp + 0x10]
jb 0x8824f4
not edx
mov dword [ebp + 8], edx
fild dword [ebp + 8]
test edx, edx
jns 0x88254f
fadd qword [0x8c81c0]
pop edi
fstp qword [ebp - 8]
fld qword [ebp - 8]
pop esi
pop ebx
leave
ret 0x10