joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49de20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x49de33
xor al, al
pop esi
pop ebp
ret 0x10
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x49de51
push str.05609B51_E92F_4dfe_B3BF_7EA6130B1D23
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x49de59
pop edi
xor al, al
pop esi
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
mov byte [esi + 0x14], al
test edi, edi
je 0x49df1b
cmp edi, 0xffffffff
je 0x49df1b
push 0
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x49debf
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push edi
call esi
pop ebx
pop edi
xor al, al
pop esi
pop ebp
ret 0x10
cmp byte [esi + 0x14], 0
mov edx, dword [ebp + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
je 0x49df08
test ebx, ebx
jne 0x49def1
mov dword [0], ebx
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jae 0x49defa
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
push eax
call fcn.005592a0
add esp, 0xc
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
pop ebp
ret 0x10

Function at 0x49e030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x49e053
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x49e010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a1b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x62d12c]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x4a1b9d
call fcn.0049bcc0
mov edi, eax
jmp 0x4a1c82
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4a1bb6
call fcn.0049bcc0
jmp 0x4a1c79
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x4a1bd4
call fcn.0049bcc0
jmp 0x4a1c79
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x4a1bf5
mov edi, 0x8007000e
jmp 0x4a1c7b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0049f750
mov dword [ebp - 4], 1
jmp 0x4a1c2d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4a1c3e
mov edi, 0x8007000e
jmp 0x4a1c7b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4a1c57
call fcn.0049bcc0
jmp 0x4a1c79
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.004a12e0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x4a1ca0
lea ecx, [ebp - 0x418]
call fcn.0049d4b0
jmp 0x4a1ca0
mov eax, edi
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.00558b78
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a2910
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59917e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x62d12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov byte [esi + 0x88], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], vtable.CProxy_IDeviceManagerEvents_class_CDeviceManager_.0
mov dword [esi + 0x14], vtable.RimDeviceNotify.0
mov dword [esi + 0x18], vtable.modemcontrollernotify.0
or eax, 0xffffffff
mov dword [esi + 0x1c], vtable.Timer.0
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], vtable.IBluetoothManagerNotify.0
push str.DeviceManager
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 5
call fcn.0050a290
mov dword [esi + 0x60], vtable.DebugLog::DebugLineNotify.0
mov dword [esi + 0x64], vtable.IDeviceManagerService.0
mov dword [esi + 0x68], vtable.tunnel_device_monitor_notify.0
mov dword [esi + 0x8c], ebx
push 0x18
mov byte [ebp - 4], 0xa
mov dword [esi + 0xb4], ebx
call fcn.00559a21
add esp, 4
cmp eax, ebx
je 0x4a2aca
mov dword [esi + 0xb0], eax
mov dword [eax], eax
mov eax, dword [esi + 0xb0]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xb0]
mov dword [eax + 8], eax
mov eax, dword [esi + 0xb0]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0xb0]
mov byte [ecx + 0x15], 1
mov dword [esi + 0xc8], ebx
push 1
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 0xc
call fcn.0049d3c0
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
push 0x2c
mov byte [ebp - 4], 0x11
mov dword [esi + 0x124], ebx
call fcn.00559a21
add esp, 4
cmp eax, ebx
je 0x4a2aa6
mov dword [esi + 0x120], eax
mov dword [eax], eax
mov eax, dword [esi + 0x120]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x120]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x120]
mov byte [edx + 0x28], 1
mov eax, dword [esi + 0x120]
mov byte [eax + 0x29], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0055909d
push 0x60e354
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.00559aa1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0055909d
push 0x60e354
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.00559aa1
int3
Function at 0x4a5510
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0xffffffff
mov dword [ebp - 0x10c], ebx
jne 0x4a5553
push ebx
call fcn.0055a04a
add esp, 4
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x4a5618
nop
mov eax, dword [esi + 0x34]
push 0
push edi
push ebx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4a560c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4a563c
push str.SRPClient::SendPacket:_Pipe_full
push 4
call fcn.005304d0
mov eax, dword [esi + 0x34]
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
push 0
lea edx, [ebp - 0x108]
push edx
mov dword [ebp - 0x104], eax
push 0
inc eax
push eax
mov dword [ebp - 0x114], 0x78
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x4a5610
push str.SRPClient::SendPacket:_Timeout_sending_packet
push 4
call fcn.005304d0
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.0055a04a
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 8
sub edi, eax
add ebx, eax
test edi, edi
jg 0x4a5560
mov edx, dword [ebp - 0x10c]
push edx
call fcn.0055a04a
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret 8
push eax
push str.SRPClient::SendPacket:_Error_sending_Data___d_
push 4
mov dword [esi + 0x38], eax
call fcn.005304d0
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0055a04a
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret 8
Function at 0x4a59d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push eax
push ecx
push str.SRPClientReceiver_thread_Id0x_X__Handle0x_lX
push 4
call fcn.005304d0
add esp, 0x10
cmp dword [esi + 0x24], 0xffffffff
lea edx, [esi + 0xc]
lea ebx, [esi + 0x28]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], ebx
je 0x4a5a90
push edi
mov edi, 1
lea esp, [esp]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 2
call fcn.0050a660
add esp, 0x14
cmp eax, edi
je 0x4a5a8f
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
lea edx, [ebp - 0x108]
mov dword [ebp - 0x104], eax
push edx
inc eax
push eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], edi
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4a5a89
mov ecx, ebx
call fcn.0050a5d0
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp dword [esi + 0x24], 0xffffffff
jne 0x4a5a20
pop edi
push str.SRPClientReceiver_thread_stopped
push 4
call fcn.005304d0
mov ecx, dword [ebp - 4]
add esp, 8
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x4aabb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0055af50
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x1010], ecx
push edi
mov dword [ebp - 0x100c], edx
xor ecx, ecx
jmp 0x4aabf0
movzx edx, word [ecx + str.SoftwareResearch_In_MotionRIMBBLaunchAgentConfig_]
mov word [ebp + ecx - 0x1004], dx
add ecx, 2
test dx, dx
jne 0x4aabf0
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aac10
lea edi, [ebp - 0x1004]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4aac26
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x1008]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x1004]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4aaca3
mov esi, dword [ebp - 0x100c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aac66
mov ecx, dword [ebp - 0x1008]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [ebp - 0x1010]
push edx
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x1008]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x4aad80
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x566c
call fcn.0055af50
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x5660], ecx
push edi
xor ecx, ecx
jmp 0x4aadb0
movzx edx, word [ecx + str.SoftwareResearch_In_MotionRIMBBLaunchAgentConfig_]
mov word [ebp + ecx - 0x5654], dx
add ecx, 2
test dx, dx
jne 0x4aadb0
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aadd0
lea edi, [ebp - 0x5654]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4aade6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x5658]
push edx
lea eax, [ebp - 0x5654]
push eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4aaedb
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x565c], 0x490
xor esi, esi
mov ebx, 0x1770
jmp 0x4aae40
lea ecx, [ebp - 0x5664]
push ecx
lea edx, [ebp - 0x2ee4]
push edx
lea eax, [ebp - 0x566c]
push eax
mov eax, dword [ebp - 0x5658]
push 0
lea ecx, [ebp - 0x5668]
push ecx
lea edx, [ebp - 0x4654]
push edx
push esi
push eax
mov dword [ebp - 0x5664], 0x2ee0
mov dword [ebp - 0x5668], ebx
call edi
test eax, eax
jne 0x4aaec8
mov eax, dword [ebp - 0x5660]
lea edx, [ebp - 0x2ee4]
push edx
xor ecx, ecx
push eax
mov word [ebp - 6], cx
call fcn.0055ade6
add esp, 8
test eax, eax
je 0x4aaeae
inc esi
cmp esi, 0x2710
jb 0x4aae40
jmp 0x4aaec8
mov edx, dword [ebp - 0x5658]
lea ecx, [ebp - 0x4654]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x565c], eax
mov eax, dword [ebp - 0x5658]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x565c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x4aaef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x566c
call fcn.0055af50
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x5660], ecx
push edi
mov byte [ebp - 0x5655], 0
xor ecx, ecx
jmp 0x4aaf30
movzx edx, word [ecx + str.SoftwareResearch_In_MotionRIMBBLaunchAgentConfig_]
mov word [ebp + ecx - 0x5654], dx
add ecx, 2
test dx, dx
jne 0x4aaf30
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aaf50
lea edi, [ebp - 0x5654]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4aaf66
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x565c]
push edx
lea eax, [ebp - 0x5654]
push eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4ab032
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor esi, esi
mov ebx, 0x1770
lea esp, [esp]
lea ecx, [ebp - 0x5664]
push ecx
lea edx, [ebp - 0x2ee4]
push edx
lea eax, [ebp - 0x566c]
push eax
mov eax, dword [ebp - 0x565c]
push 0
lea ecx, [ebp - 0x5668]
push ecx
lea edx, [ebp - 0x4654]
push edx
push esi
push eax
mov dword [ebp - 0x5664], 0x2ee0
mov dword [ebp - 0x5668], ebx
call edi
test eax, eax
jne 0x4ab025
mov eax, dword [ebp - 0x5660]
lea edx, [ebp - 0x2ee4]
push edx
xor ecx, ecx
push eax
mov word [ebp - 6], cx
call fcn.0055ade6
add esp, 8
test eax, eax
je 0x4ab01e
inc esi
cmp esi, 0x2710
jb 0x4aafb0
jmp 0x4ab025
mov byte [ebp - 0x5655], 1
mov ecx, dword [ebp - 0x565c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x5655]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret
Function at 0x4b77e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
test esi, esi
je 0x4b7812
push ebx
push edi
mov edi, dword [esp + 0x10]
movzx ebx, byte [edx + edi]
mov eax, dword [ecx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x5cc7a0]
inc edx
mov dword [ecx], eax
cmp edx, esi
jb 0x4b77f1
pop edi
pop ebx
pop esi
ret 8

