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

Disassembly:
push 0x38
mov eax, 0x1005208c
call fcn.1005065e
cmp byte [0x100d5960], 0
je 0x1001b71b
movaps xmm0, xmmword [0x10059bd0]
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xf6e0f616
xor ebx, ebx
mov dword [ebp - 0x28], 0xa4e0e6
mov byte [ebp - 0x24], 1
call fcn.1001468e
push eax
call fcn.1002d52f
lea ecx, [ebp - 0x20]
mov dword [esp], 0x3ba887ba
call fcn.1001ef65
sub esp, 0xc
mov dword [ebp - 4], ebx
mov edx, 0x100d5964
mov ecx, eax
call fcn.10033efa
movaps xmm0, xmmword [0x1005a600]
add esp, 0xc
movups xmmword [ebp - 0x44], xmm0
mov ecx, ebx
mov byte [ebp - 0x24], 1
movaps xmm0, xmmword [0x10059b60]
movups xmmword [ebp - 0x34], xmm0
lea eax, [ecx + 0x6f]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x1f
jb 0x1001b5ee
mov byte [ebp - 0x24], bl
mov ecx, 0x8f
mov edx, ebx
mov al, byte [edx + 0x10054f90]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b622
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xa
jl 0x1001b605
mov byte [ebp - 0x16], bl
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
mov edx, 0x100d5968
lea ecx, [ebp - 0x20]
call fcn.100345b8
pop ecx
pop ecx
mov ecx, 0xe8
mov edx, ebx
mov al, byte [edx + 0x10054f9c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b66a
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b64d
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 2
mov edx, 0x100d5970
lea ecx, [ebp - 0x20]
call fcn.10033efa
add esp, 0xc
mov ecx, 0x81
mov edx, ebx
mov al, byte [edx + 0x10054fa8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b6b1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b694
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 3
mov edx, 0x100d5974
lea ecx, [ebp - 0x20]
call fcn.10033efa
add esp, 0xc
mov ecx, 0xec
mov edx, ebx
mov al, byte [edx + 0x10054fb4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b6f8
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1001b6db
mov byte [ebp - 0x15], bl
sub esp, 0xc
mov dword [ebp - 4], 4
mov edx, 0x100d596c
lea ecx, [ebp - 0x20]
call fcn.10033efa
add esp, 0xc
call fcn.1005061c
ret
Function at 0x1001bc66
Capabilities:
Execute command

Disassembly:
push 0x2c
mov eax, 0x10052163
call fcn.1005065e
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
xor ebx, ebx
push 0x51
pop ecx
mov edx, ebx
mov al, byte [edx + 0x10055028]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x1001bc9e
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x1001bc81
mov byte [ebp - 0x15], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.1002dd4d
pop ecx
test al, al
je 0x1001bcf1
push 0x11
pop ecx
mov edx, ebx
mov al, byte [edx + 0x10055038]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x1001bcdd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x1001bcc0
lea eax, [ebp - 0x30]
mov byte [ebp - 0x13], bl
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
pop ecx
and dword [ebp - 0x38], 0
mov ecx, 0xbb
and dword [ebp - 0x34], 0
mov edx, ebx
mov al, byte [edx + 0x10055058]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001bd1d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bd00
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1002dd4d
or dword [ebp - 4], 0xffffffff
pop ecx
test al, al
je 0x1001bd47
call fcn.1000fd5e
and dword [ebp - 0x38], 0
mov ecx, 0xf2
and dword [ebp - 0x34], 0
mov edx, ebx
mov al, byte [edx + 0x10055068]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001bd73
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bd56
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1002dd4d
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x20]
pop ecx
mov cl, al
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
test cl, cl
je 0x1001bda9
call fcn.100146af
call fcn.1005061c
ret
Function at 0x1001e7a5
Capabilities:
Create thread
Terminate process

Disassembly:
push 0x50
mov eax, 0x1005226b
call fcn.1005065e
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x1001e865
lea ecx, [ebp - 0x40]
call fcn.1000ee8a
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
call fcn.10008234
call fcn.1000ef68
add esp, 0x18
test al, al
je 0x1001e870
mov ecx, esi
call fcn.10008b0c
mov ecx, esi
call fcn.10008ab0
push 0x64
push 0x232
call dword [sym.imp.KERNEL32.dll_Beep]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push ebx
push 0x1001e7a0
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x10008a5e
push ebx
push ebx
call esi
push 6
pop ecx
movaps xmm0, xmmword [0x1005a310]
lea edi, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0xb7b849
rep stosd dword es:[edi], eax
push ecx
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x14], 1
movups xmmword [ebp - 0x28], xmm0
call fcn.1000edeb
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.100023b8
pop ecx
pop ecx
call fcn.1000ee0c
lea ecx, [ebp - 0x40]
call fcn.10007a5b
xor eax, eax
inc eax
call fcn.1005061c
ret 0xc
movaps xmm0, xmmword [0x1005a160]
lea ecx, [ebp - 0x28]
push 0x10
push 0x10053593
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x100
call fcn.1001462b
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1001e8ab
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x1001e8c8
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x5e
jb 0x1001e8b6
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x1001e8ca
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x33], 0
je 0x1001e8e7
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x32
jb 0x1001e8d5
mov byte [esi + 0x33], 0
pop esi
ret

