joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ce40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465c35
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
push 0x3d
mov dword [ebp - 0x1c], 0
call fcn.004649c1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x3d
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x3c], 0
mov dword [eax], 4
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0x10], 8
mov dword [eax + 0x18], 0
sub esp, 0x14
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.OnSpawn
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004569a0
lea ecx, [ebp - 0x1c]
call fcn.0040c160
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044f450
lea ecx, [ebp - 0x1c]
call fcn.0040c160
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00401000
push eax
push 0
push edi
call fcn.004021c0
push dword [ebp - 0x14]
call fcn.0046476b
mov ecx, dword [ebp + 0x1c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x40cf94
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cf8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cf8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret
Function at 0x40cfb0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465c35
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
push 0x3d
mov dword [ebp - 0x1c], 0
call fcn.004649c1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x3d
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x3c], 0
mov dword [eax], 4
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0x10], 8
mov dword [eax + 0x18], 0
sub esp, 0x14
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 0xe
movups xmmword [ecx], xmm0
push str.OnStoreRequest
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004569a0
lea ecx, [ebp - 0x1c]
call fcn.0040c160
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044f450
lea ecx, [ebp - 0x1c]
call fcn.0040c160
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00401000
push eax
push 0
push edi
call fcn.004021c0
push dword [ebp - 0x14]
call fcn.0046476b
mov ecx, dword [ebp + 0x1c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x40d104
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d0fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d0fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret
Function at 0x40d120
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465c35
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
push 0x3d
mov dword [ebp - 0x1c], 0
call fcn.004649c1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x3d
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x3c], 0
mov dword [eax], 4
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0x10], 8
mov dword [eax + 0x18], 0
sub esp, 0x14
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 0x15
movups xmmword [ecx], xmm0
push str.OnStorePurchaseResult
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004569a0
lea ecx, [ebp - 0x1c]
call fcn.0040c160
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044f450
lea ecx, [ebp - 0x1c]
call fcn.0040c160
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00401000
push eax
push 0
push edi
call fcn.004021c0
push dword [ebp - 0x14]
call fcn.0046476b
mov ecx, dword [ebp + 0x1c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x40d274
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d26a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d26a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret
Function at 0x418110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46668d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 0x46e683
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
call fcn.004569a0
mov byte [ebp - 4], 1
push 0x3d
mov dword [ebp - 0x1c], 0
call fcn.004649c1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x3d
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x3c], 0
mov dword [eax], 4
mov dword [eax + 4], 1
mov dword [eax + 8], esi
mov dword [eax + 0x10], 8
mov dword [eax + 0x18], 0
sub esp, 0x14
mov byte [ebp - 4], 2
mov ecx, esp
xorps xmm0, xmm0
push 8
movups xmmword [ecx], xmm0
push str.OnAction
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004569a0
lea ecx, [ebp - 0x1c]
call fcn.0040c160
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044f450
lea ecx, [ebp - 0x1c]
call fcn.0040c160
mov edi, dword [0x4941c0]
mov eax, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
lea eax, [eax + eax*2]
shl eax, 7
add eax, esi
cmp esi, eax
jae 0x4182d9
cmp dword [esi + 0x24], 5
jne 0x4182bf
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x3c]
add eax, 0x150
mov dword [ebp - 0x38], eax
cmp dword [eax + 0x14], 0x10
mov edx, dword [ecx + 0x20]
jb 0x418273
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
cmp dword [edx + 0x164], 0x10
lea ecx, [edx + 0x150]
jb 0x418288
mov ecx, dword [edx + 0x150]
push dword [eax + 0x10]
mov edx, dword [edx + 0x160]
push dword [ebp - 0x38]
call fcn.0045db10
add esp, 8
test al, al
je 0x4182bf
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00401000
push eax
push 0
push esi
call fcn.004021c0
mov edi, dword [0x4941c0]
add esp, 0x18
mov eax, dword [edi + 0x28]
add esi, 0x180
lea eax, [eax + eax*2]
shl eax, 7
add eax, dword [edi + 0x24]
cmp esi, eax
jb 0x418251
push dword [ebp - 0x14]
call fcn.0046476b
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, 0x10
jb 0x418314
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41830a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41833a
push ecx
push edx
call fcn.0046470a
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x41834a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418340
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
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.004646fc
mov esp, ebp
pop ebp
ret
Function at 0x418bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [esi + 8]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [edi + 0x18], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
movups xmmword [edi + 0x24], xmm0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
movups xmm0, xmmword [esi + 0x24]
movups xmmword [edi + 0x24], xmm0
movq xmm0, qword [esi + 0x34]
movq qword [edi + 0x34], xmm0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xf
mov byte [esi + 0x24], 0
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
movzx eax, byte [esi + 0x44]
mov byte [edi + 0x44], al
movzx eax, byte [esi + 0x45]
mov byte [edi + 0x45], al
movzx eax, byte [esi + 0x46]
mov byte [edi + 0x46], al
movzx eax, byte [esi + 0x47]
mov byte [edi + 0x47], al
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
movzx eax, byte [esi + 0x50]
mov byte [edi + 0x50], al
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x60], edx
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
movzx eax, byte [esi + 0x68]
mov byte [edi + 0x68], al
movzx eax, byte [esi + 0x69]
mov byte [edi + 0x69], al
movzx eax, byte [esi + 0x6a]
mov byte [edi + 0x6a], al
movzx eax, byte [esi + 0x6b]
mov byte [edi + 0x6b], al
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov eax, dword [esi + 0x78]
mov dword [esi + 0x78], 0
mov dword [edi + 0x78], eax
mov eax, edi
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x80], edx
pop edi
pop esi
pop ebp
ret 4
Function at 0x41a180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [ebx]
mov dword [edi], eax
lea ecx, [edi + 8]
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
lea eax, [ebx + 8]
cmp ecx, eax
je 0x41a1b2
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41a1a9
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004515d0
mov eax, dword [ebx + 0x20]
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], eax
lea eax, [ebx + 0x24]
cmp ecx, eax
je 0x41a1d5
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41a1cc
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004515d0
mov eax, dword [ebx + 0x3c]
lea edx, [ebx + 0x58]
mov dword [edi + 0x3c], eax
lea ecx, [edi + 0x58]
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x40], eax
movzx eax, byte [ebx + 0x44]
mov byte [edi + 0x44], al
movzx eax, byte [ebx + 0x45]
mov byte [edi + 0x45], al
movzx eax, byte [ebx + 0x46]
mov byte [edi + 0x46], al
movzx eax, byte [ebx + 0x47]
mov byte [edi + 0x47], al
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x4c], eax
movzx eax, byte [ebx + 0x50]
mov byte [edi + 0x50], al
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x54], eax
cmp ecx, edx
je 0x41a23f
mov esi, dword [edx]
mov eax, 0x2aaaaaab
mov edx, dword [edx + 4]
sub edx, esi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004565a0
mov eax, dword [ebx + 0x64]
lea edx, [ebx + 0x78]
mov dword [edi + 0x64], eax
lea ecx, [edi + 0x78]
movzx eax, byte [ebx + 0x68]
mov byte [edi + 0x68], al
movzx eax, byte [ebx + 0x69]
mov byte [edi + 0x69], al
movzx eax, byte [ebx + 0x6a]
mov byte [edi + 0x6a], al
movzx eax, byte [ebx + 0x6b]
mov byte [edi + 0x6b], al
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [ebx + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [edi + 0x74], eax
cmp ecx, edx
je 0x41a29c
mov esi, dword [edx]
mov eax, 0x66666667
mov edx, dword [edx + 4]
sub edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00456190
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44d520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x44d54c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x44d574
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x44d57a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x44d5e2
jg 0x44d591
test esi, esi
je 0x44d5e2
test ecx, ecx
jl 0x44d5dd
jg 0x44d59b
test eax, eax
je 0x44d5dd
cmp edi, ecx
jg 0x44d5af
jl 0x44d5a5
cmp esi, eax
jae 0x44d5af
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x44d5e5
mov ecx, dword [ebp + 8]
jmp 0x44d5ef
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x44d609
jg 0x44d5ef
test esi, esi
je 0x44d609
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x44d609
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44d620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x44d64c
jl 0x44d640
test ecx, ecx
jne 0x44d64c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x44d665
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x44d6b3
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x44d6b9
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x44d6b9
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x44d726
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x44d6e2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x44d714
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x44d726
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x44d6f0
test edi, edi
je 0x44d726
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44daa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x44dad0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x44db00
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x44db00
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x44dbd8
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x44db29
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x44db35
movsx eax, bl
jmp 0x44db6d
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x44db97
sub eax, 1
je 0x44db97
sub eax, 2
jne 0x44dbd8
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x44dbb5
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x44dbd8
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004646fc
mov esp, ebp
pop ebp
ret 4

Function at 0x44eca0
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 0x44ecd1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x44ecc0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x450830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4508ec
cmp byte [esi + 0x3d], 0
je 0x4508ec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4508da
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4508a1
sub eax, 1
je 0x4508a5
sub eax, 2
jne 0x4508da
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4508c3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4508da
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004646fc
mov esp, ebp
pop ebp
ret

Function at 0x455a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c9bd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.0046473b
mov dword [ebp - 0x14], eax
mov dword [eax], 0x41ba60
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x45e920
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x455aa1
mov eax, esi
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.004646fc
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3