joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x19291e7d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x232a2ebc
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x6fd290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437510
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x21234f1a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x408b4fed
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xd32ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5e0000]
lea eax, [edi + 0x733120]
push dword [eax]
mov dword [eax], 0xb210468b
push eax
push edi
or ebp, 0xffffffff
jmp 0xd32f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd32f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd32ef8
mov eax, 1
add ebx, ebx
jne 0xd32f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd32f10
jne 0xd32f2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd32f10
xor ecx, ecx
sub eax, 3
jb 0xd32f40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd32fb2
mov ebp, eax
add ebx, ebx
jne 0xd32f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xd32f58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xd32f7c
inc ecx
add ebx, ebx
jne 0xd32f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd32f5d
jne 0xd32f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd32f5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd32f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd32f8d
jmp 0xd32efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd32f9c
add edi, ecx
jmp 0xd32efe
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x2ad84
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd32fbe
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xd32fc3
lea edi, [esi + 0x92e000]
mov eax, dword [edi]
or eax, eax
je 0xd33034
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x937ec4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x93808c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd32fe9
mov ecx, edi
jns 0xd33018
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x938094]
or eax, eax
je 0xd3302e
mov dword [ebx], eax
add ebx, 4
jmp 0xd33006
call dword [esi + 0x938090]
mov ebp, dword [esi + 0x938098]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd33068
sub esp, 0xffffff80
jmp 0x404008
Function at 0x31450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x31479
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x31499
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x314dd
mov ecx, dword [ebx + 0x50]
push 4
push 0x3000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x314dd
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
nop
nop
nop
nop
nop
nop
nop
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x31523
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
nop
nop
nop
nop
nop
nop
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x31400
mov dword [esi + 0x18], 0x31420
mov dword [esi + 0x1c], 0x31440
mov dword [esi + 0x20], eax
mov edx, dword [ebx + 0x54]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
mov dword [ebp - 4], eax
call fcn.0003d5f0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call section..text
add esp, 0x18
nop
nop
nop
nop
nop
nop
nop
mov eax, edi
sub eax, dword [ebx + 0x34]
je 0x3159c
push eax
mov eax, esi
call fcn.000311e0
add esp, 4
call fcn.00031270
test eax, eax
je 0x315db
mov ebx, esi
call fcn.000310c0
mov eax, esi
call fcn.000311a0
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x315f0
push 0
push 1
add eax, edi
push edi
call eax
test eax, eax
jne 0x315e9
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.000316e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x31b30
Capabilities:
Compress data via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4be40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x31b5b
push str.Load_dll_error__n
call fcn.00036a4b
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push str.RtlDecompressBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x31b7d
push str.Load_function_error__n
call fcn.00036a4b
add esp, 4
mov edi, 0x1000
push edi
mov dword [ebp - 4], 0
call fcn.0003705f
mov esi, eax
add esp, 4
test esi, esi
je 0x31bde
push edi
push 0
push esi
call fcn.0003d570
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push edx
push edi
push esi
push 2
call ebx
mov eax, dword [ebp - 4]
cmp edi, eax
jae 0x31bee
test esi, esi
je 0x31bcd
push esi
call fcn.00036cdc
mov eax, dword [ebp - 4]
add esp, 4
push eax
mov edi, eax
call fcn.0003705f
mov esi, eax
add esp, 4
test esi, esi
jne 0x31b98
push str.new_memory_error__n
call fcn.00036a4b
mov eax, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], esi
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x31c10
Capabilities:
Encode data using xor
Encrypt data using xxtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
cmp edi, 1
jle 0x31d0d
mov eax, 0x34
cdq
idiv edi
movzx edx, byte [esi + edi - 1]
add eax, 6
mov dword [ebp - 0xc], eax
xor ecx, ecx
lea esp, [esp]
sub ecx, 0x61c88647
mov eax, ecx
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
lea eax, [edi - 1]
xor ecx, ecx
test eax, eax
je 0x31cb3
lea ecx, [ecx]
movzx eax, byte [ecx + esi + 1]
lea edi, [eax*4]
mov dword [ebp - 0x10], eax
shr eax, 3
mov ebx, edx
shr ebx, 5
xor edi, ebx
mov ebx, edx
shl ebx, 4
xor eax, ebx
mov ebx, dword [ebp + 0xc]
add edi, eax
mov eax, ecx
and eax, 3
xor eax, dword [ebp - 8]
inc ecx
mov ebx, dword [ebx + eax*4]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 4]
xor ebx, edx
movzx edx, byte [ecx + esi - 1]
add eax, ebx
xor eax, edi
add eax, edx
mov byte [ecx + esi - 1], al
movzx edx, al
mov eax, dword [ebp + 8]
dec eax
cmp ecx, eax
jb 0x31c60
movzx eax, byte [esi]
lea ebx, [eax*4]
mov edi, edx
shr edi, 5
xor ebx, edi
mov dword [ebp - 0x10], eax
shr eax, 3
mov edi, edx
shl edi, 4
xor eax, edi
add ebx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
xor ecx, dword [ebp - 8]
mov edi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor edi, edx
xor eax, ecx
add eax, edi
mov edi, dword [ebp + 8]
movzx edx, byte [esi + edi - 1]
xor eax, ebx
add eax, edx
dec dword [ebp - 0xc]
mov byte [esi + edi - 1], al
movzx edx, al
jne 0x31c40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
jge 0x31df4
neg edi
mov eax, 0x34
cdq
mov ebx, edi
idiv ebx
mov dword [ebp + 8], ebx
add eax, 6
mov ecx, eax
imul ecx, ecx, 0x9e3779b9
mov dword [ebp - 0xc], eax
movzx eax, byte [esi]
mov dword [ebp - 4], ecx
jmp 0x31d43
mov ebx, dword [ebp + 8]
shr ecx, 2
and ecx, 3
lea edi, [ebx - 1]
mov dword [ebp - 8], ecx
test edi, edi
je 0x31da1
movzx ecx, byte [edi + esi - 1]
mov ebx, ecx
shr ebx, 5
lea edx, [eax*4]
xor edx, ebx
mov ebx, eax
xor eax, dword [ebp - 4]
shr ebx, 3
shl ecx, 4
xor ebx, ecx
add edx, ebx
mov ebx, dword [ebp + 0xc]
mov ecx, edi
and ecx, 3
xor ecx, dword [ebp - 8]
mov ebx, dword [ebx + ecx*4]
movzx ecx, byte [edi + esi - 1]
xor ebx, ecx
add ebx, eax
movzx eax, byte [edi + esi]
xor edx, ebx
sub eax, edx
dec edi
mov byte [edi + esi + 1], al
movzx eax, al
jne 0x31d53
mov ebx, dword [ebp + 8]
movzx ecx, byte [esi + ebx - 1]
mov bl, cl
shl bl, 4
mov edx, eax
shr edx, 3
xor dl, bl
mov dword [ebp - 0x10], ecx
shr ecx, 5
mov bl, al
add bl, bl
add bl, bl
xor cl, bl
mov bl, byte [ebp - 4]
add dl, cl
mov ecx, dword [ebp + 0xc]
and edi, 3
xor edi, dword [ebp - 8]
xor bl, al
mov cl, byte [ecx + edi*4]
xor cl, byte [ebp - 0x10]
add cl, bl
xor dl, cl
mov ecx, dword [ebp - 4]
sub byte [esi], dl
movzx eax, byte [esi]
add ecx, 0x61c88647
dec dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jne 0x31d40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x34250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f29c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x343e1
cmp byte [ebx + 0x49], 0
je 0x343e1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x343d5
lea esi, [ebp - 0x2c]
call fcn.00033e00
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x342c3
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x342fc
dec eax
je 0x34300
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x343dc
call fcn.00032cd0
xor al, al
jmp 0x343e3
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x34310
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x3433d
cmp edi, 0x10
jae 0x3431f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00036eb3
add esp, 0x10
cmp esi, eax
jne 0x343cd
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x343d9
test esi, esi
jne 0x342b7
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x343fe
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x343fe
cmp edi, esi
jae 0x343b6
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00034a10
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x342b7
mov ecx, eax
cmp edi, 0x10
jae 0x34392
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x343ad
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x342b1
test esi, esi
jne 0x34388
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x343c5
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x342b1
lea ecx, [ebp - 0x2c]
call fcn.00032cd0
xor al, al
jmp 0x343e3
lea ecx, [ebp - 0x2c]
call fcn.00032cd0
mov al, 1
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.0003542d
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.00045280
int3
Function at 0x34770
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f29c]
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.000453d4
push 4
mov dword [ebp - 4], 0
call fcn.0003705f
mov edi, eax
add esp, 4
test edi, edi
je 0x347ec
call fcn.000451cf
mov dword [edi], eax
call fcn.00044f8e
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00045395
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x347e2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.000453bd
jmp 0x347ee
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 0x3542d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f29c]
jne 0x35437
repz ret
jmp fcn.00037273
Function at 0x4266e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f29c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00037d96
and dword [ebp - 0x14], 0
cmp dword [0x97120], 0
mov dword [ebp - 0x18], eax
jne 0x42721
push 0x4a2c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x427c9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a2b8
push ebx
call edi
test eax, eax
je 0x427c9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4a2a8
push ebx
mov dword [0x97120], eax
call edi
push eax
call esi
push 0x4a294
push ebx
mov dword [0x97124], eax
call edi
push eax
call esi
push 0x4a278
push ebx
mov dword [0x97128], eax
call edi
push eax
call esi
mov dword [0x97130], eax
test eax, eax
je 0x42721
push 0x4a260
push ebx
call edi
push eax
call esi
mov dword [0x9712c], eax
mov eax, dword [0x9712c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4277a
cmp dword [0x97130], ecx
je 0x4277a
push eax
call esi
push dword [0x97130]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4277a
test ebx, ebx
je 0x4277a
call edi
test eax, eax
je 0x42771
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42771
test byte [ebp - 8], 1
jne 0x4277a
or dword [ebp + 0x10], 0x200000
jmp 0x427ad
mov eax, dword [0x97124]
cmp eax, dword [ebp - 0x18]
je 0x427ad
push eax
call esi
test eax, eax
je 0x427ad
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x427ad
mov eax, dword [0x97128]
cmp eax, dword [ebp - 0x18]
je 0x427ad
push eax
call esi
test eax, eax
je 0x427ad
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x97120]
call esi
test eax, eax
je 0x427c9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x427cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0003542d
leave
ret
Function at 0x10020910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100b9040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x43c
call fcn.1009acf9
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100a979c
mov eax, dword [esi]
mov word [edi + 0x85], 0
mov byte [edi + 0x87], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
movups xmmword [edi + 0x8c], xmm0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0xf
mov byte [edi + 0x8c], 0
mov byte [ebp - 4], 1
mov ecx, edi
push eax
mov byte [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0
mov byte [edi + 0x3ec], 0
mov dword [edi + 0x3f0], 0
mov dword [edi + 0x3f4], 0
mov dword [edi + 0x3f8], 0
mov dword [edi + 0x3fc], 0
mov dword [edi + 0x400], 0
mov dword [edi + 0x404], 0
mov word [edi + 0x41c], 0
mov byte [edi + 0x41e], 0
call fcn.1001a440
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], 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 0x10022810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
dec eax
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov esi, edi
sar eax, 1
mov ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1002286e
nop dword [eax]
lea esi, [ecx + ecx]
push dword [ebx + esi*4 + 4]
push dword [ebx + esi*4 + 8]
call fcn.1001cac0
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edi*4], eax
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jl 0x10022840
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, ecx
cmp ecx, eax
jne 0x10022885
mov eax, dword [ebp - 0x10]
test al, 1
jne 0x10022885
mov eax, dword [ebx + eax*4 - 4]
mov edi, dword [ebp - 0x14]
mov dword [ebx + ecx*4], eax
cmp esi, edi
jge 0x100228d0
nop dword [eax]
push dword [edx]
lea esi, [edi - 1]
sar esi, 1
push dword [ebx + esi*4]
call fcn.1001cac0
test al, al
je 0x100228c1
mov eax, dword [ebx + esi*4]
mov edx, dword [ebp - 4]
mov dword [ebx + edi*4], eax
mov edi, esi
cmp dword [ebp - 8], esi
jl 0x10022890
mov eax, edx
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret