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

Disassembly:
push 0x38
mov eax, 0x10052454
call fcn.10050a0e
cmp byte [0x100d4968], 0
je 0x1001b72e
movaps xmm0, xmmword [0x1005a640]
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x9d89918f
xor ebx, ebx
mov dword [ebp - 0x28], 0xcd8f8f
mov byte [ebp - 0x24], 1
call fcn.10014513
push eax
call fcn.1002d572
lea ecx, [ebp - 0x20]
mov dword [esp], 0x3ba887d2
call fcn.1001ef65
sub esp, 0xc
mov dword [ebp - 4], ebx
mov edx, 0x100d496c
mov ecx, eax
call fcn.1003429b
movaps xmm0, xmmword [0x1005ac50]
add esp, 0xc
movups xmmword [ebp - 0x44], xmm0
mov ecx, ebx
mov byte [ebp - 0x24], 1
movaps xmm0, xmmword [0x10059b00]
movups xmmword [ebp - 0x34], xmm0
lea eax, [ecx - 0x2a]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x1f
jb 0x1001b601
mov byte [ebp - 0x24], bl
mov ecx, 0x8f
mov edx, ebx
mov al, byte [edx + 0x10054fa8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b635
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xa
jl 0x1001b618
mov byte [ebp - 0x16], bl
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
mov edx, 0x100d4970
lea ecx, [ebp - 0x20]
call fcn.10034959
pop ecx
pop ecx
mov ecx, 0xe8
mov edx, ebx
mov al, byte [edx + 0x10054fb4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b67d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b660
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 2
mov edx, 0x100d4978
lea ecx, [ebp - 0x20]
call fcn.1003429b
add esp, 0xc
mov ecx, 0x81
mov edx, ebx
mov al, byte [edx + 0x10054fc0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b6c4
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b6a7
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 3
mov edx, 0x100d497c
lea ecx, [ebp - 0x20]
call fcn.1003429b
add esp, 0xc
mov ecx, 0xec
mov edx, ebx
mov al, byte [edx + 0x10054fcc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b70b
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1001b6ee
mov byte [ebp - 0x15], bl
sub esp, 0xc
mov dword [ebp - 4], 4
mov edx, 0x100d4974
lea ecx, [ebp - 0x20]
call fcn.1003429b
add esp, 0xc
call fcn.100509cc
ret
Function at 0x1001bc79
Capabilities:
Execute command

Disassembly:
push 0x2c
mov eax, 0x1005252b
call fcn.10050a0e
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
xor ebx, ebx
push 0x51
pop ecx
mov edx, ebx
mov al, byte [edx + 0x10055040]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x1001bcb1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x1001bc94
mov byte [ebp - 0x15], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.1002dd90
pop ecx
test al, al
je 0x1001bd04
push 0x11
pop ecx
mov edx, ebx
mov al, byte [edx + 0x10055050]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x1001bcf0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x1001bcd3
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 + 0x10055070]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001bd30
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bd13
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1002dd90
or dword [ebp - 4], 0xffffffff
pop ecx
test al, al
je 0x1001bd5a
call fcn.1000fbe3
and dword [ebp - 0x38], 0
mov ecx, 0xf2
and dword [ebp - 0x34], 0
mov edx, ebx
mov al, byte [edx + 0x10055080]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001bd86
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bd69
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1002dd90
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 0x1001bdbc
call fcn.10014534
call fcn.100509cc
ret
Function at 0x1001e806
Capabilities:
Create thread
Terminate process

Disassembly:
push 0x50
mov eax, 0x1005263e
call fcn.10050a0e
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x1001e8c6
lea ecx, [ebp - 0x40]
call fcn.1000edf3
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
call fcn.10008244
call fcn.1000eed1
add esp, 0x18
test al, al
je 0x1001e8d1
mov ecx, esi
call fcn.10008b1c
mov ecx, esi
call fcn.10008ac0
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 0x1001e801
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x10008a6e
push ebx
push ebx
call esi
push 6
pop ecx
movaps xmm0, xmmword [0x1005ab70]
lea edi, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0xdedfd0
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.1000ed54
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.100023c8
pop ecx
pop ecx
call fcn.1000ed75
lea ecx, [ebp - 0x40]
call fcn.10007a6b
xor eax, eax
inc eax
call fcn.100509cc
ret 0xc
movaps xmm0, xmmword [0x1005a7b0]
lea ecx, [ebp - 0x28]
push 0x10
push 0x10053593
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x100
call fcn.100144b0
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 0x1001e90c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf1], 0
je 0x1001e932
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0xf0
jb 0x1001e91a
mov byte [esi + 0xf1], 0
pop esi
ret

Function at 0x1001e934
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x1001e951
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x20
jb 0x1001e93f
mov byte [esi + 0x21], 0
pop esi
ret

Function at 0x1001e953
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x90], 0
je 0x1001e979
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x8f
jb 0x1001e961
mov byte [esi + 0x90], 0
pop esi
ret

Function at 0x1001e97b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x4b], 0
je 0x1001e998
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x4a
jb 0x1001e986
mov byte [esi + 0x4b], 0
pop esi
ret

