joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eb67
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edi
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ecx
xor bl, bl
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x41ebec
lea eax, [ebp - 0x22c]
push 0x4708e8
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x41ebda
lea eax, [ebp - 0x22c]
push 0x47372c
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x41ebda
push dword [ebp + 0x10]
lea eax, [ebp - 0x22c]
push dword [ebp + 0xc]
push eax
call fcn.0040e409
add esp, 0xc
test al, al
je 0x41ec04
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41eb91
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x41ec0f
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x41ebfd
lea eax, [ebp - 0x258]
push eax
push 0x473724
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x41ec9b
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [ebp - 0x258], 0x10
je 0x41ec87
lea eax, [ebp - 0x22c]
push 0x4708e8
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x41ec87
mov ebx, 0x47372c
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x41ec87
lea eax, [ebp - 0x22c]
push eax
call esi
push dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041eb67
test al, al
je 0x41ec9f
push ebx
call esi
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ec2b
mov bl, 1
jmp 0x41eca1
xor bl, bl
push dword [ebp - 4]
call edi
jmp 0x41ebfb
Function at 0x42038b
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push str.___s
push eax
call fcn.0045732b
lea eax, [ebp - 0x208]
push eax
call fcn.00455251
add esp, 0x10
cmp word [ebp + eax*2 - 0x20a], 0x5c
jne 0x4203f1
lea eax, [ebp - 0x208]
push eax
call fcn.00455251
cmp word [ebp + eax*2 - 0x20c], 0x3a
pop ecx
je 0x4203f1
lea eax, [ebp - 0x208]
push eax
call fcn.00455251
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x20a], cx
push ebx
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420409
cmp byte [ebp + 8], bl
je 0x4204d5
push esi
push ebx
push 0x2200000
push 3
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c0
push 0x14
lea eax, [ebp - 0x820]
push ebx
push eax
call fcn.00456fd0
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x820], 0xa0000003
call fcn.00455251
add eax, eax
mov word [ebp - 0x816], ax
mov eax, dword [ebp - 0x816]
add eax, 2
mov word [ebp - 0x814], ax
push 0x104
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0045704a
mov eax, dword [ebp - 0x816]
add esp, 0x1c
push ebx
add eax, 0xc
mov word [ebp - 0x81c], ax
lea ecx, [ebp + 0xc]
push ecx
push ebx
movzx eax, ax
push ebx
add eax, 8
push eax
lea eax, [ebp - 0x820]
push eax
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
test eax, eax
jne 0x4204cb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
jmp 0x4204d4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 8
Function at 0x4210fa
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edi
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
mov dword [esp + 0x1c], ecx
xor bl, bl
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x421187
lea eax, [esp + 0x44]
push 0x4708e8
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x421177
lea eax, [esp + 0x44]
push 0x47372c
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x421177
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
not ecx
and eax, ecx
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4211a1
mov bl, 1
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421126
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x4211ac
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x421198
lea eax, [esp + 0x18]
push eax
push 0x473724
call esi
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x42122f
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x18], 0x10
je 0x42121c
lea eax, [esp + 0x44]
push 0x4708e8
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x42121c
mov ebx, 0x47372c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x42121c
lea eax, [esp + 0x44]
push eax
call esi
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004210fa
test al, al
je 0x421233
push ebx
call esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4211c7
mov bl, 1
jmp 0x421235
xor bl, bl
push dword [esp + 0x10]
call edi
jmp 0x421196
Function at 0x421c83
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]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call fcn.00401983
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
inc dword [eax]
push 0x473724
mov dword [ebp - 0x1c], eax
call fcn.00401a27
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x10]
mov byte [ebp + 0xb], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x421de3
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.004173ac
cmp eax, 1
je 0x421ddf
cmp eax, 0xb
jne 0x421d07
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x421ce7
lea eax, [ebp - 0x24c]
push 0x4708e8
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x421dc5
lea eax, [ebp - 0x24c]
push 0x47372c
push eax
call fcn.004571cc
pop ecx
pop ecx
test eax, eax
je 0x421dc5
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x10]
call fcn.00401b3c
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebp - 0x10]
call fcn.00401a27
test byte [ebp - 0x278], 0x10
je 0x421d9f
cmp byte [ebp + 0x18], 0
je 0x421d6d
add dword [edi], 1
adc dword [edi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x421dc5
push 0x46e4b0
lea esi, [ebp - 0x10]
call fcn.00401a27
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x18]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00421c83
mov byte [ebp + 0xb], al
test al, al
je 0x421de3
jmp 0x421dc5
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
or ecx, dword [ebp - 0x258]
xor esi, esi
or edx, esi
add dword [eax], ecx
adc dword [eax + 4], edx
cmp byte [ebp + 0x18], 0
je 0x421dc5
add dword [ebx], 1
adc dword [ebx + 4], esi
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421ce7
jmp 0x421de3
mov byte [ebp + 0xb], 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00401a04
lea ecx, [ebp - 0x10]
call fcn.00401a04
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x4247ba
Capabilities:
Connect to http server
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [esi + 0xd0], bl
je 0x424811
cmp byte [ebp + 8], bl
je 0x424811
mov eax, dword [esi + 0xd4]
cmp eax, ebx
je 0x4247e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xd4], ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push ebx
push 0x4248c7
mov dword [esi + 0xd4], eax
call fcn.004592a4
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], ebx
sete al
pop ebx
pop ebp
ret 4
pop ebx
mov eax, esi
pop ebp
jmp fcn.004248d6
Function at 0x424b59
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
inc edi
cmp dword [ebp + 8], edi
jne 0x424b71
movzx eax, word [esi + 0x8c]
jmp 0x424b75
movzx eax, word [esi + 0x58]
movsx edx, ax
lea ecx, [esi + 0xb0]
cmp dword [ebp + 8], edi
je 0x424b86
lea ecx, [esi + 0x7c]
mov eax, dword [esi + 0xc0]
xor ebx, ebx
push ebx
cmp edx, edi
jne 0x424b98
push ebx
push ebx
push edi
jmp 0x424bac
cmp edx, 2
jne 0x424ba9
mov ecx, dword [ecx]
push str._local_
push ecx
push 3
jmp 0x424bac
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x424bbe
xor al, al
jmp 0x424bdd
cmp byte [esi + 0xdc], bl
je 0x424bdb
push 8
lea eax, [ebp - 8]
push eax
push 0x32
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, 1
pop edi
pop ebx
leave
ret 4

Function at 0x424be3
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
push 0x38
xor edi, edi
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.00456fd0
xor eax, eax
inc eax
add esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x50]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x50], 0x7c
call fcn.00455251
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x424c3b
xor al, al
jmp 0x424ce5
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
push edi
mov ecx, esi
call fcn.00407daf
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
push edi
lea ecx, [esi + 0x10]
call fcn.00407daf
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
push edi
lea ecx, [esi + 0x20]
call fcn.00407daf
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
push edi
lea ecx, [esi + 0x30]
call fcn.00407daf
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
lea ecx, [esi + 0x40]
push edi
call fcn.00407daf
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
lea ecx, [esi + 0x50]
push edi
call fcn.00407daf
lea ebx, [esi + 0x50]
lea eax, [ebp - 0x14]
lea edi, [esi + 0x40]
call fcn.00404108
lea ecx, [esi + 0x60]
cmp ecx, eax
je 0x424cae
call fcn.00401b3c
lea ecx, [ebp - 0x14]
call fcn.00401a04
mov ax, word [ebp - 0x38]
mov word [esi + 0x78], ax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x74], eax
dec eax
je 0x424cdc
dec eax
je 0x424cd3
mov dword [esi + 0x70], 3
jmp 0x424ce3
mov dword [esi + 0x70], 2
jmp 0x424ce3
mov dword [esi + 0x70], 1
mov al, 1
pop edi
pop ebx
leave
ret 4
Function at 0x424dd8
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x74], 4
mov esi, ecx
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], eax
jne 0x424df8
or dword [ebp - 4], 0x800000
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x10]
xor ebx, ebx
push ebx
push ebx
push dword [edi + 0x70]
push eax
movzx eax, word [edi + 0x78]
push ecx
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi], eax
cmp eax, ebx
jne 0x424e49
mov dword [esi + 0x18], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
cmp esi, ebx
je 0x424f67
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x424f67
mov ecx, dword [edi + 0x60]
push ebx
push dword [ebp - 4]
push ebx
push ebx
push ebx
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x424e6c
mov dword [esi + 0x18], 0xc
jmp 0x424e26
cmp byte [ebp + 8], bl
je 0x424e7b
push eax
mov eax, edi
mov ecx, esi
call fcn.00424ceb
test dword [ebp - 4], 0x1000
je 0x424eb4
push 4
pop edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x1f
push dword [ebp - 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp + 8], 0x100
push edi
lea eax, [ebp + 8]
push eax
push 0x1f
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x424f3d
mov edi, dword [ebp - 0xc]
push edi
call fcn.00424d3b
cmp eax, 0xc8
jne 0x424f3d
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 5
push edi
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x2c]
push eax
call fcn.0045722b
pop ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp byte [ebp + 0xc], bl
je 0x424f1e
push edi
mov eax, esi
call fcn.00425087
push edi
mov bl, al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
jmp 0x424f69
mov dword [esi + 0x18], ebx
mov esi, dword [esi + 0xd4]
cmp esi, ebx
je 0x424f32
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
jmp 0x424f69
mov dword [esi + 0x18], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
cmp esi, ebx
je 0x424f5e
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x425087
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, 0x418
push esi
mov esi, eax
cmp byte [esi + 0x30], 0
je 0x4250a6
push dword [ebp + 8]
call fcn.00425197
jmp 0x425192
mov eax, dword [esi + 0x34]
push 0x470d98
push eax
call fcn.00458a52
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4250e5
mov dword [esi + 0x18], 0x1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x4250de
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x425192
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x425145
cmp dword [ebp - 8], 0
je 0x425134
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 1
push dword [ebp - 8]
push eax
call fcn.00458346
mov eax, dword [ebp - 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4250ec
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x425172
mov dword [esi + 0x18], 0x21
jmp 0x42514c
mov dword [esi + 0x18], 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425166
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x10]
call fcn.00458ad6
xor al, al
jmp 0x425191
and dword [esi + 0x18], 0
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425187
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x10]
call fcn.00458ad6
mov al, 1
pop ecx
pop esi
leave
ret 4
Function at 0x425197
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
inc eax
xor ebx, ebx
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [ebp - 4], ebx
jne 0x4251c8
mov dword [ebp - 4], 0x400
cmp dword [ebp - 0xc], ebx
je 0x425299
cmp dword [ebp - 4], ebx
ja 0x4251db
mov dword [ebp - 8], ebx
jmp 0x4251e7
push dword [ebp - 4]
call fcn.00455667
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
je 0x425262
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x425290
mov dword [ebp - 0x10], eax
lea esi, [edi + 0x44]
cmp dword [ebp - 8], ebx
je 0x425252
cmp eax, ebx
jbe 0x425252
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ebx, [ebp - 0x18]
call fcn.00425b58
push 0
call fcn.0045526c
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
xor ebx, ebx
add dword [edi + 8], eax
adc dword [edi + 0xc], ebx
cmp eax, ebx
jne 0x4251d1
jmp 0x425299
push dword [ebp - 8]
call fcn.0045526c
pop ecx
mov dword [edi + 0x18], 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x1c], eax
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x42528c
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x4252c0
push dword [ebp - 8]
call fcn.0045526c
pop ecx
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4252aa
mov dword [edi + 0x18], 0x21
jmp 0x425272
mov dword [edi + 0x18], ebx
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x4252be
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x427c56
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
add ecx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov esi, eax
mov ecx, edi
imul ecx, esi
or eax, 0xffffffff
shl ecx, 2
shl esi, 2
lea edi, [edx + edi*4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edx
mov esi, 0xff
movzx ebx, byte [edx + 2]
mov edi, eax
and edi, esi
xor edi, ebx
movzx ebx, byte [edx + 1]
shr eax, 8
xor eax, dword [edi*4 + 0x47abe8]
mov edi, eax
and edi, esi
xor edi, ebx
movzx ebx, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x47abe8]
add edx, ecx
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x47abe8]
mov edi, dword [ebp + 8]
cmp edx, dword [ebp - 4]
jb 0x427cd5
add edi, dword [ebp - 8]
mov dword [ebp + 8], edi
mov edx, edi
cmp edi, dword [ebp - 0xc]
jb 0x427c88
not eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
test eax, eax
jns 0x427cec
fadd qword [0x475bc0]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x427cf3
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, dword [edi]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
cmp eax, esi
setl byte [ebp - 2]
cmp ecx, edx
setl byte [ebp - 1]
xor ebx, ebx
cmp byte [ebp - 2], bl
je 0x427d21
mov dword [edi], eax
mov dword [edi + 8], esi
cmp byte [ebp - 1], bl
je 0x427d2e
mov eax, edx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x104]
lea esi, [ebp - 0x20]
call fcn.0042b5ff
mov eax, dword [ebp - 0x20]
add dword [edi], eax
mov ecx, dword [ebp - 0x1c]
add dword [edi + 8], eax
add dword [edi + 4], ecx
add dword [edi + 0xc], ecx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
sub eax, dword [edi]
sub ecx, dword [edi + 4]
inc eax
inc ecx
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp - 8], eax
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp byte [ebp - 1], bl
je 0x427da5
neg eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp byte [ebp - 2], bl
je 0x427db2
neg ecx
cmp byte [ebp - 1], bl
je 0x427dbc
mov eax, dword [edi + 0xc]
jmp 0x427dbf
mov eax, dword [edi + 4]
cmp byte [ebp - 2], bl
je 0x427dc9
mov edi, dword [edi + 8]
jmp 0x427dcb
mov edi, dword [edi]
push 0xcc0020
push dword [ebp - 0x14]
push ecx
push eax
push edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.GDI32.dll_GetDIBits]
neg eax
mov dword [ebp - 0x44], eax
push 0x20
xor eax, eax
inc eax
mov word [ebp - 0x40], ax
pop eax
push ebx
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x4c], 0x28
push dword [ebp - 8]
mov dword [ebp - 0x3c], ebx
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ecx], eax
call fcn.00455667
pop ecx
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call edi
push dword [ebp - 0x18]
mov edi, eax
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, ebx
pop edi
pop esi
pop ebx
je 0x427e7c
mov eax, dword [ebp + 8]
jmp 0x427e87
push dword [ebp + 8]
call fcn.0045526c
pop ecx
xor eax, eax
leave
ret 0xc
Function at 0x42bd3c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 2
pop eax
lea esi, [ebp - 0x14]
mov word [edi], ax
call fcn.00407c35
mov eax, esi
push eax
mov eax, dword [ebp + 8]
call fcn.0040d228
push dword [ebp - 0x14]
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 4], eax
call fcn.00407c54
cmp dword [ebp - 4], 0xffffffff
jne 0x42bd9c
mov esi, dword [ebp + 8]
push 0x473ee0
call fcn.004048df
pop ecx
test al, al
jne 0x42bd9c
mov eax, dword [ebx]
mov esi, dword [eax + 4]
lea eax, [esi + ebx + 4]
call fcn.00418aa2
mov dword [eax + 0x14], 1
jmp 0x42bdd4
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x42bdbf
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [edi + 2], ax
mov al, 1
jmp 0x42bde3
mov eax, dword [ebx]
mov esi, dword [eax + 4]
lea eax, [esi + ebx + 4]
call fcn.00418aa2
mov dword [eax + 0x14], 2
lea eax, [esi + ebx + 4]
call fcn.00418aa2
mov byte [eax + 0x18], 0
xor al, al
pop esi
leave
ret 8