joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66207420
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x6620746a
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x6620746a
push 0
mov ecx, esi
call fcn.66203cc0
push 0
push 0
push 0xffffffffffffffff
push 0x7ffe0030
push 1
mov ecx, esi
call fcn.662033b0
push str.System32
push esi
call fcn.6620ae10
push dword [ebp + 8]
push esi
call fcn.6620ae10
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret
mov eax, 0xc000000d
pop esi
pop ebp
ret
Function at 0x4407a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e978e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x571180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov ecx, 0x3d
mov dword [edi + 0x10], 0
lea esi, [esi + 2]
mov dword [edi + 0x14], 0
mul esi
mov al, byte [ebp + 0xc]
mov esi, 0x2e
shr edx, 1
shl edx, 2
test al, al
movzx eax, al
cmovne ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [ebp - 0x10], cl
mov eax, dword [eax*4 + 0x534850]
mov dword [ebp + 0xc], eax
mov byte [edi], 0
mov dword [ebp - 4], 0
mov ecx, edi
push edx
mov dword [ebp - 0x1c], 1
call fcn.00440a00
mov eax, dword [ebp + 8]
test eax, eax
je 0x440941
mov ecx, dword [ebp - 0x18]
mov edx, 1
sub edx, ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], edx
lea esi, [ecx + 1]
lea ecx, [eax - 1]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 0x18], eax
nop dword [eax]
movzx eax, byte [esi - 1]
mov ecx, dword [ebp + 0xc]
shr eax, 2
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00440b70
mov ecx, dword [ebp + 8]
mov al, byte [esi - 1]
cmp dword [ebp - 0x14], ecx
jae 0x440905
movzx ecx, al
movzx eax, byte [esi]
and ecx, 3
shl ecx, 4
add ecx, dword [ebp + 0xc]
shr eax, 4
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00440b70
movzx ecx, byte [esi]
mov eax, dword [ebp - 0x20]
and ecx, 0xf
add eax, esi
shl ecx, 2
cmp eax, dword [ebp + 8]
jae 0x4408fb
movzx eax, byte [esi + 1]
shr eax, 6
add eax, ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00440b70
movzx eax, byte [esi + 1]
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
movzx eax, byte [eax + ecx]
push eax
jmp 0x440929
mov eax, dword [ebp + 0xc]
movzx eax, byte [ecx + eax]
push eax
jmp 0x44091f
mov ecx, dword [ebp + 0xc]
movzx eax, al
and eax, 3
add eax, eax
movzx eax, byte [ecx + eax*8]
mov ecx, edi
push eax
call fcn.00440b70
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00440b70
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00440b70
add dword [ebp - 0x14], 3
add esi, 3
sub dword [ebp - 0x18], 1
jne 0x440880
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442b20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x442b81
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x442b64
cmp edi, 2
jb 0x442b64
cmp byte [esi], cl
jne 0x442b64
cmp byte [esi + 1], cl
jne 0x442b64
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x534978]
jmp 0x442b35
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x534978]
test edi, edi
jne 0x442b35
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x442bb0
cmp cl, 0x23
jne 0x442b97
cmp byte [esi], cl
jne 0x442b97
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x534978]
test cl, cl
jne 0x442b88
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x442c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x442ca3
mov dword [ebx], 0
mov edx, 0x54c51c
call fcn.00442bc0
mov esi, eax
test esi, esi
je 0x442d80
push esi
call fcn.004c8ccc
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x442d77
push 2
push 0
push esi
call fcn.004c96ac
add esp, 0xc
test eax, eax
jne 0x442d77
push esi
call fcn.004c8ccc
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x442d77
push 0
push dword [ebp + 8]
push esi
call fcn.004c96ac
add esp, 0xc
test eax, eax
jne 0x442d77
mov eax, dword [0x57bab8]
test eax, eax
je 0x442d16
inc dword [eax + 0x374]
push edi
call fcn.004d0435
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x442d77
push esi
push edi
push 1
push eax
call fcn.004cb8af
add esp, 0x10
push esi
cmp eax, edi
je 0x442d61
call fcn.004c9357
mov eax, dword [0x57bab8]
add esp, 4
test eax, eax
je 0x442d4f
dec dword [eax + 0x374]
push dword [ebp + 8]
call fcn.004cb6de
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004c9357
add esp, 4
test ebx, ebx
je 0x442d6f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.004c9357
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4449a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xbc]
mov eax, dword [ecx + 0xc4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x534978]
sub edi, 1
jne 0x4449c0
mov ecx, dword [0x57bab8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a34], eax
jne 0x4449f2
mov dword [ecx + 0x1a38], eax
cmp dword [ecx + 0x1a6c], eax
jne 0x444a01
mov byte [ecx + 0x1a70], 1
pop ebp
ret 4
Function at 0x4450a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9ff3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x571180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x57bab8]
test eax, eax
je 0x4450d6
inc dword [eax + 0x374]
push 0x3bf8
call fcn.004d0435
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x445109
push ecx
mov ecx, eax
call fcn.00441390
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x44510e
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [0x57bab8], 0
jne 0x44511e
mov eax, edi
mov dword [0x57bab8], eax
or edx, 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], str.Window
mov al, 0x57
mov esi, 0x54c451
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x44514e
cmp byte [esi], al
jne 0x44514e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x534978]
test al, al
jne 0x445140
mov edi, dword [ebp - 0x14]
not edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0x451d30
mov dword [ebp - 0x28], 0x451d60
mov esi, dword [edi + 0x2db0]
mov ecx, dword [edi + 0x2db4]
mov dword [ebp - 0x24], 0x451e30
cmp esi, ecx
jne 0x445229
inc esi
test ecx, ecx
je 0x4451a8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x4451ad
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x445229
mov eax, dword [0x57bab8]
test eax, eax
je 0x4451c5
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.004d0435
mov edx, dword [edi + 0x2db8]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x44521d
mov ecx, dword [edi + 0x2db0]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.004c51e0
mov ecx, dword [edi + 0x2db8]
add esp, 0xc
test ecx, ecx
je 0x445211
mov eax, dword [0x57bab8]
test eax, eax
je 0x445211
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0x2db8], eax
mov dword [edi + 0x2db4], esi
mov eax, dword [edi + 0x2db0]
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2db8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2db0]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44ced0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x571180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x57bab8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a00]
mov esi, 4
mov eax, dword [edi + 0xbc]
add edi, 0xbc
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x534978]
sub esi, 1
jne 0x44cf10
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x44cf57
inc ecx
test esi, esi
je 0x44cf45
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x44cf4a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00452580
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2b19
mov esp, ebp
pop ebp
ret
Function at 0x451630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x57bab8]
push edi
cmp byte [esi + 0x2dc8], 0
je 0x4516ce
cmp dword [esi + 0x2dd0], 0
lea edi, [esi + 0x2dd4]
je 0x4516c0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x451679
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00452900
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.004431a0
mov edx, dword [edi]
mov ecx, 0x57bab4
push dword [esi + 0x2dd0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2ddc]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.004c9eac
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004431a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x451c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x57bab8]
mov eax, ecx
mov dword [esp + 0x10], eax
push edi
mov dword [esi + 0x2da0], 0
test eax, eax
je 0x451d29
lea edi, [esi + 0x2da4]
mov dword [esi + 0x2da0], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x451c89
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00452900
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x451c9e
push 8
mov ecx, edi
call fcn.00452900
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2db0], 0
jle 0x451ce7
xor ebx, ebx
nop dword [eax]
mov eax, dword [esi + 0x2db8]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x2db0]
jl 0x451cc0
mov edi, dword [edi]
mov ebx, 0x57bab4
mov ecx, dword [esp + 0x14]
mov edx, 0x54c520
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2dac]
test eax, eax
cmovne ebx, eax
call fcn.00442bc0
mov esi, eax
test esi, esi
je 0x451d29
push esi
push edi
push 1
push ebx
call fcn.004c9eac
push esi
call fcn.004c9357
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473990
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push esi
mov al, byte [ebx]
lea esi, [ebx + 4]
test al, al
jne 0x4739a5
cmp dword [esi], 0
jne 0x4739a5
pop esi
pop ebx
ret
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, al
je 0x4739c9
movzx eax, al
push eax
call edi
mov ecx, 0xff08
test cx, ax
je 0x473a7a
add ebx, 4
jmp 0x4739cb
mov ebx, esi
push 0xa2
call edi
mov ecx, 0xff08
test cx, ax
mov al, byte [esi]
setne cl
and al, 1
cmp al, cl
jne 0x473a7a
push 0xa3
call edi
mov ecx, 0xff08
test cx, ax
mov eax, dword [esi]
setne cl
shr eax, 4
and al, 1
cmp al, cl
jne 0x473a7a
push 0xa4
call edi
mov ecx, 0xff08
test cx, ax
mov eax, dword [esi]
setne cl
shr eax, 2
and al, 1
cmp al, cl
jne 0x473a7a
push 0xa5
call edi
mov ecx, 0xff08
test cx, ax
mov eax, dword [esi]
setne cl
shr eax, 6
and al, 1
cmp al, cl
jne 0x473a7a
push 0xa0
call edi
mov esi, 0xff08
test si, ax
mov eax, dword [ebx]
setne cl
shr eax, 1
and al, 1
cmp al, cl
jne 0x473a7a
push 0xa1
call edi
test si, ax
mov eax, dword [ebx]
setne cl
shr eax, 5
and al, 1
cmp al, cl
jne 0x473a7a
pop edi
pop esi
mov al, 1
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x475720
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x571180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
mov dword [ebp - 0x4c], 0x10325476
push edi
mov edi, ecx
lea ecx, [esi*8]
mov dword [ebp - 0x5c], ecx
cmp esi, 0x40
jbe 0x475788
lea ebx, [esi - 0x41]
shr ebx, 6
inc ebx
nop
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00472910
add edi, 0x40
sub esi, 0x40
sub ebx, 1
jne 0x475770
mov ebx, dword [ebp - 0x60]
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004c5080
add esp, 0xc
lea eax, [ebp - 0x48]
push esi
push edi
push eax
call fcn.004c51e0
add esp, 0xc
cmp esi, 0x40
jne 0x4757cb
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x58]
call fcn.00472910
push esi
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004c5080
add esp, 0xc
mov byte [ebp - 0x48], 0x80
jmp 0x47580d
mov eax, 0x3f
mov byte [ebp + esi - 0x48], 0x80
sub eax, esi
cmp eax, 8
jae 0x47580d
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x58]
call fcn.00472910
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov byte [ebp - 0x10], al
mov ecx, eax
mov eax, edx
mov byte [ebp - 0xc], dl
shrd ecx, eax, 8
mov eax, edx
mov byte [ebp - 0xf], cl
mov ecx, dword [ebp - 0x5c]
shrd ecx, eax, 0x10
mov eax, edx
mov byte [ebp - 0xe], cl
mov ecx, dword [ebp - 0x5c]
shrd ecx, eax, 0x18
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr edx, 0x18
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x58]
shr eax, 0x10
mov byte [ebp - 9], dl
lea edx, [ebp - 0x48]
mov byte [ebp - 0xa], al
call fcn.00472910
mov ecx, dword [ebp - 0x58]
mov eax, ecx
shr eax, 8
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx], cl
mov byte [ebx + 2], al
shr ecx, 0x18
mov byte [ebx + 3], cl
mov ecx, dword [ebp - 0x54]
mov eax, ecx
shr eax, 8
mov byte [ebx + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 4], cl
shr ecx, 0x18
mov byte [ebx + 6], al
mov byte [ebx + 7], cl
mov ecx, dword [ebp - 0x50]
mov eax, ecx
shr eax, 8
mov byte [ebx + 9], al
mov eax, ecx
mov byte [ebx + 8], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [ebx + 0xa], al
mov byte [ebx + 0xb], cl
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
shr eax, 8
mov byte [ebx + 0xd], al
mov eax, ecx
mov byte [ebx + 0xc], cl
shr ecx, 0x18
mov byte [ebx + 0xf], cl
mov ecx, dword [ebp - 4]
shr eax, 0x10
xor ecx, ebp
pop edi
mov byte [ebx + 0xe], al
mov al, 1
pop esi
pop ebx
call fcn.004c2b19
mov esp, ebp
pop ebp
ret
Function at 0x4780d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eed80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x571180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.004c2b27
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004c02a3
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00478560
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4782b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eeded
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x571180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x54ca6c
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00475550
push 8
call fcn.004c2b27
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 1
call fcn.004c02a3
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.00478a30
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x4783da
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4783da
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x4783f6
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.00475550
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x479d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efed3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x571180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [ebp - 4], 0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
movups xmmword [edi + 0x34], xmm0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
lea esi, [edi + 0x4c]
mov byte [ebp - 4], 2
push 0x38
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c2b27
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47c3f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x571ff0]
push ebx
push esi
push edi
test eax, eax
je case.default.0x47c40f
mov eax, dword [eax + 4]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x47c40f
jmp dword [eax*4 + 0x47c5f0]
cmp dword [0x571cc4], 0
jne case.default.0x47c40f
push 2
push 0xff
push 0
push dword [0x57bb48]
mov dword [0x57df4c], 0
mov dword [0x57df50], 0
mov dword [0x57bad0], 0x3f800000
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x57bb48]
mov byte [0x57bab5], 1
call esi
mov eax, dword [0x57bb08]
test eax, eax
je 0x47c47b
push 5
push eax
call esi
mov dword [0x571cc4], 1
pop edi
pop esi
pop ebx
ret
cmp dword [0x571cc4], 1
jne case.default.0x47c40f
mov dword [0x571cc4], 2
pop edi
pop esi
pop ebx
ret
cmp dword [0x571cc4], 2
jne case.default.0x47c40f
mov dword [0x571cc4], 3
pop edi
pop esi
pop ebx
ret
cmp dword [0x571cc4], 3
jne 0x47c4d2
mov dword [0x571cc4], 4
cmp byte [0x57bab5], 0
jne case.default.0x47c40f
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x57bb48]
mov byte [0x57bab5], 1
call esi
mov eax, dword [0x57bb08]
test eax, eax
je case.default.0x47c40f
push 5
push eax
call esi
pop edi
pop esi
pop ebx
ret
cmp byte [0x57bab5], 0
je 0x47c53a
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x57bb48]
mov byte [0x57bab5], 0
call esi
mov eax, dword [0x57bb08]
test eax, eax
je 0x47c53a
push 0
push eax
call esi
mov ebx, dword [0x571ff0]
add ebx, 0x14a538
mov esi, dword [ebx]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x47c5a2
mov ecx, dword [esi + 0x10]
push 0
push 0x11
call fcn.004af9a0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47c584
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x47c580
nop
cmp esi, dword [eax + 8]
jne 0x47c580
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47c570
mov esi, eax
jmp 0x47c59c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x47c59c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x47c590
cmp byte [esi + 0xd], 0
je 0x47c550
mov edi, dword [ebx]
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x47c5d0
nop dword [eax]
push dword [esi + 8]
mov ecx, ebx
push ebx
call fcn.0049ed80
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.004c2b57
add esp, 8
cmp byte [esi + 0xd], 0
je 0x47c5b0
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
ret
mov byte [0x571ca8], 0
pop edi
pop esi
pop ebx
ret
Function at 0x47d960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0323
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x571180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [edi]
mov dword [ecx], eax
movups xmmword [ecx + 4], xmm0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmm0, xmmword [edi + 4]
movups xmmword [ecx + 4], xmm0
movq xmm0, qword [edi + 0x14]
movq qword [ecx + 0x14], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ecx + 0x1c], xmm0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
movups xmm0, xmmword [edi + 0x1c]
movups xmmword [ecx + 0x1c], xmm0
movq xmm0, qword [edi + 0x2c]
movq qword [ecx + 0x2c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ecx + 0x34], xmm0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
movups xmm0, xmmword [edi + 0x34]
movups xmmword [ecx + 0x34], xmm0
movq xmm0, qword [edi + 0x44]
movq qword [ecx + 0x44], xmm0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
lea esi, [ecx + 0x4c]
mov byte [ebp - 4], 2
push 0x38
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c2b27
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi], ecx
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4