joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4a7d716c
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x23613e61
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
mov ecx, 0x663f79cc
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x4e02ab3
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x40915c
nop
mov ecx, 0x6a882c5e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x3c12471d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401038
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40106a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401066
cmp esi, eax
jae 0x40106a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401058
cmp esi, eax
jb 0x401070
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x401080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x4043cc
call fcn.00402761
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x401134
test esi, esi
jne 0x401134
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x401118
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401112
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401112
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x401101
cmp esi, eax
jae 0x401105
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010f3
cmp esi, eax
jb 0x401109
xor eax, eax
jmp 0x401112
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x40113d
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x4043cc
call fcn.00402761
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x4010a5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402a3b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x404018]
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 ebx, ecx
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
mov dword [ebp - 0x424], edi
push ecx
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
push 0x206
lea eax, [ebp - 0x41e]
xor edx, edx
push edi
push eax
mov word [ebp - 0x420], dx
call sub.MSVCR100.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x424]
push ecx
push 0x1a
push edi
mov dword [ebp - 0x424], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x424]
cmp eax, edi
je 0x401612
lea edx, [ebp - 0x420]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x401612
push 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edx, dword [0x404038]
mov eax, dword [edx + 0xc]
mov ecx, 0x404038
call eax
add eax, 0x10
mov dword [ebx], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], edi
test ecx, 0xffff0000
jne 0x401656
mov edx, ecx
movzx esi, dx
push esi
call fcn.00401080
add esp, 4
cmp eax, edi
je 0x40167d
push eax
mov eax, esi
mov edi, ebx
call fcn.00401af0
jmp 0x40167d
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401660
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x218]
push ecx
mov edi, eax
call fcn.00401b90
mov eax, ebx
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.00401de2
mov esp, ebp
pop ebp
ret
Function at 0x401de2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404018]
jne 0x401dec
repz ret
jmp fcn.004020d5
Function at 0x10077e1e
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 [0x10094b80], 0
mov byte [0x10094b84], 0
mov dword [0x10094b74], 0xe16
mov dword [0x10094b78], 0x299f
mov dword [0x10094b7c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10077e80
xor eax, eax
mov dword [0x10094b7c], 0
mov dword [ebp - 0x20], eax
jmp 0x10077ebc
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x10094b78], 0x4b1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10094b74], 0xfffff44e
mov eax, dword [0x10094b7c]
add eax, 1
mov dword [0x10094b7c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10077e80
jmp 0x10077e6f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10094b88], 0
mov edx, dword [0x10094b80]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10094b88], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10094b80], edx
mov dword [0x10094b78], 0x37e
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10094b84], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10094b78], 0x2d3
mov cl, byte [0x10094b84]
mov edx, dword [0x10094b80]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10094b78]
add edx, 0xffffe43a
mov dword [0x10094b74], edx
mov edx, dword [0x10094b7c]
add edx, 1
mov dword [0x10094b7c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10077ebc
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10078331
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x10094b74]
add ecx, 0x7fc
mov dword [0x10094b78], ecx
mov dword [ebp - 0x10], eax
call fcn.1007816a
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 0x1007837f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10094b78], 0x1b36
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10094b74], 0xed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x100784ae
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10094b78], 0x8e9
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x1007844e
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x100783fd
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10078481
jmp 0x10078457
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x100783d9
jmp 0x100784ae
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov dword [0x10094b74], 0xfffff4d9
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10094b78], 0x1932
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100784d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001092
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x1007863e
lea eax, [esp + 0x38]
mov dword [0x10094b74], 0x104f
mov dword [esp + 0x20], eax
call fcn.100786e9
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x10078636
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10077a41
lea ecx, [0x10078c60]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], 0x142e00
mov edx, dword [0x10094b60]
mov dword [esp + 0x74], edx
mov edx, dword [0x10094b64]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10094b68]
mov dword [esp + 0x80], edx
mov edx, dword [0x10094b6c]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10094b70]
mov dword [esp + 0x54], edx
mov dword [0x10094b74], 0x2085
mov dword [0x10094b78], 0xc5b
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x100785bc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100785d0
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10078599
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [0x10094b78], 0x983
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x68], esi
mov dword [0x10094b74], 0xd5e
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10078938
mov dword [0x10094b74], 0x1bd4
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10094b78], 0x5f1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100786e9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0xc], 0
mov dword [0x10094b74], 0x1456
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x10094b74]
add edx, 0x6ec
mov dword [0x10094b74], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x1007878f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [0x10094b78], edx
add eax, 0xffffedf6
mov dword [0x10094b74], eax
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2 - 0x1a], 0x6c
mov edi, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
je 0x100787eb
jmp 0x10078872
mov eax, 0xd0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x34], eax
je 0x10078853
jmp 0x10078872
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe194
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
je 0x10078736
mov eax, 0x26a6
mov dword [0x10094b74], 0x26a6
mov ecx, dword [ebp - 0x38]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov esi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
jl 0x1007878f
jmp 0x10078736
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
jne 0x10078872
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
jne 0x10078872
mov eax, 0xd0a
mov dword [0x10094b74], 0xd0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x34], eax
jne 0x10078872
mov eax, 0xd0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x34], eax
je 0x1007876f
jmp 0x10078872
mov eax, 1
mov ecx, 0xd0a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
je 0x10078884
mov eax, dword [ebp - 0x34]
xor ecx, ecx
add eax, 0xffffd9cd
mov dword [0x10094b74], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add esp, 0x34
pop esi
pop edi
pop ebp
ret
Function at 0x10078938
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 [0x10094b74], 0x19d9
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1007c67c]
mov dl, byte [eax + 0x1007c64d]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10078959
lea eax, [ebp - 0x20]
mov dword [0x10094b74], 0xaed
mov dword [ebp - 0x30], eax
call fcn.10078e71
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10078ac8
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10078a6a
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x10094b74]
add ecx, 0xffffeb0c
mov dword [0x10094b74], ecx
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 [0x10094b74], 0xc0e
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10077f7d
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
mov dword [0x10094b78], 0x1f09
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x18], ecx
mov dword [0x10094b74], 0x431
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10078a6a
mov eax, dword [ebp - 0x3c]
add eax, 0x20a8
mov dword [0x10094b74], 0x1cbc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10078cb9
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]
mov edi, 0x24d8
xor ebx, ebx
mov dword [0x10094b7c], 0
mov dword [0x10094b80], 0
mov dword [0x10094b8c], 0
mov dword [0x10094b74], 0x237b
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10078e61
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10094b7c], edx
mov dword [0x10094b74], 0xfffffe77
mov ebx, dword [ebp - 0x24]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10094b80], edx
mov dword [0x10094b74], 0xe10
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10094b84], cl
mov dword [0x10094b74], 0x1452
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10094b84]
mov edx, dword [0x10094b80]
mov byte [ebx + edx], cl
mov dword [0x10094b78], 0x1380
mov edx, dword [0x10094b7c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10094b80]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x10094b74]
mov esi, edx
add esi, 0x1940
mov dword [0x10094b74], esi
and ecx, 0xff
mov dword [0x10094b8c], ecx
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [esi + ebx]
mov bl, cl
add bl, byte [0x10094b91]
mov byte [0x10094b90], bl
mov byte [0x10094b91], ch
mov byte [0x10094b92], cl
xor ch, cl
add edx, 0xffffe7f7
mov dword [0x10094b78], edx
mov dword [0x10094b74], 0x1f87
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x10078e54
mov eax, dword [0x10094b7c]
mov ecx, dword [0x10094b80]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
jmp 0x10078d24
mov eax, dword [0x10094b74]
add eax, 0x15d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x10094b74], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401014
Capabilities:
Terminate process

Disassembly:
jmp 0x4037b2
push 0x14
push 0x40dfe8
call fcn.00401082
push 1
call fcn.004011a4
pop ecx
test al, al
je 0x4036ca
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004011d1
mov byte [ebp - 0x24], al
mov eax, dword [0x40f58c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4036ca
test eax, eax
jne 0x4035e8
mov dword [0x40f58c], ecx
push 0x406618
push 0x40630c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4035cb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4036ba
push 0x406208
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40f58c], 2
jmp 0x4035ed
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004010dc
pop ecx
call fcn.00401032
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40361e
push esi
call fcn.004010b4
pop ecx
test al, al
je 0x40361e
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.0040101e
mov esi, eax
cmp dword [esi], edi
je 0x40363c
push esi
call fcn.004010b4
pop ecx
test al, al
je 0x40363c
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call fcn.004011c2
add esp, 0xc
mov esi, eax
call fcn.004011e5
test al, al
je 0x4036d1
test bl, bl
jne 0x40366f
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.004010e1
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4036ba
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00401104
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00401230
jmp 0x40355e

Function at 0x4011e5
Capabilities:
Parse pe header

Disassembly:
jmp 0x4042f1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404330
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404330
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404330
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404330
cmp dword [ecx + 0x74], 0xe
jbe 0x404330
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret