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

Disassembly:
push 0x38
mov eax, 0x10052659
call fcn.10050cfe
cmp byte [0x100d591c], 0
je 0x1001b548
movaps xmm0, xmmword [0x1005a960]
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xc2d4c2da
xor ebx, ebx
mov dword [ebp - 0x28], 0x98dcd2
mov byte [ebp - 0x24], 1
call fcn.10014406
push eax
call fcn.1002d898
lea ecx, [ebp - 0x20]
mov dword [esp], 0x3ba887ea
call fcn.1001f221
sub esp, 0xc
mov dword [ebp - 4], ebx
mov edx, 0x100d5970
mov ecx, eax
call fcn.100345c1
movaps xmm0, xmmword [0x1005a750]
add esp, 0xc
movups xmmword [ebp - 0x44], xmm0
mov ecx, ebx
mov byte [ebp - 0x24], 1
movaps xmm0, xmmword [0x10059b80]
movups xmmword [ebp - 0x34], xmm0
lea eax, [ecx - 0x5d]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x1f
jb 0x1001b41b
mov byte [ebp - 0x24], bl
mov ecx, 0x8f
mov edx, ebx
mov al, byte [edx + 0x10054fc0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b44f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xa
jl 0x1001b432
mov byte [ebp - 0x16], bl
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
mov edx, 0x100d5974
lea ecx, [ebp - 0x20]
call fcn.10034c84
pop ecx
pop ecx
mov ecx, 0xe8
mov edx, ebx
mov al, byte [edx + 0x10054fcc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b497
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b47a
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 2
mov edx, 0x100d597c
lea ecx, [ebp - 0x20]
call fcn.100345c1
add esp, 0xc
mov ecx, 0x81
mov edx, ebx
mov al, byte [edx + 0x10054fd8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b4de
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001b4c1
mov byte [ebp - 0x17], bl
sub esp, 0xc
mov dword [ebp - 4], 3
mov edx, 0x100d5980
lea ecx, [ebp - 0x20]
call fcn.100345c1
add esp, 0xc
mov ecx, 0xec
mov edx, ebx
mov al, byte [edx + 0x10054fe4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001b525
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1001b508
mov byte [ebp - 0x15], bl
sub esp, 0xc
mov dword [ebp - 4], 4
mov edx, 0x100d5978
lea ecx, [ebp - 0x20]
call fcn.100345c1
add esp, 0xc
call fcn.10050cbc
ret
Function at 0x1001ba93
Capabilities:
Execute command

Disassembly:
push 0x2c
mov eax, 0x10052730
call fcn.10050cfe
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
xor ebx, ebx
push 0x51
pop ecx
mov edx, ebx
mov al, byte [edx + 0x10055058]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x1001bacb
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x1001baae
mov byte [ebp - 0x15], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.1002e0b6
pop ecx
test al, al
je 0x1001bb1e
push 0x11
pop ecx
mov edx, ebx
mov al, byte [edx + 0x10055068]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x1001bb0a
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x1001baed
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 + 0x10055088]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001bb4a
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bb2d
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1002e0b6
or dword [ebp - 4], 0xffffffff
pop ecx
test al, al
je 0x1001bb74
call fcn.1000fad6
and dword [ebp - 0x38], 0
mov ecx, 0xf2
and dword [ebp - 0x34], 0
mov edx, ebx
mov al, byte [edx + 0x10055098]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1001bba0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1001bb83
mov byte [ebp - 0x13], bl
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1002e0b6
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 0x1001bbd6
call fcn.10014427
call fcn.10050cbc
ret
Function at 0x1001ea72
Capabilities:
Create thread
Terminate process

Disassembly:
push 0x50
mov eax, 0x10052843
call fcn.10050cfe
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x1001eb32
lea ecx, [ebp - 0x40]
call fcn.1000ed25
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
call fcn.10008081
call fcn.1000ee03
add esp, 0x18
test al, al
je 0x1001eb3d
mov ecx, esi
call fcn.10008950
mov ecx, esi
call fcn.100088f4
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 0x1001ea6d
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x100088a2
push ebx
push ebx
call esi
push 6
pop ecx
movaps xmm0, xmmword [0x1005a320]
lea edi, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0x838c85
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.1000ec86
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.100022dd
pop ecx
pop ecx
call fcn.1000eca7
lea ecx, [ebp - 0x40]
call fcn.100078cb
xor eax, eax
inc eax
call fcn.10050cbc
ret 0xc
movaps xmm0, xmmword [0x1005afd0]
lea ecx, [ebp - 0x28]
push 0x10
push 0x10053593
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x100
call fcn.100143a3
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 0x1001eb78
Capabilities:
Encode data using xor

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

Function at 0x1001eba0
Capabilities:
Encode data using xor

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

Function at 0x1001ebbf
Capabilities:
Encode data using xor

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

Function at 0x1001ebe7
Capabilities:
Encode data using xor

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

Function at 0x1001ec06
Capabilities:
Encode data using xor

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

Function at 0x1001ec25
Capabilities:
Encode data using xor

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

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

Function at 0x1001ec63
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x74], 0
je 0x1001ec80
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x73
jb 0x1001ec6e
mov byte [esi + 0x74], 0
pop esi
ret

Function at 0x1001ec82
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2d0], 0
je 0x1001eca8
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x2cf
jb 0x1001ec90
mov byte [esi + 0x2d0], 0
pop esi
ret

Function at 0x1001ecaa
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xbe], 0
je 0x1001ecd0
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0xbd
jb 0x1001ecb8
mov byte [esi + 0xbe], 0
pop esi
ret

Function at 0x1001ed26
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x46], 0
je 0x1001ed43
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x45
jb 0x1001ed31
mov byte [esi + 0x46], 0
pop esi
ret

Function at 0x1001ee5c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x1001ee79
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x1c
jb 0x1001ee67
mov byte [esi + 0x1d], 0
pop esi
ret

Function at 0x1001ee7b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x1001ee98
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x17
jb 0x1001ee86
mov byte [esi + 0x18], 0
pop esi
ret

Function at 0x1001ee9a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x1001eeb7
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x16
jb 0x1001eea5
mov byte [esi + 0x17], 0
pop esi
ret

Function at 0x1001eeb9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1b], 0
je 0x1001eed6
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x1a
jb 0x1001eec4
mov byte [esi + 0x1b], 0
pop esi
ret

Function at 0x1001eed8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x1001eef5
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x14
jb 0x1001eee3
mov byte [esi + 0x15], 0
pop esi
ret

Function at 0x1001eef7
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x1001ef14
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0xe
jb 0x1001ef02
mov byte [esi + 0xf], 0
pop esi
ret
Function at 0x1001ef16
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x1001ef33
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jb 0x1001ef21
mov byte [esi + 0x11], 0
pop esi
ret

Function at 0x1001ef35
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x1001ef52
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0xf
jb 0x1001ef40
mov byte [esi + 0x10], 0
pop esi
ret

Function at 0x1001ef54
Capabilities:
Encode data using xor

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

Function at 0x1001f013
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x1001f030
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x12
jb 0x1001f01e
mov byte [esi + 0x13], 0
pop esi
ret

Function at 0x1001f032
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x1001f04f
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5d]
xor byte [ecx], al
inc edx
cmp edx, 0x13
jb 0x1001f03d
mov byte [esi + 0x14], 0
pop esi
ret

Function at 0x1001f221
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 [edi + esi - 0x2ba33912]
xor al, dl
inc edx
mov byte [esi + ecx], al
and edx, 0x800000ff
jns 0x1001f24b
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0xc
jl 0x1001f22e
pop edi
pop esi
mov byte [ecx + 0xc], 0
mov eax, ecx
pop ebp
ret 4
Function at 0x10020382
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 [0x100d5a38]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [0x1010c64c]
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 [0x1010c650]
mov esi, dword [ebp - 0x1c]
mov edx, esi
sbb edx, dword [0x1010c654]
call fcn.10051280
mov edx, dword [0x1010c65c]
mov ecx, dword [0x1010c658]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10051280
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1010c654], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1010c650], 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.100202db
cmp byte [ebx + 0xf0], 0
pop edi
pop esi
pop ebx
je 0x1002047c
or eax, 0xffffffff
jmp 0x10020487
mov eax, dword [0x100d5a38]
mov eax, dword [eax + 0x1cfc]
cmp dword [0x1005fc6c], eax
je 0x10020499
mov dword [0x1005fc6c], eax
call fcn.1002023f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004d254
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1010c6a4], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
jne 0x100219e4
xor esi, esi
push 8
mov edx, esi
pop ecx
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub ecx, 1
jne 0x100219bf
mov dword [esi*4 + 0x1010c6a0], edx
inc esi
cmp esi, 0x100
jb 0x100219ba
mov esi, dword [ebp + 8]
not esi
mov edx, esi
test ebx, ebx
jle 0x10021a29
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1010c6a0]
inc edi
sub ebx, 1
jne 0x100219ef
jmp 0x10021a30
cmp al, 0x23
jne 0x10021a17
cmp byte [edi], al
jne 0x10021a17
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 + 0x1010c6a0]
mov al, byte [edi]
inc edi
test al, al
jne 0x10021a09
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x1002222c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1002223b
and dword [edi], 0
mov edx, 0x10059010
call fcn.1002219a
mov esi, eax
test esi, esi
je 0x100222d9
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 0x100222ce
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 0x100222ce
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 0x100222ce
mov ecx, ebx
call fcn.10023957
mov dword [ebp + 8], eax
test eax, eax
je 0x100222ce
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 0x100222bc
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp + 8]
dec dword [0x1010c660]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x100222d5
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
test edi, edi
je 0x100222c9
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x100222d8
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 0x100269d7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100d5a38]
push esi
mov esi, ecx
and dword [eax + 0x2c8c], 0
test esi, esi
je 0x10026a27
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push edi
call fcn.10026a2a
mov edx, 0x10059014
mov ecx, esi
mov edi, eax
call fcn.1002219a
mov esi, eax
test esi, esi
je 0x10026a26
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 0x1002d84f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, dword [0x100d5a38]
mov eax, dword [edi + 0x1a20]
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1a20]
cmp byte [eax + 0x7b], 0
jne 0x1002d895
push edx
lea esi, [edi + 0x2ec4]
mov edx, 0xc01
push ecx
mov ecx, esi
call fcn.10021977
pop ecx
pop ecx
lea edx, [edi + 0x2ec4]
mov ecx, esi
lea edx, [edx + eax]
pop edi
pop esi
jmp fcn.1002d8d5
pop edi
pop esi
ret
Function at 0x1003eaa0
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 [0x1005abd0]
xor edx, edx
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0xadabb6b7
movaps xmm0, xmmword [0x1005a6f0]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0xbeaa8ee9
mov dword [esp + 0x28], 0x100cea6
mov al, dl
sub al, 0x5b
xor byte [esp + edx], al
inc edx
cmp edx, 0x2a
jb 0x1003eae5
push ecx
lea eax, [esp + 4]
mov byte [esp + 0x2f], 0
push eax
mov edx, 0x1010caac
call fcn.10034c84
pop ecx
pop ecx
test al, al
je 0x1003eb52
mov eax, dword [0x1010caac]
sub eax, 0
je 0x1003eb47
sub eax, 1
je 0x1003eb40
sub eax, 1
je 0x1003eb39
sub eax, 1
je 0x1003eb32
sub eax, 1
jne 0x1003eb4e
call fcn.10047aa9
jmp 0x1003eb4e
call fcn.10048113
jmp 0x1003eb4e
call fcn.10046f21
jmp 0x1003eb4e
call fcn.1004759d
jmp 0x1003eb4e
xor ecx, ecx
call fcn.100465ab
mov al, 1
jmp 0x1003eb54
xor al, al
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1004d254
mov esp, ebp
pop ebp
ret
Function at 0x10041511
Capabilities:
Encode data using xor

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

Function at 0x10041530
Capabilities:
Encode data using xor

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

Function at 0x10041558
Capabilities:
Encode data using xor

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

Function at 0x10041577
Capabilities:
Encode data using xor

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

Function at 0x10041596
Capabilities:
Encode data using xor

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

Function at 0x100415b5
Capabilities:
Encode data using xor

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

Function at 0x100415d4
Capabilities:
Encode data using xor

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

Function at 0x100415f3
Capabilities:
Encode data using xor

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

Function at 0x1004161b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x10041638
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 0x5b]
xor byte [ecx], al
inc edx
cmp edx, 0x2a
jb 0x10041626
mov byte [esi + 0x2b], 0
pop esi
ret
Function at 0x1004e310
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.1004e4c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004e3dd
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005f090]
jb 0x1004e35a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005f094]
ja 0x1004e35a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004e32a
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 0x1004e380
jmp 0x1004e3dd
cmp dword [ebp - 0x14], 0x10000
jne 0x1004e3c3
cmp dword [ebp - 0x18], 0x10000
jb 0x1004e3c3
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 0x1004e3b6
mov eax, dword [ebp - 8]
jmp 0x1004e3df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004e3d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004e4c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004e32a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1004e3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004e4f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004e4b5
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005f090]
jb 0x1004e435
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005f094]
ja 0x1004e435
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004e405
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 0x1004e45b
jmp 0x1004e4b5
cmp dword [ebp - 0x14], 0x10000
jne 0x1004e49e
cmp dword [ebp - 0x18], 0x10000
jb 0x1004e49e
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 0x1004e491
mov eax, dword [ebp - 8]
jmp 0x1004e4b7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004e4b0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004e4f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004e405
xor eax, eax
mov esp, ebp
pop ebp
ret