joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [ebp - 0xc], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
mov dword [ebp - 0x10], edx
push edi
mov dword [ebp - 0x14], ecx
xor edx, edx
jmp 0x40f8f0
cmp edx, dword [ebp + 0x10]
jae 0x40fa10
mov eax, edx
xor edi, edi
or eax, 8
mov dword [ebp - 4], edi
cmp eax, 1
je 0x40f939
mov edi, dword [ebp + 0xc]
mov ecx, eax
and eax, 1
shr ecx, 1
lea edi, [ecx + edi*8]
movzx edi, word [ebx + edi*2 + 4]
neg eax
sar eax, 4
shr edi, 4
and eax, 0x7f
xor edi, eax
mov eax, edi
mov edi, dword [ebp - 4]
add edi, dword [esi + eax*4]
mov eax, ecx
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x40f908
add edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x40f8f0
cmp edx, 0x10
jae 0x40f9ba
lea eax, [edx - 8]
mov dword [ebp - 8], eax
cmp edx, dword [ebp + 0x10]
jae 0x40fa10
xor edi, edi
or eax, 8
mov dword [ebp - 4], edi
cmp eax, 1
je 0x40f9a4
lea esp, [esp]
mov edi, dword [ebp + 0xc]
mov ecx, eax
and eax, 1
shr ecx, 1
lea edi, [ecx + edi*8]
movzx edi, word [ebx + edi*2 + 0x104]
neg eax
sar eax, 4
shr edi, 4
and eax, 0x7f
xor edi, eax
mov eax, edi
mov edi, dword [ebp - 4]
add edi, dword [esi + eax*4]
mov eax, ecx
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x40f970
add edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [ebp - 8], eax
cmp edx, 0x10
jb 0x40f953
cmp edx, dword [ebp + 0x10]
jae 0x40fa10
lea eax, [edx - 0x10]
mov dword [ebp - 8], eax
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x40f9fa
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
shr ebx, 4
and eax, 0x7f
xor ebx, eax
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp + 8]
mov eax, ecx
cmp eax, 1
jne 0x40f9d1
add edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [ebp - 8], eax
cmp edx, dword [ebp + 0x10]
jb 0x40f9c5
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [edi + 0x325c8]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
lea ebx, [ebx]
xor edx, edx
lea ecx, [edx + 1]
mov dword [ebp - 4], 4
lea esp, [esp]
movzx ebx, word [edi + ecx*2 + 0x32c4c]
mov eax, esi
and eax, 1
mov edi, eax
neg edi
sar edi, 4
and edi, 0x7f
shr ebx, 4
xor ebx, edi
mov edi, dword [ebp + 8]
add edx, dword [edi + ebx*4 + 0x30f34]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [ebp - 4]
jne 0x411530
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp esi, 0x10
jb 0x411520
mov dword [edi + 0x84], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 4
mov dword [ebp - 0x208], edi
movzx ebx, byte [edx + edi + 0x30734]
mov ecx, ebx
mov esi, ebx
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], 1
sub edi, esi
mov dword [ebp - 0x214], ecx
test ecx, ecx
je 0x411643
jmp 0x4115f6
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
sub ecx, ebx
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b66]
mov eax, edi
and eax, 1
mov ebx, eax
neg ebx
shr ecx, 4
sar ebx, 4
and ebx, 0x7f
xor ecx, ebx
mov ecx, dword [edx + ecx*4 + 0x30f34]
add dword [ebp - 0x20c], ecx
mov ecx, dword [ebp - 0x210]
add ecx, ecx
or ecx, eax
shr edi, 1
dec dword [ebp - 0x214]
mov dword [ebp - 0x210], ecx
jne 0x4115f0
mov edi, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + edi*4 - 0x204], eax
inc edi
mov dword [ebp - 0x208], edi
cmp edi, 0x80
jb 0x4115b1
lea esi, [ebp - 0x204]
sub esi, edx
lea ecx, [edx + 0x32968]
lea ebx, [edx + 0x31dd0]
sub esi, 0x31dc8
lea edi, [edx + 0x319c8]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], 4
jmp 0x4116b0
xor ecx, ecx
mov dword [ebp - 0x214], ecx
cmp dword [edx + 0x88], ecx
jbe 0x411720
mov eax, ecx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x411708
lea esp, [esp]
mov ebx, dword [ebp - 0x208]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebx, 4
xor ebx, eax
add esi, dword [edx + ebx*4 + 0x30f34]
mov eax, ecx
cmp eax, 1
jne 0x4116d0
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
mov dword [edi + ecx*4], esi
inc ecx
mov dword [ebp - 0x214], ecx
cmp ecx, dword [edx + 0x88]
jb 0x4116c0
mov esi, dword [ebp - 0x210]
mov eax, 0xe
cmp dword [edx + 0x88], eax
jbe 0x411746
lea ecx, [ecx]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x88]
jb 0x411730
mov eax, dword [edi]
mov dword [ebx - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebx - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 4], ecx
mov eax, 4
lea ecx, [ebx + 8]
jmp 0x411770
movzx ebx, byte [edx + eax + 0x30734]
mov ebx, dword [edi + ebx*4]
add ebx, dword [esi + ecx]
inc eax
mov dword [ecx], ebx
add ecx, 4
cmp eax, 0x80
jb 0x411770
mov ebx, dword [ebp - 0x20c]
sub dword [ebp - 0x208], 0xffffff80
add ebx, 0x200
sub esi, 0x200
add edi, 0x100
dec dword [ebp - 0x218]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
jne 0x4116b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x80], 0
pop ebx
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x4156e0
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret

