joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006830
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10006891
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10006874
cmp edi, 2
jb 0x10006874
cmp byte [esi], cl
jne 0x10006874
cmp byte [esi + 1], cl
jne 0x10006874
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10077080]
jmp 0x10006845
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10077080]
test edi, edi
jne 0x10006845
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100068c0
cmp cl, 0x23
jne 0x100068a7
cmp byte [esi], cl
jne 0x100068a7
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 + 0x10077080]
test cl, cl
jne 0x10006898
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10006970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10006994
push 0x818
push str.C:UsersPCDesktopVisual_StudioVisual_StudioImguiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100069a1
mov dword [ebx], 0
mov edx, 0x10076958
mov ecx, esi
call fcn.100068d0
mov esi, eax
test esi, esi
je 0x10006ac3
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10006ab9
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 0x10006ab9
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10006ab9
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10006ab9
mov ecx, edi
call fcn.1000a230
mov dword [ebp + 8], eax
test eax, eax
je 0x10006ab9
push esi
push edi
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, edi
je 0x10006aa2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x1008dcc0]
add esp, 4
test ecx, ecx
je 0x10006a8f
movsx edx, word [ecx + 0x6e58]
lea eax, [ecx + 0x6e5c]
mov esi, dword [ecx + 0x4f18]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x10006a85
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x6e58], ax
cwde
lea eax, [eax*8 + 0x6e5c]
add eax, ecx
xor edx, edx
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x6e54]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10006ab1
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10009810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [edi + 0xf4], 0
jg 0x1000984f
push 0x771
push str.C:UsersPCDesktopVisual_StudioVisual_StudioImguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0xf4]
lea edx, [ebp - 8]
mov ebx, dword [edi + 0xfc]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10077080]
sub esi, 1
jne 0x10009870
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x4fdc], ebx
jne 0x100098a7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10020360
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006eb52
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xf4], 0
jg 0x100098f5
push 0x771
push str.C:UsersPCDesktopVisual_StudioVisual_StudioImguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebp + 8]
mov edi, 0x10
movss xmm1, dword [esi + 0x110]
movss xmm2, dword [esi + 0x114]
mov ecx, dword [esi + 0xf4]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi + 0xfc]
subss xmm0, xmm2
lea esi, [ebp - 0x18]
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10077080]
sub edi, 1
jne 0x10009960
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.1006eb52
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d300
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [0x1008dcc0]
mov ebx, edx
mov dword [ebp - 0x20], ebx
mov esi, edi
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x4fa4]
mov dword [ebp - 0x1c], eax
test ebx, ebx
jne 0x1000d34e
push 0x15c5
push str.C:UsersPCDesktopVisual_StudioVisual_StudioImguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edi, dword [0x1008dcc0]
add esp, 0xc
or dword [esi + 0x592c], 0x100
mov dword [esi + 0x5968], 1
mov edx, dword [edi + 0x4fa4]
mov ecx, edx
cmp dword [ecx + 0x1a0], 0
jne 0x1000d381
cmp dword [edi + 0x5c94], 0
mov eax, 0x238
je 0x1000d386
mov eax, 0x208
movss xmm1, dword [ecx + eax]
movss xmm2, dword [ecx + eax + 4]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
subss xmm2, dword [edx + 0x104]
subss xmm1, dword [edx + 0x100]
push dword [eax + 4]
push dword [eax]
call fcn.10017a20
mov eax, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x14]
or dword [edi + 0x592c], 2
mov dword [edi + 0x5950], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x5954], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x5934], 1
mov eax, dword [eax + 4]
push ebx
test ecx, ecx
je 0x1000d3fc
push ecx
push eax
push str._s__s__08X
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.10006730
add esp, 0x18
jmp 0x1000d410
push eax
push str._s__08X
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.10006730
add esp, 0x14
movss xmm0, dword [esi + 0x48e8]
xor edx, edx
mov ecx, dword [ebp - 0x10]
push 0x1000107
movss dword [ebp - 0x14], xmm0
call fcn.100104d0
mov edi, dword [esi + 0x4fa4]
add esp, 4
movss xmm0, dword [ebp - 0x14]
movss dword [esi + 0x48e8], xmm0
mov byte [ebp - 9], al
cmp word [edi + 0xc4], 1
mov dword [ebp - 0x14], edi
mov dword [edi + 0x80], ebx
jne 0x1000d46d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [eax + 0x100], ecx
mov dword [eax + 0x104], edx
mov edi, ebx
mov al, 0x23
not edi
mov edx, 0x10072b51
mov ebx, edi
nop word [eax + eax]
cmp al, 0x23
jne 0x1000d48e
cmp byte [edx], al
jne 0x1000d48e
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10077080]
test al, al
jne 0x1000d480
mov edi, dword [ebp - 0x14]
not ebx
cmp dword [esi + 0x4ff4], ebx
jne 0x1000d4bd
xor edx, edx
xor ecx, ecx
call fcn.10009a60
mov eax, dword [ebp - 0x20]
cmp dword [esi + 0x5a20], eax
jne 0x1000d502
cmp word [edi + 0x15c], 0
jne 0x1000d4db
cmp byte [edi + 0x162], 0
je 0x1000d502
xor edx, edx
mov ecx, edi
call fcn.10013570
xor dl, dl
mov ecx, edi
call fcn.1001acf0
mov edx, edi
mov ecx, ebx
call fcn.10009a60
mov eax, dword [esi + 0x5a44]
mov dword [esi + 0x5014], eax
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006eb52
mov esp, ebp
pop ebp
ret
Function at 0x1000d780
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1000d7bd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1000d7a3
cmp byte [esi], bl
jne 0x1000d7a3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10077080]
test bl, bl
jne 0x1000d794
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1000d720
Function at 0x1001ec60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x6dc8], 0
lea esi, [edi + 0x6dcc]
je 0x1001ece2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001ec9c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10020fc0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10007550
mov edx, dword [esi]
mov ecx, 0x1008dcbc
push dword [edi + 0x6dc8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x6dd4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10007550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001efe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1008dcc0]
push edi
cmp byte [esi + 0x6d58], 0
jne 0x1001f0b6
cmp dword [esi + 0x6d78], 0
je 0x1001f01b
push 0x33f5
push str.C:UsersPCDesktopVisual_StudioVisual_StudioImguiimgui.cpp
push str.g.SettingsWindows.empty__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001f0af
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.10006970
mov edi, eax
add esp, 8
test edi, edi
je 0x1001f0af
mov edx, dword [ebp - 4]
test edx, edx
je 0x1001f04e
mov ecx, edi
call fcn.1001f350
mov ecx, dword [0x1008dcc0]
test ecx, ecx
je 0x1001f0a5
movsx edx, word [ecx + 0x6e58]
lea eax, [ecx + 0x6e5c]
mov ebx, dword [ecx + 0x4f18]
lea eax, [eax + edx*8]
cmp dword [eax], ebx
je 0x1001f09b
lea eax, [edx + 1]
mov dword [ebp - 4], 6
cdq
idiv dword [ebp - 4]
movzx eax, dx
mov word [ecx + 0x6e58], ax
cwde
lea eax, [eax*8 + 0x6e5c]
add eax, ecx
xor edx, edx
mov dword [eax], ebx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x6e54]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x6d58], 1
movss xmm0, dword [esi + 0x6d5c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001f14e
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x6d5c], xmm0
jb 0x1001f14e
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1001f13d
mov eax, dword [0x1008dcc0]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x6d5c], 0
call fcn.1001f590
mov edx, 0x1007695c
mov ecx, edi
mov ebx, eax
call fcn.100068d0
mov edi, eax
test edi, edi
je 0x1001f144
push edi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov dword [esi + 0x6d5c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x10a2], 1
mov dword [esi + 0x6d5c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f2d0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x1008dcc0]
test bl, bl
je 0x1001f316
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001f2f7
cmp byte [esi], bl
jne 0x1001f2f7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10077080]
test bl, bl
jne 0x1001f2e8
mov edi, dword [0x1008dcc0]
mov ecx, dword [edi + 0x6d6c]
not eax
mov edx, dword [edi + 0x6d74]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1001f33d
cmp dword [edx + 4], eax
je 0x1001f340
add edx, 0x24
cmp edx, ecx
jne 0x1001f331
xor eax, eax
ret
mov eax, edx
ret
Function at 0x10049740
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push esi
push edi
je 0x100497b0
mov cl, byte [edx]
lea esi, [edx + 1]
or eax, 0xffffffff
test cl, cl
je 0x10049788
or edi, 0xffffffff
nop word [eax + eax]
cmp cl, 0x23
jne 0x1004976f
cmp byte [esi], cl
jne 0x1004976f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10077080]
test cl, cl
jne 0x10049760
mov ecx, dword [0x1008dcc0]
not eax
cmp dword [ecx + 0x4ff4], eax
jne 0x1004979e
mov dword [ecx + 0x4ff8], eax
cmp dword [ecx + 0x501c], eax
jne 0x100497c2
mov byte [ecx + 0x5020], 1
pop edi
pop esi
ret
mov eax, dword [0x1008dcc0]
push ecx
push edx
mov ecx, dword [eax + 0x4fa4]
call fcn.100097a0
pop edi
pop esi
ret

Function at 0x10052d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x10052dce
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10052dd2
cmp edx, esi
jne 0x10052db7
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x10052df2
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10052df6
cmp edx, esi
jne 0x10052ddb
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x10052e16
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10052e1a
cmp edx, esi
jne 0x10052dff
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005dcb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x89
xor edx, edx
mov al, byte [edx + 0x10088f38]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x1005dce4
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x1005dcc7
lea eax, [ebp - 0x30]
mov byte [ebp - 0x24], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1005de85
cmp byte [0x100b6e25], 0
mov eax, dword [0x100b4e0c]
push esi
je 0x1005ddf5
mov ecx, 0x1008d69c
cmp ecx, 0x10071ed2
je 0x1005ddf5
xor esi, esi
push edi
lea edi, [esi + 6]
nop word [eax + eax]
cmp word [eax + 0xd8], 0
je 0x1005ddf4
movsx dx, byte [esi + 0x1008d69c]
mov ecx, dword [eax + 0xd8]
mov word [edi + ecx - 6], dx
cmp word [eax + 0xd8], 0
je 0x1005ddf4
movsx dx, byte [esi + 0x1008d69d]
mov ecx, dword [eax + 0xd8]
mov word [ecx + edi - 4], dx
cmp word [eax + 0xd8], 0
je 0x1005ddf4
movsx dx, byte [esi + 0x1008d69e]
mov ecx, dword [eax + 0xd8]
mov word [edi + ecx - 2], dx
cmp word [eax + 0xd8], 0
je 0x1005ddf4
movsx dx, byte [esi + 0x1008d69f]
mov ecx, dword [eax + 0xd8]
mov word [edi + ecx], dx
cmp word [eax + 0xd8], 0
je 0x1005ddf4
movsx dx, byte [esi + 0x1008d6a0]
mov ecx, dword [eax + 0xd8]
mov word [edi + ecx + 2], dx
cmp word [eax + 0xd8], 0
je 0x1005ddf4
movsx dx, byte [esi + 0x1008d6a1]
add esi, 6
mov ecx, dword [eax + 0xd8]
mov word [edi + ecx + 4], dx
add edi, 0xc
cmp edi, 0x1e
jl 0x1005dd30
pop edi
cmp byte [0x100b6e2c], 0
je 0x1005de84
mov esi, dword [eax + 0x234]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1005de84
mov eax, dword [ebp - 0xc]
test al, 0xee
mov edx, eax
setne al
xor ecx, ecx
test edx, 0x101
movzx eax, al
cmove ecx, eax
test cl, cl
je 0x1005de84
mov eax, dword [0x100b6e28]
test eax, eax
jne 0x1005de57
mov dword [esi + 0x2d4], 0x3d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006eb52
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1005de75
mov dword [esi + 0x2d4], 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006eb52
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1005de84
mov dword [esi + 0x2d4], 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006eb52
mov esp, ebp
pop ebp
ret
Function at 0x10069b30
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x1008d040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
push 0
push 0x10069ad0
mov dword [0x1008dcd8], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ebx, eax
test ebx, ebx
je 0x10069c23
mov ecx, dword [ebx]
lea eax, [esp + 0x4c]
push eax
push 0
push ebx
call dword [ecx + 0x20]
test eax, eax
js 0x10069c23
mov ecx, dword [0x1008dcd8]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
push edx
push 0x120
push ecx
push 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x24], 0
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x40]
test eax, eax
jns 0x10069c37
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1006eb52
mov esp, ebp
pop ebp
ret
push 4
push 0x77
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov dword [0x100b6fc0], eax
test eax, eax
je 0x10069c23
mov esi, dword [esp + 0x10]
mov edi, eax
mov ecx, 0x77
mov edx, 0x10068680
mov esi, dword [esi]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 0x40]
push ecx
mov ecx, dword [eax + 0xa8]
push 0x1008dcd0
call fcn.10052f20
add esp, 4
mov edx, 0x100687b0
mov ecx, esi
push 0x1008dcdc
call fcn.10052f20
mov eax, dword [ebx]
add esp, 8
push ebx
call dword [eax + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x5c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006eb52
mov esp, ebp
pop ebp
ret
Function at 0x1006a0f0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x1006a241
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
test esi, esi
je 0x1006a16a
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 8]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1006a13f
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x1006a169
lea eax, [ebp - 8]
push eax
push 4
push 0xf8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1006a169
push 0xf8
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
mov ecx, esi
call fcn.10052d90
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
mov dword [ebp - 0x14], 0x6c64746e
mov dword [ebp - 0x10], 0x6c642e6c
mov word [ebp - 0xc], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov word [ebp - 0xc], 0
mov esi, eax
movq qword [ebp - 0x14], xmm0
mov ecx, 0x58
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10080ecc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x1006a1cd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x19
jl 0x1006a1b0
lea eax, [ebp - 0x30]
mov byte [ebp - 0x17], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov esi, eax
mov word [ebp - 0x18], 0
push 4
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
push 7
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x1006a219
cmp dword [ebp - 8], eax
je 0x1006a219
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x20], 0x100000
push 0
push 0
push 0
push 0x10069cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1006eb52
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1006a780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1006a7ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1006a7d4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1006a7da
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x1006a842
jg 0x1006a7f1
test esi, esi
je 0x1006a842
test ecx, ecx
jl 0x1006a83d
jg 0x1006a7fb
test eax, eax
je 0x1006a83d
cmp edi, ecx
jg 0x1006a80f
jl 0x1006a805
cmp esi, eax
jae 0x1006a80f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1006a845
mov ecx, dword [ebp + 8]
jmp 0x1006a84f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1006a869
jg 0x1006a84f
test esi, esi
je 0x1006a869
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1006a869
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc