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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005a610
cmp byte [esi + 1], 0
jne 0x1005a651
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x3c]
xor ebx, dword [esi + 0x38]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x34
jb 0x1005a5d3
jmp 0x1005a651
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x3c]
xor ebx, dword [esi + 0x38]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x34
jb 0x1005a612
lea ecx, [esi + 0x35]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005a67c
push 0x33
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1005a690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005a6ec
cmp byte [esi + 1], 0
jne 0x1005a72e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x2c
jb 0x1005a6b0
jmp 0x1005a72e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x2c
jb 0x1005a6f0
lea ecx, [esi + 0x2d]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005a759
push 0x2b
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005a770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005a7cc
cmp byte [esi + 1], 0
jne 0x1005a80e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x1a
jb 0x1005a790
jmp 0x1005a80e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x1a
jb 0x1005a7d0
lea ecx, [esi + 0x1b]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005a839
push 0x19
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1005a850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005a8b0
cmp byte [esi + 1], 0
jne 0x1005a8f1
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x2c]
xor ebx, dword [esi + 0x28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x1f
jb 0x1005a873
jmp 0x1005a8f1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x2c]
xor ebx, dword [esi + 0x28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x1f
jb 0x1005a8b2
lea ecx, [esi + 0x20]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005a91c
push 0x1e
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005a930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005a98c
cmp byte [esi + 1], 0
jne 0x1005a9ce
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x29
jb 0x1005a950
jmp 0x1005a9ce
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x29
jb 0x1005a990
lea ecx, [esi + 0x2a]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005a9f9
push 0x28
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1005aa10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005aa6c
cmp byte [esi + 1], 0
jne 0x1005aaae
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x6c]
xor ebx, dword [esi + 0x68]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x66
jb 0x1005aa30
jmp 0x1005aaae
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x6c]
xor ebx, dword [esi + 0x68]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x66
jb 0x1005aa70
lea ecx, [esi + 0x67]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005aad9
push 0x65
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005aaf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005ab4c
cmp byte [esi + 1], 0
jne 0x1005ab8e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x1e
jb 0x1005ab10
jmp 0x1005ab8e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x1e
jb 0x1005ab50
lea ecx, [esi + 0x1f]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005abb9
push 0x1d
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1005abd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005ac30
cmp byte [esi + 1], 0
jne 0x1005ac71
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x2a
jb 0x1005abf3
jmp 0x1005ac71
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x2a
jb 0x1005ac32
lea ecx, [esi + 0x2b]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005ac9c
push 0x29
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005acb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005ad0c
cmp byte [esi + 1], 0
jne 0x1005ad4e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x54]
xor ebx, dword [esi + 0x50]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x47
jb 0x1005acd0
jmp 0x1005ad4e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x54]
xor ebx, dword [esi + 0x50]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x47
jb 0x1005ad10
lea ecx, [esi + 0x48]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005ad79
push 0x46
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1005ad90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1005adf0
cmp byte [esi + 1], 0
jne 0x1005ae31
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x2c]
xor ebx, dword [esi + 0x28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x23
jb 0x1005adb3
jmp 0x1005ae31
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x2c]
xor ebx, dword [esi + 0x28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x23
jb 0x1005adf2
lea ecx, [esi + 0x24]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1005ae5c
push 0x22
push eax
mov ecx, esi
call fcn.10044cb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100675b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100675d8
push 0
push 0
push dword [ebp + 0x10]
push 0x10067480
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc

Function at 0x10068420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10155368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100684dc
cmp byte [esi + 0x3d], 0
je 0x100684dc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100684ca
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10068491
sub eax, 1
je 0x10068495
sub eax, 2
jne 0x100684ca
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d21f8
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100684b3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100684ca
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d21f8
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d21f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100d21f8
mov esp, ebp
pop ebp
ret
Function at 0x1006a660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea edi, [ecx + 0x64]
mov dword [ebp - 4], 0x41
mov byte [edi - 0x64], 0
lea eax, [edi + 0x90]
mov dword [edi - 0x60], 0
mov dword [edi - 0x5c], 0
mov dword [edi - 0x58], 0
mov dword [edi - 0x54], 0
mov dword [edi - 0x50], 0
mov word [edi - 0x4c], 0
mov byte [edi - 0x4a], 0
mov dword [edi - 0x48], 0
mov dword [edi - 0x44], 0
mov dword [edi - 0x40], 0
mov dword [edi - 0x3c], 0
mov dword [edi - 0x38], 0
mov dword [edi - 0x34], 0
mov dword [edi - 0x30], 0
mov dword [edi - 0x2c], 0
mov dword [edi - 0x28], 0
mov dword [edi - 0x24], 0
mov dword [edi - 0x20], 0
mov dword [edi - 0x1c], 0
mov dword [edi - 0x18], 0
mov dword [edi - 0x14], 0
mov dword [edi - 0x10], 0
mov dword [edi - 0xc], 0
mov dword [edi - 8], 0
mov dword [edi - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push 0x60
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
push 0
push eax
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [edi + 0xf0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea esi, [edi + 0x150]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov ebx, 0x80
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add esi, 0x30
sub ebx, 1
jne 0x1006a862
push 0x2d8
lea esi, [edi + 0x1950]
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, esi
call fcn.1006a5e0
push 0x1800
lea esi, [edi + 0x1c28]
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov ebx, 0x80
nop word [eax + eax]
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add esi, 0x30
sub ebx, 1
jne 0x1006a8b0
push 0x60
lea eax, [edi + 0x3428]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [edi + 0x3488], ebx
lea esi, [edi + 0x3490]
mov dword [edi + 0x348c], ebx
push 8
mov dword [esi], ebx
mov dword [edi + 0x3494], ebx
mov dword [edi + 0x3498], ebx
mov dword [edi + 0x349c], ebx
mov dword [edi + 0x34a0], ebx
call fcn.100d23eb
add esp, 0x10
add edi, 0x3508
sub dword [ebp - 4], 1
mov dword [eax + 4], ebx
mov dword [esi], eax
mov dword [eax], esi
jne 0x1006a671
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006eab0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x101cb92c]
push esi
push edi
cmp dword [0x101d3d2c], ebx
je 0x1006eb08
mov eax, dword [0x101cc64c]
test eax, eax
je 0x1006ead3
lea esi, [eax + 1]
jmp 0x1006ead5
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
add ebx, 3
mov dword [ebp - 4], 0
call edi
lea eax, [ebp - 4]
mov dword [esi], ebx
push eax
push dword [ebp - 4]
push 4
push esi
call edi
mov eax, dword [0x101cb92c]
mov dword [0x101d3d2c], eax
mov eax, dword [0x101cc170]
test eax, eax
je 0x1006eb1c
mov al, byte [eax + 0x20]
test al, al
jne 0x1006ec4b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101cc0d8]
mov edi, dword [0x101cba58]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101d3a14]
cmp eax, dword [esi + 4]
jle 0x1006eb6b
push 0x101d3a14
call fcn.100d2315
add esp, 4
cmp dword [0x101d3a14], 0xffffffff
jne 0x1006eb6b
mov eax, dword [0x101d3a04]
push 0x101d3a14
mov dword [0x101d39ec], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d39ec]
test byte [eax + edi], 0x40
jne 0x1006ec4b
mov eax, dword [0x101d3cf8]
mov edi, dword [0x101cba58]
cmp eax, dword [esi + 4]
jle 0x1006ebba
push 0x101d3cf8
call fcn.100d2315
add esp, 4
cmp dword [0x101d3cf8], 0xffffffff
jne 0x1006ebba
mov eax, dword [0x101d3b94]
push 0x101d3cf8
mov dword [0x101d3cec], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3cec]
cmp byte [eax + edi], 0
jne 0x1006ec4b
call fcn.1006e890
mov esi, eax
test esi, esi
je 0x1006ec37
cmp byte [0x101d3218], 0
jne 0x1006ebf6
mov ecx, dword [0x101d38b0]
call fcn.100842e0
test al, al
je 0x1006ebf6
mov eax, dword [0x101d389c]
cmp byte [eax], 0
je 0x1006ec37
mov eax, dword [0x101cb8c0]
mov byte [eax], 0
mov eax, dword [0x101cc14c]
mov ecx, dword [eax + 0x4cb0]
test ecx, ecx
jle 0x1006ec24
mov eax, dword [0x101cc118]
mov eax, dword [eax + 0x1c]
sub eax, dword [0x101cb928]
cdq
xor eax, edx
sub eax, edx
cmp eax, esi
jg 0x1006ec55
cmp ecx, esi
jl 0x1006ec5d
mov eax, dword [0x101cb8c0]
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101cb8c0]
cmp byte [eax], 0
jne 0x1006ec5d
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101cb8c0]
cmp byte [eax], 0
jne 0x1006ec5d
mov eax, dword [0x101cb8c0]
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100701a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10155368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1c]
mov ecx, 0x101c4eb8
push eax
call fcn.10048b90
cmp dword [ebp - 8], 0x10
lea edx, [ebp - 0x1c]
cmovae edx, dword [ebp - 0x1c]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100701d0
sub ecx, esi
push ecx
push edx
mov ecx, 0x101cfe00
call fcn.10044cb0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x10070215
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007020b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007026e
push edx
push ecx
call fcn.100d273a
add esp, 8
lea eax, [ebp - 0x1c]
mov ecx, 0x101c2a78
push eax
call fcn.10047b30
cmp dword [ebp - 8], 0x10
lea edx, [ebp - 0x1c]
cmovae edx, dword [ebp - 0x1c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070233
sub ecx, esi
push ecx
push edx
mov ecx, 0x101cfe18
call fcn.10044cb0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x1007027e
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070274
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10070274
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d273a
add esp, 8
cmp dword [0x101cfe14], 0x10
mov eax, 0x101cfe00
cmovae eax, dword [0x101cfe00]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x100702aa
call esi
cmp eax, 2
jmp 0x100702ac
test al, 0x10
jne 0x100702ca
cmp dword [0x101cfe14], 0x10
mov eax, 0x101cfe00
push 0
cmovae eax, dword [0x101cfe00]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x101cfe2c], 0x10
mov eax, 0x101cfe18
cmovae eax, dword [0x101cfe18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100702f0
call esi
cmp eax, 2
jmp 0x100702f2
test al, 0x10
jne 0x10070310
cmp dword [0x101cfe2c], 0x10
mov eax, 0x101cfe18
push 0
cmovae eax, dword [0x101cfe18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100d21f8
mov esp, ebp
pop ebp
ret