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

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
jne 0x473142
cmp dword [esi + 4], 0xffffffff
jne 0x473142
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4730b0
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x4730e7
cmp eax, 0x2f
je 0x4730e7
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4730d4
mov eax, dword [0x4eb9d8]
mov dword [edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x47310a
push edi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x47310a
mov eax, 0x2000000
pop edi
pop ebp
ret 8
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edi
push edx
push ebx
call fcn.004719e0
add esp, 0x10
test eax, eax
jne 0x473128
mov eax, dword [ebp + 0xc]
pop edi
pop ebp
ret 8
call fcn.00472080
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ebp
ret 8
mov eax, 0x1000000
pop ebp
ret 8

Function at 0x4738d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x473904
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x473904
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x4739ee
mov ecx, ebx
mov edx, ebx
cmp ax, 0x2f
je 0x473920
cmp ax, 0x5c
jne 0x473922
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x473914
push edi
cmp ecx, ebx
je 0x473962
sub ecx, ebx
sar ecx, 1
lea edi, [ecx + ecx]
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
lea edx, [ebp - 0x414]
push edx
xor ecx, ecx
push esi
mov word [ebp + edi - 0x414], cx
call fcn.004738d0
add esp, 0x14
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x47398f
lea edx, [ebp - 0x20c]
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x473980
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473993
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4739b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x4739ee
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a665a
mov esp, ebp
pop ebp
ret
Function at 0x476290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x4764ae
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x476317
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x476357
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x476357
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x476342
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.00475fb0
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x476357
mov ebx, eax
mov eax, dword [esi + 0x6af84]
mov ecx, esi
cmp ebx, 3
jb 0x47643b
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.00475750
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x476404
cmp ecx, 3
jb 0x476404
mov edi, 1
sub ebx, edi
lea esp, [esp]
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x4763a0
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x476456
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x476456
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.00475750
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x476490
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x47646d
lea edx, [ecx + esi + 0x1af70]
jmp 0x47646f
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
push edx
xor edi, edi
mov ecx, esi
call fcn.004755b0
mov ecx, dword [esi + 0x6af84]
add esp, 4
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x4764a1
call fcn.00476150
cmp dword [esi + 0x6af90], 0
jne 0x4762c0
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x4764c1
lea edx, [ecx + esi + 0x1af70]
jmp 0x4764c3
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
push edx
mov edi, 1
mov ecx, esi
call fcn.004755b0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x477177
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x47724d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4e87f0]
add ecx, 8
sub edx, 8
dec esi
jne 0x477190
pop edi
test edx, edx
je 0x47726a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4e87f0]
inc ecx
dec edx
jne 0x477251
not eax
pop esi
ret

