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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x13b73f3
mov esi, pe_nt_image_headers32
cmp esi, dword [ebx]
je 0x13b751a
mov eax, dword [0xde5674]
test eax, eax
je 0x13b7406
call eax
lea eax, [esi*8]
push eax
call fcn.013b42e0
mov ecx, dword [0xde5678]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x13b7427
call ecx
test esi, esi
je 0x13b751a
push dword [ebx + 0xc]
call fcn.013b4350
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0xde2f3c]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.01405710
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x13b750e
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x13b749d
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0xdce5b0]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x13b7480
mov eax, edi
mov ebx, dword [ecx]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea edi, [eax + edx*8]
test edi, edi
je 0x13b74e8
mov eax, dword [edi]
test eax, eax
je 0x13b74bb
mov edx, dword [edi + 4]
jmp 0x13b74bd
xor edx, edx
inc eax
mov dword [edi + 4], ecx
mov dword [edi], eax
test edx, edx
je 0x13b74e8
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x13b74dd
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x13b7504
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x13b7504
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x13b74fa
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x13b7474
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x13b75e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x13b7634
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x13b7624
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0xdce5b0]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x13b7604
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x13b7636
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.013b7530
add esp, 8
test eax, eax
je 0x13b7650
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x13d1930
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov eax, edx
mov dword [esp + 4], eax
push esi
push edi
mov edi, ecx
test eax, eax
je 0x13d1ac5
test edi, edi
je 0x13d199e
cmp byte [edi + 0x1e], 0
jne 0x13d1ac5
cmp byte [edi + 0xe2], 0
je 0x13d199e
mov eax, 0x44
cmp ax, word [edi + 0xe0]
ja 0x13d199e
mov ebx, dword [edi + 0xec]
test ebx, ebx
je 0x13d199e
mov eax, dword [ebx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x13d19be
mov dword [edi + 0xe8], eax
jmp 0x13d19be
push 0x44
call fcn.013b42e0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x13d19be
test edi, edi
je 0x13d19b6
mov byte [edi + 0x1e], 1
test ebx, ebx
je 0x13d1ac5
mov edx, dword [esp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 8]
push esi
mov edx, dword [edx]
call fcn.013d1340
mov dword [ebx], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 8]
call fcn.013d1590
mov dword [ebx + 8], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0xc]
call fcn.013d1320
mov dword [ebx + 0xc], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x10]
call fcn.013d1340
mov dword [ebx + 0x10], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x14]
call fcn.013d1320
mov dword [ebx + 0x14], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x18]
call fcn.013d1340
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ebx + 0x18], eax
mov al, byte [ecx + 4]
mov byte [ebx + 4], al
mov edx, dword [ecx + 0x1c]
mov ecx, edi
push esi
call fcn.013d1930
mov dword [ebx + 0x1c], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x28]
call fcn.013d1320
add esp, 4
mov dword [ebx + 0x28], eax
mov ecx, edi
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
call fcn.013d1320
mov dword [ebx + 0x2c], eax
add esp, 4
mov dword [ebx + 0x30], 0
mov eax, 0xfff7
mov dword [ebx + 0x34], 0
mov cx, word [esi + 6]
and cx, ax
mov dword [ebx + 0x24], 0
mov word [ebx + 6], cx
mov eax, ebx
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x13d6290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
mov ebx, ecx
mov dword [esp + 0x14], edx
push esi
push edi
xor esi, esi
mov dword [esp + 0x18], 0
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
test edi, edi
je 0x13d6678
test edx, edx
je 0x13d6678
movzx eax, byte [edx]
lea ecx, [eax + 1]
add eax, 0xffffffed
xor ecx, 1
dec ecx
mov dword [esp + 0x24], ecx
cmp eax, 0x7f
ja 0x13d65a6
movzx eax, byte [eax + 0xd60ea0]
jmp dword [eax*4 + 0xd60e80]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.013d5a30
mov dword [esp + 0x28], eax
add esp, 4
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x10], eax
jg 0x13d65d4
mov ecx, edi
call fcn.013c46d0
test eax, eax
jne 0x13d6609
mov eax, dword [esp + 0x20]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x1b
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
setne al
mov dword [ecx + 0xc], eax
mov byte [ecx + 3], 0
mov dword [ecx + 0x10], esi
mov byte [edi + 0x6e], 0
cmp dword [esp + 0x18], 0
je 0x13d6644
mov al, byte [ebx + 0x15]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x13d6644
xor ecx, ecx
lea eax, [ebx + 0x60]
mov edx, dword [esp + 0x18]
cmp dword [eax + 0x10], edx
je 0x13d6640
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x13d6620
movzx eax, byte [esp + 0x13]
mov dword [ebx + eax*4 + 0x18], edx
inc byte [ebx + 0x15]
jmp 0x13d6644
mov byte [eax + 9], 1
test esi, esi
je 0x13d6678
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x13d6678
xor ecx, ecx
lea eax, [ebx + 0x60]
cmp dword [eax + 0x10], esi
je 0x13d6674
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x13d6655
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], esi
inc byte [ebx + 0x15]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax + 9], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x13d6720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x13d68a5
test edi, edi
je 0x13d68a5
movzx ecx, word [esi + 2]
push ebx
test ecx, 0x1000
jne 0x13d689c
movzx eax, word [edi + 2]
test eax, 0x1000
jne 0x13d689c
xor al, cl
test al, 0x10
jne 0x13d689c
mov al, byte [esi]
cmp al, byte [edi]
jne 0x13d689c
mov edx, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.013d6720
test eax, eax
je 0x13d689c
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.013d6720
test eax, eax
je 0x13d689c
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
test eax, eax
je 0x13d67ef
test ecx, ecx
je 0x13d689c
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x13d689c
xor ebx, ebx
test edx, edx
jle 0x13d67f7
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x13d67c0
mov eax, dword [eax + 0xc]
mov ecx, dword [edx + eax]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + eax]
call fcn.013d6720
test eax, eax
je 0x13d689c
mov eax, dword [esi + 0x10]
inc ebx
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 4], edx
cmp ebx, dword [eax]
jl 0x13d67c0
jmp 0x13d67f7
test ecx, ecx
jne 0x13d689c
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x13d689c
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x13d689c
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 0x24]
jne 0x13d689c
mov eax, 0x800
test word [esi + 2], ax
je 0x13d6834
test word [edi + 2], ax
je 0x13d689c
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jmp 0x13d688e
cmp byte [esi], 0x98
je 0x13d6890
mov esi, dword [esi + 4]
test esi, esi
je 0x13d6890
test word [edi + 2], ax
jne 0x13d689c
mov edx, dword [edi + 4]
test edx, edx
je 0x13d689c
mov bl, byte [esi]
test bl, bl
je 0x13d6878
mov al, bl
sub esi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0xdce5b0]
cmp al, byte [ecx + 0xdce5b0]
jne 0x13d6878
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x13d6857
movzx eax, bl
movzx ecx, byte [eax + 0xdce5b0]
movzx eax, byte [edx]
movzx eax, byte [eax + 0xdce5b0]
sub ecx, eax
jne 0x13d689c
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x13d8e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, edx
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
test edx, edx
jne 0x13d8e4c
mov dword [ebp - 8], ecx
jmp 0x13d8e5f
cmp byte [edx], cl
je 0x13d8e55
inc eax
cmp byte [eax], cl
jne 0x13d8e50
sub eax, edx
and eax, 0x3fffffff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push edi
mov edi, 1
mov dword [ebp - 0x10], edi
cmp dword [eax + 4], edi
jle 0x13d8f36
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esp, [esp]
mov esi, edi
cmp edi, 2
jge 0x13d8e8a
xor esi, 1
test ebx, ebx
je 0x13d8ef5
mov eax, dword [eax + 8]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x13d8ed4
sub ecx, edx
mov al, bl
mov dword [ebp - 0x18], ecx
mov edi, ecx
lea ebx, [ebx]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0xdce5b0]
cmp al, byte [ecx + 0xdce5b0]
jne 0x13d8ed1
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x13d8eb0
mov edi, dword [ebp - 0x10]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0xdce5b0]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0xdce5b0]
sub eax, ecx
jne 0x13d8f17
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add esi, esi
push dword [ebp - 8]
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 4
call fcn.013b75e0
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x13d8f2d
jmp 0x13d8f1a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
inc edi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
cmp edi, dword [eax + 4]
jl 0x13d8e80
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x13d8f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
push edi
mov edi, edx
test edx, edx
je 0x13d8f6d
cmp byte [edx], al
je 0x13d8f65
jmp 0x13d8f60
inc edi
cmp byte [edi], al
jne 0x13d8f60
sub edi, edx
and edi, 0x3fffffff
mov ebx, dword [ecx + 4]
mov esi, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
cmp ebx, esi
jle 0x13d902c
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], ecx
lea esp, [esp]
mov eax, esi
cmp esi, 2
jge 0x13d8f9a
xor eax, 1
add eax, eax
mov ecx, dword [ecx + eax*8 + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x13d9002
mov edx, dword [ebp - 0x14]
mov bl, byte [ecx]
mov edx, dword [edx + eax*8]
test bl, bl
je 0x13d8fe4
sub ecx, edx
mov al, bl
mov dword [ebp - 0x18], ecx
mov edi, ecx
nop
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0xdce5b0]
cmp al, byte [ecx + 0xdce5b0]
jne 0x13d8fe1
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x13d8fc0
mov edi, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0xdce5b0]
movzx eax, bl
mov ebx, dword [ebp - 0xc]
movzx eax, byte [eax + 0xdce5b0]
sub eax, ecx
jne 0x13d901a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push edi
add ecx, 0x14
call fcn.013b75e0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x13d902c
jmp 0x13d901d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
cmp esi, ebx
jl 0x13d8f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1404035
Capabilities:
Parse pe header

