joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d80f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x44fa4f
call fcn.0044d07c
push ecx
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43d85d
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0043d3fa
add esp, 0x10
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x43d859
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
jmp 0x43d879
mov ecx, dword [ebp + 0xc]
call fcn.0042b334
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x43d877
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4431a8
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x44fcf8
call fcn.0044d07c
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov byte [ebp - 0xd], bl
cmp esi, ebx
je 0x4431d9
push esi
call fcn.0042e78c
pop ecx
cmp al, 2
jb 0x4431d9
or dword [ebp + 0x10], 0x20000
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
cmp dword [ebp + 0x18], ebx
je 0x443242
and dword [ebp - 0x2c], 0xfffffffe
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x18]
call fcn.0044311f
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [ebp + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405d69
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
cmp esi, ebx
je 0x443294
cmp byte [ebp - 0xd], bl
jne 0x443294
push esi
lea ecx, [ebp + 0x10]
call fcn.00404b9e
mov byte [ebp - 4], 1
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov byte [ebp - 4], bl
push dword [ebp + 0x10]
call fcn.0043c28e
mov dword [ebp + 0x10], ebx
cmp esi, ebx
je 0x4432c9
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.0044311f
test eax, eax
je 0x443226
push 0xffffffffffffffe0
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_GetClassLongW]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x38]
push eax
push fcn.0044311f
call dword [sym.imp.USER32.dll_EnumWindows]
xor esi, esi
cmp dword [ebp - 0x20], ebx
jle 0x4432d9
cmp dword [ebp - 0x34], ebx
je 0x4432d0
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x30]
lea eax, [eax + esi*4]
push dword [eax]
call dword [ebp - 0x34]
test eax, eax
je 0x4432d0
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x4432aa
jmp 0x4432d9
xor esi, esi
jmp 0x443226
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x38]
jmp 0x443226
Function at 0x444f21
Capabilities:
Get common file path

