joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d8
push esi
push edi
mov dword [ebp - 4], 0
mov ecx, 0x10
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x50]
cmp eax, 0x5a4d
jne 0x1001c587
cmp dword [ebp - 0x14], 0x40
jbe 0x1001c3aa
mov ecx, dword [ebp - 0x14]
sub ecx, 0x40
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
mov eax, 1
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x6d8]
push edx
call fcn.1006d0f0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, 0x3e
mov esi, dword [ebp - 0xc]
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x148], 0x4550
jne 0x1001c587
movzx ecx, word [ebp - 0x142]
imul edx, ecx, 0x28
push edx
mov eax, dword [ebp - 0xc]
add eax, 0xf8
push eax
mov ecx, 0x28
imul edx, ecx, 0
lea eax, [ebp + edx - 0x2d8]
push eax
call fcn.1006d0f0
add esp, 0xc
push 0x40
push 0x103000
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
push 0
push 0
call fcn.10001290
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001c587
mov ecx, 0x10
lea esi, [ebp - 0x50]
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x14]
mov ecx, 0x3e
lea esi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
movzx edx, word [ebp - 0x142]
imul eax, edx, 0x28
push eax
mov ecx, 0x28
imul edx, ecx, 0
lea eax, [ebp + edx - 0x2d8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0xf8]
push eax
call fcn.1006d0f0
add esp, 0xc
cmp dword [ebp - 0x14], 0x40
jbe 0x1001c4a4
mov ecx, dword [ebp - 0x14]
sub ecx, 0x40
push ecx
mov edx, 1
imul eax, edx, 0
lea ecx, [ebp + eax - 0x6d8]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x40
push edx
call fcn.1006d0f0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x1001c4b6
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movzx ecx, word [ebp - 0x142]
cmp dword [ebp - 8], ecx
jge 0x1001c4fc
imul edx, dword [ebp - 8], 0x28
mov eax, dword [ebp + 8]
add eax, dword [ebp + edx - 0x2c4]
mov dword [ebp - 0x10], eax
imul ecx, dword [ebp - 8], 0x28
mov edx, dword [ebp + ecx - 0x2c8]
push edx
mov eax, dword [ebp - 0x10]
push eax
imul ecx, dword [ebp - 8], 0x28
mov edx, dword [ebp - 4]
add edx, dword [ebp + ecx - 0x2cc]
push edx
call fcn.1006d0f0
add esp, 0xc
jmp 0x1001c4ad
mov eax, dword [ebp - 4]
push eax
call fcn.100302f0
test eax, eax
jne 0x1001c528
push 0x8000
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
call fcn.100012c0
call eax
mov dword [ebp - 4], 0
jmp 0x1001c587
mov edx, dword [ebp - 4]
push edx
call fcn.10004ac0
test eax, eax
jne 0x1001c554
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
call fcn.100012c0
call eax
mov dword [ebp - 4], 0
jmp 0x1001c587
movzx ecx, word [ebp - 0x132]
and ecx, 0x2000
jne 0x1001c56c
mov edx, dword [ebp - 4]
push edx
call fcn.10030280
mov eax, dword [ebp - 4]
push eax
call fcn.1000ec20
mov eax, dword [ebp - 0x120]
add eax, dword [ebp - 4]
push 0
push 1
push dword [ebp - 4]
call eax
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10034570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0x4550
je 0x100345a0
xor eax, eax
jmp 0x1003462b
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], 0
jmp 0x100345eb
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x14]
jae 0x10034629
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, dword [edx + ecx*4]
push eax
call fcn.100450b0
test eax, eax
jne 0x10034627
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x1003462b
jmp 0x100345e2
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10044f30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
pop ebp
ret

Function at 0x10044f80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x10044f9f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x10044fcc
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
xor edx, dword [ebp + 0xc]
imul eax, edx, 0x1000193
push eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp + 8]
push ecx
call fcn.10044f80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x10075530
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100755cd
push ebx
push esi
call fcn.100754f9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10075442
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1007557a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100755cc
push edi
push eax
call fcn.1007252c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1007559a
call fcn.100724f2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100755cb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10075442
add esp, 0x20
test eax, eax
jne 0x100755b9
push edi
call fcn.100724f2
jmp 0x100755c1
push ebx
call fcn.100724f2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100757cb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10080508
push 0x10080500
push str.FlsAlloc
push 0x1e
call fcn.100756e9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100757ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007e200]
call esi
jmp 0x10075805
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10075849
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10080518
push 0x10080510
push str.FlsGetValue
push 0x20
call fcn.100756e9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10075880
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007e200]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1007cde0
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102b8d08], 0
mov byte [0x102b8d0c], 0
mov esi, dword [0x102b8d00]
add esi, 0x1248
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x102b8cfc], ecx
mov dword [0x102b8d04], 0
mov dword [ebp - 0x20], eax
jmp 0x1029ae97
mov dword [0x102b8cfc], 0x23eb
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102b8cfc], 0xa1e
mov eax, dword [0x102b8d04]
add eax, 1
mov dword [0x102b8d04], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x1029ae97
mov eax, dword [0x102b8d00]
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x101c
mov dword [0x102b8cfc], ecx
mov dword [0x102b8d04], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, 0x100
mov dword [ebp - 0x2c], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102b8d10], 0
mov dword [0x102b8cfc], 0x1dfc
mov edi, dword [0x102b8d08]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102b8d10], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102b8d08], edx
mov dword [0x102b8cfc], 0x3326
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ebx + ecx]
mov byte [0x102b8d0c], cl
mov dword [0x102b8cfc], 0x118d
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov cl, byte [0x102b8d0c]
mov esi, dword [0x102b8d08]
mov byte [ebx + esi], cl
mov dword [0x102b8cfc], 0x24c0
mov esi, dword [0x102b8d04]
add esi, 1
mov dword [0x102b8d04], esi
cmp esi, 0x100
mov dword [ebp - 0x28], esi
jl 0x1029aeed
jmp 0x1029ae85
Function at 0x1029b470
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x38]
mov dword [0x102b8cfc], 0x1c34
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
mov dword [0x102b8d00], 0x1ed1
mov dword [esp], eax
call fcn.1029afb0
lea ecx, [0x1029b7d0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0x148600
mov edx, dword [0x102b8ce8]
mov dword [esp + 0x88], edx
mov edx, dword [0x102b8cec]
mov dword [esp + 0x68], edx
mov edx, dword [0x102b8cf0]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102b8cf4]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102b8cf8]
mov dword [esp + 0x78], edx
mov dword [0x102b8cfc], 0x2ba
mov dword [0x102b8d00], 0xffffe8fe
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1029b564
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x1029b573
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [0x102b8d00], 0x1c0b
mov dword [0x102b8cfc], 0x81b
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], eax
call fcn.1029b660
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x1029b591
jmp 0x1029b5d7
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x1029b510
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102b8cfc], 0xfffff2fa
mov dword [esp + 0x1c], eax
jmp 0x1029b564
lea eax, [esp + 0x38]
mov ecx, dword [0x102b8cfc]
add ecx, 0xffffe20a
mov dword [0x102b8d00], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1029c2e0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102b8d00], 0x1693
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1029b660
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102b8cfc], 0x9d2
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 [0x102b8cfc], 0x2420
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1029b6f4
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [0x102b8cfc], 0x568
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1029b730
jmp 0x1029b7ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1029b7ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1029b778
jmp 0x1029b7ba
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
je 0x1029b6a8
mov dword [0x102b8d00], 0xffffe35a
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x1029b6f4
jmp 0x1029b6a8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1029b7ba
mov dword [0x102b8cfc], 0x23ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1029b7ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x1029b6c9
jmp 0x1029b7ba
mov eax, dword [0x102b8d00]
add eax, 0x1815
mov dword [0x102b8d00], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x22], dl
mov al, byte [ebp - 0x22]
test al, 1
jne 0x1029b7a3
jmp 0x1029b7ba
mov dword [0x102b8cfc], 0x263b
mov eax, 1
mov dword [ebp - 0x14], eax
jmp 0x1029b6a0
xor eax, eax
mov dword [0x102b8d00], 0x18b8
mov dword [ebp - 0x14], eax
jmp 0x1029b6a0
Function at 0x1029c110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x102b8cfc]
mov dword [0x102b8d04], 0
mov dword [0x102b8d08], 0
mov dword [0x102b8d14], 0
mov ebx, edi
add ebx, 0xffffe517
mov dword [0x102b8d00], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
jne 0x1029c187
mov eax, dword [ebp - 0x24]
add eax, 0xffffdbf0
mov dword [0x102b8d00], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff5ed
mov edx, eax
mov esi, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
mov dword [0x102b8d00], ecx
mov dword [0x102b8cfc], 0x14b6
add edx, 1
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102b8d04], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x102b8d08], edx
mov dword [0x102b8cfc], 0x44
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x102b8d0c], cl
mov dword [0x102b8cfc], 0xe50
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102b8d0c]
mov edx, dword [0x102b8d08]
mov byte [edi + edx], cl
mov edx, dword [0x102b8cfc]
mov ebx, edx
add ebx, 0xb7f
mov dword [0x102b8d00], ebx
mov ebx, dword [0x102b8d04]
movzx ebx, byte [edi + ebx]
mov ecx, dword [0x102b8d08]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov dword [0x102b8d00], 0x10dd
and ecx, 0xff
mov dword [0x102b8d14], ecx
add edx, 0xffffe052
mov dword [0x102b8cfc], edx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov ch, byte [edx + ebx]
mov dword [0x102b8d00], 0xfffffdd5
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov dword [0x102b8cfc], 0xc10
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x40], ebx
je 0x1029c2cf
mov eax, 0x1fd
mov ecx, dword [0x102b8d04]
mov edx, dword [0x102b8d08]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], esi
jmp 0x1029c1a2
mov eax, 0xc10
mov dword [ebp - 0x24], eax
jmp 0x1029c172
Function at 0x1029c2e0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x6b
xor esi, esi
lea edi, [ebp - 0x6c]
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0x69
mov byte [ebp - 0x8a], 0x72
mov byte [ebp - 0x89], 0x74
mov byte [ebp - 0x88], 0x75
mov byte [ebp - 0x87], 0x61
mov byte [ebp - 0x86], 0x6c
mov byte [ebp - 0x85], 0x41
mov byte [ebp - 0x84], 0x6c
mov byte [ebp - 0x83], 0x6c
mov byte [ebp - 0x82], 0x6f
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0xd4
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0xd4
mov dword [0x102b8d00], 0x22ce
mov dword [0x102b8cfc], 0x351
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
jmp 0x1029c402
mov eax, dword [ebp - 0xac]
add eax, 0x1c15
mov dword [0x102b8d00], 0x25ea
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0xa8]
mov cl, byte [ebp - 0x9d]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x9d], cl
mov dword [ebp - 0xa8], edx
jne 0x1029c402
xor eax, eax
lea ecx, [ebp - 0x6c]
mov dword [0x102b8d00], 0xf15
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xb4], eax
call fcn.1029bdd0
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.1029aaf0
xor ecx, ecx
mov dword [0x102b8cfc], 0x7b6
cmp eax, 0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb0], ecx
je 0x1029c3f1
mov eax, dword [ebp - 0xb8]
mov dword [0x102b8d00], 0x14b6
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 [0x102b8d00], 0x1f02
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xac], eax
call fcn.1029ac90
xor eax, eax
mov ecx, dword [ebp - 0xac]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], pe_nt_image_headers32
mov dword [0x102b8cfc], 0x1cb
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x102b8d00], 0x19c8
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x102b8d00]
add ecx, 0xfffffc67
mov dword [0x102b8d00], ecx
mov ecx, dword [ebp - 0xac]
mov dword [edx + 0x20], ecx
mov esi, dword [0x102b8cfc]
add esi, 0xfffff830
mov dword [0x102b8cfc], esi
cmp ecx, 0
mov dword [ebp - 0xb0], eax
je 0x1029c3f1
jmp 0x1029c3d6
Function at 0x408520
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov ecx, esi
imul ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
xor edx, edx
div esi
pop esi
ret

