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

Disassembly:
push 0x38
mov eax, 0x100520c7
call fcn.1005068e
cmp byte [0x100d5960], 0
je 0x1001b748
movaps xmm0, xmmword [0x1005a810]
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x6a7c6a72
xor ebx, ebx
mov dword [ebp - 0x28], 0x447a
mov byte [ebp - 0x24], 1
call fcn.100146cb
push eax
call fcn.1002d558
lea ecx, [ebp - 0x20]
mov dword [esp], 0x3ba887ba
call fcn.1001ef92
sub esp, 0xc
mov dword [ebp - 4], ebx
mov edx, 0x100d5964
mov ecx, eax
call fcn.10033f23
movaps xmm0, xmmword [str.P___G_L]
add esp, 0xc
movups xmmword [ebp - 0x44], xmm0
mov ecx, ebx
mov byte [ebp - 0x24], 1
movaps xmm0, xmmword [str.__..Wp_x]
movups xmmword [ebp - 0x34], xmm0
lea eax, [ecx + 0xb]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x1f
jb 0x1001b61b
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 0x1001b64f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xa
jl 0x1001b632
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.100345e1
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 0x1001b697
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b67a
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 2
mov edx, 0x100d5970
lea ecx, [ebp - 0x20]
call fcn.10033f23
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 0x1001b6de
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b6c1
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 3
mov edx, 0x100d5974
lea ecx, [ebp - 0x20]
call fcn.10033f23
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 0x1001b725
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1001b708
mov byte [ebp - 0x15], bl
sub esp, 0xc
mov dword [ebp - 4], 4
mov edx, 0x100d596c
lea ecx, [ebp - 0x20]
call fcn.10033f23
add esp, 0xc
call fcn.1005064c
ret
Function at 0x1001bc93
Capabilities:
Execute command

Disassembly:
push 0x2c
mov eax, 0x1005219e
call fcn.1005068e
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 0x1001bccb
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x1001bcae
mov byte [ebp - 0x15], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.1002dd76
pop ecx
test al, al
je 0x1001bd1e
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 0x1001bd0a
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x1001bced
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 0x1001bd4a
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bd2d
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1002dd76
or dword [ebp - 4], 0xffffffff
pop ecx
test al, al
je 0x1001bd74
call fcn.1000fd9b
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 0x1001bda0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bd83
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1002dd76
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 0x1001bdd6
call fcn.100146ec
call fcn.1005064c
ret
Function at 0x1001e7d2
Capabilities:
Create thread
Terminate process

Disassembly:
push 0x50
mov eax, 0x100522a6
call fcn.1005068e
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x1001e892
lea ecx, [ebp - 0x40]
call fcn.1000ee8c
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
call fcn.10008237
call fcn.1000ef6a
add esp, 0x18
test al, al
je 0x1001e89d
mov ecx, esi
call fcn.10008b0f
mov ecx, esi
call fcn.10008ab3
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 0x1001e7cd
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x10008a61
push ebx
push ebx
call esi
push 6
pop ecx
movaps xmm0, xmmword [0x10059f70]
lea edi, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0x2b242d
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.1000eded
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.100023b8
pop ecx
pop ecx
call fcn.1000ee0e
lea ecx, [ebp - 0x40]
call fcn.10007a5e
xor eax, eax
inc eax
call fcn.1005064c
ret 0xc
movaps xmm0, xmmword [0x1005a5e0]
lea ecx, [ebp - 0x28]
push 0x10
push 0x10053593
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x100
call fcn.10014668
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 0x1001e8d8
Capabilities:
Encode data using xor

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

Function at 0x1001e8f7
Capabilities:
Encode data using xor

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

Function at 0x1001e916
Capabilities:
Encode data using xor

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

Function at 0x1001e93e
Capabilities:
Encode data using xor

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

Function at 0x1001e966
Capabilities:
Encode data using xor

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

Function at 0x1001e985
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x1001e9a2
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0xb]
xor byte [ecx], al
inc edx
cmp edx, 0x23
jb 0x1001e990
mov byte [esi + 0x24], 0
pop esi
ret
Function at 0x1001e9a4
Capabilities:
Encode data using xor

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

Function at 0x1001e9c3
Capabilities:
Encode data using xor

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

Function at 0x1001e9e2
Capabilities:
Encode data using xor

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

Function at 0x1001ea01
Capabilities:
Encode data using xor

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

Function at 0x1001ea29
Capabilities:
Encode data using xor

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

Function at 0x1001ea97
Capabilities:
Encode data using xor

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

Function at 0x1001ebcd
Capabilities:
Encode data using xor

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

Function at 0x1001ebec
Capabilities:
Encode data using xor

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

Function at 0x1001ec0b
Capabilities:
Encode data using xor

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

Function at 0x1001ec2a
Capabilities:
Encode data using xor

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

Function at 0x1001ec49
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x1001ec66
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0xb]
xor byte [ecx], al
inc edx
cmp edx, 0x14
jb 0x1001ec54
mov byte [esi + 0x15], 0
pop esi
ret
Function at 0x1001ec68
Capabilities:
Encode data using xor

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

Function at 0x1001ec87
Capabilities:
Encode data using xor

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

Function at 0x1001eca6
Capabilities:
Encode data using xor

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

Function at 0x1001ecc5
Capabilities:
Encode data using xor

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

Function at 0x1001ed84
Capabilities:
Encode data using xor

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

Function at 0x1001eda3
Capabilities:
Encode data using xor

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

Function at 0x1001ef92
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 0x1001efbc
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0xc
jl 0x1001ef9f
pop edi
pop esi
mov byte [ecx + 0xc], 0
mov eax, ecx
pop ebp
ret 4
Function at 0x10020053
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.10050cf0
mov edx, dword [0x1010c654]
mov ecx, dword [0x1010c650]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10050cf0
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.1001ffac
cmp byte [ebx + 0xf0], 0
pop edi
pop esi
pop ebx
je 0x1002014d
or eax, 0xffffffff
jmp 0x10020158
mov eax, dword [0x100d5a2c]
mov eax, dword [eax + 0x1cfc]
cmp dword [0x1005fc6c], eax
je 0x1002016a
mov dword [0x1005fc6c], eax
call fcn.1001ff10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004cbca
leave
ret
Function at 0x10021676
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 0x100216b5
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 0x10021690
mov dword [esi*4 + 0x1010c698], ecx
inc esi
cmp esi, 0x100
jb 0x1002168b
mov esi, dword [ebp + 8]
not esi
mov edx, esi
test ebx, ebx
jle 0x100216fa
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 0x100216c0
jmp 0x10021701
cmp al, 0x23
jne 0x100216e8
cmp byte [edi], al
jne 0x100216e8
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 0x100216da
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x10021efb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10021f0a
and dword [edi], 0
mov edx, 0x10058f98
call fcn.10021e69
mov esi, eax
test esi, esi
je 0x10021fa8
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 0x10021f9d
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 0x10021f9d
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 0x10021f9d
mov ecx, ebx
call fcn.10023626
mov dword [ebp + 8], eax
test eax, eax
je 0x10021f9d
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 0x10021f8b
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 0x10021fa4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
test edi, edi
je 0x10021f98
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x10021fa7
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 0x1002669a
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 0x100266ea
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push edi
call fcn.100266ed
mov edx, 0x10058f9c
mov ecx, esi
mov edi, eax
call fcn.10021e69
mov esi, eax
test esi, esi
je 0x100266e9
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 0x1002d50f
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 0x1002d555
push edx
lea esi, [edi + 0x2ec4]
mov edx, 0xc01
push ecx
mov ecx, esi
call fcn.10021648
pop ecx
pop ecx
lea edx, [edi + 0x2ec4]
mov ecx, esi
lea edx, [edx + eax]
pop edi
pop esi
jmp fcn.1002d595
pop edi
pop esi
ret
Function at 0x1003e46d
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 [0x1005a860]
xor edx, edx
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0x545c5f5c
movaps xmm0, xmmword [0x1005a530]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0x47557712
mov dword [esp + 0x28], 0x100375d
mov al, dl
add al, 0xe
xor byte [esp + edx], al
inc edx
cmp edx, 0x2a
jb 0x1003e4b2
push ecx
lea eax, [esp + 4]
mov byte [esp + 0x2f], 0
push eax
mov edx, 0x1010caa4
call fcn.100345e1
pop ecx
pop ecx
test al, al
je 0x1003e51f
mov eax, dword [0x1010caa4]
sub eax, 0
je 0x1003e514
sub eax, 1
je 0x1003e50d
sub eax, 1
je 0x1003e506
sub eax, 1
je 0x1003e4ff
sub eax, 1
jne 0x1003e51b
call fcn.1004743d
jmp 0x1003e51b
call fcn.10047aa7
jmp 0x1003e51b
call fcn.100468b5
jmp 0x1003e51b
call fcn.10046f31
jmp 0x1003e51b
xor ecx, ecx
call fcn.10045f3f
mov al, 1
jmp 0x1003e521
xor al, al
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1004cbca
mov esp, ebp
pop ebp
ret
Function at 0x10040edf
Capabilities:
Encode data using xor

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

Function at 0x10040efe
Capabilities:
Encode data using xor

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

Function at 0x10040f26
Capabilities:
Encode data using xor

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

Function at 0x10040f45
Capabilities:
Encode data using xor

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

Function at 0x10040f64
Capabilities:
Encode data using xor

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

Function at 0x10040f83
Capabilities:
Encode data using xor

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

Function at 0x10040fa2
Capabilities:
Encode data using xor

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

Function at 0x10040fca
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x10040fe7
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx + 0xe]
xor byte [ecx], al
inc edx
cmp edx, 0x2a
jb 0x10040fd5
mov byte [esi + 0x2b], 0
pop esi
ret
Function at 0x1004dc90
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.1004de40
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004dd5d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005f090]
jb 0x1004dcda
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005f094]
ja 0x1004dcda
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004dcaa
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 0x1004dd00
jmp 0x1004dd5d
cmp dword [ebp - 0x14], 0x10000
jne 0x1004dd43
cmp dword [ebp - 0x18], 0x10000
jb 0x1004dd43
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 0x1004dd36
mov eax, dword [ebp - 8]
jmp 0x1004dd5f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004dd58
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004de40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004dcaa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1004dd70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004de70
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004de35
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005f090]
jb 0x1004ddb5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005f094]
ja 0x1004ddb5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004dd85
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 0x1004dddb
jmp 0x1004de35
cmp dword [ebp - 0x14], 0x10000
jne 0x1004de1e
cmp dword [ebp - 0x18], 0x10000
jb 0x1004de1e
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 0x1004de11
mov eax, dword [ebp - 8]
jmp 0x1004de37
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004de30
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004de70
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004dd85
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422004]
jne 0x40100a
repz ret
jmp fcn.00401424

Function at 0x4056ab
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4056e6
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4056cd
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4056de
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4056e8
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4056c3
xor eax, eax
pop edi
pop esi
ret