Function at 0x416210
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
cmp edi, 0x38
je 0x416249
lea esp, [esp]
and edi, 0x3f
jne 0x41623e
push esi
call fcn.00415720
add esp, 4
mov byte [esi + edi + 0x28], 0
inc edi
cmp edi, 0x38
jne 0x416230
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.00415720
add esp, 4
xor edx, edx
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edi, dword [esi + eax*4]
bswap edi
bswap ecx
mov dword [ebx], edi
mov dword [ebx + 4], ecx
add eax, 2
add ebx, 8
cmp eax, 8
jb 0x416270
pop edi
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
pop ebx
pop ebp
ret

Function at 0x4165b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.004bee06
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x4165d7
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4165e6
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4168f0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], ecx
dec ecx
je 0x416948
sub ecx, 3
je 0x41693e
sub ecx, 6
jne 0x41694f
mov dword [eax + 0x10], 0x6a09e667
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0x510e527f
mov dword [eax + 0x24], 0x9b05688c
mov dword [eax + 0x28], 0x1f83d9ab
mov dword [eax + 0x2c], 0x5be0cd19
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
ret
or ecx, 0xffffffff
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
ret
mov dword [eax + 4], 0xffffffff
ret
Function at 0x41c150
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
test edi, edi
je 0x41c2ab
lea ecx, [edi*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx]
lea ecx, [edi*8]
sub ecx, edx
sub ecx, 2
je 0x41c19c
sub ecx, 2
jne 0x41c19f
add eax, 2
jmp 0x41c19f
add eax, 3
inc eax
cmp dword [ebx], eax
jae 0x41c1b2
pop edi
mov dword [ebx], eax
pop esi
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
xor edx, edx
test eax, eax
jle 0x41c246
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx + edx*2]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx edi, byte [esi + 2]
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x55ab28]
mov byte [ecx], bl
mov ebx, edx
shl eax, 4
sar ebx, 4
add ebx, eax
and ebx, 0x3f
movzx eax, byte [ebx + 0x55ab28]
mov byte [ecx + 1], al
mov eax, edi
sar eax, 6
lea edx, [eax + edx*4]
and edx, 0x3f
movzx eax, byte [edx + 0x55ab28]
mov byte [ecx + 2], al
and edi, 0x3f
mov dl, byte [edi + 0x55ab28]
mov byte [ecx + 3], dl
add esi, 3
add ecx, 4
dec dword [ebp - 4]
jne 0x41c1e2
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 8]
cmp edx, edi
jge 0x41c29e
movzx eax, byte [esi]
inc edx
cmp edx, edi
jge 0x41c258
movzx esi, byte [esi + 1]
jmp 0x41c25a
xor esi, esi
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x55ab28]
mov byte [ecx], bl
mov ebx, esi
sar ebx, 4
shl eax, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + 0x55ab28]
mov byte [ecx + 1], al
cmp edx, edi
jge 0x41c293
and esi, 0xf
mov dl, byte [esi*4 + 0x55ab28]
mov byte [ecx + 2], dl
jmp 0x41c297
mov byte [ecx + 2], 0x3d
add ecx, 3
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub eax, dword [ebp + 0xc]
mov dword [edx], eax
mov byte [ecx], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c2c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
xor esi, esi
xor edx, edx
test edi, edi
jle 0x41c3f3
mov dword [ebp - 4], edi
lea ebx, [ebx]
cmp dword [ebp - 4], 2
mov eax, dword [ebp + 8]
jl 0x41c302
movzx ecx, byte [edx + eax]
cmp ecx, 0x2f72
jne 0x41c302
movzx ecx, byte [edx + eax + 1]
cmp ecx, 0x2f6e
je 0x41c333
mov al, byte [edx + eax]
movzx ecx, al
cmp ecx, 0x2f6e
je 0x41c333
cmp al, 0x3d
jne 0x41c31a
inc esi
cmp esi, 2
jg 0x41c365
cmp al, 0x7f
ja 0x41c365
mov cl, byte [ecx + 0x55ab68]
cmp cl, 0x7f
je 0x41c365
cmp cl, 0x40
jae 0x41c332
test esi, esi
jne 0x41c365
inc ebx
dec dword [ebp - 4]
inc edx
cmp edx, edi
jl 0x41c2e0
mov dword [ebp - 4], edx
test ebx, ebx
je 0x41c3f3
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + ebx*2]
lea eax, [eax + eax + 7]
sar eax, 3
cmp dword [ecx], eax
jae 0x41c371
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffee
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
xor ecx, ecx
xor edi, edi
mov ebx, 3
test edx, edx
jle 0x41c3eb
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
cmp eax, 0x2f72
je 0x41c3e0
cmp eax, 0x2f6e
je 0x41c3e0
mov al, byte [eax + 0x55ab68]
xor edx, edx
cmp al, 0x40
sete dl
movzx eax, al
and eax, 0x3f
shl ecx, 6
inc edi
sub ebx, edx
or ecx, eax
cmp edi, 4
jne 0x41c3dd
xor edi, edi
test ebx, ebx
jle 0x41c3c3
mov edx, ecx
shr edx, 0x10
mov byte [esi], dl
inc esi
cmp ebx, 1
jle 0x41c3d0
mov eax, ecx
shr eax, 8
mov byte [esi], al
inc esi
mov edx, dword [ebp - 4]
cmp ebx, 2
jle 0x41c3e0
mov byte [esi], cl
inc esi
jmp 0x41c3e0
mov edx, dword [ebp - 4]
inc dword [ebp + 8]
dec edx
mov dword [ebp - 4], edx
test edx, edx
jg 0x41c381
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e93a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x577760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov ecx, 0xf
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], eax
mov byte [esi + 0x14], al
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov byte [esi + 0x30], al
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], eax
mov byte [esi + 0x4c], al
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
mov byte [esi + 0x68], al
mov dword [esi + 0x98], ecx
mov dword [esi + 0x94], eax
mov byte [esi + 0x84], al
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb0], eax
mov byte [esi + 0xa0], al
call fcn.00446b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x428200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f9f2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x577760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.004bf242
add esp, 4
cmp eax, ebx
je 0x4282e4
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.004bf242
add esp, 4
cmp eax, ebx
je 0x4282c0
xor ecx, ecx
mov dword [edi], eax
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
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
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.004bf35b
push 0x56e6b0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.004cc528
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.004bf35b
push 0x56e6b0
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.004cc528
int3
Function at 0x439cb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dbbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x577760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00502b91
push 4
mov dword [ebp - 4], 0
call fcn.004bf242
mov edi, eax
add esp, 4
test edi, edi
je 0x439d2c
call fcn.005023b9
mov dword [edi], eax
call fcn.005020fa
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00502547
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x439d22
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0050256f
jmp 0x439d2e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 0x43c5a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5303c3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x577760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, 7
xor edx, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], eax
mov word [edi], dx
mov dword [ebp - 4], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], eax
mov word [edi + 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x43c5f3
sub ecx, esi
sar ecx, 1
push ecx
mov esi, edi
call fcn.00422da0
mov eax, dword [ebp + 0x10]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x43c612
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x1c]
call fcn.00422da0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], edx
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 0x14
Function at 0x4446c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53153b
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x577760]
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, dword [ebp + 8]
xor eax, eax
mov edi, ecx
push 0xc6
push eax
lea ecx, [ebp - 0xd6]
push ecx
mov dword [ebp - 0x108], edi
mov word [ebp - 0xd8], ax
call fcn.004c5420
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
push edx
push 1
push eax
push edi
call fcn.004c0a34
add esp, 0x1c
cmp eax, 1
mov eax, dword [ebx + 0xc]
sete cl
cdq
idiv dword [ebx + 0x10]
mov byte [ebp - 0xf5], cl
mov dword [ebx + 0x14], eax
test cl, cl
je 0x4448bc
push eax
push str.length__d
lea edx, [ebp - 0xd8]
call fcn.0041cd90
lea eax, [ebp - 0xd8]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444761
sub eax, edx
sar eax, 1
lea esi, [ebx + 0x18]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x104], esi
call fcn.00422da0
mov esi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
xor ecx, ecx
xor eax, eax
cmp esi, 1
sete byte [ebp - 0xf6]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x100], edx
test edx, edx
je 0x44487b
lea ecx, [ecx]
dec dword [ebp - 0x100]
xor edx, edx
cmp byte [ebp - 0xf6], dl
je 0x4447c4
cmp byte [edi], dl
jmp 0x4447c7
cmp word [edi], dx
sete dl
test edx, edx
je 0x4447fd
test eax, eax
je 0x4447f0
cmp edi, eax
je 0x4447f0
imul esi, ecx
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, esi
push eax
call fcn.004be9e0
mov ecx, dword [ebp - 0xfc]
add esp, 0xc
mov esi, dword [ebx + 0x10]
inc ecx
lea eax, [esi + edi]
mov dword [ebp - 0xfc], ecx
add edi, esi
cmp dword [ebp - 0x100], 0
jne 0x4447b0
test eax, eax
je 0x44482b
cmp edi, eax
je 0x44482b
mov edx, dword [ebx + 0x10]
imul edx, ecx
sub edi, eax
push edi
push eax
sub eax, edx
push eax
call fcn.004be9e0
mov ecx, dword [ebp - 0xfc]
add esp, 0xc
test ecx, ecx
je 0x44487b
push ecx
push str.__d_nulls_removed_
lea edx, [ebp - 0xd8]
call fcn.0041cd90
lea eax, [ebp - 0xd8]
add esp, 8
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444850
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x104]
call fcn.00422c70
mov ecx, dword [ebp - 0xfc]
sub dword [ebx + 0x14], ecx
cmp dword [ebx + 0x10], 1
jle 0x4448f7
test byte [ebx + 4], 0x80
je 0x4448f7
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x4448a8
mov edi, edi
mov ecx, dword [ebp - 0x108]
movzx eax, word [ecx + ebx*2 - 2]
dec ebx
rol ax, 8
mov word [ecx + ebx*2], ax
test ebx, ebx
jne 0x444890
mov eax, dword [ebp - 0x104]
push 0xc
push str.endian_swap
call fcn.00422c70
jmp 0x4448f7
lea edi, [ebp - 0xf4]
call fcn.0043eb00
lea esi, [ebx + 0x18]
mov edi, eax
mov dword [ebp - 4], 0
call fcn.00422360
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xe0], 8
jb 0x4448f7
mov edx, dword [ebp - 0xf4]
push edx
call fcn.004bf135
add esp, 4
mov al, byte [ebp - 0xf5]
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.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x444c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5314fb
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x577760]
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, dword [ebp + 8]
xor eax, eax
push 0xc6
mov edi, ecx
push eax
lea ecx, [ebp - 0xd6]
push ecx
mov esi, edx
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0xd8], ax
call fcn.004c5420
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
imul ecx, eax
add esp, 0xc
mov dword [ebp - 0x100], ecx
test ebx, ebx
jne 0x444ce2
mov dword [ebp - 0xfc], edi
mov edx, dword [esi + 4]
xor ebx, ebx
test dl, dl
jns 0x444d57
test edi, edi
jne 0x444d25
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bf80b
mov ecx, dword [ebp - 0xfc]
mov ebx, eax
mov eax, dword [esi + 0x14]
add eax, eax
push eax
push ecx
push ebx
call fcn.004c4af0
add esp, 0x10
mov edi, ebx
mov dword [ebp - 0xfc], ebx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x444d42
lea esp, [esp]
movzx ecx, word [edi + eax*2 - 2]
dec eax
rol cx, 8
mov word [edi + eax*2], cx
test eax, eax
jne 0x444d30
push 0xc
push str.endian_swap
lea eax, [esi + 0x18]
call fcn.00422c70
mov ecx, dword [ebp - 0x100]
mov edx, dword [esi]
mov eax, dword [ebp - 0xfc]
push edx
push 1
push ecx
push eax
call fcn.004c0ba8
add esp, 0x10
cmp eax, 1
sete byte [ebp - 0xf5]
test ebx, ebx
je 0x444d83
push ebx
call fcn.004bf0cc
add esp, 4
cmp byte [ebp - 0xf5], 0
je 0x444dd1
mov ecx, dword [esi + 0x14]
push ecx
push str.length__d
lea edx, [ebp - 0xd8]
call fcn.0041cd90
lea eax, [ebp - 0xd8]
add esp, 8
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444db0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0xd8]
push edx
lea eax, [esi + 0x18]
call fcn.00422c70
jmp 0x444e0c
lea edi, [ebp - 0xf4]
call fcn.0043eb00
add esi, 0x18
mov edi, eax
mov dword [ebp - 4], 0
call fcn.00422360
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xe0], 8
jb 0x444e0c
mov eax, dword [ebp - 0xf4]
push eax
call fcn.004bf135
add esp, 4
mov al, byte [ebp - 0xf5]
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.004be8b8
mov esp, ebp
pop ebp
ret