joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40844d
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x31058
call fcn.0040c020
push ebx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x317]
mov byte [ebp - 0x318], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x318]
push 0x208
push eax
push ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x41b758
push 2
call fcn.00408cb1
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.0040e11a
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x40851d
cmp byte [ebp + 0xc], bl
je 0x408691
call fcn.0040c6cc
push dword [eax]
call fcn.0040c609
pop ecx
push eax
call fcn.0040c6cc
push dword [eax]
lea eax, [ebp - 0x318]
push eax
push 0x41b7b8
push 0x28
call fcn.00408cb1
pop ecx
pop ecx
push eax
push ebx
push 0x41a840
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00407e55
add esp, 0x18
jmp 0x408691
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push 0x41b7b4
push dword [ebp + 8]
call fcn.0040e11a
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x40858e
cmp byte [ebp + 0xc], bl
je 0x40867d
call fcn.0040c6cc
push dword [eax]
call fcn.0040c609
pop ecx
push eax
call fcn.0040c6cc
push dword [eax]
push dword [ebp + 8]
push 0x41b788
push 0x28
call fcn.00408cb1
pop ecx
pop ecx
push eax
push ebx
push 0x41a840
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00407e55
add esp, 0x18
jmp 0x40867d
push esi
mov esi, 0x30d40
push dword [ebp - 8]
lea eax, [ebp - 0x31058]
push esi
push 1
push eax
call fcn.0040df55
add esp, 0x10
mov edi, eax
cmp edi, ebx
jle 0x4085db
push dword [ebp - 4]
lea eax, [ebp - 0x31058]
push edi
push 1
push eax
call fcn.0040e12d
push dword [ebp - 8]
add dword [ebp - 0xc], edi
lea eax, [ebp - 0x31058]
push esi
push 1
push eax
call fcn.0040df55
add esp, 0x20
jmp 0x4085a9
push ebx
call fcn.0040c33a
push eax
call fcn.0040bc50
call fcn.0040bc5d
cdq
mov ecx, 0x200
idiv ecx
lea eax, [ebp - 0x31058]
mov esi, edx
add esi, 0x40
push esi
push ebx
push eax
call fcn.0040bc80
push dword [ebp - 4]
lea eax, [ebp - 0x31058]
push esi
push 1
push eax
call fcn.0040e12d
add esp, 0x24
lea eax, [ebp - 0x110]
push dword [ebp + 8]
push str._s:bla
push 0x103
push eax
call fcn.0040b9e8
add esp, 0x10
lea eax, [ebp - 0x110]
push ebx
push ebx
push 4
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x408673
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x31058]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 4]
call fcn.0040e06c
pop ecx
pop esi
push dword [ebp - 8]
call fcn.0040e06c
pop ecx
push 7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
pop edi
pop ebx
leave
ret
Function at 0x408707
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
push 2
push str.POIUHJKLMNBFGRT
call fcn.00408952
xor esi, esi
push eax
push esi
push 4
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x408799
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x408790
mov ebx, dword [edi + 8]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408789
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x1388
push 2
push esi
push esi
push 0x8174
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x408789
cmp dword [ebp - 4], esi
je 0x408789
push edi
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x4087e7
push edi
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 8], esi
jne 0x4087e5
push 1
push 1
push 0x41a4e0
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x6c]
push 0x64
push eax
push 1
push 0x41b7e4
push 0xe
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
call fcn.00408323
add esp, 0x14
test eax, eax
jle 0x4087e5
mov eax, dword [ebp - 0x6c]
jmp 0x4087e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408851
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 0xc], ecx
not eax
jbe 0x408886
push esi
mov edx, dword [esp + 0xc]
mov esi, eax
and esi, 0xff
movzx edx, byte [ecx + edx]
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x41f230]
xor eax, edx
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x408860
pop esi
not eax
ret