Function at 0x4c82d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4c83cc
push eax
call fcn.0055d18d
lea eax, [edi + 0x45]
push 0x5cf78c
push eax
call fcn.0055d2bd
add esp, 0xc
test eax, eax
setne cl
mov dword [edi + 0x40], eax
mov byte [edi + 0x55], cl
test eax, eax
je 0x4c83ae
cmp byte [esp + 0xc], 0
je 0x4c83ae
push esi
push 0x200
call fcn.00541cf1
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
jne 0x4c8335
pop esi
mov byte [edi + 0x55], al
pop edi
pop ecx
ret 4
movzx edx, byte [esp + 0x10]
push ebx
mov ebx, dword [edi + 0x24]
push ebp
mov ebp, dword [edi + 0x20]
push 0x200
push edx
push esi
call fcn.0055aed0
add esp, 0xc
test ebx, ebx
jne 0x4c8362
test ebp, ebp
je 0x4c83a2
lea esp, [esp]
test ebx, ebx
ja 0x4c8372
jb 0x4c836e
cmp ebp, 0x200
jae 0x4c8372
mov esi, ebp
jmp 0x4c8377
mov esi, 0x200
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x10]
push eax
push esi
push 1
push ecx
call fcn.0055d5db
add esp, 0x10
cmp eax, esi
jne 0x4c83b3
sub ebp, esi
sbb ebx, 0
test ebx, ebx
ja 0x4c8372
jb 0x4c839e
test ebp, ebp
jne 0x4c8360
mov esi, dword [esp + 0x10]
push esi
call fcn.0055a04a
add esp, 4
pop ebp
pop ebx
pop esi
pop edi
pop ecx
ret 4
mov edx, dword [esp + 0x10]
push edx
mov byte [edi + 0x55], 0
call fcn.0055a04a
add esp, 4
pop ebp
pop ebx
pop esi
pop edi
pop ecx
ret 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4c83ae
mov ecx, dword [edi + 0x28]
movzx edx, byte [esp + 0xc]
push ecx
push edx
push eax
call fcn.0055aed0
add esp, 0xc
pop edi
pop ecx
ret 4

