joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9c7
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 0x41ea4c
lea eax, [ebp - 0x22c]
push 0x4708f8
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x41ea3a
lea eax, [ebp - 0x22c]
push 0x47373c
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x41ea3a
push dword [ebp + 0x10]
lea eax, [ebp - 0x22c]
push dword [ebp + 0xc]
push eax
call fcn.0040e431
add esp, 0xc
test al, al
je 0x41ea64
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41e9f1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x41ea6f
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 0x41ea5d
lea eax, [ebp - 0x258]
push eax
push 0x473734
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x41eafb
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [ebp - 0x258], 0x10
je 0x41eae7
lea eax, [ebp - 0x22c]
push 0x4708f8
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x41eae7
mov ebx, 0x47373c
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x41eae7
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.0041e9c7
test al, al
je 0x41eaff
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 0x41ea8b
mov bl, 1
jmp 0x41eb01
xor bl, bl
push dword [ebp - 4]
call edi
jmp 0x41ea5b
Function at 0x4201a1
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.0045710b
lea eax, [ebp - 0x208]
push eax
call fcn.00455031
add esp, 0x10
cmp word [ebp + eax*2 - 0x20a], 0x5c
jne 0x420207
lea eax, [ebp - 0x208]
push eax
call fcn.00455031
cmp word [ebp + eax*2 - 0x20c], 0x3a
pop ecx
je 0x420207
lea eax, [ebp - 0x208]
push eax
call fcn.00455031
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 0x42021f
cmp byte [ebp + 8], bl
je 0x4202eb
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 0x4202d6
push 0x14
lea eax, [ebp - 0x820]
push ebx
push eax
call fcn.00456db0
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x820], 0xa0000003
call fcn.00455031
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.00456e2a
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 0x4202e1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
jmp 0x4202ea
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 8
Function at 0x420f10
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 0x420f9d
lea eax, [esp + 0x44]
push 0x4708f8
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x420f8d
lea eax, [esp + 0x44]
push 0x47373c
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x420f8d
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 0x420fb7
mov bl, 1
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x420f3c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x420fc2
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 0x420fae
lea eax, [esp + 0x18]
push eax
push 0x473734
call esi
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x421045
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x18], 0x10
je 0x421032
lea eax, [esp + 0x44]
push 0x4708f8
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x421032
mov ebx, 0x47373c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x421032
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.00420f10
test al, al
je 0x421049
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 0x420fdd
mov bl, 1
jmp 0x42104b
xor bl, bl
push dword [esp + 0x10]
call edi
jmp 0x420fac
Function at 0x421a99
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 0x473734
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 0x421bf9
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.0041720c
cmp eax, 1
je 0x421bf5
cmp eax, 0xb
jne 0x421b1d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x421afd
lea eax, [ebp - 0x24c]
push 0x4708f8
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x421bdb
lea eax, [ebp - 0x24c]
push 0x47373c
push eax
call fcn.00456fac
pop ecx
pop ecx
test eax, eax
je 0x421bdb
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x10]
call fcn.00401b5f
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebp - 0x10]
call fcn.00401a27
test byte [ebp - 0x278], 0x10
je 0x421bb5
cmp byte [ebp + 0x18], 0
je 0x421b83
add dword [edi], 1
adc dword [edi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x421bdb
push 0x46e4c0
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.00421a99
mov byte [ebp + 0xb], al
test al, al
je 0x421bf9
jmp 0x421bdb
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 0x421bdb
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 0x421afd
jmp 0x421bf9
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 0x4245d0
Capabilities:
Connect to http server
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [esi + 0xd0], bl
je 0x424627
cmp byte [ebp + 8], bl
je 0x424627
mov eax, dword [esi + 0xd4]
cmp eax, ebx
je 0x4245fa
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 0x4246dd
mov dword [esi + 0xd4], eax
call fcn.00459084
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.004246ec
Function at 0x42496f
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 0x424987
movzx eax, word [esi + 0x8c]
jmp 0x42498b
movzx eax, word [esi + 0x58]
movsx edx, ax
lea ecx, [esi + 0xb0]
cmp dword [ebp + 8], edi
je 0x42499c
lea ecx, [esi + 0x7c]
mov eax, dword [esi + 0xc0]
xor ebx, ebx
push ebx
cmp edx, edi
jne 0x4249ae
push ebx
push ebx
push edi
jmp 0x4249c2
cmp edx, 2
jne 0x4249bf
mov ecx, dword [ecx]
push str._local_
push ecx
push 3
jmp 0x4249c2
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x4249d4
xor al, al
jmp 0x4249f3
cmp byte [esi + 0xdc], bl
je 0x4249f1
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 0x4249f9
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.00456db0
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.00455031
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x424a51
xor al, al
jmp 0x424afb
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
push edi
mov ecx, esi
call fcn.00407db9
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
push edi
lea ecx, [esi + 0x10]
call fcn.00407db9
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
push edi
lea ecx, [esi + 0x20]
call fcn.00407db9
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
push edi
lea ecx, [esi + 0x30]
call fcn.00407db9
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
lea ecx, [esi + 0x40]
push edi
call fcn.00407db9
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
lea ecx, [esi + 0x50]
push edi
call fcn.00407db9
lea ebx, [esi + 0x50]
lea eax, [ebp - 0x14]
lea edi, [esi + 0x40]
call fcn.0040412b
lea ecx, [esi + 0x60]
cmp ecx, eax
je 0x424ac4
call fcn.00401b5f
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 0x424af2
dec eax
je 0x424ae9
mov dword [esi + 0x70], 3
jmp 0x424af9
mov dword [esi + 0x70], 2
jmp 0x424af9
mov dword [esi + 0x70], 1
mov al, 1
pop edi
pop ebx
leave
ret 4
Function at 0x424bee
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 0x424c0e
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 0x424c5f
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 0x424d7d
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x424d7d
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 0x424c82
mov dword [esi + 0x18], 0xc
jmp 0x424c3c
cmp byte [ebp + 8], bl
je 0x424c91
push eax
mov eax, edi
mov ecx, esi
call fcn.00424b01
test dword [ebp - 4], 0x1000
je 0x424cca
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 0x424d53
mov edi, dword [ebp - 0xc]
push edi
call fcn.00424b51
cmp eax, 0xc8
jne 0x424d53
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.0045700b
pop ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp byte [ebp + 0xc], bl
je 0x424d34
push edi
mov eax, esi
call fcn.00424e9d
push edi
mov bl, al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
jmp 0x424d7f
mov dword [esi + 0x18], ebx
mov esi, dword [esi + 0xd4]
cmp esi, ebx
je 0x424d48
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
jmp 0x424d7f
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 0x424d74
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 0x424e9d
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 0x424ebc
push dword [ebp + 8]
call fcn.00424fad
jmp 0x424fa8
mov eax, dword [esi + 0x34]
push 0x470da8
push eax
call fcn.00458832
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x424efb
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 0x424ef4
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x424fa8
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 0x424f5b
cmp dword [ebp - 8], 0
je 0x424f4a
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 1
push dword [ebp - 8]
push eax
call fcn.00458126
mov eax, dword [ebp - 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x424f02
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x424f88
mov dword [esi + 0x18], 0x21
jmp 0x424f62
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 0x424f7c
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x10]
call fcn.004588b6
xor al, al
jmp 0x424fa7
and dword [esi + 0x18], 0
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x424f9d
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x10]
call fcn.004588b6
mov al, 1
pop ecx
pop esi
leave
ret 4
Function at 0x424fad
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 0x424fde
mov dword [ebp - 4], 0x400
cmp dword [ebp - 0xc], ebx
je 0x4250af
cmp dword [ebp - 4], ebx
ja 0x424ff1
mov dword [ebp - 8], ebx
jmp 0x424ffd
push dword [ebp - 4]
call fcn.00455447
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 0x425078
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4250a6
mov dword [ebp - 0x10], eax
lea esi, [edi + 0x44]
cmp dword [ebp - 8], ebx
je 0x425068
cmp eax, ebx
jbe 0x425068
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ebx, [ebp - 0x18]
call fcn.0042596e
push 0
call fcn.0045504c
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 0x424fe7
jmp 0x4250af
push dword [ebp - 8]
call fcn.0045504c
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 0x4250a2
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x4250d6
push dword [ebp - 8]
call fcn.0045504c
pop ecx
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4250c0
mov dword [edi + 0x18], 0x21
jmp 0x425088
mov dword [edi + 0x18], ebx
mov edi, dword [edi + 0xd4]
cmp edi, ebx
je 0x4250d4
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x427a6c
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 + 0x47abd8]
mov edi, eax
and edi, esi
xor edi, ebx
movzx ebx, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x47abd8]
add edx, ecx
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x47abd8]
mov edi, dword [ebp + 8]
cmp edx, dword [ebp - 4]
jb 0x427aeb
add edi, dword [ebp - 8]
mov dword [ebp + 8], edi
mov edx, edi
cmp edi, dword [ebp - 0xc]
jb 0x427a9e
not eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
test eax, eax
jns 0x427b02
fadd qword [0x475bd0]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x427b09
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 0x427b37
mov dword [edi], eax
mov dword [edi + 8], esi
cmp byte [ebp - 1], bl
je 0x427b44
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.0042b413
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 0x427bbb
neg eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp byte [ebp - 2], bl
je 0x427bc8
neg ecx
cmp byte [ebp - 1], bl
je 0x427bd2
mov eax, dword [edi + 0xc]
jmp 0x427bd5
mov eax, dword [edi + 4]
cmp byte [ebp - 2], bl
je 0x427bdf
mov edi, dword [edi + 8]
jmp 0x427be1
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.00455447
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 0x427c92
mov eax, dword [ebp + 8]
jmp 0x427c9d
push dword [ebp + 8]
call fcn.0045504c
pop ecx
xor eax, eax
leave
ret 0xc
Function at 0x42bb50
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.00407c62
mov eax, esi
push eax
mov eax, dword [ebp + 8]
call fcn.0040d250
push dword [ebp - 0x14]
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 4], eax
call fcn.00407c81
cmp dword [ebp - 4], 0xffffffff
jne 0x42bbb0
mov esi, dword [ebp + 8]
push 0x473ef0
call fcn.00404a4a
pop ecx
test al, al
jne 0x42bbb0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
lea eax, [esi + ebx + 4]
call fcn.00418902
mov dword [eax + 0x14], 1
jmp 0x42bbe8
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x42bbd3
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [edi + 2], ax
mov al, 1
jmp 0x42bbf7
mov eax, dword [ebx]
mov esi, dword [eax + 4]
lea eax, [esi + ebx + 4]
call fcn.00418902
mov dword [eax + 0x14], 2
lea eax, [esi + ebx + 4]
call fcn.00418902
mov byte [eax + 0x18], 0
xor al, al
pop esi
leave
ret 8