Function at 0x1001e8e9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf1], 0
je 0x1001e90f
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0xf0
jb 0x1001e8f7
mov byte [esi + 0xf1], 0
pop esi
ret

Function at 0x1001e911
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x90], 0
je 0x1001e937
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x8f
jb 0x1001e91f
mov byte [esi + 0x90], 0
pop esi
ret

Function at 0x1001e939
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x4b], 0
je 0x1001e956
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x4a
jb 0x1001e944
mov byte [esi + 0x4b], 0
pop esi
ret

Function at 0x1001e958
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x1001e975
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x23
jb 0x1001e963
mov byte [esi + 0x24], 0
pop esi
ret
Function at 0x1001e977
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x1001e994
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x1d
jb 0x1001e982
mov byte [esi + 0x1e], 0
pop esi
ret

Function at 0x1001e996
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x1001e9b3
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x3b
jb 0x1001e9a1
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x1001e9b5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x74], 0
je 0x1001e9d2
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x73
jb 0x1001e9c0
mov byte [esi + 0x74], 0
pop esi
ret

Function at 0x1001e9d4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2d0], 0
je 0x1001e9fa
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x2cf
jb 0x1001e9e2
mov byte [esi + 0x2d0], 0
pop esi
ret

Function at 0x1001e9fc
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xbe], 0
je 0x1001ea22
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0xbd
jb 0x1001ea0a
mov byte [esi + 0xbe], 0
pop esi
ret

Function at 0x1001ea6a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x46], 0
je 0x1001ea87
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x45
jb 0x1001ea75
mov byte [esi + 0x46], 0
pop esi
ret

Function at 0x1001eba0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x1001ebbd
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x1c
jb 0x1001ebab
mov byte [esi + 0x1d], 0
pop esi
ret

Function at 0x1001ebbf
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x1001ebdc
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x17
jb 0x1001ebca
mov byte [esi + 0x18], 0
pop esi
ret

Function at 0x1001ebde
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x1001ebfb
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x16
jb 0x1001ebe9
mov byte [esi + 0x17], 0
pop esi
ret

Function at 0x1001ebfd
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1b], 0
je 0x1001ec1a
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x1a
jb 0x1001ec08
mov byte [esi + 0x1b], 0
pop esi
ret

Function at 0x1001ec1c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x1001ec39
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x14
jb 0x1001ec27
mov byte [esi + 0x15], 0
pop esi
ret
Function at 0x1001ec3b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x1001ec58
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0xe
jb 0x1001ec46
mov byte [esi + 0xf], 0
pop esi
ret

Function at 0x1001ec5a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x1001ec77
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jb 0x1001ec65
mov byte [esi + 0x11], 0
pop esi
ret

Function at 0x1001ec79
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x1001ec96
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0xf
jb 0x1001ec84
mov byte [esi + 0x10], 0
pop esi
ret

Function at 0x1001ec98
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x1001ecb5
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0xa
jb 0x1001eca3
mov byte [esi + 0xb], 0
pop esi
ret

Function at 0x1001ed57
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x1001ed74
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x12
jb 0x1001ed62
mov byte [esi + 0x13], 0
pop esi
ret

Function at 0x1001ed76
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x1001ed93
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x6f]
xor byte [ecx], al
inc edx
cmp edx, 0x13
jb 0x1001ed81
mov byte [esi + 0x14], 0
pop esi
ret

Function at 0x1001ef65
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x70
pop edx
mov al, byte [esi + edi - 0x2ba33912]
xor al, dl
inc edx
mov byte [ecx + esi], al
and edx, 0x800000ff
jns 0x1001ef8f
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0xc
jl 0x1001ef72
pop edi
pop esi
mov byte [ecx + 0xc], 0
mov eax, ecx
pop ebp
ret 4
Function at 0x10020026
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1005f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x100d5a2c]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [0x1010c640]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x20]
mov ecx, edi
sub ecx, dword [0x1010c648]
mov esi, dword [ebp - 0x1c]
mov edx, esi
sbb edx, dword [0x1010c64c]
call fcn.10050cc0
mov edx, dword [0x1010c654]
mov ecx, dword [0x1010c650]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10050cc0
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1010c64c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1010c648], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xf1], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xf2], al
call esi
shr eax, 0xf
and al, 1
mov byte [ebx + 0xf4], 0
mov byte [ebx + 0xf3], al
call fcn.1001ff7f
cmp byte [ebx + 0xf0], 0
pop edi
pop esi
pop ebx
je 0x10020120
or eax, 0xffffffff
jmp 0x1002012b
mov eax, dword [0x100d5a2c]
mov eax, dword [eax + 0x1cfc]
cmp dword [0x1005fc6c], eax
je 0x1002013d
mov dword [0x1005fc6c], eax
call fcn.1001fee3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004cba5
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1010c69c], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
jne 0x10021688
xor esi, esi
push 8
mov ecx, esi
pop edx
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edx, 1
jne 0x10021663
mov dword [esi*4 + 0x1010c698], ecx
inc esi
cmp esi, 0x100
jb 0x1002165e
mov esi, dword [ebp + 8]
not esi
mov edx, esi
test ebx, ebx
jle 0x100216cd
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1010c698]
inc edi
sub ebx, 1
jne 0x10021693
jmp 0x100216d4
cmp al, 0x23
jne 0x100216bb
cmp byte [edi], al
jne 0x100216bb
cmp byte [edi + 1], al
cmove edx, esi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1010c698]
mov al, byte [edi]
inc edi
test al, al
jne 0x100216ad
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x10021ece
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10021edd
and dword [edi], 0
mov edx, 0x10058f98
call fcn.10021e3c
mov esi, eax
test esi, esi
je 0x10021f7b
push ebx
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10021f70
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
je 0x10021f70
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10021f70
mov ecx, ebx
call fcn.100235f9
mov dword [ebp + 8], eax
test eax, eax
je 0x10021f70
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x10021f5e
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp + 8]
dec dword [0x1010c644]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x10021f77
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
test edi, edi
je 0x10021f6b
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x10021f7a
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10026671
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100d5a2c]
push esi
mov esi, ecx
and dword [eax + 0x2c8c], 0
test esi, esi
je 0x100266c1
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push edi
call fcn.100266c4
mov edx, 0x10058f9c
mov ecx, esi
mov edi, eax
call fcn.10021e3c
mov esi, eax
test esi, esi
je 0x100266c0
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x1002d4e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, dword [0x100d5a2c]
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1a20]
cmp byte [eax + 0x7b], 0
jne 0x1002d52c
push edx
lea esi, [edi + 0x2ec4]
mov edx, 0xc01
push ecx
mov ecx, esi
call fcn.1002161b
pop ecx
pop ecx
lea edx, [edi + 0x2ec4]
mov ecx, esi
lea edx, [edx + eax]
pop edi
pop esi
jmp fcn.1002d56c
pop edi
pop esi
ret
Function at 0x1003e444
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1005f040]
xor eax, esp
mov dword [esp + 0x2c], eax
movaps xmm0, xmmword [0x1005ae70]
xor edx, edx
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0xf0f8e3e0
movaps xmm0, xmmword [0x1005ade0]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0xebf9d3b6
mov dword [esp + 0x28], 0x1009bf1
mov al, dl
add al, 0x72
xor byte [esp + edx], al
inc edx
cmp edx, 0x2a
jb 0x1003e489
push ecx
lea eax, [esp + 4]
mov byte [esp + 0x2f], 0
push eax
mov edx, 0x1010caa4
call fcn.100345b8
pop ecx
pop ecx
test al, al
je 0x1003e4f6
mov eax, dword [0x1010caa4]
sub eax, 0
je 0x1003e4eb
sub eax, 1
je 0x1003e4e4
sub eax, 1
je 0x1003e4dd
sub eax, 1
je 0x1003e4d6
sub eax, 1
jne 0x1003e4f2
call fcn.10047418
jmp 0x1003e4f2
call fcn.10047a82
jmp 0x1003e4f2
call fcn.10046890
jmp 0x1003e4f2
call fcn.10046f0c
jmp 0x1003e4f2
xor ecx, ecx
call fcn.10045f1a
mov al, 1
jmp 0x1003e4f8
xor al, al
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1004cba5
mov esp, ebp
pop ebp
ret
Function at 0x10040eba
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x10040ed7
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x33
jb 0x10040ec5
mov byte [esi + 0x34], 0
pop esi
ret

Function at 0x10040ed9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x10040eff
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x1a4
jb 0x10040ee7
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x10040f01
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x10040f1e
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x2b
jb 0x10040f0c
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x10040f20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x10040f3d
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x21
jb 0x10040f2b
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x10040f3f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x10040f5c
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x67
jb 0x10040f4a
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x10040f5e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x10040f7b
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x40
jb 0x10040f69
mov byte [esi + 0x41], 0
pop esi
ret

Function at 0x10040f7d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x10040fa3
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x8a
jb 0x10040f8b
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x10040fa5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x10040fc2
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0x72]
xor byte [ecx], al
inc edx
cmp edx, 0x2a
jb 0x10040fb0
mov byte [esi + 0x2b], 0
pop esi
ret
Function at 0x1004dc60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1004de10
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004dd2d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005f090]
jb 0x1004dcaa
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005f094]
ja 0x1004dcaa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004dc7a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004dcd0
jmp 0x1004dd2d
cmp dword [ebp - 0x14], 0x10000
jne 0x1004dd13
cmp dword [ebp - 0x18], 0x10000
jb 0x1004dd13
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004dd06
mov eax, dword [ebp - 8]
jmp 0x1004dd2f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004dd28
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004de10
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004dc7a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1004dd40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004de40
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004de05
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005f090]
jb 0x1004dd85
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005f094]
ja 0x1004dd85
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004dd55
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004ddab
jmp 0x1004de05
cmp dword [ebp - 0x14], 0x10000
jne 0x1004ddee
cmp dword [ebp - 0x18], 0x10000
jb 0x1004ddee
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004dde1
mov eax, dword [ebp - 8]
jmp 0x1004de07
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004de00
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004de40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004dd55
xor eax, eax
mov esp, ebp
pop ebp
ret