Disassembly:
mov eax, 0x44fdf0
call fcn.0044d07c
sub esp, 0x10
cmp byte [0x462186], 0
jne 0x444f3e
xor al, al
jmp 0x444fd1
push ebx
xor ebx, ebx
inc ebx
push esi
mov esi, 0x464108
test byte [0x464104], bl
jne 0x444f6c
or dword [0x464104], ebx
and dword [ebp - 4], 0
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [0x464100], eax
or dword [ebp - 4], 0xffffffff
push ebx
push dword [0x464100]
push esi
mov esi, dword [ebp + 8]
push esi
call sym.qmmacro.exe_StrCompareN
add esp, 0x10
test eax, eax
jne 0x444fcd
mov eax, dword [0x464100]
cmp byte [eax + esi], 0x5c
jne 0x444fcd
push esi
call fcn.00430dfd
pop ecx
test al, al
jne 0x444fcd
mov eax, dword [0x464100]
add eax, esi
push eax
push str._windows__sysnative
lea ecx, [ebp - 0x1c]
call fcn.00422bbc
mov dword [ebp - 4], ebx
push dword [ebp - 0x1c]
call fcn.00430dfd
pop ecx
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042b317
mov al, bl
jmp 0x444fcf
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x446d4b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x446e29
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4570b8]
inc ecx
sub edx, 8
sub esi, 1
jne 0x446d65
pop edi
test edx, edx
je 0x446e4b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4570b8]
inc ecx
sub edx, 1
jne 0x446e30
not eax
pop esi
ret
Function at 0x447b97
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
inc ecx
movzx eax, byte [ecx]
push edi
test eax, eax
jne 0x447bb6
mov dword [esi], str._at_end_of_pattern
jmp 0x447d18
lea edx, [eax - 0x30]
cmp edx, 0x4a
ja 0x447d18
movsx edi, word [edx*2 + 0x4579e0]
test edi, edi
je 0x447bd5
mov eax, edi
jmp 0x447d18
cmp eax, 0x58
jg 0x447c8b
je 0x447c08
cmp eax, 0x30
je 0x447c60
jle 0x447cb0
cmp eax, 0x39
jle 0x447c13
cmp eax, 0x4c
je 0x447c08
cmp eax, 0x4e
je 0x447c08
cmp eax, 0x50
je 0x447c08
cmp eax, 0x55
jne 0x447cb0
mov dword [esi], str.PCRE_does_not_support_L__l__N__P__p__U__u__or_X
jmp 0x447d18
cmp dword [ebp + 0x14], 0
jne 0x447c46
push ebx
mov esi, ecx
jmp 0x447c2a
imul edx, edx, 0xa
mov ecx, eax
movzx eax, byte [ecx]
lea edx, [edx + eax - 0x30]
lea eax, [ecx + 1]
movzx ebx, byte [eax]
test byte [ebx + 0x457b68], 4
jne 0x447c1e
cmp edx, 0xa
pop ebx
jl 0x447c56
cmp edx, dword [ebp + 0xc]
jle 0x447c56
mov ecx, esi
movzx eax, byte [ecx]
cmp eax, 0x38
jl 0x447c60
dec ecx
xor eax, eax
jmp 0x447d18
push 0xffffffffffffffef
pop eax
sub eax, edx
jmp 0x447d18
sub eax, 0x30
lea esi, [ecx + 1]
mov dl, byte [esi]
inc edi
cmp dl, 0x30
jb 0x447c81
cmp dl, 0x37
ja 0x447c81
cmp edi, 2
mov ecx, esi
movzx edx, byte [ecx]
lea eax, [edx + eax*8 - 0x30]
jl 0x447c63
and eax, 0xff
jmp 0x447d18
cmp eax, 0x63
je 0x447cfa
cmp eax, 0x6c
je 0x447c08
cmp eax, 0x70
je 0x447c08
cmp eax, 0x75
je 0x447c08
cmp eax, 0x78
je 0x447cbe
test byte [ebp + 0x10], 0x40
je 0x447d18
mov dword [esi], str.unrecognized_character_follows__
jmp 0x447d18
xor eax, eax
lea edx, [ecx + 1]
movzx esi, byte [edx]
inc edi
test byte [esi + 0x457b68], 8
je 0x447d18
mov ecx, edx
movzx esi, byte [ecx]
cmp esi, 0x61
jl 0x447cdd
sub esi, 0x20
xor edx, edx
cmp esi, 0x41
setge dl
shl eax, 4
dec edx
and edx, 0xfffffff9
add edx, 0x37
sub eax, edx
add eax, esi
cmp edi, 2
jl 0x447cc0
jmp 0x447d18
inc ecx
movzx eax, byte [ecx]
test eax, eax
jne 0x447d0a
mov dword [esi], str.c_at_end_of_pattern
jmp 0x447d1d
lea edx, [eax - 0x61]
cmp edx, 0x19
ja 0x447d15
sub eax, 0x20
xor eax, 0x40
mov edx, dword [ebp + 8]
mov dword [edx], ecx
pop edi
pop esi
pop ebp
ret

Function at 0x447df4
Capabilities:
Parse credit card information