Function at 0x408bfe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x426848], 0
push esi
mov esi, 0x426848
jne 0x408cac
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 1
push eax
push 0x20019
push 0
push 0x41ba90
push 0x29
mov dword [ebp - 8], 0x200
call fcn.00408cb1
pop ecx
pop ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408c66
push 0x41ba88
push 4
call fcn.00408cb1
push eax
push esi
call fcn.0040bb60
add esp, 0x10
jmp 0x408cac
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push 0
push 0x41ba7c
push 9
call fcn.00408cb1
pop ecx
pop ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x408ca3
push 0x41ba88
push 4
call fcn.00408cb1
push eax
push esi
call fcn.0040bb60
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x408cb1
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x426a48], 0
push esi
push edi
mov edi, 0x426830
jne 0x408cd3
push edi
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [0x426a48], 1
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, dword [esp + 0x10]
and dword [esp + 8], 0
test esi, esi
jle 0x408d2f
mov eax, dword [0x429268]
push ebx
push ebp
push 0x14
cdq
pop ebx
mov ecx, dword [esp + 0x1c]
idiv ebx
mov edi, esi
sub edi, ecx
shl edx, 9
lea ebx, [edx + 0x426a4c]
lea eax, [edi + ecx]
push 0x20
cdq
pop ebp
idiv ebp
mov al, byte [edx + 0x41b9e8]
mov edx, dword [esp + 0x10]
xor al, byte [ecx]
inc dword [esp + 0x10]
inc ecx
cmp dword [esp + 0x10], esi
mov byte [ebx + edx], al
jl 0x408d05
pop ebp
mov edi, 0x426830
pop ebx
mov eax, dword [0x429268]
push 0x14
cdq
pop ecx
idiv ecx
push edi
shl edx, 9
and byte [edx + esi + 0x426a4c], 0
inc dword [0x429268]
lea esi, [edx + 0x426a4c]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x408dda
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0xc], ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
mov byte [ebp - 1], bl
push dword [ebp + 8]
mov dword [ebp - 8], ebx
push dword [ebp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408eb8
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x408eb8
cmp dword [ebp + 8], 3
jne 0x408eb8
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push esi
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x408e77
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x408eb8
cmp byte [ebp + 0x18], bl
je 0x408e87
push dword [ebp - 8]
push esi
call fcn.00408ece
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + esi - 4]
add eax, 0xfffffffc
push eax
push esi
push ebx
mov dword [ebp + 0x18], ecx
call fcn.0040b3d0
add esp, 0xc
cmp dword [ebp + 0x18], eax
jne 0x408e6a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 1], 1
mov dword [eax], esi
mov eax, dword [ebp - 8]
add eax, 0xfffffffc
mov dword [ecx], eax
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
pop ebx
je 0x408ec9
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
leave
ret
Function at 0x40953c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b4
push esi
push edi
push 0x24
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
push dword [ebp + 8]
mov dword [ebp - 0x94], 0x94
rep stosd dword es:[edi], eax
call fcn.00408d5e
test al, al
pop ecx
je 0x4095cd
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x84], 1
jne 0x4095dc
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
call fcn.0040bb60
push esi
call fcn.0040c050
add esp, 0xc
cmp byte [eax + esi - 1], 0x5c
je 0x4095aa
push 0x41a4b0
push esi
call fcn.0040bb70
pop ecx
pop ecx
push dword [ebp + 0x14]
push esi
call fcn.0040bb70
push esi
call fcn.00408d5e
add esp, 0xc
test al, al
jne 0x4095d4
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x4095d4
xor eax, eax
jmp 0x409742
push 1
pop eax
jmp 0x409742
push ebx
xor esi, esi
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.0040bc80
mov ebx, 0x208
lea eax, [ebp - 0x6ac]
push ebx
push esi
push eax
call fcn.0040bc80
add esp, 0x18
mov edi, 0x104
lea eax, [ebp - 0x6ac]
push edi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 8], esi
call fcn.0040c33a
push eax
call fcn.0040bc50
pop ecx
pop ecx
cmp dword [ebp + 8], 0x14
jg 0x40973e
push ebx
lea eax, [ebp - 0x4a4]
push esi
push eax
call fcn.0040bc80
add esp, 0xc
lea eax, [ebp - 0x4a4]
push edi
push eax
call fcn.0040bc5d
push 0x11
xor edx, edx
pop ecx
div ecx
push dword [edx*4 + 0x41f700]
call fcn.00409410
lea eax, [ebp - 0x4a4]
push eax
call fcn.0040950a
add esp, 0x10
test al, al
jne 0x409732
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.0040c5e4
lea eax, [ebp - 0x29c]
push eax
call fcn.0040e914
add esp, 0xc
cmp word [ebp + eax*2 - 0x29e], 0x5c
je 0x4096c1
lea eax, [ebp - 0x29c]
push 0x41a784
push eax
call fcn.0040c5ba
pop ecx
pop ecx
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.0040c5ba
lea eax, [ebp - 0x29c]
push eax
call fcn.00408d9c
add esp, 0xc
test al, al
jne 0x4096f9
lea eax, [ebp - 0x29c]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x409732
lea eax, [ebp - 0x8b4]
push edi
push eax
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
test eax, eax
je 0x409732
push esi
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x8b4]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov dword [ebp + 0x14], 1
inc dword [ebp + 8]
cmp dword [ebp + 0x14], esi
je 0x40962f
mov eax, dword [ebp + 0x14]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x409b23
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push ebx
push 0x41b2dc
mov byte [esi], bl
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
jne 0x409b4a
mov byte [esi], bl
push dword [ebp + 8]
push 0x41bcb0
push esi
call fcn.0040ba39
add esp, 0xc
pop esi
pop ebx
pop ebp
ret

