joyce8/EMBER2024-capa huggingface dataset:
Function at 0x515bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7259d0
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x130], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x134]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x130]
push eax
push 0
push dword [ebp - 0x134]
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jns 0x515c48
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x515d43
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.006f7570
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x130]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x515c2c
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x515ca3
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.0044f130
push 0x18
push str.NeteaseFoxmail_Addins_
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.0044ef80
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x515d43
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x515d39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515d5f
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
int3
Function at 0x515d70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x725a10
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x238]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x234]
push eax
push 0
push dword [ebp - 0x238]
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jns 0x515e0a
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x515ee1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.006f7570
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x515dec
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x515e67
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004da1e0
push 0x73b008
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.00506c90
mov edx, dword [ebp - 0x21c]
add esp, 0xc
cmp edx, 8
jb 0x515ee1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x515ed7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515efd
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
int3
Function at 0x515f10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7259d0
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x130], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x134]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x130]
push eax
push 0
push dword [ebp - 0x134]
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jns 0x515fa8
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x5160a3
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.006f7570
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x130]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x515f8c
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x516003
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.0044f130
push 9
push str.NetEase_
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.0044ef80
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x5160a3
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x516099
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5160bf
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
int3
Function at 0x516930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x725b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x418], edi
lea eax, [ebp - 0x414]
mov dword [ebp - 4], esi
push eax
push 0x20019
push esi
push str.SoftwareNeteaseNeteasePluginOtherPlugin_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x414], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5169f3
mov esi, dword [ebp - 0x414]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x41c], esi
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x414], 0x3e8
push eax
push 0
push str.InstDir
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5169f3
mov eax, dword [ebp - 0x418]
cmp eax, 1
je 0x5169df
cmp eax, 2
jne 0x5169f3
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x516a32
cmp byte [ebp + eax - 0x3f9], 0
je 0x516a39
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
test esi, esi
je 0x516a15
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x3f8], 0
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x400], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3fc], 0xf
mov byte [ebp - 0x410], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x516a67
sub ecx, edx
lea eax, [ebp - 0x3f8]
push ecx
push eax
lea ecx, [ebp - 0x410]
call fcn.0044f130
push 1
push 0x73b06c
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 1
call fcn.0044ef80
movups xmm0, xmmword [ebp - 0x410]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x400]
movq qword [edi + 0x10], xmm0
jmp 0x516a0a
Function at 0x516ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x725b60
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ebp - 0x3fc]
mov dword [ebp - 4], esi
push eax
push 0x20019
push esi
push str.SoftwareNeteaseNeteasePluginOtherPlugin_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3fc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x516b8e
mov esi, dword [ebp - 0x3fc]
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x404], esi
push eax
lea eax, [ebp - 0x400]
mov dword [ebp - 0x3fc], 0x3e8
push eax
push 0
push str.ServerName
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x516b8e
mov eax, dword [ebp - 0x400]
cmp eax, 1
je 0x516b7a
cmp eax, 2
jne 0x516b8e
mov eax, dword [ebp - 0x3fc]
test eax, eax
je 0x516bcb
cmp byte [ebp + eax - 0x3f9], 0
je 0x516bd2
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x516b9d
mov edi, dword [edi]
mov byte [edi], 0
xor bl, bl
test esi, esi
je 0x516bad
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x3f8], 0
lea edx, [ebp - 0x3f8]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x516be0
sub edx, ecx
lea eax, [ebp - 0x3f8]
push edx
push eax
mov ecx, edi
call fcn.0044f130
mov bl, 1
jmp 0x516ba2

Function at 0x516c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareNeteaseNeteasePluginOtherPlugin_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x516c68
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ServerPort
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x516c68
cmp dword [ebp - 0x10], 4
jne 0x516c68
mov ecx, dword [ebp + 8]
mov bl, 1
mov eax, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x516c73
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [eax], 0x50
test esi, esi
je 0x516c7e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x517e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x517ed1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x517e9f
cmp eax, 2
jne 0x517ebb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x517ecb
test ecx, ecx
je 0x517ec6
test cl, 1
jne 0x517ebb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x517ecb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x519060
Capabilities:
Hash data with md5

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

Function at 0x519420
Capabilities:
Hash data with md5

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

Function at 0x51c900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72628c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7db1e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x51c97a
mov dword [ebx], 0x738044
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 8], esi
call fcn.004511f0
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.006f4b6f
mov esi, eax
add esp, 4
test esi, esi
je 0x51c9d7
push 1
mov byte [ebp - 4], 3
call fcn.006f3498
add esp, 4
mov dword [esi + 4], eax
jmp 0x51c9d9
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x14]
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.cmx::TFormatStream_class_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x58]
mov dword [ecx + edx - 4], eax
mov eax, edx
mov dword [edx + 0x48], 0x7df2f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x520d80
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
jne 0x520daa
or eax, 0xffffffff
jmp 0x520dae
movzx eax, byte [ebp - 1]
cmp eax, dword [esi*4 + 0x7d9bdc]
jne 0x520efa
inc esi
cmp esi, 2
jb 0x520d94
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
jne 0x520dd7
or esi, 0xffffffff
jmp 0x520ddb
movzx esi, byte [ebp - 1]
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
jne 0x520df1
or eax, 0xffffffff
jmp 0x520df5
movzx eax, byte [ebp - 1]
mov dword [ebp - 8], eax
cmp esi, 8
jne 0x520eee
test al, 0xe0
jne 0x520eee
mov esi, 6
nop
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
sub esi, 1
jne 0x520e10
mov eax, dword [ebp - 8]
test al, 4
je 0x520e8b
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
jne 0x520e43
mov dword [ebp - 0xc], 0xffffffff
jmp 0x520e4a
movzx eax, byte [ebp - 1]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
jne 0x520e60
or esi, 0xffffffff
jmp 0x520e64
movzx esi, byte [ebp - 1]
shl esi, 8
add esi, dword [ebp - 0xc]
nop word [eax + eax]
mov eax, esi
dec esi
test eax, eax
je 0x520e88
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
jne 0x520e70
mov eax, dword [ebp - 8]
test al, 8
je 0x520eaa
nop
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
je 0x520ea7
cmp byte [ebp - 1], 0
jne 0x520e90
mov eax, dword [ebp - 8]
test al, 0x10
je 0x520eca
nop
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
test eax, eax
je 0x520ec7
cmp byte [ebp - 1], 0
jne 0x520eb0
mov eax, dword [ebp - 8]
test al, 2
je 0x520ee5
mov esi, 2
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
sub esi, 1
jne 0x520ed3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
test esi, esi
je 0x520f06
inc dword [edx + 4]
dec dword [edx]
mov ecx, dword [edx + 4]
cmp eax, 0xffffffff
je 0x520f29
dec dword [edx]
inc ecx
xor eax, eax
mov dword [edx + 4], ecx
test ecx, ecx
pop edi
sete al
pop esi
pop ebx
lea eax, [eax*4 - 3]
mov esp, ebp
pop ebp
ret
xor eax, eax
test ecx, ecx
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x525270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726fec
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7db1e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x5252f1
mov dword [ebx], 0x73c864
mov dword [ebx + 0x10], 0x73c86c
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
lea esi, [ebx + 0x18]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 8], esi
call fcn.00524b90
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.006f4b6f
mov esi, eax
add esp, 4
test esi, esi
je 0x52534c
push 1
mov byte [ebp - 4], 2
call fcn.006f3498
add esp, 4
mov dword [esi + 4], eax
jmp 0x52534e
xor esi, esi
lea eax, [ebx + 0x18]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x531a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x531a61
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x531a50
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x535750
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x727ed8
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
movzx eax, word [ebp + 0x10]
movq xmm0, qword [str.Foxmail.Addins]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x738150]
mov dword [ebp - 0x24], eax
mov ax, word [0x738154]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0xe
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0xe0]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x535825
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53581b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5359e3
push edx
push ecx
call fcn.006f4b9f
add esp, 8
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
jb 0x535843
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x535868
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00521b40
mov dword [esi + 0x2c], edi
test edi, edi
jne 0x535896
mov eax, dword [esi + 4]
lea ecx, [ebp - 0xe0]
mov dword [esi + 0x11c], 0x3eb
mov dword [esi + 0x120], eax
call fcn.00553780
mov dword [ebp - 4], 4
jmp 0x5358f5
cmp dword [ebx + 0x14], 0x10
jb 0x53589e
mov ebx, dword [ebx]
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x30]
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x535998
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00521b40
mov eax, dword [esi + 4]
lea ecx, [ebp - 0xe0]
mov dword [esi + 0x30], edi
mov dword [esi + 0x11c], 0x3eb
mov dword [esi + 0x120], eax
call fcn.00553780
mov dword [ebp - 4], 5
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], vtable.std::ios_base.0
push eax
call fcn.006f3999
add esp, 4
xor eax, eax
jmp 0x5359c5
lea ecx, [ebp - 0xe0]
mov dword [esi + 0x30], edi
call fcn.00553780
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - 0x80], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret 0x10
call fcn.006fb96e
int3