Disassembly:
push esi
push edi
movzx ecx, byte [eax]
cmp ecx, 0x44
jg 0x447e4e
cmp ecx, 0x42
jge 0x447e38
cmp ecx, 3
jl 0x447e66
cmp ecx, 4
jle 0x447e58
cmp ecx, 0xf
je 0x447e17
cmp ecx, 0x3c
jmp 0x447e56
cmp dword [esp + 0xc], 0
jle 0x447e34
movzx ecx, byte [eax + 1]
mov esi, dword [edx]
and esi, dword [esp + 0xc]
mov edi, ecx
and edi, dword [esp + 0xc]
cmp edi, esi
je 0x447e34
mov dword [edx], ecx
inc eax
inc eax
jmp 0x447df6
movzx ecx, byte [eax + 1]
movzx esi, byte [eax + 2]
shl ecx, 8
or ecx, esi
add eax, ecx
cmp byte [eax], 0x3d
je 0x447e38
jmp 0x447e58
cmp ecx, 0x48
je 0x447e58
cmp ecx, 0x4b
jne 0x447e66
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x457980]
add eax, ecx
jmp 0x447df6
pop edi
pop esi
ret
Function at 0x44db40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x44db53
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44db4f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x44db70
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x44dbaf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x44dba5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x44dbb1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x44db95
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x717d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.SHD1
lea edi, [esi - 0x21c000]
push edi
or ebp, 0xffffffff
jmp 0x717d22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x717d29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x717d18
mov eax, 1
add ebx, ebx
jne 0x717d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x717d4c
jne 0x717d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x717d6b
dec eax
add ebx, ebx
jne 0x717d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x717d30
add ebx, ebx
jne 0x717d67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x717dbd
xor ecx, ecx
sub eax, 3
jb 0x717d83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x717df2
sar eax, 1
mov ebp, eax
jmp 0x717d8e
add ebx, ebx
jne 0x717d8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x717d5c
inc ecx
add ebx, ebx
jne 0x717d9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x717d5c
add ebx, ebx
jne 0x717da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x717d9e
jne 0x717dba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x717d9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x717ddc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x717dce
jmp 0x717d1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x717ddc
add edi, ecx
jmp 0x717d1e
pop esi
mov edi, esi
mov ecx, 0xea
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x717dfa
cmp byte [edi], 6
jne 0x717dfa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x717dff
lea edi, [esi + 0x315000]
mov eax, dword [edi]
or eax, eax
je 0x717e77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31ea58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31ea94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x717e2c
mov ecx, edi
jns 0x717e5b
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 + 0x31ea98]
or eax, eax
je 0x717e71
mov dword [ebx], eax
add ebx, 4
jmp 0x717e49
call dword [esi + 0x31eaa0]
mov ebp, dword [esi + 0x31ea9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x717eab
sub esp, 0xffffff80
jmp 0x403488
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x63df2f91
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x40505106
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4060ee
Capabilities:
Create thread

Disassembly:
push 0x674
mov eax, 0x488801
call fcn.0046e7d1
mov edi, ecx
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x680], edi
call fcn.0042d5c6
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.004111cf
lea ecx, [edx + 0x34]
call fcn.004111cf
lea ecx, [edx + 0x68]
call fcn.004111cf
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.004111cf
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.0042d866
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.0046e780
ret 8
Function at 0x407e9e
Capabilities:
Create process on windows

Disassembly:
push 0x410
mov eax, 0x488ea9
call fcn.0046e83d
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.0042d7c1
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.0041106e
mov edx, eax
lea ecx, [ebp - 0x2fc]
call fcn.004123ec
lea ecx, [ebp - 0xf0]
mov bl, al
call fcn.004114c7
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.0043b0ac
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.0046e78f
ret 4
Function at 0x40c17b
Capabilities:
Write file on windows

Disassembly:
push 0x8c
mov eax, 0x489a4f
call fcn.0046e7d1
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.0041106e
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.004114c7
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.00411275
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040e28c
lea ecx, [ebp - 0x94]
call fcn.004114c7
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.0046e780
ret
Function at 0x40c798
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489b63
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.00432ecd
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], 0x4a3e90
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.0046a3dd
mov esp, ebp
pop ebp
ret 4
Function at 0x41020a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040fff2
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x41022f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x38]
mov ebx, eax
call fcn.004114c7
cmp ebx, 0xffffffff
je 0x41024f
test bl, 0x10
jne 0x41024f
xor eax, eax
inc eax
jmp 0x410251
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046a3dd
mov esp, ebp
pop ebp
ret

Function at 0x410260
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.0040fff2
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x410285
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004114c7
test esi, esi
je 0x4102af
cmp esi, 0xb7
je 0x4102af
cmp esi, 0x50
je 0x4102af
xor al, al
jmp 0x4102b1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046a3dd
mov esp, ebp
pop ebp
ret