joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ecb8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40eea2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ecec
mov eax, dword [ebp - 8]
call fcn.00403734
jmp 0x40ee8c
mov eax, dword [ebp - 4]
call fcn.004039c4
mov dword [ebp - 0xc], eax
test byte [ebp - 0xc], 3
je 0x40ed2b
push 0x40eeb8
push dword [ebp - 4]
push 0x40eedc
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403a84
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x40b224]
call fcn.0040d148
call fcn.00403174
mov eax, dword [ebp - 0xc]
shr eax, 2
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.00403824
mov ebx, 1
mov esi, 1
cmp ebx, dword [ebp - 0xc]
jg 0x40ee61
mov edx, 4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx - 1]
cmp ecx, 0x3d
jg 0x40ed80
je 0x40edc6
sub ecx, 0x2b
je 0x40edbc
sub ecx, 4
je 0x40edc1
dec ecx
sub ecx, 0xa
jb 0x40edae
jmp 0x40edcb
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x40ed92
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x40eda0
jmp 0x40edcb
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x41
mov byte [eax], cl
jmp 0x40edf6
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x47
mov byte [eax], cl
jmp 0x40edf6
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add cl, 4
mov byte [eax], cl
jmp 0x40edf6
mov byte [eax], 0x3e
jmp 0x40edf6
mov byte [eax], 0x3f
jmp 0x40edf6
mov byte [eax], 0
jmp 0x40edf6
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, 0x40eeec
mov dl, 1
mov eax, dword [0x40b224]
call fcn.0040d184
call fcn.00403174
inc ebx
inc eax
dec edx
jne 0x40ed5f
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x14]
shl edx, 2
xor ecx, ecx
mov cl, byte [ebp - 0x13]
shr ecx, 4
or edx, ecx
mov byte [eax + esi - 1], dl
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x13]
shl edx, 4
xor ecx, ecx
mov cl, byte [ebp - 0x12]
shr ecx, 2
or edx, ecx
mov byte [eax + esi], dl
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x12]
shl edx, 6
xor ecx, ecx
mov cl, byte [ebp - 0x11]
or edx, ecx
mov byte [eax + esi + 1], dl
add esi, 3
cmp ebx, dword [ebp - 0xc]
jle 0x40ed57
mov edx, dword [ebp - 4]
mov eax, 0x40ef10
call fcn.00403cac
mov ebx, eax
test ebx, ebx
je 0x40ee8c
mov eax, dword [ebp - 0xc]
sub eax, ebx
inc eax
mov ebx, eax
mov edx, dword [ebp - 0x10]
sub edx, ebx
inc edx
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00403c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eea9
lea eax, [ebp - 0x18]
call fcn.00403734
ret

Function at 0x40f858
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004027ac
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x411550
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov byte [0x41c628], 1
push esp
xor edx, edx
mov al, 1
call fcn.0040501c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
add esp, 0x190
ret

Function at 0x41158c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403bb4
xor eax, eax
push ebp
push 0x4117c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00408278
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408240
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 4]
call fcn.004037cc
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406aec
test eax, eax
jl 0x41163d
lea ecx, [ebp - 0x110]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406be0
cmp dword [ebp - 0x110], 0
je 0x41163d
mov ecx, esi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406be0
jmp 0x41178b
cmp byte [0x41c628], 0
jne 0x411652
mov eax, esi
call fcn.00403734
jmp 0x41178b
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004027ac
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.004082e0
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x411711
mov edx, dword [eax + 0xc]
test edx, edx
je 0x411708
mov edi, dword [edx]
test edi, edi
je 0x4116ff
push esi
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x130]
mov ecx, 3
mov eax, 0x4117d8
call fcn.00408378
jmp 0x411718
mov eax, esi
call fcn.00403734
jmp 0x411718
mov eax, esi
call fcn.00403734
jmp 0x411718
mov eax, esi
call fcn.00403734
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406aec
test eax, eax
jl 0x411736
mov ecx, dword [esi]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406c8c
jmp 0x41175e
push dword [ebp - 4]
push 0x4117ec
push dword [esi]
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x40]
call fcn.0040a16c
cmp dword [esi], 0
jne 0x41178b
lea eax, [ebp - 0x138]
mov ecx, 0x4117f8
mov edx, dword [ebp - 4]
call fcn.00403a10
mov edx, dword [ebp - 0x138]
mov eax, dword [0x41c878]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call fcn.00413068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4117c8
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00403758
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00403758
lea eax, [ebp - 4]
call fcn.00403734
ret
Function at 0x411aa0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403bb4
xor eax, eax
push ebp
push 0x411c0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x411ae6
inc eax
jne 0x411b14
push 0x411c24
push dword [esi + 0xc]
push 0x411c40
lea edx, [ebp - 0x18]
mov eax, edi
call fcn.0040818c
push dword [ebp - 0x18]
lea eax, [esi + 4]
mov edx, 4
call fcn.00403a84
xor ebx, ebx
jmp 0x411bec
push 4
lea eax, [esi + 0x4c]
push eax
push 0x1005
push 0xffff
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_setsockopt
inc eax
je 0x411b4c
push 4
lea eax, [esi + 0x4c]
push eax
push 0x1006
push 0xffff
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x411b6d
lea eax, [esi + 4]
mov edx, 0x411c4c
call fcn.00403788
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [esi + 8], 0xffffffff
xor ebx, ebx
jmp 0x411bec
cmp dword [esi + 0x58], 0
je 0x411b9a
mov eax, dword [esi + 0x58]
call fcn.00403bc4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov ax, word [esi + 0x5c]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
jmp 0x411bbb
mov eax, dword [ebp - 4]
call fcn.00403bc4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x411bec
lea eax, [esi + 4]
mov edx, 0x411c6c
call fcn.00403788
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [esi + 8], 0xffffffff
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411c11
lea eax, [ebp - 0x18]
call fcn.00403734
lea eax, [ebp - 4]
call fcn.00403734
ret
Function at 0x414c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, eax
lea esi, [esp + 4]
mov eax, ebx
call fcn.00403734
push esp
push 0x20019
push 0
push 0x414ce8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x414c7a
xor eax, eax
mov dword [esi], eax
lea eax, [esp + 8]
mov byte [eax], 0
inc dword [esi]
inc eax
cmp dword [esi], 0x100
jne 0x414c38
mov dword [esi], 0xff
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0x414d10
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x414c7a
mov eax, ebx
lea edx, [esp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00403998
jmp 0x414cdd
push esp
push 0x20019
push 0
push 0x414ce8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x414cdd
xor eax, eax
mov dword [esi], eax
lea eax, [esp + 8]
mov byte [eax], 0
inc dword [esi]
inc eax
cmp dword [esi], 0x100
jne 0x414c9d
mov dword [esi], 0xff
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0x414d10
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x414cdd
mov eax, ebx
lea edx, [esp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00403998
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x5af814
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005af893
jae 0x5af820
xor ecx, ecx
call fcn.005af893
jae 0x5af84a
xor eax, eax
call fcn.005af893
jae 0x5af85b
mov al, 0x10
call fcn.005af893
adc al, al
jae 0x5af83c
jne 0x5af888
stosb byte es:[edi], al
jmp 0x5af821
call fcn.005af89f
dec ecx
loop 0x5af867
mov eax, ebp
call fcn.005af89d
jmp 0x5af889
lodsb al, byte [esi]
shr eax, 1
je 0x5af8af
adc ecx, 2
mov ebp, eax
jmp 0x5af889
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005af89d
cmp eax, 0x7d00
jae 0x5af887
cmp eax, 0x500
jae 0x5af888
cmp eax, 0x7f
ja 0x5af889
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5af821
pop ebp
ret 8
Function at 0x494360
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
add eax, 0xf8
push 0
push eax
push 0xc
push 0x3c
mov dword [eax], 0xc
call edi
push 0
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push str.Control_PanelAppearanceNew_Schemes
push SysFreeString
mov dword [esi + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x494538
push ebx
lea ebx, [esi + 0x1188]
push ebp
mov ebp, dword [esp + 0x18]
mov word [ebx], ax
lea eax, [esi + 0x84]
push 0
push eax
push 0x18
push 0x32
mov dword [esp + 0x24], 0x28
mov dword [eax], 0x18
call edi
lea eax, [esi + 0x9c]
push 0
push eax
push 0x1c
push 0x36
mov dword [eax], 0x1c
call edi
lea eax, [esi + 0xb8]
push 0
push eax
push 8
push 0x3a
mov dword [eax], 8
call edi
lea eax, [esi + 0xc0]
push 0
push eax
push 8
push 0x34
mov dword [eax], 8
call edi
lea eax, [esi + 0xc8]
push 0
push eax
push 0x30
push 0x40
mov dword [eax], 0x30
call edi
push 0x46
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea edx, [esi + 0x108]
push 0
push edx
push 0
push 0x44
mov dword [esi + 0x104], eax
call edi
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x10c], eax
lea eax, [esi + 0x110]
push 0
push eax
push 0
push 0x5e
call edi
lea ecx, [esi + 0x114]
push 0
push ecx
push 0
push 0x70
call edi
lea edx, [esi + 0x178]
push 0
push edx
push 0
push 0x2006
call edi
lea eax, [esp + 0x14]
xor edi, edi
push eax
push ebx
push edi
push edi
push str.SelectedStyle
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 0x11c], edi
call ebp
test eax, eax
jne 0x49452b
cmp dword [esp + 0x14], 2
jbe 0x49452b
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push edi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49452b
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
inc esp
and al, 0x14
lea ecx, [esp + 0x12]
push eax
push ecx
push edi
push edi
push str.SelectedSize
push edx
mov word [esp + 0x2a], di
mov dword [esp + 0x2c], 0x28
call ebp
cmp word [esp + 0x12], di
je 0x494517
cmp dword [esp + 0x14], 2
jbe 0x494517
mov eax, 0xfffffffe
jmp 0x49451a
or eax, 0xffffffff
mov dword [esi + 0x11b0], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
push ecx
invalid
invalid
Function at 0x4017f0
Capabilities:
Delete file
Download url
Get common file path
Query or enumerate registry value
Receive data

Disassembly:
sub esp, 0x290
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push 0x41611c
push str.SOFTWARE360SafeLiveup
push 0x80000002
mov dword [esp + 0x24], 0x80
mov dword [esp + 0x28], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40184b
mov byte [esp + 0x34], bl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x98]
push str.http:__stat.sd.360.cn_tip360.htm_type4install
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
mov al, byte [esp + 0x2ac]
add esp, 0xc
cmp al, bl
mov eax, 0x4160cc
jne 0x401895
mov eax, 0x4160c8
mov esi, dword [sym.imp.MSVCRT.dll__mbsnbcat]
push 1
lea ecx, [esp + 0x98]
push eax
push ecx
call esi
push 5
lea edx, [esp + 0xa4]
push str.mid
push edx
call esi
lea eax, [esp + 0x2c]
push 0x20
lea ecx, [esp + 0xb0]
push eax
push ecx
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1bd]
mov byte [esp + 0x1bc], bl
rep stosd dword es:[edi], eax
add esp, 0x24
lea edx, [esp + 0x198]
stosw word es:[edi], ax
push edx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x14]
push 0x20
lea ecx, [esp + 0x19c]
push eax
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x198]
lea eax, [esp + 0x94]
push ebx
push ebx
push edx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x198]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
add esp, 0x290
ret
Function at 0x40b6e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x40d9f0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x417b14
jmp fcn.0040da00
Function at 0x40e570
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40e59f
push str.GetFileSizeEx__
push eax
push 0x112
push str.E:_build360BaseQHImageHlp.c
call fcn.00406750
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x40e7f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x40e82c
push str.SetFilePointerEx__
push eax
push 0xed
push str.E:_build360BaseQHImageHlp.c
call fcn.00406750
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40e865
push str.ReadFile__
push eax
push 0xf0
push str.E:_build360BaseQHImageHlp.c
call fcn.00406750
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x40e889
push 0x4177c4
push 1
push 0xf2
push str.E:_build360BaseQHImageHlp.c
call fcn.00406bd0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x40f510
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x410b70
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x410ba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x410bd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x40f720
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00496c83
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f7a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004941f7
mov eax, dword [eax]
push 0x520250
push eax
call fcn.004850a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00496f0e
test bl, bl
je 0x40f7a2
push 0x520250
lea ecx, [esp + 0xc]
call fcn.004972ea
push 0x523dcc
lea ecx, [esp + 0xc]
call fcn.004972ea
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40f7de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00496f0e
jmp 0x40f8a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40f862
lea edx, [esp + 0x7c]
push 0x523dc8
push edx
call fcn.004850a4
add esp, 8
test eax, eax
je 0x40f862
lea eax, [esp + 0x7c]
push 0x523dc4
push eax
call fcn.004850a4
add esp, 8
test eax, eax
je 0x40f862
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f7f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00496f0e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4100a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410102
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x410110
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x52eb24]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x410248
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410176
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496f0e
xor eax, eax
jmp 0x4102bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00497097
push esi
lea ecx, [esp + 0xc]
call fcn.00497326
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41029d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004100a0
test eax, eax
jne 0x41029d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004100a0
test eax, eax
jne 0x41029d
lea eax, [esp + 0x14]
push 0x523de0
push eax
call fcn.00486280
mov esi, eax
add esp, 8
test esi, esi
jne 0x41027c
lea ecx, [esp + 0x14]
push 0x523ddc
push ecx
call fcn.00486200
mov esi, eax
add esp, 8
test esi, esi
jne 0x41027c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41027f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00497047
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41018e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496f0e
xor eax, eax
jmp 0x4102bf
mov byte [esi], 0
push 0x523dd8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00496f0e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4