Function at 0x409c41
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 0x200
push edi
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], eax
call fcn.0040c895
mov esi, dword [ebp + 8]
mov edi, eax
pop ecx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov byte [esi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409ca3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
push ebx
push str.ProductId
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x409ca7
mov byte [esi], bl
jmp 0x409cc0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
call fcn.0040bb60
push edi
call fcn.0040c7ac
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409d11
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.0040c020
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 0xffff
mov byte [esi], bl
call fcn.00409cc5
test eax, eax
jne 0x409d77
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409d77
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10008]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.MachineGuid
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x409d7b
mov byte [esi], bl
jmp 0x409d90
lea eax, [ebp - 0x10008]
push eax
push 0x41a45c
push esi
call fcn.0040ba39
add esp, 0xc
pop esi
pop ebx
leave
ret
Function at 0x40a33c
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c048
push 0x40e93c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.iphlpapi.dll_GetNetworkParams
mov dword [ebp - 0x28], eax
cmp eax, 0x6f
jne 0x40a3fc
push dword [ebp - 0x24]
call fcn.0040d003
mov esi, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], esi
push dword [ebp - 0x24]
push ebx
push esi
call fcn.0040bc80
add esp, 0x10
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x24]
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x40a3fc
mov eax, dword [esi + 0x108]
cmp eax, ebx
je 0x40a3d2
push str.192.168.1.39
add eax, 4
push eax
call fcn.0040ba90
pop ecx
pop ecx
test eax, eax
jne 0x40a3d2
mov byte [ebp - 0x1c], 1
cmp byte [ebp - 0x1c], bl
jne 0x40a3fc
add esi, 0x10c
mov dword [ebp - 0x30], esi
cmp esi, ebx
je 0x40a3fc
push str.192.168.1.39
lea eax, [esi + 4]
push eax
call fcn.0040ba90
pop ecx
pop ecx
test eax, eax
jne 0x40a407
mov byte [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.0040a40d
jmp 0x40a41c
mov esi, dword [esi]
jmp 0x40a3dd
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a4ab
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c068
push 0x40e93c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x40a50b
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a521
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
push 0x41c094
push 0x30
call fcn.00408cb1
push 0x41c090
push 3
mov dword [ebp - 0xc], eax
call fcn.00408cb1
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
je 0x40a680
push ebx
push ebx
push 3
push ebx
push dword [ebp + 8]
push 0x50
push dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
jne 0x40a594
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40a680
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], bl
push 0x41c074
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 7
stosb byte es:[edi], al
call fcn.00408cb1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0040bb70
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0040bb70
push dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
call fcn.0040bb70
add esp, 0x20
lea eax, [ebp - 0x18]
push ebx
push 0x84600200
push eax
lea eax, [ebp - 0x118]
push eax
push 0x41c084
push 8
call fcn.00408cb1
pop ecx
pop ecx
push eax
push dword [ebp + 0xc]
push str.UQ_b
push 4
call fcn.00408cb1
pop ecx
pop ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x40a62f
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
jmp 0x40a679
push 0xa0000000
push dword [ebp - 0xc]
call fcn.0040c050
pop ecx
push eax
push dword [ebp - 0xc]
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x40a66f
push dword [ebp + 0x10]
call fcn.0040c050
push dword [ebp + 0x10]
call fcn.0040c050
pop ecx
pop ecx
push eax
push dword [ebp + 0x10]
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40a688
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
push dword [ebp - 4]
call edi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x40a6e1
mov edi, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp - 8], 1
mov eax, dword [edi]
cmp eax, ebx
jbe 0x40a6c2
lea ecx, [ebp - 8]
sub eax, esi
push ecx
push eax
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40a6c2
cmp dword [ebp - 8], ebx
jbe 0x40a6c2
add esi, dword [ebp - 8]
mov eax, dword [edi]
cmp esi, eax
jb 0x40a69a
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
mov dword [edi], esi
mov byte [esi + eax], bl
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40b25d
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
push esi
call fcn.0040bc80
and dword [esi + 0x44], 0
and dword [esi + 0x40], 0
add esp, 0xc
mov dword [esi + 0x48], 0x67452301
mov dword [esi + 0x4c], 0xefcdab89
mov dword [esi + 0x50], 0x98badcfe
mov dword [esi + 0x54], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x40b3d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 0xc], ecx
not eax
jbe 0x40b405
push esi
mov edx, dword [esp + 0xc]
mov esi, eax
and esi, 0xff
movzx edx, byte [ecx + edx]
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x41f830]
xor eax, edx
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x40b3df
pop esi
not eax
ret
Function at 0x40b408
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x213]
mov byte [ebp - 0x214], bl
cmp dword [ebp + 8], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
mov dword [ebp - 4], ebx
pop edi
mov dword [ebp - 0xc], edi
je 0x40b505
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40b505
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x40b505
push dword [eax]
push ebx
push dword [ebp + 8]
call fcn.0040bc80
push 0x41c0f4
push 9
mov dword [esi], ebx
call fcn.00408cb1
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040bb60
add esp, 0x1c
push edi
push 0x41c0e8
push 0xb
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040bb70
pop ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ecx
lea eax, [ebp - 4]
push eax
push 0x20019
lea eax, [ebp - 0x214]
push ebx
mov esi, 0x80000002
push eax
push esi
call edi
test eax, eax
je 0x40b54f
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SOFTWAREClickSpring
push esi
call edi
test eax, eax
jne 0x40b505
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
push ebx
push str.UUID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
test eax, eax
je 0x40b50c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0040c050
cmp eax, 0x18
pop ecx
jb 0x40b505
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
add esi, 4
stosd dword es:[edi], eax
push 2
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0040ca50
push 0x10
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040dbff
mov ecx, dword [ebp + 0x10]
add esp, 0x18
push 1
mov dword [ecx], eax
pop eax
jmp 0x40b507
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push eax
push ebx
push 2
push 0x41c0dc
push 9
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x40b583
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push eax
push ebx
push 1
push 0x41c0d0
push 8
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x40b5b9
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x40b507
Function at 0x4145af
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x422b70
cmp edx, dword [eax]
je 0x4145d1
add eax, 8
inc ecx
cmp eax, 0x422c00
jl 0x4145c2
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x422b70]
jne 0x4146ff
mov eax, dword [0x4296dc]
cmp eax, 1
je 0x4146d9
test eax, eax
jne 0x414602
cmp dword [0x420194], 1
je 0x4146d9
cmp edx, 0xfc
je 0x4146ff
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x414639
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040bb60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040c050
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41467c
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040c050
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41c1ac
push edi
call fcn.0040ca50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040bb60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040bb70
lea eax, [ebp - 0xa0]
push 0x41c1a8
push eax
call fcn.0040bb70
push dword [esi + 0x422b74]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040bb70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00412420
add esp, 0x2c
pop edi
jmp 0x4146ff
lea eax, [ebp + 8]
lea esi, [esi + 0x422b74]
push 0
push eax
push dword [esi]
call fcn.0040c050
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret