joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443ff0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00443d40
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x444023
mov eax, 7
jmp 0x444108
mov ecx, 1
test ecx, ecx
je 0x44407a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x444058
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
jne 0x444078
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 5
jge 0x444078
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
test edx, edx
jne 0x44402c
jmp 0x4440c6
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4440a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
jne 0x4440c6
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 5
jge 0x4440c6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
test eax, eax
jne 0x44407a
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041a6e9
add esp, 4
cmp dword [ebp - 4], 0xffffffff
jne 0x4440e7
cmp dword [ebp - 0x10], 2
jne 0x4440e7
mov dword [ebp - 0x14], 0
jmp 0x444105
push 0x83f6
mov edx, dword [ebp + 0xc]
push edx
push str.winDelete
push 0xa0a
call fcn.00442410
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4443d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x120], 0x200
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00444240
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44454d
lea eax, [ebp - 0x118]
push eax
call fcn.00443d40
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x44453d
mov ecx, 1
test ecx, ecx
je 0x4444bd
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
jmp 0x444465
mov eax, dword [ebp - 0x128]
add eax, 2
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
movzx edx, word [ecx]
test edx, edx
je 0x44448f
mov eax, dword [ebp - 0x128]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x44448d
xor edx, edx
mov eax, dword [ebp - 0x128]
mov word [eax], dx
jmp 0x44448f
jmp 0x444456
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 4], eax
jmp 0x44452e
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
jmp 0x4444da
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
movsx eax, byte [edx]
test eax, eax
je 0x444502
mov ecx, dword [ebp - 0x12c]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x444500
mov eax, dword [ebp - 0x12c]
mov byte [eax], 0
jmp 0x444502
jmp 0x4444cb
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x124]
push eax
call fcn.0041a6e9
add esp, 4
cmp dword [ebp - 4], 0
jne 0x44454d
mov dword [ebp - 0x120], 0x200
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret

Function at 0x444800
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0x24
push 0
push 0x51c6c0
call fcn.0041de10
add esp, 0xc
push 0x51c6c0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 1
push 0x50fc10
call fcn.0043ed10
add esp, 8
xor eax, eax
pop ebp
ret
Function at 0x481b10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x481b21
xor eax, eax
jmp 0x481c9e
push 0x50
mov eax, dword [ebp + 8]
push eax
call fcn.0043fb40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x481b3f
xor eax, eax
jmp 0x481c9e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004819b0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00481cb0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00481570
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004819b0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00481570
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004819b0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 4]
mov byte [edx + 4], cl
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00481b10
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00481570
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00481570
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
and edx, 0xfffffff7
mov eax, dword [ebp - 4]
mov word [eax + 6], dx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], 0xffffffff
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4a77d0
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 4], 0
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.004b7dc1
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.004b7daf
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
call fcn.004b7dc1
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.004b7daf
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
push 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
call fcn.004b7dc1
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
call fcn.004b7daf
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov edx, dword [ebp + 8]
mov dword [edx + 8], esi
push 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004b7dc1
add esp, 8
mov esi, eax
and esi, 0xff00ff
push 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
call fcn.004b7daf
add esp, 8
and eax, 0xff00ff00
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
mov eax, dword [ebp + 8]
xor edx, dword [eax]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x4eae88]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 8]
xor ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xa
jne 0x4a797a
jmp 0x4a7988
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp + 8], edx
jmp 0x4a78b7
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c46a0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], edx
push 0
push 0x4f23c8
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4c4801
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4c4801
cmp dword [ebp - 0x10], 0
jle 0x4c4773
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x1c]
jl 0x4c4773
cmp dword [ebp - 0x14], 0
jg 0x4c4773
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x18]
jl 0x4c4773
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0xc]
jge 0x4c475c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
jmp 0x4c4765
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
jmp 0x4c4801
cmp dword [ebp - 0x10], 0
jg 0x4c479a
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x1c]
jge 0x4c479a
cmp dword [ebp - 0x14], 0
jg 0x4c479a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x18]
jl 0x4c479a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
jmp 0x4c4801
cmp dword [ebp - 0x14], 0
jg 0x4c47c0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jl 0x4c47c0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jge 0x4c47c0
cmp dword [ebp - 0x10], 0
jg 0x4c47c0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4c4801
cmp dword [ebp - 0x10], 0
jg 0x4c4801
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jl 0x4c4801
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x1c]
jl 0x4c4801
cmp dword [ebp - 0x14], 0
jle 0x4c4801
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 8]
jge 0x4c47ef
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jmp 0x4c47f8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 8], eax
mov esp, ebp
pop ebp
ret
Function at 0x4c9070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push 0x4f4b90
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x4c90c1
xor al, al
jmp 0x4c9142
xor ecx, ecx
mov word [ebp - 0x810], cx
push 0x7fe
push 0
lea edx, [ebp - 0x80e]
push edx
call fcn.0041de10
add esp, 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x800
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x4f4bb8
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x818]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 0
je 0x4c9131
xor al, al
jmp 0x4c9142
lea edx, [ebp - 0x810]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d3670
mov al, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret

Function at 0x4c9150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0x14], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0041de10
add esp, 0xc
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
push 0x4f4b58
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c91b1
xor al, al
jmp 0x4c9207
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x200
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x4f4b80
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x4c91f6
xor al, al
jmp 0x4c9207
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d3670
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret
Function at 0x4c9970
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0x20000013
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4c99a7
xor al, al
jmp 0x4c9a1e
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0xc8
jne 0x4c99b6
mov al, 1
jmp 0x4c9a1e
mov edx, dword [ebp + 0x18]
cmp dword [edx], 0x12c
jb 0x4c9a13
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0x190
jae 0x4c9a13
mov dword [ebp - 8], 0
jmp 0x4c99de
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 5
jge 0x4c9a13
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c93a0
add esp, 0x1c
movzx eax, al
test eax, eax
jne 0x4c9a11
jmp 0x4c9a13
jmp 0x4c99d5
mov ecx, dword [ebp + 0x1c]
xor eax, eax
cmp dword [ecx], 0
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4c9e40
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc324
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 1
push 0
lea ecx, [ebp - 0x134]
call fcn.00406670
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
push 0
lea ecx, [ebp - 0x134]
call fcn.004067d0
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x13c], 0
jbe 0x4c9ef9
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x10], ecx
push 0x4000
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x134]
call fcn.004067d0
mov dword [ebp - 0x138], eax
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4c9ef9
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x13c]
mov dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], 0
jg 0x4c9ef9
jmp 0x4c9f27
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c9f27
cmp dword [ebp - 0x13c], 0
ja 0x4c9eae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x5d0], ecx
cmp dword [ebp - 0x14], 0
jne 0x4c9f6b
mov edx, dword [ebp + 8]
mov dword [edx + 0x5b4], 0xc
push 0x4f4c08
mov ecx, dword [ebp + 8]
add ecx, 0x490
call fcn.004d3670
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x490
call fcn.004d3360
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
jne 0x4c9fac
lea ecx, [ebp - 0x134]
call fcn.004065e0
push eax
lea ecx, [ebp - 0x134]
call fcn.004065e0
sub eax, 1
push eax
push 0
lea ecx, [ebp - 0x134]
call fcn.004067d0
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x5cc]
call fcn.00406600
jmp 0x4c9fe0
mov eax, dword [ebp + 8]
add eax, 0x5d0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5cc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
push 0
lea ecx, [ebp - 0x134]
call fcn.004067d0
push eax
call fcn.004c9b40
add esp, 0x10
xor edx, edx
cmp dword [ebp - 0x14], 0
setne dl
mov byte [ebp - 0x13d], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00406650
mov al, byte [ebp - 0x13d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret
Function at 0x4ca420
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc619
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14c]
call fcn.004d36b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4ca493
jmp 0x4ca52b
mov dword [ebp - 0x1c], 0xbb8
push 4
lea edx, [ebp - 0x1c]
push edx
push 2
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 5
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x1c]
push eax
push 6
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 0x1c]
push edx
push 8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x4ca4fb
push 1
lea edx, [ebp - 0x14c]
push edx
call fcn.004c9650
add esp, 8
push 0
push 0x84200000
push 0
push 0
lea ecx, [ebp - 0x14c]
call fcn.004d2d70
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ca527
jmp 0x4ca52b
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0x14], 0
je 0x4ca53b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], 0
je 0x4ca54b
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x14d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.004d2f20
mov al, byte [ebp - 0x14d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret
Function at 0x4cd810
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov eax, 1
pop ebp
ret

Function at 0x4ce160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0041de10
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4ce1b2
xor eax, eax
jmp 0x4ce21c
cmp dword [ebp - 0x110], 1
jne 0x4ce1bf
xor eax, eax
jmp 0x4ce21c
cmp dword [ebp - 0x110], 2
jne 0x4ce21a
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 5
je 0x4ce1ef
cmp dword [ebp - 0x124], 6
je 0x4ce1e8
jmp 0x4ce216
mov eax, 2
jmp 0x4ce21c
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jbe 0x4ce216
cmp dword [ebp - 0x128], 2
jbe 0x4ce20f
jmp 0x4ce216
mov eax, 1
jmp 0x4ce21c
xor eax, eax
jmp 0x4ce21c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret

Function at 0x4cedb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x14], 0
jne 0x4cedd3
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4cedcb
xor eax, eax
jmp 0x4cee32
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004ced20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4cedf4
xor eax, eax
jmp 0x4cee32
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4cee0f
xor eax, eax
jmp 0x4cee32
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10