joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434256
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45cce0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x434296
cmp byte [ebx], 0xa
jne 0x434296
or byte [edi + eax + 0x28], 4
jmp 0x43429b
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x43439a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43437d
inc eax
cmp dl, 0xd
je 0x4342c7
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4342ed
cmp eax, ecx
jae 0x4342fb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4342af
jmp 0x43439a
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434378
cmp dword [ebp - 0x10], 0
je 0x434378
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x45cce0]
test byte [eax + edi + 0x28], 0x48
je 0x434352
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43433d
mov byte [esi], dl
jmp 0x43434e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45cce0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43439a
cmp byte [ebp - 1], 0xa
jne 0x434361
cmp esi, ebx
jne 0x434361
mov byte [esi], 0xa
jmp 0x434399
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00431579
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43439a
mov byte [esi], 0xd
jmp 0x434399
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x45cce0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x434397
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43439a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4343a3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x45cce0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4343e9
cmp word [ebx], dx
jne 0x4343e9
or byte [eax + edi + 0x28], 4
jmp 0x4343ee
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x434551
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x434531
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43442f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x434465
cmp eax, edx
jae 0x434473
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x43440a
jmp 0x434551
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43452c
cmp dword [ebp - 0x18], 0
je 0x43452c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x45cce0]
test byte [eax + edi + 0x28], 0x48
je 0x434502
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4344c6
mov word [esi], cx
jmp 0x4344fd
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x45cce0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x45cce0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x45cce0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x434551
pop eax
cmp word [ebp - 4], ax
jne 0x434512
cmp esi, ebx
jne 0x434512
mov word [esi], ax
jmp 0x43454e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00431579
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x434551
push 0xd
pop eax
jmp 0x43450d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x45cce0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43454b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x434551
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x437b5f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x437bfc
push ebx
push esi
call fcn.00437b28
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00437abc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x437ba9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x437bfb
push edi
push eax
call fcn.00431dfc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x437bc9
call fcn.00430833
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x437bfa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00437abc
add esp, 0x20
test eax, eax
jne 0x437be8
push edi
call fcn.00430833
jmp 0x437bf0
push ebx
call fcn.00430833
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x437bff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x437c10
pop esi
ret
push ebx
push edi
push esi
call fcn.00437b28
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00431dfc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x437c38
push ebx
push esi
push edi
call fcn.00420900
add esp, 0xc
push 0
call fcn.00430833
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438392
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437ead

Function at 0x43a9ef
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00431919
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aa5e
cmp esi, dword [ebp - 4]
je 0x43aa59
cmp dword [ebp + 0xc], 0
je 0x43aa59
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43aa36
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043a52c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x43aa60
xor eax, eax
inc eax
jmp 0x43aa60
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x43aac5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00431919
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00431919
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x43ab3c
cmp word [ecx], dx
je 0x43ab3c
mov eax, dword [0x44cfbc]
push edi
dec eax
push eax
push 0x44cea8
call fcn.0043aa64
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x43abaf
cmp word [eax], dx
je 0x43abaf
mov eax, dword [edi]
test eax, eax
je 0x43ab60
cmp word [eax], dx
je 0x43ab60
lea eax, [ebp - 0x10]
push eax
call fcn.0043a432
jmp 0x43ab69
lea eax, [ebp - 0x10]
push eax
call fcn.0043a4cd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x43abd9
mov eax, dword [0x44cea4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x44cb98
call fcn.0043aa64
add esp, 0xc
test al, al
je 0x43abd9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x43aba4
cmp word [eax], di
je 0x43aba4
lea eax, [ebp - 0x10]
push eax
call fcn.0043a432
pop ecx
jmp 0x43abdb
lea eax, [ebp - 0x10]
push eax
call fcn.0043a4cd
jmp 0x43aba1
mov eax, dword [edi]
test eax, eax
je 0x43abc6
cmp word [eax], dx
je 0x43abc6
lea eax, [ebp - 0x10]
push eax
call fcn.0043a3e7
pop ecx
jmp 0x43abd9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x43aca4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0043a8e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43aca4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x43aca4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x43aca4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43ac31
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00432717
test ebx, ebx
je 0x43ac9f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00432717
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aca4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aca4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043f513
add esp, 0x10
xor eax, eax
inc eax
jmp 0x43aca6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041df18
leave
ret
Function at 0x441300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44132d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44132d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b63a
Capabilities:
Terminate process

Disassembly:
or bl, bl
jne 0x40b64a
div ecx
test byte [edi + 0xe24adf7], cl
push cs
push cs
mov ecx, eax
mov eax, dword [esp + 0x18]
idiv dword [edi + 3]
cmc
jb 0x40b63d
arpl word [esp + 0xa], dx
ja 0x40b5ff
jb 0x40b626
sub eax, 0x7610db44
add dword [esi + 0x33], ecx
or dword [ebx + 0x7094fc6], ecx
xor ecx, dword [ecx]
mov eax, esi
dec edi
or dword [edi], eax
not dword [edi - 0x257c2709]
in al, 0x5b
rcr dword [ecx + 0x5500cbec], cl
mov ebp, esp
push 0xffffffffffffffff
push 0x40e98c
push 0xbfcfb948
mov eax, dword fs:[0]
invalid
mov eax, dword [pe_dos_header]
and esp, dword [eax - 0x61]
sub eax, dword [eax]
add cl, bl
sbb dword [eax], 0x37
push ebx
je 0x40b626
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
inc esp
add edi, edi
adc eax, sym.imp.MSVCRT.dll___set_app_type
daa
cli
or eax, 0x414054
inc dword [ebx + 0x4140580d]
add bh, bh
arpl word [sym.imp.MSVCRT.dll___p__fmode], dx
lahf
or eax, 0x410bf2
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x3541c194]
mov dword [eax], ecx
mov eax, dword [0x40dfdc]
mov eax, dword [eax]
adc dword [eax - 0x63], 0x41
add al, ch
lahf
add ch, byte [0x503d8300]
cmp byte [ecx], al
add bl, dh
or al, 0x68
inc esp
mov ecx, 0x15ff0040
loopne 0x40b6ee
inc eax
add byte [ecx - 0x18], al
jo 0x40b6c2
add byte [eax + 0x40d08e2a], ah
add byte [edi], cl
sub cl, byte [esi + 0xf0040d0]
or al, dl
adc al, 0
xchg edi, eax
pop ebx
add al, byte [eax]
add ah, ah
nop
imul eax, dword [ecx + 0x1e], 0xffffffb5
inc esp
fmul dword [ebp - 0x19af27bb]
xor eax, 0x382c69
lea eax, [ebp - 6]
push eax
invalid
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x40d004
or eax, dword [eax]
rol byte [eax - 0x49], 1
call sub.MSVCRT.dll__initterm
rol byte [eax], 0x68
add al, 0xd0
inc eax
add byte [ebx], cl
add al, dl
inc eax
mov bh, pe_nt_image_headers32
sub byte [edx], al
add byte [eax], al
aaa
adc eax, sym.imp.MSVCRT.dll___p___initenv
adc dword [ecx - 0x679420], eax
jne 0x40b6f2
invalid
Function at 0x5da2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x131000]
push edi
or ebp, 0xffffffff
jmp 0x5da312
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5da319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5da308
mov eax, 1
add ebx, ebx
jne 0x5da32b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5da320
jne 0x5da33c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5da320
xor ecx, ecx
sub eax, 3
jb 0x5da350
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5da3c2
mov ebp, eax
add ebx, ebx
jne 0x5da35b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5da368
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5da38c
inc ecx
add ebx, ebx
jne 0x5da378
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5da36d
jne 0x5da389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5da36d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5da3ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5da39d
jmp 0x5da30e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5da3ac
add edi, ecx
jmp 0x5da30e
pop esi
mov edi, esi
mov ecx, 0x8d1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5da3ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5da3cf
lea edi, [esi + 0x1d8000]
mov eax, dword [edi]
or eax, eax
je 0x5da440
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1da5d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1da60c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5da3f5
mov ecx, edi
jns 0x5da424
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1da614]
or eax, eax
je 0x5da43a
mov dword [ebx], eax
add ebx, 4
jmp 0x5da412
call dword [esi + 0x1da610]
mov ebp, dword [esi + 0x1da618]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5da474
sub esp, 0xffffff80
jmp 0x4010e0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4060ee
Capabilities:
Create thread