Function at 0x1001e99a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x1001e9b7
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x23
jb 0x1001e9a5
mov byte [esi + 0x24], 0
pop esi
ret

Function at 0x1001e9b9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x1001e9d6
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x1d
jb 0x1001e9c4
mov byte [esi + 0x1e], 0
pop esi
ret
Function at 0x1001e9d8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x1001e9f5
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x3b
jb 0x1001e9e3
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x1001e9f7
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x74], 0
je 0x1001ea14
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x2a]
xor byte [ecx], al
inc edx
cmp edx, 0x73
jb 0x1001ea02
mov byte [esi + 0x74], 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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 - 0x2a]
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 0x10020064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1005e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x100d4a28]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [0x1010b63c]
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 [0x1010b640]
mov esi, dword [ebp - 0x1c]
mov edx, esi
sbb edx, dword [0x1010b644]
call fcn.10051070
mov edx, dword [0x1010b64c]
mov ecx, dword [0x1010b648]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10051070
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1010b644], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1010b640], 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.1001ffbd
cmp byte [ebx + 0xf0], 0
pop edi
pop esi
pop ebx
je 0x1002015e
or eax, 0xffffffff
jmp 0x10020169
mov eax, dword [0x100d4a28]
mov eax, dword [eax + 0x1cfc]
cmp dword [0x1005ec6c], eax
je 0x1002017b
mov dword [0x1005ec6c], eax
call fcn.1001ff21
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004cf63
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1010b694], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
jne 0x100216c6
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 0x100216a1
mov dword [esi*4 + 0x1010b690], ecx
inc esi
cmp esi, 0x100
jb 0x1002169c
mov esi, dword [ebp + 8]
not esi
mov edx, esi
test ebx, ebx
jle 0x1002170b
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1010b690]
inc edi
sub ebx, 1
jne 0x100216d1
jmp 0x10021712
cmp al, 0x23
jne 0x100216f9
cmp byte [edi], al
jne 0x100216f9
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 + 0x1010b690]
mov al, byte [edi]
inc edi
test al, al
jne 0x100216eb
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x10021f0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10021f1b
and dword [edi], 0
mov edx, 0x10058ff8
call fcn.10021e7a
mov esi, eax
test esi, esi
je 0x10021fb9
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 0x10021fae
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 0x10021fae
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 0x10021fae
mov ecx, ebx
call fcn.10023638
mov dword [ebp + 8], eax
test eax, eax
je 0x10021fae
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 0x10021f9c
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp + 8]
dec dword [0x1010b650]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x10021fb5
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
test edi, edi
je 0x10021fa9
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x10021fb8
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 0x100266af
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100d4a28]
push esi
mov esi, ecx
and dword [eax + 0x2c8c], 0
test esi, esi
je 0x100266ff
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push edi
call fcn.10026702
mov edx, 0x10058ffc
mov ecx, esi
mov edi, eax
call fcn.10021e7a
mov esi, eax
test esi, esi
je 0x100266fe
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 0x1002d529
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, dword [0x100d4a28]
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1a20]
cmp byte [eax + 0x7b], 0
jne 0x1002d56f
push edx
lea esi, [edi + 0x2ec4]
mov edx, 0xc01
push ecx
mov ecx, esi
call fcn.10021659
pop ecx
pop ecx
lea edx, [edi + 0x2ec4]
mov ecx, esi
lea edx, [edx + eax]
pop edi
pop esi
jmp fcn.1002d5af
pop edi
pop esi
ret
Function at 0x1003e7e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1005e040]
xor eax, esp
mov dword [esp + 0x2c], eax
movaps xmm0, xmmword [0x1005a300]
xor edx, edx
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0x99978a8b
movaps xmm0, xmmword [0x1005a590]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0x729ebadd
mov dword [esp + 0x28], 0x100026a
mov al, dl
sub al, 0x27
xor byte [esp + edx], al
inc edx
cmp edx, 0x2a
jb 0x1003e82a
push ecx
lea eax, [esp + 4]
mov byte [esp + 0x2f], 0
push eax
mov edx, 0x1010ba9c
call fcn.10034959
pop ecx
pop ecx
test al, al
je 0x1003e897
mov eax, dword [0x1010ba9c]
sub eax, 0
je 0x1003e88c
sub eax, 1
je 0x1003e885
sub eax, 1
je 0x1003e87e
sub eax, 1
je 0x1003e877
sub eax, 1
jne 0x1003e893
call fcn.100477d6
jmp 0x1003e893
call fcn.10047e40
jmp 0x1003e893
call fcn.10046c4e
jmp 0x1003e893
call fcn.100472ca
jmp 0x1003e893
xor ecx, ecx
call fcn.100462d8
mov al, 1
jmp 0x1003e899
xor al, al
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1004cf63
mov esp, ebp
pop ebp
ret
Function at 0x10041259
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x10041276
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x33
jb 0x10041264
mov byte [esi + 0x34], 0
pop esi
ret

Function at 0x10041278
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x1004129e
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x1a4
jb 0x10041286
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x100412a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x100412bd
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x2b
jb 0x100412ab
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x100412bf
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x100412dc
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x21
jb 0x100412ca
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x100412de
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x100412fb
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x5e
jb 0x100412e9
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x100412fd
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x1004131a
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x67
jb 0x10041308
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x1004131c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x10041339
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x40
jb 0x10041327
mov byte [esi + 0x41], 0
pop esi
ret

Function at 0x1004133b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x10041361
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x8a
jb 0x10041349
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x10041363
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x10041380
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x27]
xor byte [ecx], al
inc edx
cmp edx, 0x2a
jb 0x1004136e
mov byte [esi + 0x2b], 0
pop esi
ret
Function at 0x1004e020
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.1004e1d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004e0ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005e090]
jb 0x1004e06a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005e094]
ja 0x1004e06a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004e03a
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 0x1004e090
jmp 0x1004e0ed
cmp dword [ebp - 0x14], 0x10000
jne 0x1004e0d3
cmp dword [ebp - 0x18], 0x10000
jb 0x1004e0d3
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 0x1004e0c6
mov eax, dword [ebp - 8]
jmp 0x1004e0ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004e0e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004e1d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004e03a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1004e100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004e200
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004e1c5
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005e090]
jb 0x1004e145
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005e094]
ja 0x1004e145
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004e115
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 0x1004e16b
jmp 0x1004e1c5
cmp dword [ebp - 0x14], 0x10000
jne 0x1004e1ae
cmp dword [ebp - 0x18], 0x10000
jb 0x1004e1ae
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 0x1004e1a1
mov eax, dword [ebp - 8]
jmp 0x1004e1c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004e1c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004e200
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004e115
xor eax, eax
mov esp, ebp
pop ebp
ret