joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c42d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10047014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xf
xor edx, edx
nop
mov al, byte [edx + str.Aui4Vvuj]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000625d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10006240
mov byte [ebp - 0x15], 0
mov edx, 0x1006f102
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x46206f4e
mov dword [ebp - 0x18], 0x6873616c
mov byte [ebp - 0x14], 0
mov edx, 0x10047fee
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x18], 0x46206f4e
mov word [ebp - 0x14], 0x676f
mov byte [ebp - 0x12], 0
mov edx, 0x10047fef
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.1001e950
mov ecx, 0xb5
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1003fcb0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x100062ed
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100062d0
mov byte [ebp - 0x14], 0
mov edx, 0x10047fec
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x53206f4e
mov dword [ebp - 0x18], 0x656b6f6d
mov byte [ebp - 0x14], 0
mov edx, 0x10047fe9
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov ecx, 0xb0
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x1003fcc0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000635d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10006340
mov byte [ebp - 0x15], 0
mov edx, 0x10047feb
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov ecx, 0x96
xor edx, edx
mov al, byte [edx + 0x1003fccc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000639f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x10006382
mov byte [ebp - 0x12], 0
mov edx, 0x1006f104
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov ecx, 0x5b
xor edx, edx
mov al, byte [edx + 0x1003fcdc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x100063e1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x100063c4
mov byte [ebp - 0x15], 0
mov edx, 0x10047fed
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x776f6853
mov dword [ebp - 0x18], 0x53504620
mov byte [ebp - 0x14], 0
mov edx, 0x1006f101
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x776f6853
mov dword [ebp - 0x18], 0x445548
mov edx, 0x10047fea
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x63617274
mov dword [ebp - 0x18], 0x737265
mov edx, 0x1006f100
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret
Function at 0x100067a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x100067c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x66]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x100067b0
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x100067d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c4ed
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10047014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0x69766e49
mov dword [ebp - 0x18], 0x6c626973
mov word [ebp - 0x14], 0x65
mov edx, 0x1006f106
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x43206f4e
mov dword [ebp - 0x18], 0x70696c
mov edx, 0x1006f105
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x65657053
mov dword [ebp - 0x18], 0x61482064
mov word [ebp - 0x14], 0x6b63
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
call fcn.1001bff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [esp], 0x3f800000
lea ecx, [ebp - 0x2c]
push 0x1003fd00
push eax
lea eax, [ebp - 0x18]
mov word [ebp - 0x2c], 0x83
push eax
push 0x1006f108
xor edx, edx
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x30], 0x5dc
mov dword [ebp - 0x18], 0
call fcn.1001e040
mov dword [ebp - 0x28], 0x706d754a
mov dword [ebp - 0x24], 0x63614820
mov word [ebp - 0x20], 0x6b
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
call fcn.1001bff0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x100e4e5
xor ecx, ecx
lea eax, [ecx + 0x66]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 2
jb 0x100068e3
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x18]
push 0x1003fd00
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 0x29], 0
push eax
push 0x1006f10c
xor edx, edx
mov dword [ebp - 0x18], 0x7d0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
call fcn.1001e040
add esp, 0x14
mov dword [ebp - 0x28], 0x20796c46
mov dword [ebp - 0x24], 0x6b636148
mov byte [ebp - 0x20], 0
mov edx, 0x1006f107
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.1001e950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret
Function at 0x10007270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c695
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10047014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0x6e69614d
mov dword [ebp - 0x1c], 0x6f6c5320
mov word [ebp - 0x18], 0x74
mov edx, 0x10047e33
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov ecx, 0x2e
xor edx, edx
mov al, byte [edx + str.FCE__]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x100072e4
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x100072c7
mov byte [ebp - 0x15], 0
mov edx, 0x1006f142
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov dword [ebp - 0x20], 0x656c654d
mov dword [ebp - 0x1c], 0x6c532065
mov word [ebp - 0x18], 0x746f
mov byte [ebp - 0x16], 0
mov edx, 0x1006f112
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov ecx, 0xae
xor edx, edx
mov al, byte [edx + 0x1003fe00]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x10007352
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10007335
mov byte [ebp - 0x14], 0
mov edx, 0x10047e30
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x746f6c53
mov word [ebp - 0x18], 0x3120
mov byte [ebp - 0x16], 0
mov edx, 0x1006f140
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x746f6c53
mov word [ebp - 0x18], 0x3220
mov byte [ebp - 0x16], 0
mov edx, 0x1006f133
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x746f6c53
mov word [ebp - 0x18], 0x3320
mov byte [ebp - 0x16], 0
mov edx, 0x1006f131
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov dword [ebp - 0x1c], 0x746f6c53
mov word [ebp - 0x18], 0x3420
mov byte [ebp - 0x16], 0
mov edx, 0x1006f141
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.1001e950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret
Function at 0x100096e0
Capabilities:
Create thread
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c80e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10047014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], 0
jne 0x10009844
push 0x1003d3e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10009bc0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], 1
push eax
push 0
push 0
push 0x1003fca0
mov dword [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.10009e30
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 3
cmp ecx, 0x10
jb 0x100097a2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009798
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009798
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003aae8
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.10009cc0
call fcn.10004f90
add esp, 0x18
test al, al
je 0x10009862
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x64
push 0x232
call dword [sym.imp.KERNEL32.dll_Beep]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10009570
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10001520
push 0
push 0
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10009844
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000983a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000983a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003aae8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret 0xc
movaps xmm0, xmmword [0x10043ec0]
lea ecx, [ebp - 0x3c]
push 0x10
push 0x1003d3e0
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x100
call fcn.100067a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1000abe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10047014]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x1006f180]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x1006f1a0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
movd xmm1, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 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 [esp + 0x20]
mov ecx, edi
sub ecx, dword [0x1006f1a8]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x1006f1ac]
call fcn.1003bc30
mov edx, dword [0x1006f1b4]
mov ecx, dword [0x1006f1b0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.1003bc30
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1006f1ac], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1006f1a8], 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
mov ecx, dword [0x1006f180]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xf4], 0
mov byte [ebx + 0xf3], al
cmp byte [ecx + 0x36f], 0
lea esi, [ecx + 0xd8]
je 0x1000ad1a
cvttss2si eax, dword [esi]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [ecx + 0xdc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [0x1006f1a0]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x1006f1a0]
jne 0x1000ad74
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1000ad74
lea eax, [esp + 0x18]
push eax
push dword [0x1006f1a0]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1000ad74
movd xmm0, dword [esp + 0x18]
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xf0], 0
je 0x1000ad82
or eax, 0xffffffff
jmp 0x1000ad8d
mov eax, dword [0x1006f180]
mov eax, dword [eax + 0x1bd4]
cmp dword [0x10047874], eax
je 0x1000ad9f
mov dword [0x10047874], eax
call fcn.1000aac0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret
Function at 0x1000c630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1006f204], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1000c6ea
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x1006f200], eax
inc ebx
cmp ebx, 0x100
jb 0x1000c650
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1000c716
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006f200]
sub edi, 1
jne 0x1000c6f5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000c748
nop dword [eax]
cmp cl, 0x23
jne 0x1000c72f
cmp byte [esi], cl
jne 0x1000c72f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1006f200]
test cl, cl
jne 0x1000c720
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1000cd00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1000cd12
mov dword [edi], 0
mov edx, 0x10043afc
call fcn.1000cbd0
mov esi, eax
test esi, esi
jne 0x1000cd26
pop edi
pop esi
pop ebp
ret
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 0x1000cdc0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1000cdc0
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 0x1000cdc0
inc dword [0x1006f1a4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1000cdc0
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 0x1000cda9
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp + 8]
dec dword [0x1006f1a4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1000cdb8
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100126c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10047014]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], edi
xor ecx, ecx
mov dword [esp + 0x34], 0xd060e31
mov dword [esp + 0x38], 0x1001c05
lea eax, [ecx + 0x66]
xor byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 6
jb 0x100126f6
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0xd060e31
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0x38], 0x1001c05
nop dword [eax]
lea eax, [ecx + 0x66]
xor byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 6
jb 0x10012720
push 0
xor edx, edx
mov byte [esp + 0x3f], 0
lea ecx, [esp + 0x38]
call fcn.1000c630
mov ecx, dword [edi + 0x2b78]
lea esi, [edi + 0x2b74]
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x18], 0x10012190
mov dword [esp + 0x1c], 0x10012200
mov dword [esp + 0x20], 0x10012390
test eax, eax
jne 0x100127bb
cmp eax, ecx
jne 0x1001279c
lea edi, [eax + 1]
test ecx, ecx
je 0x10012786
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001278b
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10027520
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + ecx*8 + 0x10], xmm0
jmp 0x1001281a
cmp eax, ecx
jne 0x100127e7
lea edi, [eax + 1]
test ecx, ecx
je 0x100127d1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100127d6
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10027520
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
test eax, eax
jle 0x10012804
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push ecx
lea eax, [ecx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esi + 8]
movups xmm0, xmmword [esp + 0x10]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x10], xmm0
inc dword [esi]
mov ecx, dword [esp + 0x3c]
mov byte [edi], 1
pop edi
pop esi
xor ecx, esp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret
Function at 0x10012b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x1006f180]
mov eax, ecx
mov dword [ebp - 0xc], eax
mov dword [esi + 0x2b64], 0
test eax, eax
je 0x10012c78
push ebx
lea ebx, [esi + 0x2b68]
mov dword [esi + 0x2b64], 0
mov ecx, dword [ebx + 4]
push edi
test ecx, ecx
jns 0x10012bf7
mov eax, ecx
xor edi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x10012bf7
inc dword [0x1006f1a4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10012bf1
push dword [ebx]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 8]
add esp, 0xc
test eax, eax
je 0x10012be4
dec dword [0x1006f1a4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 8]
add esp, 4
mov dword [ebx + 8], eax
mov dword [ebx + 4], edi
lea eax, [ebp - 1]
mov dword [ebx], 0
push eax
mov ecx, ebx
mov byte [ebp - 1], 0
call fcn.10027390
cmp dword [esi + 0x2b74], 0
mov dword [ebp - 8], 0
jle 0x10012c45
xor edi, edi
nop
mov eax, dword [esi + 0x2b7c]
add eax, edi
push ebx
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 8]
add esp, 0xc
inc eax
add edi, 0x18
mov dword [ebp - 8], eax
cmp eax, dword [esi + 0x2b74]
jl 0x10012c20
mov edi, dword [ebx]
mov edx, 0x10043b00
mov ecx, dword [ebp - 0xc]
dec edi
mov ebx, dword [esi + 0x2b70]
call fcn.1000cbd0
mov esi, eax
test esi, esi
je 0x10012c76
push esi
push edi
push 1
push ebx
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 ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001bff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
mov edi, dword [0x1006f180]
mov eax, dword [edi + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1928]
cmp byte [eax + 0x7b], 0
jne 0x1001bfe0
push esi
push edx
lea esi, [edi + 0x2d9c]
mov edx, 0xc01
push ecx
mov ecx, esi
call fcn.10001580
add esp, 8
test esi, esi
je 0x1001bfce
cmp eax, 0xffffffff
je 0x1001bfc5
cmp eax, 0xc01
jl 0x1001bfca
mov eax, 0xc00
mov byte [eax + esi], 0
lea edx, [edi + 0x2d9c]
mov ecx, esi
pop esi
lea edx, [edx + eax]
pop edi
jmp fcn.1001c000
pop edi
ret
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
lea edx, [ebp + 0xc]
pop ebp
jmp 0x1001bf80
Function at 0x10036b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cc56
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10047014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10036c40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10038050
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.10038200
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003811d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003809a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10047004]
ja 0x1003809a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003806a
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 0x100380c0
jmp 0x1003811d
cmp dword [ebp - 0x14], 0x10000
jne 0x10038103
cmp dword [ebp - 0x18], 0x10000
jb 0x10038103
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 0x100380f6
mov eax, dword [ebp - 8]
jmp 0x1003811f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10038118
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10038200
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003806a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10038130
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10038230
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100381f5
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10038175
mov eax, dword [ebp - 4]
cmp eax, dword [0x10047004]
ja 0x10038175
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10038145
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 0x1003819b
jmp 0x100381f5
cmp dword [ebp - 0x14], 0x10000
jne 0x100381de
cmp dword [ebp - 0x18], 0x10000
jb 0x100381de
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 0x100381d1
mov eax, dword [ebp - 8]
jmp 0x100381f7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100381f0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10038230
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10038145
xor eax, eax
mov esp, ebp
pop ebp
ret