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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x444fd0
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 8], bx
add ebx, 2
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0xb08f8e8d
mov byte [esp + 4], 0
mov eax, 0xb6483e23
mov edi, 0x49b7c2dc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edi - 0x49b7c2dc]
lea ebp, [edi - 0x49b7c1ff]
and ebp, ebx
mov ecx, ebp
and ecx, 0xfffffffd
mov edx, ebp
and edx, 2
or ebp, 2
imul ebp, edx
xor edx, 2
imul edx, ecx
add ebp, edx
lea edx, [eax + ebp]
mov ecx, edi
sub ecx, ebp
and ecx, ebx
not ebx
and ebx, edx
sub ecx, ebx
add cl, 0xaf
mov byte [esp + edi - 0x49b7c2dc], cl
dec eax
inc edi
cmp eax, 0xb6483e1e
jne 0x445040
mov eax, dword [esp]
mov edi, dword [0x450710]
test edi, edi
je 0x4450d8
xor ebx, ebx
mov ebp, dword [0x450714]
nop
cmp dword [ebp + ebx*8], 0x2df48de6
je 0x4450b1
inc ebx
cmp edi, ebx
jne 0x4450a0
jmp 0x4450d8
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x4450d8
lea eax, [esp + 0x10]
push esi
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 4
push dword [0x450718]
push edi
call fcn.00441310
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3417552
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..rsrc_1
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1dad33ad
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x432005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x74441306
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x423a437a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1013efee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102c3720]
jne 0x1013eff8
repz ret
jmp fcn.10140f79