Function at 0x4088d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x4c1830]
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408999
push esi
mov esi, dword [esp + 0x418]
mov cl, byte [esi + 2]
test cl, cl
lea eax, [esi + 2]
je 0x40898d
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ecx]
test byte [esi], 2
jne 0x40897e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x200
call edi
test eax, eax
jne 0x40897e
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x218], cl
inc eax
test cl, cl
jne 0x408962
lea ebx, [esp + 0x218]
call fcn.00408550
add esi, 0x20
mov cl, byte [esi + 2]
test cl, cl
lea eax, [esi + 2]
jne 0x408930
pop edi
pop ebx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 0x40c]
call fcn.0047471e
add esp, 0x410
ret

Function at 0x409e70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x80]
sub esp, 8
test eax, eax
je 0x409e84
mov eax, dword [eax + ecx*4]
add esp, 8
ret
mov eax, dword [esi + 0x58]
mov edx, dword [esi]
push 0
push 0
lea ecx, [eax + ecx*4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi]
push 0
lea eax, [esp + 8]
push eax
push 4
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
add esp, 8
ret
Function at 0x40a110
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
movzx eax, byte [ebx + 0x69]
movzx ecx, byte [ebx + 0x6a]
push edi
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
mov dword [esp + 0x14], edi
jg 0x40a280
mov edx, dword [esp + 0x1c]
push ebp
lea ebp, [edi + edx]
push esi
mov esi, dword [esp + 0x20]
shl ebp, 2
jmp 0x40a150
mov edi, dword [esp + 0x1c]
jmp 0x40a150
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x40a15f
mov eax, dword [eax + ebp]
jmp 0x40a18d
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx]
push 0
push 0
add eax, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebx]
push 0
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0xff
cmp edi, edx
jne 0x40a27e
mov edx, dword [esi]
sar eax, 8
mov edi, eax
mov eax, dword [esi + 0x10]
mov ecx, edi
and ecx, 0xf80000
test eax, eax
je 0x40a1be
mov eax, edx
or eax, ecx
and eax, 0x100000
jmp 0x40a1d5
test dl, 1
je 0x40a1d0
mov eax, ecx
not eax
or eax, edx
and eax, 0x100000
jmp 0x40a1d5
mov eax, 1
test ecx, 0x200000
je 0x40a1f2
test eax, eax
je 0x40a1f0
test edx, 0x200000
je 0x40a1f0
mov eax, 1
jmp 0x40a1f2
xor eax, eax
test ecx, 0x400000
je 0x40a20f
test eax, eax
je 0x40a20d
test edx, 0x400000
je 0x40a20d
mov eax, 1
jmp 0x40a20f
xor eax, eax
test ecx, 0x800000
je 0x40a225
test eax, eax
je 0x40a24f
test edx, 0x800000
jne 0x40a229
jmp 0x40a24f
test eax, eax
je 0x40a24f
cmp dword [esi + 0xc], 0x40
jge 0x40a24f
mov eax, dword [esi + 4]
and edi, 0x7ffff
add edi, eax
mov eax, dword [esi + 8]
mov dword [eax], edi
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add edx, 4
inc eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40a260
test ecx, ecx
jne 0x40a260
mov dword [eax], 1
movzx ecx, byte [ebx + 0x6a]
movzx edx, byte [ebx + 0x69]
mov eax, dword [esp + 0x1c]
inc eax
add ecx, edx
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x40a144
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret