joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d9ca0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d9eee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004d8560
xor eax, eax
push ebp
push 0x4d9ec4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8b60
test al, al
je 0x4d9ea8
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409d7c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4d9ea8
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a814
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d84c0
test al, al
je 0x4d9e9c
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040a87c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d95b8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d9e9c
xor eax, eax
push ebp
push 0x4d9e95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004d8560
xor eax, eax
push ebp
push 0x4d9e77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040a87c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8564
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040a87c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d95b8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4d9e54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004d9b68
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004d9ca0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9e5b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4d9d2b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9ecb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004d8560
ret
Function at 0x4e0854
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4e085a
ret
Function at 0x4eaa80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x533790
test edx, edx
jne 0x4eaa9f
xor eax, eax
jmp 0x4eabbd
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4eaabc
push esi
push edx
push eax
call fcn.004eabc4
add esp, 0xc
jmp 0x4eabbd
push esi
push edx
push eax
call fcn.004eae84
add esp, 0xc
jmp 0x4eabbd
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0xfb1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fb11a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfb107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb106a
add dl, dl
jne 0xfb1089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb10dc
xor eax, eax
add dl, dl
jne 0xfb1096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb117d
add dl, dl
jne 0xfb10a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb10b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb10bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb10c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfb10d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfb1075
mov eax, 1
add dl, dl
jne 0xfb10ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb10f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb10e1
sub eax, ebx
mov ebx, 1
jne 0xfb1128
mov ecx, 1
add dl, dl
jne 0xfb110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfb1119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb1105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb1075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfb113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfb114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb1136
cmp eax, 0x7d00
jae 0xfb116d
cmp eax, 0x500
jb 0xfb1168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb1075
cmp eax, 0x7f
ja 0xfb1170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb1075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfb119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfb1075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001be9
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x184
mov eax, dword [0x1003ed14]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x78]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x68], 1
jne 0x10001c9c
cmp dword [ebp - 0x70], ebx
jne 0x10001c9c
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 0x1001
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, 0x100359dc
mov edi, 0x10042d68
jmp 0x10001c6c
lea eax, [ebp + 0x9c]
push eax
mov ecx, edi
call fcn.10001f5b
test eax, eax
je 0x10001c87
inc ebx
lea edi, [ebx*8 + 0x10042d68]
push esi
mov ecx, edi
call fcn.10001f5b
test eax, eax
jne 0x10001c52
mov ecx, dword [ebp - 0x7c]
push 0x100359f7
call fcn.10001dc8
jmp 0x10001c97
mov ecx, dword [ebp - 0x7c]
lea eax, [ebx*8 + 0x10042d6c]
push eax
call fcn.1000196b
mov eax, dword [ebp - 0x7c]
jmp 0x10001cc2
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.10001601
mov eax, esi
mov ecx, dword [ebp + 0x100]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100115ee
add ebp, 0x104
leave
ret

Function at 0x10001cda
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x184
mov eax, dword [0x1003ed14]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x78]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x68], 1
jne 0x10001d8a
cmp dword [ebp - 0x70], ebx
jne 0x10001d8a
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 7
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, 0x100359dc
mov edi, 0x100431e8
jmp 0x10001d5a
lea eax, [ebp + 0x9c]
push eax
mov ecx, edi
call fcn.10001f5b
test eax, eax
je 0x10001d75
inc ebx
lea edi, [ebx*8 + 0x100431e8]
push esi
mov ecx, edi
call fcn.10001f5b
test eax, eax
jne 0x10001d40
mov ecx, dword [ebp - 0x7c]
push 0x100359f7
call fcn.10001dc8
jmp 0x10001d85
mov ecx, dword [ebp - 0x7c]
lea eax, [ebx*8 + 0x100431ec]
push eax
call fcn.1000196b
mov eax, dword [ebp - 0x7c]
jmp 0x10001db0
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.10001601
mov eax, esi
mov ecx, dword [ebp + 0x100]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100115ee
add ebp, 0x104
leave
ret
Function at 0x100050a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fsub dword [edi - 0x3a]
inc ebp
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x10005112
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10004c87
push eax
push esi
push dword [ebp + 8]
call fcn.10004c3c
add esp, 0x30
mov dword [ebp - 0xb8], eax

Function at 0x100050f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10004c77
leave
in eax, dx
mov gs, edi
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
inc ebp
and byte [edx - 0x3a], 0x45
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
invalid
pop esi
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10004c77
int1
pop esi
pop eax
xor ecx, dword [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x1000521b
Capabilities:
Inspect section memory permissions

Disassembly:
adc byte [eax], al
add bh, bh
jne 0x10005194
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x10005470
test bh, dl
add al, byte [eax]
add bh, bh
mov ch, 0x4c
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.10004be8
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x100051e7
xor ecx, dword [edi]
mov bh, 0x45
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.10004be8
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x100051b4
or al, 0x8b
dec ebp
mov esp, 0xff80048d
je 0x10005182
adc byte [ebp + 0x488bc104], cl
adc al, 0x8b
inc eax
or al, 3
dec ebp
adc byte [ebx], al
invalid
call fcn.10004c77
jl 0x100051b3
sbb edx, dword [eax - 0x75]
jle 0x1000522f
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x10005466
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x1000521c
cmp dword [eax + 0xc], ebx
je 0x100052bf
invalid
add byte [ebx - 0x1fcf388], cl
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.10004c77
jo 0x100051b7
push dword [eax - 0x7b]
call fcn.10004c77
dec ebx
push edi
dec esi
pop eax
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x1000532b
add eax, esi
cmp dword [eax], ebx
je 0x1000532b
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10005326
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10005310
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10005318
cmp edx, ebx
jne 0x10005466
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100052e7
add eax, dword [eax + 4]
jmp 0x100052d4
mov dword [ebp + 0xc], ebx
jmp 0x10005336
Function at 0x10005398
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000534e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000536c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [ebp + 0xf8c784], cl
add byte [eax], al
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100053ca
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
invalid
invalid
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100053b1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100053ba
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100053c4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100053a6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10005330
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10005417
dec eax
je 0x1000540e
sub eax, 3
je 0x10005405
mov dword [ebp - 4], 0x40
jmp 0x10005434
mov dword [ebp - 4], 4
jmp 0x1000541a
mov dword [ebp - 4], 0x20
jmp 0x1000541a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10005466
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100053e6
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10004c77
in eax, 8
xchg esi, eax
push edi
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x10005472
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005b5f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffdd1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10004c55
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
test dword [edi + 0x3afffffc], esp
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10004c87
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10004c3c
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10004c77
stosb byte es:[edi], al
sbb dword [eax], eax
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.10004c77
push eax
push ss
bound eax, qword [eax]
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
jecxz 0x10005ca1

Function at 0x1000fe70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 1
call fcn.1000fdfc
mov ecx, eax
pop ebp
jmp fcn.10006c1a

Function at 0x100115ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003ed14]
jne 0x100115f8
repz ret
jmp fcn.10015583
Function at 0x1001eb7d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10015bc4
and dword [ebp - 4], 0
cmp dword [0x10042c38], 0
mov ebx, eax
jne 0x1001ec2e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001ecdf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001ecdf
push eax
call fcn.10015b52
mov dword [esp], 0x100345e0
push edi
mov dword [0x10042c38], eax
call esi
push eax
call fcn.10015b52
mov dword [esp], 0x100345cc
push edi
mov dword [0x10042c3c], eax
call esi
push eax
call fcn.10015b52
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10042c40], eax
call esi
push eax
call fcn.10015b52
pop ecx
mov dword [0x10042c48], eax
test eax, eax
je 0x1001ec2e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10015b52
pop ecx
mov dword [0x10042c44], eax
mov eax, dword [0x10042c44]
cmp eax, ebx
je 0x1001ec86
cmp dword [0x10042c48], ebx
je 0x1001ec86
push eax
call fcn.10015bcd
push dword [0x10042c48]
mov esi, eax
call fcn.10015bcd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001ec86
test edi, edi
je 0x1001ec86
call esi
test eax, eax
je 0x1001ec7d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001ec7d
test byte [ebp - 0xc], 1
jne 0x1001ec86
or dword [ebp + 0x10], 0x200000
jmp 0x1001ecbf
mov eax, dword [0x10042c3c]
cmp eax, ebx
je 0x1001ecbf
push eax
call fcn.10015bcd
pop ecx
test eax, eax
je 0x1001ecbf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001ecbf
mov eax, dword [0x10042c40]
cmp eax, ebx
je 0x1001ecbf
push eax
call fcn.10015bcd
pop ecx
test eax, eax
je 0x1001ecbf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10042c38]
call fcn.10015bcd
pop ecx
test eax, eax
je 0x1001ecdf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001ece1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6579fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6603b8
cmp edx, dword [eax]
je 0x657a1f
add eax, 8
inc ecx
cmp eax, 0x660448
jl 0x657a10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6603b8]
jne 0x657b4d
mov eax, dword [0xa5cda4]
cmp eax, 1
je 0x657b27
test eax, eax
jne 0x657a50
cmp dword [0x6602e4], 1
je 0x657b27
cmp edx, 0xfc
je 0x657b4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657a87
lea eax, [ebp - 0x1a4]
push 0x65ca80
push eax
call fcn.006583e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658870
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657aca
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658870
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65ca7c
push edi
call fcn.0065a740
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ca60
push eax
call fcn.006583e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006583f0
lea eax, [ebp - 0xa0]
push 0x65ca5c
push eax
call fcn.006583f0
push dword [esi + 0x6603bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.006583f0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65ca34
push eax
call fcn.0065a6b4
add esp, 0x2c
pop edi
jmp 0x657b4d
lea eax, [ebp + 8]
lea esi, [esi + 0x6603bc]
push 0
push eax
push dword [esi]
call fcn.00658870
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403fc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dceb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
mov dword [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x404190
lea eax, [ebp - 0x234]
push eax
push 4
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x404190
mov eax, dword [ebp - 0x234]
mov ecx, 4
shr eax, 2
mul ecx
mov esi, eax
mov eax, 0xffffffff
cmovb esi, eax
push esi
call fcn.0042c2c6
mov edi, eax
add esp, 4
test edi, edi
je 0x404071
push esi
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x404073
xor edi, edi
mov dword [ebp - 0x240], edi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x234]
push edi
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x404183
xor esi, esi
test dword [ebp - 0x234], 0xfffffffc
jbe 0x404183
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [edi + esi*4]
push ebx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402000
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
push 0
mov byte [ebp - 4], 1
lea ecx, [eax + eax]
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x238]
push eax
call fcn.00404bd0
mov ecx, dword [ebp - 0x238]
push 0
push 2
push 0x441640
call fcn.00404bd0
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x404171
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404167
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041ac
push ecx
push edx
call fcn.0042c2b8
add esp, 8
mov eax, dword [ebp - 0x234]
inc esi
shr eax, 2
cmp esi, eax
jb 0x4040b0
test edi, edi
je 0x404190
push edi
call fcn.0042c2cf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c160
mov esp, ebp
pop ebp
ret
call fcn.0042d480
int3