joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4345c0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405caf
push edi
call esi
cmp eax, 0xffffffff
jne 0x405cf1
test ebx, ebx
je 0x405cee
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x405ce8
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
mov eax, esi
jmp 0x405cf1
call fcn.00401abd
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406306
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434664
call fcn.004339e0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c900
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4063d4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406342
mov eax, ebx
add eax, eax
push eax
call fcn.004066d0
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4063cd
cmp ebx, dword [ebp - 0x14]
ja 0x4063cd
lea ecx, [ebp - 0x2c]
call fcn.004028e9
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4063b5
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4063aa
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004066d0
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406380
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401abd
push esi
call fcn.00401abd
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4063d6
push esi
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4066d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4066df
pop dword [ebp - 0x4c]
mov eax, 0x4066df
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3abb2
push 0
mov eax, 0xb8e80b3c
add eax, 0x475b74f4
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xf422dcc2
add ecx, 0xbdd6b89
mov edi, eax
mov ebx, 0x46a0f1d1
add ebx, 0xb9a3d42f
add ebx, dword [ebp - 0x4c]
mov edx, 0x26a419aa
xor dword [ebp - 0x30], ebx
mov esi, dword [ebx]
xor dword [ebp - 0x14], 0xc3ea311c
xor esi, edx
mov dword [edi], esi
mov dword [ebp - 0x3c], 0xad33c195
add edi, 0xe2969984
sub edi, 0xe2969980
add ebx, 4
loop 0x406733
add eax, 0x3ba08430
sub eax, 0x3b9f7031
xor ebx, ebx
add ebx, eax
add eax, 0xed9eb997
sub eax, 0xed9eb992
mov ecx, 0xac946ebf
add ecx, 0x53ab9141
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x101ab41a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101c01b8]
add eax, 0xfffffd5c
mov dword [0x101c01b8], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101c01b4], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c01b8], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101ab480
mov eax, 1
mov dword [0x101c01b8], 0xfa2
mov dword [ebp - 0x14], eax
jmp 0x101ab5a6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x101ab4c1
jmp 0x101ab4aa
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x101c01b4], eax
mov dword [ebp - 0x14], ecx
jmp 0x101ab5a6
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x101ab480
mov eax, dword [ebp - 0x1c]
mov ecx, 0x35f0
mov dword [0x101c01b4], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jne 0x101ab498
mov eax, 0x199d
mov dword [0x101c01b4], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
jne 0x101ab498
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x101ab498
mov eax, 0xfffff9e7
mov dword [0x101c01b4], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
jne 0x101ab498
mov eax, 0x29da
mov dword [0x101c01b4], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x101ab498
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101ab498
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x101ab469
jmp 0x101ab498
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x101ab6a8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c01c0], 0
mov byte [0x101c01c4], 0
mov dword [0x101c01b8], 0xdd8
mov dword [0x101c01b4], 0x1867
mov dword [0x101c01bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c01bc]
add eax, 1
mov dword [0x101c01bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ab6f7
xor eax, eax
mov ecx, 0x1c52
mov dword [0x101c01b4], 0x1c52
mov dword [0x101c01bc], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffff22e
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101c01c8], 0
mov edi, dword [0x101c01c0]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c01c8], esi
mov edx, dword [ebp - 0x28]
mov dword [0x101c01b4], edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101c01c0], edx
mov bl, byte [ebx + ecx]
mov byte [0x101c01c4], bl
mov dword [0x101c01b4], 0x1300
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101c01c4]
mov ecx, dword [0x101c01c0]
mov byte [esi + ecx], bl
mov ecx, dword [0x101c01b8]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x101c01b4], edx
mov esi, dword [0x101c01bc]
add esi, 1
mov dword [0x101c01bc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
jl 0x101ab73e
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101c01b4], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ababf
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 [0x101c01b8], 0xbaf
mov dword [0x101c01b4], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101abb33
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [0x101c01b8], 0x8c2
mov dword [0x101c01b4], 0x2310
mov dword [ebp - 0x34], eax
call fcn.101abc1a
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101aac4b
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
je 0x101abaec
jmp 0x101abb5f
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad5c0]
mov dh, byte [eax + 0x101ad591]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x101abaf4
jmp 0x101abb33
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 ecx, dword [0x101c01b4]
add ecx, 0xffffee8b
mov dword [0x101c01b4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101ab819
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c01b8], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101c01b4], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x34], ecx
cmp ecx, 0
mov dword [ebp - 0x30], eax
je 0x101abaec
mov eax, dword [ebp - 0x3c]
add eax, 0x240e
mov ecx, dword [0x101c01b8]
add ecx, 0xfffff237
mov dword [0x101c01b4], ecx
mov dword [ebp - 0x30], eax
jmp 0x101abaec
Function at 0x101abcf2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101abec5
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101c01b4], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101c01b8], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
jne 0x101abd50
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x101abd8e
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x101abda8
jmp 0x101abdd1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
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 - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
jne 0x101abd64
mov al, byte [ebp - 0x32]
test al, 1
jne 0x101abe03
jmp 0x101abdda
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jb 0x101abd8e
jmp 0x101abd45
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101c01b4], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101c01b8], 0x114b
mov dword [ebp - 0x24], edx
jmp 0x101abd45
Function at 0x101ac05c
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 [0x101c01bc], 0
mov dword [0x101c01c0], 0
mov dword [0x101c01cc], 0
mov dword [0x101c01b4], 0x2bc
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 0x101ac1b7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101c01bc], edx
mov dword [0x101c01b4], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101c01c0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101c01c4], cl
mov ebx, dword [0x101c01b8]
add ebx, 0xfffff27d
mov dword [0x101c01b4], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c01c4]
mov edx, dword [0x101c01c0]
mov byte [ebx + edx], cl
mov edx, dword [0x101c01bc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c01c0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c01cc], ecx
mov dword [0x101c01b4], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101c01b4], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x101ac1b7
mov eax, dword [0x101c01bc]
mov ecx, dword [0x101c01c0]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101ac0bf
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ac1bf
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 [0x101c01b4], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101aadbc
lea ecx, [0x101ab645]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], 0x140c00
mov dword [0x101c01b8], 0x894
mov edx, dword [0x101c01a0]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101c01a4]
mov dword [esp + 0x24], edx
mov edx, dword [0x101c01a8]
mov dword [esp + 0x30], edx
mov edx, dword [0x101c01ac]
mov dword [esp + 0x74], edx
mov edx, dword [0x101c01b0]
mov dword [esp + 0x50], edx
mov dword [0x101c01b4], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101ac2a0
jmp 0x101ac2b4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [0x101c01b8], 0xe2d
mov dword [0x101c01b4], 0xf67
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x20], edx
call fcn.101ab41a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x101ac2c8
jmp 0x101ac2ff
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101ac264
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101ac253
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ababf
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101c01b8], 0x5b1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x100062fa
pop dword [ebp - 0x34]
mov eax, 0xbf04ddf
sub eax, 0xfbefeae5
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3f37c
push 0
mov eax, 0xce94959f
sub eax, 0xbe93553b
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x60c8
xor edx, edx
add edx, eax
mov ebx, 0xcd3dda69
sub ebx, 0xbd3c5469
add ebx, dword [ebp - 0x34]
mov edi, 0xce5b9c97
add edi, 0xc66c1949
xor dword [ebp - 0xc], edx
mov esi, dword [ebx]
add dword [ebp - 0x28], 0x62af9be7
xor esi, edi
add dword [ebp - 0xc], 0x21190f0e
mov dword [edx], esi
xor dword [ebp - 0x30], eax
add edx, 0xdadd5ba0
add edx, 0x2522a464
add ebx, 4
loop 0x10006355
add eax, 0x5af19c13
add eax, 0xa50fd9e0
xor ebx, ebx
add ebx, eax
add eax, 0x9a0cfd22
sub eax, 0x9a0cfd1d
mov ecx, 0x8d8b9fc
sub ecx, 0xf8d8b9fc
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4133f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae078
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c3790]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x41351c
cmp byte [edi + 0x4a], bl
je 0x41351c
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x413510
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x413470
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x413488
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x4134b1
dec eax
je 0x4134b5
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x41350b
jmp 0x413517
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4134c5
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4134ee
cmp ebx, 0x10
jae 0x4134d4
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00497b64
add esp, 0x10
cmp esi, eax
jne 0x413508
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x413514
test esi, esi
jne 0x41347c
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00405fb0
jmp 0x413476
lea ecx, [ebp - 0x2c]
call fcn.00403110
xor al, al
jmp 0x41351e
lea ecx, [ebp - 0x2c]
call fcn.00403110
mov al, 1
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.00495b13
mov esp, ebp
pop ebp
ret
Function at 0x4136a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adbdb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c3790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004957ba
push 4
mov dword [ebp - 4], 0
call fcn.004962bc
mov edi, eax
add esp, 4
test edi, edi
je 0x413720
call fcn.00494c78
mov dword [edi], eax
call fcn.00494a37
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00494e48
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x413716
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00494e70
jmp 0x413722
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413790
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae048
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x4c3790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x54], 0
jne 0x413884
mov eax, dword [ebp + 8]
push 0x40
push 1
push eax
call fcn.004958c4
add esp, 0xc
test eax, eax
je 0x413884
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov byte [esi + 0x50], 1
mov byte [esi + 0x4a], 0
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea ecx, [esi + 0xc]
mov dword [esi + 0x14], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [ecx], 0
mov ecx, dword [esi + 0x24]
mov dword [ecx], 0
mov edx, dword [esi + 0x34]
mov dword [edx], 0
mov ecx, dword [esi + 0x10]
mov dword [ecx], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [esi + 0x54], eax
mov edx, dword [0x4c751c]
lea edi, [ebp + 8]
mov eax, esi
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], 0
call fcn.004138a0
push eax
mov dword [ebp - 4], 0
call fcn.00413a30
add esp, 4
push eax
mov ecx, esi
call fcn.00413540
mov ecx, edi
call fcn.00401380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4140e0
Capabilities:
Check mutex on windows

Disassembly:
cmp dword [0x4c7368], 0
jne 0x4140ff
push str.PACKET_FILTER_832u8u893289894377_FILTERS_SHOWIMG
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4c7368], eax
jmp 0x414115
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4c7368]
push 0
push eax
call esi
test eax, eax
jne 0x414106
pop esi
mov ecx, dword [0x4c7368]
push ecx
mov byte [0x4c736c], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
ret