Function at 0x477270
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e87f0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4e87f0]
mov dword [edx + 8], ecx
ret
Function at 0x477940
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x477a34
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x477978
cmp dword [esi + 0x40], edi
jae 0x477978
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x477991
lea eax, [edi + edi]
push eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x477a31
lea esp, [esp]
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e87f0]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4e87f0]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x4779b0
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x477a73
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x477a58
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x477a95
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x477fe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [esi + 0x84]
push edi
test ecx, ecx
je 0x478033
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x478070
sub edi, eax
cmp edi, edx
jbe 0x478007
mov edi, edx
push edi
add eax, ecx
push eax
push ebx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esi + 0x78]
add dword [esi + 0x8c], edi
add dword [esi + 0x74], edi
add esp, 0xc
mov edx, edi
mov ecx, ebx
call fcn.00477170
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x478069
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x478070
mov edi, dword [ebp - 4]
mov eax, dword [esi + 0x78]
add dword [esi + 0x74], edi
mov edx, edi
mov ecx, ebx
call fcn.00477170
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x47c700
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0711
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x50e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [ebp - 4], ebx
mov dword [esi], vtable.newPageElementInfo.0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], ebx
mov byte [esi + 0x84], bl
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb0], ebx
mov byte [esi + 0xa0], bl
mov dword [esi + 0xd0], eax
mov dword [esi + 0xcc], ebx
mov byte [esi + 0xbc], bl
mov dword [esi + 0xec], eax
mov dword [esi + 0xe8], ebx
mov byte [esi + 0xd8], bl
mov dword [esi + 0x108], eax
mov dword [esi + 0x104], ebx
mov byte [esi + 0xf4], bl
mov dword [esi + 0x124], eax
mov dword [esi + 0x120], ebx
mov byte [esi + 0x110], bl
mov dword [esi + 0x140], eax
mov dword [esi + 0x13c], ebx
mov byte [esi + 0x12c], bl
mov dword [esi + 0x15c], eax
mov dword [esi + 0x158], ebx
mov byte [esi + 0x148], bl
mov dword [esi + 0x178], eax
mov dword [esi + 0x174], ebx
mov byte [esi + 0x164], bl
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xc
call fcn.00485a10
add esp, 4
lea edi, [ebp - 0x20]
xor edx, edx
xor ecx, ecx
mov byte [ebp - 4], 0xd
cmp edi, eax
je 0x47c84e
mov ecx, dword [eax + 4]
mov dword [eax + 4], ebx
mov edx, dword [eax]
mov dword [eax], ebx
mov edi, dword [esi + 0x184]
mov dword [esi + 0x184], ecx
mov dword [esi + 0x180], edx
cmp edi, ebx
je 0x47c88d
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47c88d
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47c88d
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x47c8c1
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47c8c1
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47c8c1
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov eax, esi
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 0x47df60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0643
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x50e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [ebp - 4], ebx
mov dword [esi], vtable.newSignalStreamMediaResult.0
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], ebx
mov byte [esi + 0x90], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xf0], eax
mov dword [esi + 0xec], ebx
mov byte [esi + 0xdc], bl
mov dword [esi + 0x10c], eax
mov dword [esi + 0x108], ebx
mov byte [esi + 0xf8], bl
mov dword [esi + 0x128], eax
mov dword [esi + 0x124], ebx
mov byte [esi + 0x114], bl
mov dword [esi + 0x144], eax
mov dword [esi + 0x140], ebx
mov byte [esi + 0x130], bl
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov byte [esi + 0x168], bl
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.00485a10
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xc
xor ecx, ecx
lea edi, [ebp - 0x20]
cmp edi, eax
je 0x47e0d5
mov ecx, dword [eax + 4]
mov dword [eax + 4], ebx
mov edx, dword [eax]
mov dword [eax], ebx
mov edi, dword [esi + 0x170]
mov dword [esi + 0x170], ecx
mov dword [esi + 0x16c], edx
cmp edi, ebx
je 0x47e114
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47e114
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47e114
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x47e148
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47e148
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47e148
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov eax, esi
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 0x498cf0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3281
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x50e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.IPC::Listener.0
xor ebx, ebx
lea esi, [edi + 4]
mov dword [ebp - 4], ebx
call fcn.00492220
mov dword [edi], vtable.ServerChannel.0
mov dword [esi], vtable.ServerChannel.1.0
mov dword [edi + 0xc], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
lea ecx, [edi + 0x10]
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.004059c0
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 3
mov eax, 0x4990c0
push ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
push eax
lea ebx, [ebp - 0x14]
mov dword [ebp + 0xc], edi
call fcn.00499d10
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [edi + 8]
mov esi, dword [ecx + 0x14]
push eax
call dword [sym.imp.brbase.dll_void_const____cdecl_tracked_objects::GetProgramCounter_void_]
push eax
push 0x15
push str.e:jenkinsworkspace_stm_net_v4.6.9.1_private_bonree_ipc_bonree_ipc_server.h
push 0x4f0cf8
lea ecx, [ebp - 0x24]
call dword [sym.imp.brbase.dll_public:_void___thiscall_tracked_objects::Location::constructor_char_const___char_const___int__void_const__]
push eax
mov ecx, esi
call dword [sym.imp.brbase.dll_public:_void___thiscall_base::MessageLoop::PostTask_class_tracked_objects::Location_const___class_base::Callback_void____cdecl___void___const__]
mov ecx, ebx
mov byte [ebp - 4], 3
call dword [sym.imp.brbase.dll_protected:_void___thiscall_base::internal::CallbackBase::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x499660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dcb98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x50e018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
test eax, eax
je 0x499750
mov dword [esi + 0x38], eax
call fcn.004625c0
push 0x1f3
push 0xfffffc18
push edx
push eax
call fcn.004cbe60
push 0
add eax, 0x3e7
push 0x3e8
adc edx, 0
push edx
push eax
call fcn.004cbc80
mov dword [esi + 0x40], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x44], edx
cmp dword [eax + 0x14], 0
je 0x499750
xor ecx, ecx
push ecx
mov eax, 0x498f00
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], esi
call fcn.00499e70
add esp, 0x10
mov dword [esp + 0x30], 0
mov esi, dword [esi + 8]
mov esi, dword [esi + 0x14]
push eax
call dword [sym.imp.brbase.dll_void_const____cdecl_tracked_objects::GetProgramCounter_void_]
push eax
push 0x4e
push str.server_host_impl.cpp
push str.ServerHostImpl::StartListen
lea ecx, [esp + 0x28]
call dword [sym.imp.brbase.dll_public:_void___thiscall_tracked_objects::Location::constructor_char_const___char_const___int__void_const__]
push eax
mov ecx, esi
call dword [sym.imp.brbase.dll_public:_void___thiscall_base::MessageLoop::PostTask_class_tracked_objects::Location_const___class_base::Callback_void____cdecl___void___const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.brbase.dll_protected:_void___thiscall_base::internal::CallbackBase::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x49f0c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x49f0cb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.0049f0e0
Function at 0x49f710
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
push ebx
jg 0x49f745
jl 0x49f733
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x49f748
mov eax, dword [ebp + 8]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov edx, 1
mov dword [ebp - 0x84], 0xedb88320
mov ecx, edx
lea esp, [esp]
mov dword [ebp + ecx*4 - 0x84], edx
inc ecx
add edx, edx
cmp ecx, 0x20
jl 0x49f760
push esi
push edi
xor edi, edi
jmp 0x49f780
mov ecx, dword [ebp + edi - 0x84]
xor esi, esi
lea edx, [ebp - 0x84]
test ecx, ecx
je 0x49f7a1
test cl, 1
je 0x49f79a
xor esi, dword [edx]
add edx, 4
shr ecx, 1
jne 0x49f793
mov dword [ebp + edi - 0x104], esi
add edi, 4
cmp edi, 0x80
jl 0x49f780
xor edi, edi
jmp 0x49f7c0
mov ecx, dword [ebp + edi - 0x104]
xor esi, esi
lea edx, [ebp - 0x104]
test ecx, ecx
je 0x49f7e1
test cl, 1
je 0x49f7da
xor esi, dword [edx]
add edx, 4
shr ecx, 1
jne 0x49f7d3
mov dword [ebp + edi - 0x84], esi
add edi, 4
cmp edi, 0x80
jl 0x49f7c0
jmp 0x49f803
mov ebx, dword [ebp + 0x10]
xor edi, edi
jmp 0x49f810
mov ecx, dword [ebp + edi - 0x84]
xor esi, esi
lea edx, [ebp - 0x84]
test ecx, ecx
je 0x49f831
test cl, 1
je 0x49f82a
xor esi, dword [edx]
add edx, 4
shr ecx, 1
jne 0x49f823
mov dword [ebp + edi - 0x104], esi
add edi, 4
cmp edi, 0x80
jl 0x49f810
mov ecx, ebx
and ecx, 1
xor edx, edx
or ecx, edx
je 0x49f870
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x104]
test eax, eax
je 0x49f86d
jmp 0x49f860
test al, 1
je 0x49f866
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x49f860
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0x14]
shrd ebx, eax, 1
sar eax, 1
mov dword [ebp - 0x108], eax
mov eax, ebx
mov ebx, dword [ebp - 0x108]
mov ecx, eax
or ecx, ebx
mov dword [ebp + 0x10], eax
je 0x49f919
xor edi, edi
jmp 0x49f8a0
mov ecx, dword [ebp + edi - 0x104]
xor esi, esi
lea edx, [ebp - 0x104]
test ecx, ecx
je 0x49f8c1
test cl, 1
je 0x49f8ba
xor esi, dword [edx]
add edx, 4
shr ecx, 1
jne 0x49f8b3
mov dword [ebp + edi - 0x84], esi
add edi, 4
cmp edi, 0x80
jl 0x49f8a0
mov ecx, eax
and ecx, 1
xor edx, edx
or ecx, edx
je 0x49f903
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
test eax, eax
je 0x49f8fd
jmp 0x49f8f0
test al, 1
je 0x49f8f6
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x49f8f0
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], edx
shrd eax, ebx, 1
mov ecx, eax
sar ebx, 1
mov dword [ebp + 0x10], ecx
or ecx, ebx
mov dword [ebp + 0x14], ebx
jne 0x49f800
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor eax, dword [ebp + 0xc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a665a
mov esp, ebp
pop ebp
ret