Function at 0x4c86d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x55], 0
je 0x4c873d
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4c873d
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4c86ed
cmp byte [esi + 0x54], al
je 0x4c873d
cmp byte [esi + 0x54], 0
je 0x4c86ff
push ecx
mov ecx, esi
call fcn.004ce250
pop esi
ret 4
test eax, eax
je 0x4c8734
cmp dword [esi + 0x40], 0
jne 0x4c8734
push ecx
mov ecx, dword [esi + 0x28]
push ecx
push 1
push eax
call fcn.0055d5db
add esp, 0x10
xor ecx, ecx
cmp dword [esi + 0x28], eax
jne 0x4c8725
cmp dword [esi + 0x2c], ecx
je 0x4c872e
mov eax, 0x14
pop esi
ret 4
xor eax, eax
pop esi
ret 4
mov eax, 2
pop esi
ret 4
mov eax, 4
pop esi
ret 4
Function at 0x4c8762
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x4c
mov eax, dword [0x62d12c]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x4c8782
mov eax, 2
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00558b78
add esp, 0x4c
ret 4
test eax, eax
jne 0x4c879d
mov eax, 4
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00558b78
add esp, 0x4c
ret 4
push edi
push 0x5cf7ec
push eax
call fcn.0055d2bd
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c87c8
lea eax, [edi + 0x11]
pop edi
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00558b78
add esp, 0x4c
ret 4
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.004cefc0
movzx eax, byte [esp + 0x27]
movzx ecx, byte [esp + 0x26]
movzx edx, byte [esp + 0x25]
push eax
movzx eax, byte [esp + 0x28]
push ecx
movzx ecx, byte [esp + 0x2b]
push edx
movzx edx, byte [esp + 0x2e]
push eax
movzx eax, byte [esp + 0x31]
push ecx
movzx ecx, byte [esp + 0x34]
push edx
movzx edx, byte [esp + 0x37]
push eax
movzx eax, byte [esp + 0x3a]
push ecx
movzx ecx, byte [esp + 0x3d]
push edx
movzx edx, byte [esp + 0x40]
push eax
movzx eax, byte [esp + 0x43]
push ecx
movzx ecx, byte [esp + 0x46]
push edx
movzx edx, byte [esp + 0x49]
push eax
movzx eax, byte [esp + 0x4c]
push ecx
movzx ecx, byte [esp + 0x4f]
push edx
movzx edx, byte [esp + 0x52]
push eax
movzx eax, byte [esp + 0x55]
push ecx
movzx ecx, byte [esp + 0x58]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x7c]
push 0x32
push edx
call fcn.00559bc0
lea eax, [esp + 0x84]
add esp, 0x68
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c8870
sub eax, edx
mov esi, eax
push edi
push esi
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0055d5db
add esp, 0x10
push edi
cmp esi, eax
je 0x4c88b1
call fcn.0055d18d
add esp, 4
pop edi
mov eax, 0x14
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00558b78
add esp, 0x4c
ret 4
call fcn.0055d18d
mov ecx, dword [esp + 0x54]
add esp, 4
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00558b78
add esp, 0x4c
ret 4
Function at 0x4cdf80
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x59b443
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d12c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.004cde40
push 8
mov ebx, eax
call fcn.00559a21
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebp, ebp
mov dword [esp + 0x2c], ebp
cmp edi, ebp
je 0x4cdff2
mov dword [edi], ebp
mov dword [edi + 4], ebx
cmp ebx, 0x100000
jbe 0x4cdfe2
mov dword [edi + 4], 0x100000
mov eax, dword [edi + 4]
push eax
call fcn.00541cf1
add esp, 4
mov dword [edi], eax
jmp 0x4cdff4
xor edi, edi
mov dword [esp + 0x14], edi
push ebp
push ebp
push ebp
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.0040f680
cmp ebx, ebp
jbe 0x4ce049
mov edi, edi
mov esi, dword [edi + 4]
mov eax, ebx
sub eax, ebp
cmp esi, eax
jb 0x4ce01d
mov esi, eax
mov ecx, dword [edi]
push 0
push esi
push ecx
mov ecx, dword [esp + 0x44]
call fcn.0040f550
mov edx, dword [esp + 0x34]
mov eax, dword [edi]
push edx
push esi
push 1
push eax
call fcn.0055d5db
add esp, 0x10
cmp esi, eax
jne 0x4ce074
add ebp, esi
cmp ebp, ebx
jb 0x4ce010
test edi, edi
je 0x4ce05e
mov eax, dword [edi]
push eax
call fcn.0055a04a
push edi
call fcn.00558723
add esp, 8
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], str.Failed_to_write_scratch_buffer_chunk
call fcn.0055909d
push 0x60e288
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::runtime_error.0
call fcn.00559aa1
int3