Disassembly:
push 0x674
mov eax, 0x4886e1
call fcn.0046e6b1
mov edi, ecx
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x680], edi
call fcn.0042d451
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0xf58], ebx
mov dword [edi + 0xf5c], ebx
mov dword [edi + 0xf60], ebx
mov dword [edi + 0xf64], ebx
mov dword [edi + 0xf68], ebx
mov dword [edi + 0xf6c], ebx
mov dword [edi + 0xf70], ebx
lea edx, [edi + 0xf74]
mov ecx, edx
call fcn.0041100a
lea ecx, [edx + 0x34]
call fcn.0041100a
lea ecx, [edx + 0x68]
call fcn.0041100a
mov dword [edi + 0x1010], ebx
mov dword [edi + 0x1014], ebx
mov dword [edi + 0x1018], ebx
mov dword [edi + 0x101c], ebx
xor edx, edx
push 7
pop ebx
xor eax, eax
mov dword [edi + 0x1034], ebx
mov dword [edi + 0x1030], edx
mov word [edi + 0x1020], ax
lea ecx, [edi + 0x1038]
call fcn.0041100a
xor eax, eax
mov dword [edi + 0x1080], ebx
mov dword [edi + 0x107c], edx
mov word [edi + 0x106c], ax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
mov word [edi + 0x1084], dx
mov byte [edi + 0x1086], dl
call fcn.0040bfc7
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
push eax
call fcn.0040bead
mov ecx, dword [ebp + 0xc]
add edi, 0x1088
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x67c], edi
mov bl, byte [ecx + 0x6c]
mov ecx, edi
call fcn.00404e91
push esi
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 9
call fcn.00404e91
and dword [edi + 0x40], 0
xor eax, eax
push 7
pop ecx
mov dword [edi + 0x44], ecx
mov word [edi + 0x30], ax
and dword [edi + 0x58], eax
test bl, bl
mov dword [edi + 0x5c], ecx
mov word [edi + 0x48], ax
sete al
mov byte [edi + 0x60], al
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.0040513f
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.0040513f
mov edi, dword [ebp - 0x678]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x10f0], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xf70], eax
lea eax, [ebp - 0x674]
push eax
mov dword [edi + 0x10ec], ebx
mov dword [edi + 0x10f4], ebx
mov byte [edi + 0x10f8], bl
call fcn.004064df
push edi
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x674]
push eax
lea ecx, [edi + 0xf0]
call fcn.0042d6f1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x10f0]
cmp byte [eax + 0x6d], bl
je 0x4062ee
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.aaa
push 0x4c3768
call esi
push str.sID_eID_bID_1
push 0x4c4170
call esi
push ebx
push ebx
push ebx
push 0x40d4a0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2bf20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push str.Running
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x674]
call fcn.00406337
mov eax, edi
call fcn.0046e660
ret 8
Function at 0x407e9e
Capabilities:
Create process on windows

Disassembly:
push 0x410
mov eax, 0x488d89
call fcn.0046e71d
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x40c]
push eax
mov dword [ebp - 0x410], edi
call fcn.0042d64c
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov edx, 0x272d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00410ea9
mov edx, eax
lea ecx, [ebp - 0x2fc]
call fcn.00412277
lea ecx, [ebp - 0xf0]
mov bl, al
call fcn.00411302
test bl, bl
je 0x407f41
mov ecx, dword [edi + 0x101c]
test ecx, ecx
je 0x407f2e
push dword [edi + 0x10f4]
push esi
push esi
call fcn.0043af83
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
mov byte [edi + 0x1085], 1
push eax
jmp 0x407f78
push 1
push esi
push esi
lea ebx, [edi + 0x1020]
mov byte [ebp - 4], 2
push ebx
lea eax, [edi + 0x1050]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040bb42
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.0040513f
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x407f80
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004050ac
cmp byte [edi + 0x1085], 0
je 0x407fa5
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 2
push 0x111
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
jmp 0x4080eb
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040513f
lea ecx, [ebp - 0x40c]
call fcn.0040420a
call fcn.0046e66f
ret 4
Function at 0x40c17b
Capabilities:
Write file on windows

Disassembly:
push 0x8c
mov eax, 0x48992f
call fcn.0046e6b1
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, 0x272a
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00410ea9
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00404e6b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00411302
mov edi, str._nURL_
push edi
call fcn.00402bda
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040e332
push ecx
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x94]
call fcn.004110b0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040e28c
lea ecx, [ebp - 0x94]
call fcn.00411302
mov dword [ebp - 0x98], ebx
test esi, esi
je 0x40c245
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x98]
push ebx
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.0040513f
push ebx
push 1
lea ecx, [ebp + 0x20]
call fcn.0040513f
call fcn.0046e660
ret
Function at 0x40c798
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489a43
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40c94a
lea eax, [esp + 0x10]
push eax
push 0x4a005c
push 1
push ebx
push 0x4a034c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40c94a
cmp dword [esi + 0x14], 8
jb 0x40c818
mov ecx, dword [esi]
jmp 0x40c81a
mov ecx, esi
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
push esi
mov ecx, edi
call fcn.0040c976
test al, al
je 0x40c848
lea edx, [esi + 0x48]
cmp dword [edx + 0x14], 8
jb 0x40c83c
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4a039c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40c940
push str.DESKTOP
lea ecx, [esp + 0x1c]
call fcn.00404eb9
lea edx, [esp + 0x18]
mov dword [esp + 0xa0], ebx
lea ecx, [esp + 0x78]
call fcn.00432da4
push 0x4a3524
mov edx, eax
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x4c]
call fcn.00405711
pop ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0xa0], 2
push ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.0040ed62
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x34]
mov edx, eax
mov dword [esp], 0x4a3ea8
call fcn.0040ed8a
pop ecx
mov edx, eax
mov byte [esp + 0xa0], 4
cmp dword [edx + 0x14], 8
jb 0x40c8e2
mov edx, dword [edx]
mov eax, dword [esp + 0x14]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.0040513f
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.0040513f
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.0040513f
push ebx
push 1
lea ecx, [esp + 0x80]
call fcn.0040513f
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x18]
push ebx
push 1
call fcn.0040513f
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret 4