Function at 0x101442df
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1013fff6
and dword [ebp - 4], 0
cmp dword [0x102c5398], 0
mov ebx, eax
jne 0x10144390
push 0x102931e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10144441
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x102931d4
push edi
call esi
test eax, eax
je 0x10144441
push eax
call fcn.1013ff84
mov dword [esp], 0x102931c4
push edi
mov dword [0x102c5398], eax
call esi
push eax
call fcn.1013ff84
mov dword [esp], 0x102931b0
push edi
mov dword [0x102c539c], eax
call esi
push eax
call fcn.1013ff84
mov dword [esp], 0x10293194
push edi
mov dword [0x102c53a0], eax
call esi
push eax
call fcn.1013ff84
pop ecx
mov dword [0x102c53a8], eax
test eax, eax
je 0x10144390
push 0x1029317c
push edi
call esi
push eax
call fcn.1013ff84
pop ecx
mov dword [0x102c53a4], eax
mov eax, dword [0x102c53a4]
cmp eax, ebx
je 0x101443e8
cmp dword [0x102c53a8], ebx
je 0x101443e8
push eax
call fcn.1013ffff
push dword [0x102c53a8]
mov esi, eax
call fcn.1013ffff
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101443e8
test edi, edi
je 0x101443e8
call esi
test eax, eax
je 0x101443df
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101443df
test byte [ebp - 0xc], 1
jne 0x101443e8
or dword [ebp + 0x10], 0x200000
jmp 0x10144421
mov eax, dword [0x102c539c]
cmp eax, ebx
je 0x10144421
push eax
call fcn.1013ffff
pop ecx
test eax, eax
je 0x10144421
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10144421
mov eax, dword [0x102c53a0]
cmp eax, ebx
je 0x10144421
push eax
call fcn.1013ffff
pop ecx
test eax, eax
je 0x10144421
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102c5398]
call fcn.1013ffff
pop ecx
test eax, eax
je 0x10144441
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10144443
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1014525b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x102c36b4]
add eax, 0xfffffdcf
mov dword [0x102c36b4], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x101453d4
lea eax, [esp + 0x40]
mov dword [0x102c36b8], 0xcff
mov dword [esp + 0x28], eax
call fcn.1014575e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x101453cc
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10144f9d
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x90], 0x12dc00
mov ecx, dword [0x102c36a0]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x102c36a4]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x102c36a8]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x102c36ac]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x101464f0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov edx, dword [0x102c36b0]
mov dword [esp + 0x7c], edx
mov dword [0x102c36b4], 0xfffff70e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1014534c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10145368
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
jmp 0x10145329
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov dword [0x102c36b8], 0x2382
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x60], esi
mov dword [0x102c36b4], 0x17e8
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10145f50
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x102c36b4]
add ecx, 0xfffff71a
mov dword [0x102c36b4], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10145478
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102c36b4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x4b29
mov dword [0x102c36b4], eax
call fcn.1014606d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x102c36b8], 0x47e5
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102c36b4], 0x660
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
je 0x101455f1
jmp 0x10145543
mov eax, dword [ebp - 0x2c]
add eax, 1
mov cl, byte [ebp - 0x2d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x10145589
jmp 0x101455b6
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x28], eax
jb 0x1014555d
jmp 0x101455f1
mov eax, 0x660
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
xor esi, esi
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + eax*4]
add edx, 0x24f8
mov dword [0x102c36b4], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x20]
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 - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
jne 0x101454e7
mov al, byte [ebp - 0x2e]
test al, 1
jne 0x101455c2
jmp 0x10145514
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edx
mov dword [0x102c36b4], 0xc39
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101455fc
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 [0x102c36c0], 0
mov byte [0x102c36c4], 0
mov dword [0x102c36b4], 0x2002
mov dword [0x102c36b8], 0xf6c
mov dword [0x102c36bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10145712
xor eax, eax
mov dword [0x102c36b8], 0x1a2c
mov dword [0x102c36bc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102c36c8], 0
mov edx, dword [0x102c36c0]
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 [0x102c36c8], edi
mov dword [0x102c36b8], 0x232c
mov eax, edi
cdq
idiv ecx
mov dword [0x102c36c0], edx
mov dword [0x102c36b4], 0x347
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102c36c4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102c36c4]
mov edx, dword [0x102c36c0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102c36bc]
add edx, 1
mov dword [0x102c36bc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10145669
jmp 0x10145747
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102c36b4], 0x142c
mov eax, dword [0x102c36bc]
add eax, 1
mov dword [0x102c36bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10145712
jmp 0x10145650
mov eax, dword [0x102c36b8]
add eax, 0xffffeb75
mov dword [0x102c36b8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1014575e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x38
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [0x102c36b8]
mov edx, ecx
add edx, 0xffffde83
mov dword [0x102c36b4], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
jmp 0x10145887
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jne 0x101458d7
mov eax, dword [ebp - 0x18]
add eax, 0xffffdce0
mov dword [0x102c36b4], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
shl ecx, 1
mov edx, dword [ebp - 0x10]
add edx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6c
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
je 0x10145845
jmp 0x101458d7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x64
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
je 0x101457a8
jmp 0x101458d7
mov eax, dword [ebp - 0x34]
mov dword [0x102c36b8], 0x9f
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1014589f
jmp 0x101458d7
mov eax, 1
mov ecx, 0xadf
mov dword [0x102c36b4], 0xadf
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], eax
je 0x101458e9
jmp 0x101458d7
mov eax, dword [ebp - 0x3c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], eax
jge 0x1014581e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], edx
je 0x1014581e
jmp 0x10145870
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jne 0x101458d7
mov dword [0x102c36b8], 0x1815
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
je 0x101457fa
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x102c36b8], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x38
pop esi
pop ebp
ret
Function at 0x10145ccc
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 [0x102c36bc], 0
mov dword [0x102c36c0], 0
mov dword [0x102c36cc], 0
mov dword [0x102c36b8], 0x14e0
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 0x10145d46
jmp 0x10145d58
mov eax, dword [0x102c36bc]
mov ecx, dword [0x102c36c0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10145d58
mov dword [0x102c36b8], 0xe7d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add edx, 1
mov dword [0x102c36b4], 0xb69
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x102c36bc], edx
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 [0x102c36c0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102c36c4], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x102c36b4], 0x226c
mov cl, byte [0x102c36c4]
mov edx, dword [0x102c36c0]
mov byte [ebx + edx], cl
mov edx, dword [0x102c36bc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102c36c0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102c36cc], ecx
mov dword [0x102c36b4], 0x11c5
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
je 0x10145d46
jmp 0x10145d2d
Function at 0x10145f50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1029204f]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10145aa8
mov eax, dword [0x102c36b4]
add eax, 0xffffe70f
mov dword [0x102c36b4], eax
call fcn.101458f2
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10146288
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x10146064
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x102c36b4]
add ecx, 0x1acf
mov dword [0x102c36b4], 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 [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10145e2b
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], ecx
mov dword [0x102c36b4], 0x112
mov ecx, dword [ebp - 0x40]
mov dword [edx + 8], ecx
add ecx, 0x258c
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x1014605a
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219