Disassembly:
push 0
push ebx
call fcn.014be8e2
test eax, eax
je 0x1404074
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1404074
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1404074
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1404074
cmp dword [ecx + 0x74], 0xe
jbe 0x1404074
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1428bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1428c1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1428c1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1809ce6
Capabilities:
Encode data using xor

Disassembly:
movzx ebx, dx
cpuid
jne 0x1832f79
call fcn.017d0617
dec dword [esp + 4]
jb 0x184c8f2
syscall
call fcn.018d152b
pushfd
mov dword [esp], 0xa9ac0e2b
call fcn.0184a507
lea esp, [esp + 8]
jmp fcn.018c7c24
sbb esi, 7
push 0x52b1810d
call fcn.0180f273

Function at 0x192f3fa
Capabilities:
Encode data using xor

Disassembly:
xor byte [esp + 1], 8
jl 0x19921bc
syscall
call 0x1981d27
xchg ebx, eax
inc ecx
xchg byte [ebp + eax + 0x71], al
xor dword [ebx], 0xaa8820bf
sub dword [eax], edx
invalid
jno 0x1931fe3
mov eax, 0x821b6727
movzx ecx, ax
movzx ax, byte [edi + ecx - 0x6727]
rol ecx, cl
mov cl, byte [edi + ecx*4 - 0xce4dfe]
call 0x197d524
xor esi, ecx
jmp 0x180ac9e
mov dword [ecx], eax
jg 0x187cfe0
mov edx, 0x6d037b34
mov edx, dword [ebp + edx - 0x6d037b34]
mov edi, dword [ebp + 4]
push 0x71247cbc
add ebp, 4
push 0xcd0a3432
lea esp, [esp + 0x18]
jno fcn.01892ae1
push 0x62076fa7
mov dword [esi], eax
push 0xe940bbb
jmp 0x19717fc
Function at 0x10001080
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x502127
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
mov eax, 0x10001dc0
sub eax, 0x50212c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x502128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x50212c
call esi
mov eax, 0x50212c
mov byte [eax], 0x90
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
push 0x50212c
call esi
push 0
push 0
push dword [ebp + 8]
push 0x10001120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001130
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100120bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x1001c00c]
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
call fcn.10001af0
push str.Voobly_ModsAOCLocal_ModsEmpire_Wars
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10001274
push 0
call fcn.10006dee
push eax
call fcn.100059ff
add esp, 8
lea eax, [ebp - 0x1cc]
xor esi, esi
push eax
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsEW_Arabia_1v1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100011be
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0x1cc]
inc esi
push eax
push edi
call ebx
test eax, eax
jne 0x100011a8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.100059de
cdq
idiv esi
push edx
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsEW_Arabia_1v1
call fcn.10001de0
push eax
lea eax, [ebp - 0x74]
push 0x10015180
push eax
call fcn.10001e70
add esp, 0x14
mov dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
push 0x35
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsEW_Arabia_1v1_
call fcn.10001830
cmp byte [ebp - 0x74], 0
mov dword [ebp - 4], 0
jne 0x1000121b
xor ecx, ecx
jmp 0x1000122a
lea ecx, [ebp - 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001221
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100015d0
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push 0
cmovae eax, dword [ebp - 0x8c]
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsVoobly_ModsAOCData_Mods_v1.6_Game_DataScenarioEW_Arabia_1v1.scx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10001274
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10001cd0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x7a504c
nop
push 3
call esi
cmp dword [edi], 2
je 0x100012a9
mov eax, dword [0x1001c868]
test eax, eax
je 0x10001280
cmp eax, 1
je 0x100012a9
push str.Voobly_ModsAOCLocal_ModsEmpire_WarsVoobly_ModsAOCData_Mods_v1.6_Game_DataScenarioEW_Arabia_1v1.scx
call fcn.10005a11
add esp, 4
call fcn.10001930
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.10002180
mov esp, ebp
pop ebp
ret
Function at 0x10001de0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1001c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push ebx
push esi
push edi
push ecx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001e31
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x10001e47
lea eax, [ebp - 0x144]
inc esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001e13
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, 0x10013170
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002180
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x118]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002180
mov esp, ebp
pop ebp
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406c], eax
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.mifedount
push str.Deltapo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b33
xor eax, eax
jmp 0x401b4e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid