joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5359f0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x727f30
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
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
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x24], eax
mov ax, word [0x738154]
mov dword [ebp - 0x48], esi
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 - 0xf0]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x535ab5
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x535aab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x535cb9
push edx
push ecx
call fcn.006f4b9f
add esp, 8
cmp dword [esi + 0x4c], 0x10
lea eax, [esi + 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
jb 0x535ad6
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x535afd
call ebx
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00521b40
mov dword [esi + 0x2c], edi
test edi, edi
jne 0x535b2b
mov eax, dword [esi + 4]
lea ecx, [ebp - 0xf0]
mov dword [esi + 0x11c], 0x3eb
mov dword [esi + 0x120], eax
call fcn.00553780
mov dword [ebp - 4], 4
jmp 0x535b97
cmp dword [esi + 0x78], 0
lea ecx, [esi + 0x50]
je 0x535b37
lea ecx, [esi + 0x68]
cmp dword [ecx + 0x14], 0x10
jb 0x535b3f
mov ecx, dword [ecx]
movzx eax, word [esi + 0xf8]
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x535c6a
call ebx
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00521b40
mov eax, dword [esi + 4]
lea ecx, [ebp - 0xf0]
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 - 0x90]
mov dword [ebp - 0x90], vtable.std::ios_base.0
push eax
call fcn.006f3999
add esp, 4
xor eax, eax
jmp 0x535c9d
lea ecx, [ebp - 0xf0]
mov dword [esi + 0x30], edi
call fcn.00553780
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 8
push eax
mov dword [ebp - 0x90], 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
call fcn.006fb96e
int3
Function at 0x53aac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7285b9
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 - 0x10], ebx
mov dword [ebx], vtable.CHttpClient.0
mov dword [ebx + 8], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
mov byte [ebx + 0x20], 1
mov byte [ebx + 0x21], 0
mov byte [ebx + 0x28], 0
lea ecx, [ebx + 0x38]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.TCoremailHttpClient.0
call fcn.0051c3d0
lea ecx, [ebx + 0x11c]
mov byte [ebp - 4], 1
call fcn.0051ba60
lea ecx, [ebx + 0x160]
mov byte [ebp - 4], 2
call fcn.00556ff0
push 0
push 1
push 1
push 0
mov byte [ebp - 4], 3
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x15c], eax
call fcn.0051c830
push 0
mov byte [ebx + 0x20], 0
mov byte [ebx + 0x158], 1
mov dword [ebx + 0x154], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebx], vtable.TCoremailOrganizationClient.0
mov dword [ebx + 0x184], 0
mov dword [ebp - 4], 4
mov dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0xf
mov byte [ebx + 0x184], 0
lea esi, [ebx + 0x19c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006f4b6f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebx + 0x1a4], 0
mov dword [ebx + 0x1b8], 0xf
mov byte [ebx + 0x1a4], 0
mov dword [ebx + 0x1b4], 4
mov dword [ebx + 0x1a4], 0x65757274
mov byte [ebx + 0x1a8], 0
lea esi, [ebx + 0x1bc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006f4b6f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1d4], 0
mov dword [ebx + 0x1d8], 0xf
mov byte [ebx + 0x1c4], 0
mov dword [ebx + 0x1dc], 0
mov dword [ebx + 0x1ec], 0
mov dword [ebx + 0x1f0], 0xf
mov byte [ebx + 0x1dc], 0
lea esi, [ebx + 0x1f4]
mov dword [esi], 0
push 5
push str.false
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 5
call fcn.006f6ff0
mov byte [esi + 5], 0
lea edi, [ebx + 0x210]
mov byte [ebx + 0x20c], 1
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
lea esi, [edi + 0x34]
mov byte [ebp - 4], 0xc
push 0x58
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006f4b6f
add esp, 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov word [edi], 1
mov byte [ebx + 0x180], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x548f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7294ca
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x7db1e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CHttpClient.0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov byte [edi + 0x20], 1
mov byte [edi + 0x21], 0
mov byte [edi + 0x28], 0
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 0
mov dword [edi], vtable.TCoremailHttpClient.0
call fcn.0051c3d0
lea ecx, [edi + 0x11c]
mov byte [ebp - 4], 1
call fcn.0051ba60
lea ecx, [edi + 0x160]
mov byte [ebp - 4], 2
call fcn.00556ff0
push 0
push 1
push 1
push 0
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [edi + 0x38]
mov dword [edi + 0x15c], eax
call fcn.0051c830
push 0
mov byte [edi + 0x20], 0
mov byte [edi + 0x158], 1
mov dword [edi + 0x154], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi], vtable.TCoremailUpdateClient.0
xor eax, eax
mov dword [edi + 0x180], 0
mov dword [ebp - 4], 4
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 7
mov word [edi + 0x180], ax
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a8], eax
mov dword [edi + 0x1ac], 7
lea esi, [edi + 0x1b4]
mov byte [ebp - 4], 5
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.006f4b6f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x1bc], 0
mov word [edi + 0x1bc], ax
mov dword [edi + 0x1cc], 0
mov dword [edi + 0x1d0], 7
mov word [edi + 0x1d8], ax
mov dword [edi + 0x1e0], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x54a340
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x54a386
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54a370
push 0
push dword [esi + 0x1d4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
push dword [esi + 0x1d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1d4], 0
pop esi
mov al, bl
pop ebx
ret
Function at 0x54ec80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 0xaaaaaaab
mul ecx
push ebx
shr edx, 1
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edi
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov eax, dword [ebp + 0x10]
sub ebx, edx
mov dword [ebp + 0xc], edx
add ebx, ecx
cmp edi, ebx
je 0x54ed23
nop dword [eax]
movzx esi, byte [edi]
movzx edx, byte [edi + 1]
movzx ecx, byte [edi + 2]
add edi, 3
shl esi, 8
add esi, edx
mov edx, dword [eax + 4]
shl esi, 8
add esi, ecx
mov ecx, esi
shr ecx, 0x12
movzx ecx, byte [ecx + 0x741220]
add byte [edx], cl
mov ecx, esi
inc dword [eax + 4]
mov edx, dword [eax + 4]
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x741220]
add byte [edx], cl
mov ecx, esi
inc dword [eax + 4]
and esi, 0x3f
mov edx, dword [eax + 4]
shr ecx, 6
and ecx, 0x3f
movzx ecx, byte [ecx + 0x741220]
add byte [edx], cl
inc dword [eax + 4]
mov edx, dword [eax + 4]
movzx ecx, byte [esi + 0x741220]
add byte [edx], cl
inc dword [eax + 4]
cmp edi, ebx
jne 0x54ecb0
mov edx, dword [ebp + 0xc]
cmp edx, 2
jne 0x54ed80
movzx esi, byte [edi]
mov edx, dword [eax + 4]
mov ecx, esi
movzx edi, byte [edi + 1]
and esi, 3
shr ecx, 2
shl esi, 4
movzx ecx, byte [ecx + 0x741220]
add byte [edx], cl
mov ecx, edi
inc dword [eax + 4]
and edi, 0xf
mov edx, dword [eax + 4]
shr ecx, 4
or esi, ecx
movzx ecx, byte [esi + 0x741220]
add byte [edx], cl
inc dword [eax + 4]
mov edx, dword [eax + 4]
movzx ecx, byte [edi*4 + 0x741220]
pop edi
pop esi
add byte [edx], cl
inc dword [eax + 4]
mov ecx, dword [eax + 4]
pop ebx
add byte [ecx], 0x3d
inc dword [eax + 4]
pop ebp
ret
cmp edx, 1
jne 0x54edc3
movzx esi, byte [edi]
mov edx, dword [eax + 4]
mov ecx, esi
shr ecx, 2
and esi, 3
shl esi, 4
movzx ecx, byte [ecx + 0x741220]
add byte [edx], cl
inc dword [eax + 4]
mov edx, dword [eax + 4]
movzx ecx, byte [esi + 0x741220]
add byte [edx], cl
inc dword [eax + 4]
mov ecx, dword [eax + 4]
add byte [ecx], 0x3d
inc dword [eax + 4]
mov ecx, dword [eax + 4]
add byte [ecx], 0x3d
inc dword [eax + 4]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x551410
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
push edi
mov edi, dword [eax + 8]
imul eax, ebx, 0x1000193
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], edi
xor eax, ecx
mov ecx, dword [esi + 0x10]
imul edx, eax, 0x1000193
xor edx, edi
and edx, dword [esi + 0x1c]
mov esi, dword [esi + 8]
mov eax, dword [ecx + edx*8]
add edx, edx
mov edi, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
add ecx, 4
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
nop dword [eax]
cmp dword [ebp - 8], esi
jne 0x551469
mov ecx, esi
jmp 0x55146d
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x5514cc
mov edx, dword [eax + 8]
cmp edx, ebx
jne 0x55148c
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp + 0xc]
jne 0x551487
mov ecx, dword [eax + 0x10]
sub ecx, edi
jmp 0x551490
sub ecx, dword [ebp + 0xc]
jmp 0x551490
mov ecx, edx
sub ecx, ebx
test ecx, ecx
jns 0x55149b
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
jmp 0x551460
cmp ebx, edx
jne 0x5514c3
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
jne 0x5514bf
sub edi, dword [eax + 0x10]
test edi, edi
pop edi
cmovns esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, ecx
jmp 0x5514c5
mov edi, ebx
sub edi, edx
test edi, edi
cmovns esi, eax
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5514e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3ff
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.006fa6c0
mov al, byte [ebp - 0x404]
lea esi, [ebp - 0x404]
add esp, 0xc
mov byte [ebp - 5], 0
xor edi, edi
cmp al, 0x2f
je 0x55152b
cmp al, 0x5c
jne 0x551531
lea esi, [ebp - 0x403]
mov al, byte [esi]
test al, al
je 0x5515ac
xor cl, cl
nop dword [eax]
cmp al, 0x5c
je 0x551552
cmp al, 0x2f
je 0x551552
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x551540
jmp 0x551557
mov byte [esi], 0
mov cl, 1
xor eax, eax
test cl, cl
cmovne eax, esi
mov esi, eax
lea eax, [ebp - 0x404]
cmp esi, eax
je 0x5515a0
push 0
push eax
call fcn.00705705
add esp, 8
test eax, eax
je 0x5515a0
cmp byte [ebp - 0x403], 0x3a
jne 0x55158b
cmp byte [ebp - 0x402], 0
je 0x5515a0
lea eax, [ebp - 0x404]
push eax
call fcn.007089a6
mov edi, eax
add esp, 4
test edi, edi
jne 0x5515ac
test esi, esi
je 0x5515ac
mov byte [esi], 0x5c
inc esi
test esi, esi
jne 0x551531
mov ecx, dword [ebp - 4]
mov eax, ebx
mov dword [ebx], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
Function at 0x551650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
nop dword [eax + eax]
push ebx
push dword [ebp + 8]
push dword [edi + 0x10]
call fcn.00712580
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x5516a5
call fcn.006fba38
cmp dword [eax], 0xb
je 0x551660
call fcn.006fba38
cmp dword [eax], 4
je 0x551660
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
or dword [eax + edi + 8], 2
or eax, esi
cmp esi, esi
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x5516b8
test esi, esi
jne 0x5516b8
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
or dword [eax + edi + 8], 4
or eax, 0xffffffff
cmp esi, 0xffffffff
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5516d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00706ebf
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret
Function at 0x551750
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 ebx, ecx
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
test byte [eax + ebx + 8], 0x10
je 0x5518f4
push dword [ebx + 0x10]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], esi
call fcn.007076c2
add esp, 4
cmp eax, 0xffffffff
je 0x5517d2
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x5517d2
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
call fcn.00551280
imul ecx, dword [ebp - 0x84], 0x1000193
mov edx, eax
mov dword [ebp - 0x74], edx
xor ecx, edi
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 8]
xor edx, edx
xor eax, esi
div ecx
mov eax, dword [ebp - 0x74]
mov edi, edx
mov esi, dword [eax]
test esi, esi
je 0x551912
cmp edi, ecx
jae 0x551912
lea eax, [edi + edi*4]
shl eax, 3
mov dword [ebp - 0x78], eax
mov esi, dword [eax + esi]
mov ecx, esi
mov dword [ebp - 0x88], esi
call fcn.00557240
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x55192f
cmp edi, dword [eax + 8]
jae 0x55192f
mov eax, dword [ebp - 0x78]
add eax, 4
add eax, ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
push ecx
mov ecx, eax
call fcn.00551410
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
cmp edi, dword [eax + 8]
jne 0x551875
mov dword [ebp - 4], 1
jmp 0x5518de
mov ecx, dword [edi + 0x14]
call fcn.00557410
mov eax, dword [edi + 0x14]
dec dword [eax + 0x9c]
cmp dword [eax + 0x9c], 0
jg 0x5518d7
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x5518c7
lea ecx, [eax + 0x64]
call fcn.005570e0
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx + 0x2c]
call fcn.005570e0
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx + 0xc]
call fcn.00557110
push 0xa0
push dword [ebp - 0x74]
call fcn.006f4b9f
add esp, 8
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.005511f0
mov dword [ebp - 4], 2
test esi, esi
je 0x5518e9
mov ecx, esi
call fcn.00557390
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
and dword [eax + ebx + 8], 0xffffffef
mov al, 1
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
push str.THashMap::getLock:_nIndex_too_large
push 0x22
lea ecx, [ebp - 0x3c]
call fcn.00550830
push 0x7d38f4
lea eax, [ebp - 0x3c]
push eax
call fcn.006f7a5d
push str.THashMap::getLock:_nIndex_too_large
push 0x22
lea ecx, [ebp - 0x70]
call fcn.00550830
push 0x7d38f4
lea eax, [ebp - 0x70]
push eax
call fcn.006f7a5d
int3
Function at 0x552e20
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72a0e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7db1e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
call fcn.0044f340
push dword [ebp + 8]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.0044f340
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x556be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, ecx
mov dword [ebp - 4], esi
cmp dword [esi + 0x44], 0
je 0x556d0e
cmp dword [esi + 0x40], 0
je 0x556cf9
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax]
mov dword [ebp - 8], edx
cmp ecx, edx
jae 0x556cf9
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
add eax, edx
cmp edx, eax
jne 0x556c31
cmp edx, ecx
jbe 0x556c31
cmp byte [edx - 1], 0xa
je 0x556c31
inc edx
mov dword [ebp - 8], edx
push ebx
push edi
push 0
call fcn.00700021
mov ebx, eax
add esp, 4
mov eax, edx
mov dword [0x7df4d0], ebx
mov dword [0x7df4d4], eax
mov edi, dword [esi + 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x54]
mov esi, dword [esi + 0x50]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
cmp ebx, edi
jae 0x556cf4
mov eax, edi
sub eax, ebx
push eax
push 0xa
push ebx
mov dword [ebp - 0x14], eax
call fcn.006f7ad0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x556d16
mov eax, dword [ebp - 4]
inc esi
mov ecx, esi
mov dword [ebp - 0x20], ebx
sub ecx, ebx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax + 0x40]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 8]
jg 0x556ceb
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x556cda
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edi
push edx
mov eax, dword [eax + 4]
call eax
test al, al
je 0x556ceb
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x556ceb
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.00556280
mov edi, dword [ebp - 8]
mov ebx, esi
cmp esi, edi
jb 0x556c91
mov esi, dword [ebp - 4]
pop edi
pop ebx
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], edx
cmp dword [esi + 0x4c], 0
je 0x556d62
jmp 0x556d5b
cmp ebx, edi
jae 0x556cf4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x20], ebx
cmp eax, dword [edi + 8]
jg 0x556cf7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x556d48
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edi
push edx
mov eax, dword [eax + 4]
call eax
test al, al
je 0x556cf7
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x556cf7
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.00556280
jmp 0x556cf7
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x556d6e
call fcn.00555c90
push 0
call fcn.00708ccb
int3
Function at 0x558bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72a8db
mov eax, dword fs:[0]
push eax
sub esp, 0x118
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x124]
mov ebx, dword [ebp + 0xc]
push 1
push 0xffffffffffffffff
mov dword [ebp - 0xf8], 0
call fcn.0055d0f0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x124]
push 0
inc eax
mov dword [ebp - 4], 0
push eax
call fcn.0055d610
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
push esi
call fcn.005575f0
add esp, 0xc
lea ecx, [ebp - 0xf0]
mov edi, eax
push dword [0x7d9d70]
call fcn.0056a8a0
push edi
push dword [ebp - 0x114]
lea ecx, [ebp - 0xf0]
call fcn.0056a4a0
push 0
push edi
lea ecx, [ebp - 0x124]
call fcn.0055d610
push 0
push 0
lea ecx, [ebp - 0x124]
call fcn.0055d650
push 4
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x124]
call fcn.0055aea0
push dword [ebp - 0xf8]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
call esi
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x124]
push 4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
push eax
call fcn.0055aea0
push dword [ebp - 0xf4]
call esi
mov dword [ebp - 0xf4], eax
add eax, 8
push 0
cmp eax, edi
jbe 0x558cf1
push 0x7c4968
jmp 0x558d63
push 0
lea ecx, [ebp - 0x124]
call fcn.0055d650
mov eax, dword [ebp - 0xf4]
xor esi, esi
test eax, eax
je 0x558d38
nop word [eax + eax]
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x124]
call fcn.0055d290
mov ecx, esi
inc esi
and ecx, 3
mov cl, byte [ebp + ecx - 0xf8]
xor byte [eax], cl
mov eax, dword [ebp - 0xf4]
cmp esi, eax
jb 0x558d10
add eax, 8
lea ecx, [ebp - 0x124]
push eax
call fcn.0055d290
mov byte [eax], 0
mov edx, dword [ebp - 0x114]
add edx, 8
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x558d58
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.0044f130
lea ecx, [ebp - 0x100]
call fcn.0055d210
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