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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x403300
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x40dbf8]
test eax, eax
jne 0x403324
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.00403e30
mov dword [0x40dbf8], eax
call eax
mov ebx, eax
mov eax, dword [0x40dd60]
test eax, eax
jne 0x40334c
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.00403e30
mov dword [0x40dd60], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x403402
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x4033f2
cmp ebx, 8
jb 0x4033d7
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x403396
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x4033d7
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x4033b0
cmp edx, ebx
jae 0x4033f2
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x4033e0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x403400
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403470
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x403499
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x40dbf8]
test eax, eax
jne 0x4034bd
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.00403e30
mov dword [0x40dbf8], eax
call eax
mov edi, eax
mov eax, dword [0x40dd60]
test eax, eax
jne 0x4034e5
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.00403e30
mov dword [0x40dd60], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x403565
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x40355a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x403520
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x403570
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x40359a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x40dbf8]
test eax, eax
jne 0x4035be
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.00403e30
mov dword [0x40dbf8], eax
call eax
mov edi, eax
mov eax, dword [0x40dd60]
test eax, eax
jne 0x4035e6
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.00403e30
mov dword [0x40dd60], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x403652
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x40364a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x403620
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x403b50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x18e
add dword [esp + 4], 0x8fd9
shl dword [esp + 4], 0xf
add dword [esp + 4], 0xa98
xor dword [esp + 4], 0x48b38a98
mov dword [esp], 0x9208
imul eax, dword [esp], 0x75
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
shr dword [esp + 4], 0xb
or dword [esp + 4], 0x128383aa
imul eax, dword [esp + 4], 0x35
mov dword [esp + 4], eax
add dword [esp + 4], 0xffff3c94
imul eax, dword [esp + 4], 0x6f
mov dword [esp + 4], eax
xor dword [esp + 4], 0x74ad7137
mov dword [esp + 4], 0xeadf
shl dword [esp + 4], 9
shl dword [esp + 4], 0xd
imul eax, dword [esp + 4], 0x5d
mov dword [esp + 4], eax
add dword [esp + 4], 0xd479
imul eax, dword [esp + 4], 0x13
mov dword [esp + 4], eax
xor dword [esp + 4], 0x4e4fc4eb
cmp byte [ebx], 0
je 0x403cb0
push esi
push edi
jmp 0x403c00
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x9208
imul eax, dword [esp + 0xc], 0x75
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 0xb
or dword [esp + 0xc], 0x128383aa
imul eax, dword [esp + 0xc], 0x35
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xffff3c94
imul eax, dword [esp + 0xc], 0x6f
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x74ad7137
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0xeadf
shl dword [esp + 0xc], 9
shl dword [esp + 0xc], 0xd
imul eax, dword [esp + 0xc], 0x5d
shl esi, cl
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xd479
imul eax, dword [esp + 0xc], 0x13
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x4e4fc4eb
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x403c00
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x403e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x403e8c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00403b50
xor eax, 0x347fecab
cmp eax, dword [esp + 0x10]
je 0x403e96
inc esi
cmp esi, dword [edi + 0x18]
jb 0x403e70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x403ec4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x403ec4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x404090
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x4040b6
cmp al, 0x2e
je 0x4040b3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x4040a3
jmp 0x4040b6
mov byte [edx], 0
mov eax, dword [0x40db14]
test eax, eax
jne 0x4040da
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0xc347539c
mov ecx, eax
call fcn.00403e30
mov dword [0x40db14], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x404121
mov eax, dword [0x40dcb4]
test eax, eax
jne 0x40410b
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0xeb545747
mov ecx, eax
call fcn.00403e30
mov dword [0x40dcb4], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x404121
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00403b50
xor eax, 0x347fecab
mov ecx, edi
mov edx, eax
call fcn.00403e30
pop edi
pop esi
add esp, 0x104
ret
Function at 0x403ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x404079
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x18e
add dword [esp + 0x14], 0x8fd9
shl dword [esp + 0x14], 0xf
add dword [esp + 0x14], 0xa98
xor dword [esp + 0x14], 0x48b38a98
mov dword [esp + 0x10], 0x9208
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 0xb
or dword [esp + 0x10], 0x128383aa
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff3c94
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x74ad7137
mov dword [esp + 0x10], 0xeadf
shl dword [esp + 0x10], 9
shl dword [esp + 0x10], 0xd
imul eax, dword [esp + 0x10], 0x5d
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xd479
imul eax, dword [esp + 0x10], 0x13
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e4fc4eb
cmp word [edx], 0
je 0x40405f
jmp 0x403fa0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x9208
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 0xb
or dword [esp + 0x10], 0x128383aa
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff3c94
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x74ad7137
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0xeadf
shl dword [esp + 0x10], 9
shl dword [esp + 0x10], 0xd
imul eax, dword [esp + 0x10], 0x5d
shl esi, cl
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xd479
imul eax, dword [esp + 0x10], 0x13
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e4fc4eb
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x40403e
cmp eax, 0x5a
ja 0x40403e
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [edx], 0
jne 0x403fa0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x2f5614d2
cmp eax, dword [esp + 0x1c]
je 0x404083
mov ebp, dword [ebp]
cmp ebp, ecx
jne 0x403ef5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x404350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x4044ee
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x4044ee
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x4044ee
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x4044ee
mov eax, dword [0x40db44]
test eax, eax
jne 0x4043bb
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0xdae4ae1
mov ecx, eax
call fcn.00403e30
mov dword [0x40db44], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x4044e5
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x40dc6c]
test eax, eax
jne 0x40441b
mov ecx, 0xfd7834c6
call fcn.00403ed0
mov edx, 0x9c233dc
mov ecx, eax
call fcn.00403e30
mov dword [0x40dc6c], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x40449e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x40dc6c]
test eax, eax
jne 0x404486
mov ecx, 0xfd7834c6
call fcn.00403ed0
mov edx, 0x9c233dc
mov ecx, eax
call fcn.00403e30
mov dword [0x40dc6c], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x404445
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.00404620
mov edx, edi
mov ecx, ebx
call fcn.00404530
pop esi
test eax, eax
jne 0x4044e5
mov eax, dword [0x40dfc4]
test eax, eax
jne 0x4044d9
mov ecx, 0xa028f2a0
call fcn.00403ed0
mov edx, 0xce8d33fc
mov ecx, eax
call fcn.00403e30
mov dword [0x40dfc4], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x16f823aa
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x53717cde
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001460
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.10072750
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x100014ad
mov eax, dword [ebp]
jmp 0x100014af
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x100014d2
mov ecx, dword [ebp]
jmp 0x100014d4
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.10001280
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x10001200
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.1007bb5f
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x10], eax
pop edi
je 0x10001546
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000153e
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x1000154c
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x1000154c
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10071fee
add esp, 0x10c
ret 8
Function at 0x100021f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100d2bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x1011ac70]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x10102ef4
mov byte [ecx + 4], bl
call fcn.10001850
push ebx
mov byte [esp + 0x644], 3
call fcn.10075844
push eax
call fcn.10078736
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.10072750
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x10002351
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.10072750
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x1000232e
cmp eax, ebx
je 0x1000232e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.100017c0
jmp 0x10002351
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002335
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.10001a90
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x10002388
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x10002365
call fcn.10072580
cmp dword [edi + 0x18], 8
jb 0x10002370
mov eax, dword [edi + 4]
jmp 0x10002373
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x10002388
push 1
push 0x10102ef8
mov ecx, edi
call fcn.100039b0
cmp dword [esi + 0x38], ebx
jne 0x1000239b
push 3
push 0x10102efc
mov ecx, edi
call fcn.10001a90
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.10071fee
add esp, 0x634
ret
Function at 0x100023d0
Capabilities:
Delete file

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x54], ebx
push ebp
mov ebp, 8
je 0x100023f2
cmp dword [esi + 0x58], ebp
jb 0x100023e8
mov eax, dword [esi + 0x44]
jmp 0x100023eb
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x10002404
mov eax, dword [esi + 0x60]
push eax
call fcn.1004ed3c
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
cmp dword [esi + 0x58], ebp
jb 0x10002422
mov ecx, dword [esi + 0x44]
push ecx
call fcn.1004ed3c
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
cmp dword [esi + 0x3c], ebp
jb 0x10002441
mov edx, dword [esi + 0x28]
push edx
call fcn.1004ed3c
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], ebx
mov word [esi + 0x28], bx
cmp dword [esi + 0x20], ebp
jb 0x10002460
mov eax, dword [esi + 0xc]
push eax
call fcn.1004ed3c
add esp, 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 7
pop ebp
mov word [esi + 0xc], bx
pop ebx
ret
Function at 0x10003c70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100d2c68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1011ac70]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.10001d60
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003cd0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.100039b0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.10001d60
cmp dword [esp + 0x28], 8
jb 0x10003d1b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1004ed3c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x10004670
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x100046af
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x100046af
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x100057b9
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x3c
mov eax, 0x100cc322
call fcn.10072066
mov esi, ecx
mov eax, dword [esi + 0x394]
xor ebx, ebx
xor edi, edi
inc ebx
cmp eax, edi
mov dword [ebp - 4], edi
je 0x100057e1
push ebx
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push edi
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x14], 0xf
call fcn.100019b0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.1001eb80
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001660
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001770
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10005844
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001770
push edi
push ebx
jmp 0x100058da
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x10005856
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x10005833
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x1000584e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x1000584e
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x10005880
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push edx
push ecx
push eax
call fcn.10071b51
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push edi
push edi
mov ebx, 0xa2
push ebx
call esi
push edi
push edi
push edi
push 0x56
call esi
push edi
push 2
push edi
push 0x56
call esi
push edi
push 2
push edi
push ebx
call esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001770
push edi
push 1
lea ecx, [ebp + 8]
call fcn.100017f0
call fcn.100720e9
ret 0x1c
Function at 0x10006cc8
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x32c]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x35c]
call fcn.10014d58
mov ecx, esi
call fcn.10006c59
mov ecx, esi
pop esi
jmp fcn.10005ed6