joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cb9e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x180]
sub esp, 0x2c8
push ebx
push esi
test eax, eax
je 0x41cbc7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41cc66
lea esi, [edi + 0x17c]
call fcn.0042df68
push 1
lea ebx, [ebp - 0x2c8]
call fcn.0040d3ec
xor ebx, ebx
push ebx
lea eax, [ebp - 0xc0]
push eax
push 0x2937498d
call fcn.0040cefa
push 0x44
pop edx
push edx
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.0042b138
push dword [edi + 0xc]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x409e14
lea eax, [ebp - 0x2c8]
push eax
call fcn.0042de20
test eax, eax
jne 0x41cc38
xor al, al
jmp 0x41cc68
push 0x10
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0042b0c1
push 0x3e8
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41cc66
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.0042df68
jmp 0x41cc34
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x41cd00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
push dword [ebp + 8]
mov edi, eax
call fcn.004203a2
movzx eax, ax
mov dword [ebp - 0xc], eax
test al, 1
jne 0x41ce69
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x41cd60
push 2
lea eax, [edi + 0x50]
push eax
push dword [ebp - 8]
lea eax, [edi + 0x3c]
push eax
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x88]
call fcn.00430ef2
lea eax, [ebp - 0x88]
push eax
call fcn.0042fff4
mov byte [ebp - 1], al
jmp 0x41cd64
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
je 0x41cdb9
test byte [ebp - 0xc], 0x10
jne 0x41cdb9
push dword [edi + 0xc]
call esi
movzx eax, word [ebx + 0xc]
movzx ecx, word [ebx + 8]
shl eax, 0x10
or eax, ecx
movzx ecx, word [ebx]
push eax
movzx eax, word [ebx + 4]
shl eax, 0x10
or eax, ecx
push eax
push dword [edi + 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x41cdb9
push 0x64
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41ce69
call fcn.0041cb9e
test al, al
je 0x41ce28
mov eax, dword [edi + 0x10]
push 0x10
push ebx
add eax, 0x114
push eax
call fcn.0042b0c1
push dword [edi + 0xc]
call esi
push dword [ebp + 8]
push 0xfffffffffffffffc
push dword [edi + 8]
push dword [edi + 0x188]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
je 0x41ce28
push 0x3e8
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41ce13
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x124], 1
jne 0x41ce28
mov al, byte [ebp - 1]
jmp 0x41ce6b
push 0
lea esi, [edi + 0x17c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.0042df68
mov eax, dword [ebp + 0xc]
test dword [eax + 0x24], 0x40000000
jne 0x41ce69
push ebx
add eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push 6
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x154]
call dword [sym.imp.USER32.dll_FillRect]
push 0xf
push 0xa
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x154]
call dword [sym.imp.USER32.dll_DrawEdge]
mov al, 1
pop edi
pop esi
leave
ret 8
Function at 0x41d69e
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
push esi
mov eax, 0x83
call fcn.0041d64b
mov dword [ebp - 0x10], eax
push esi
mov eax, 0x86
call fcn.0041d64b
mov dword [ebp - 0x14], eax
push esi
mov eax, 0x87
call fcn.0041d64b
mov dword [ebp - 0x18], eax
push esi
mov eax, 0x84
call fcn.0041d64b
mov dword [ebp - 0x20], eax
push esi
mov eax, 0x85
call fcn.0041d64b
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
setne byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x41d832
mov eax, dword [ebp - 0x18]
push edi
xor edi, edi
cmp eax, ebx
jne 0x41d715
mov dword [ebp - 0x1c], ebx
jmp 0x41d71d
call fcn.0042b797
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x14], ebx
je 0x41d74c
push 0x7b
lea esi, [ebp - 0x3c]
pop eax
call fcn.0040aee3
push dword [ebp - 0x14]
mov eax, esi
push eax
push 0xc
pop edx
lea edi, [ebp - 0x64]
call fcn.0042bebe
pop ecx
pop ecx
mov eax, edi
call fcn.0042b797
mov edi, eax
mov ecx, dword [ebp - 8]
call fcn.0042bc28
cmp ecx, ebx
je 0x41d7c9
cmp eax, 1
jle 0x41d7c9
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x41d76c
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x41d7c9
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x28], eax
call fcn.0042b055
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x41d7c9
mov ecx, eax
mov eax, dword [ebp - 8]
call fcn.0042b917
test al, al
je 0x41d7c1
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp eax, 1
jne 0x41d7c1
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
call fcn.0042b441
push dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x24]
call fcn.0042b085
lea esi, [ebp - 0xc8]
mov eax, 0x82
call fcn.0040aee3
lea esi, [ebp - 0x4c]
mov eax, 0x8b
call fcn.0040aee3
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp edx, ebx
mov eax, 0x40952c
cmove edx, eax
cmp ecx, ebx
cmove ecx, eax
cmp dword [ebp - 0x1c], ebx
je 0x41d802
mov eax, esi
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edx]
push eax
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0xc8]
push dword [ebp + 8]
push eax
call fcn.0042bc28
mov ebx, eax
mov eax, edx
call fcn.0042bf4c
add esp, 0x1c
push dword [ebp - 0xc]
call fcn.0042b085
pop edi
push dword [ebp - 0x10]
call fcn.00433e17
push dword [ebp - 0x14]
call fcn.00433e17
push dword [ebp - 0x18]
call fcn.00433e17
push dword [ebp - 0x20]
call fcn.00433e17
push dword [ebp - 8]
call fcn.00433e17
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 0xc
Function at 0x41e298
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push ebx
push esi
push edi
push 8
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
call fcn.0042b138
lea esi, [ebp - 0x70]
mov eax, 0x97
call fcn.0040aee3
lea esi, [ebp - 0x30]
mov eax, 0x98
call fcn.0040aee3
mov esi, 0x104
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
lea edi, [ebp - 0x278]
mov eax, reloc.WS2_32.dll_bind
call fcn.00430939
cmp eax, 0xffffffff
je 0x41e314
cmp eax, ebx
jbe 0x41e314
push esi
lea eax, [ebp - 0x480]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.0041e040
cmp dword [ebp - 4], ebx
jne 0x41e381
lea esi, [ebp - 0x48]
mov eax, 0x99
call fcn.0040aee3
mov eax, esi
mov dword [ebp - 0x18], 0x23
mov dword [ebp - 0x14], 0x1a
mov dword [ebp - 0x10], 0x26
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 0x278]
push eax
push ebx
push ebx
push dword [ebp + esi*4 - 0x18]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41e378
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push 0x41e0a0
push 2
push 1
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x278]
call fcn.004327de
inc esi
cmp esi, 3
jb 0x41e342
cmp dword [ebp - 4], ebx
jbe 0x41e397
mov edi, dword [ebp - 8]
push 0xcb
mov eax, 0x9a
call fcn.0041cf45
jmp 0x41e39f
push dword [ebp - 8]
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41e3a4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
imul eax, eax, 0x8088405
push 0x20
push 0
push dword [esp + 0xc]
inc eax
push 0
push eax
mov dword [ecx], eax
call fcn.00430081
push edx
push eax
call fcn.004300b5
ret 4
Function at 0x41e3c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x108
push ebx
push esi
push edi
call fcn.0042bc28
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp esi, 0xff
jge 0x41e4e9
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
call fcn.0042b917
test al, al
je 0x41e4e9
sub esi, 4
xor ebx, ebx
mov dword [ebp - 4], 0xcf671
test esi, esi
jle 0x41e435
push 8
lea ecx, [ebp - 4]
lea edi, [ebp + ebx - 0x108]
call fcn.0041e3a4
movsx ecx, al
mov al, byte [edi]
rol al, cl
inc ebx
mov byte [edi], al
cmp ebx, esi
jl 0x41e416
mov dword [ebp - 4], 0x3039
mov dword [ebp - 8], 0x100
push esi
lea ecx, [ebp - 4]
call fcn.0041e3a4
push esi
lea ecx, [ebp - 4]
movsx edi, al
call fcn.0041e3a4
dec dword [ebp - 8]
movsx ecx, al
lea ecx, [ebp + ecx - 0x108]
mov bl, byte [ecx]
lea eax, [ebp + edi - 0x108]
mov dl, byte [eax]
mov byte [eax], bl
mov byte [ecx], dl
jne 0x41e443
xor edi, edi
mov dword [ebp - 4], 0xa564
test esi, esi
jle 0x41e49c
push 0x100
lea ecx, [ebp - 4]
call fcn.0041e3a4
xor byte [ebp + edi - 0x108], al
inc edi
cmp edi, esi
jl 0x41e483
xor edi, edi
mov dword [ebp - 4], 0xd431
test esi, esi
jle 0x41e4c2
push 0x100
lea ecx, [ebp - 4]
call fcn.0041e3a4
sub byte [ebp + edi - 0x108], al
inc edi
cmp edi, esi
jl 0x41e4a9
xor eax, eax
test esi, esi
jle 0x41e4dc
movzx ecx, byte [ebp + eax - 0x108]
mov edx, dword [ebp + 8]
mov word [edx + eax*2], cx
inc eax
cmp eax, esi
jl 0x41e4c8
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx + esi*2], ax
mov eax, esi
jmp 0x41e4eb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41e536
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, 0x1fffe
call fcn.0042b055
mov esi, eax
xor edi, edi
mov dword [ebp - 0x10], esi
cmp esi, edi
je 0x41e6de
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffff
push esi
push edi
push edi
push edi
call ebx
cmp eax, edi
jbe 0x41e6d8
lea ecx, [eax + 1]
mov eax, esi
call fcn.0042c07b
test al, al
je 0x41e6d8
mov eax, 0xc08
call fcn.0042b055
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x41e6d8
lea eax, [edi + 0x5fa]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esi
lea esi, [ebp - 0x6c]
mov eax, 0x9c
call fcn.0040aee3
lea esi, [ebp - 0x2c]
mov eax, 0x9d
call fcn.0040aee3
lea esi, [ebp - 0x1c]
mov eax, 0x9e
call fcn.0040aee3
lea esi, [ebp - 0x54]
mov eax, 0x9f
call fcn.0040aee3
lea esi, [ebp - 0x40]
mov eax, 0xa0
call fcn.0040aee3
jmp 0x41e5f2
mov edi, dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41e6b8
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41e6b8
push dword [ebp + 8]
mov esi, 0xff
push esi
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call ebx
test eax, eax
je 0x41e6b8
push dword [ebp + 8]
add edi, 0x1fe
push esi
push edi
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
call ebx
test eax, eax
je 0x41e6b8
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push esi
lea esi, [edi + 0x1fe]
push esi
push 0
push eax
push dword [ebp - 4]
call ebx
test eax, eax
je 0x41e6b8
push esi
call fcn.0041e3c9
test eax, eax
jle 0x41e6b8
lea esi, [ebp - 0x8c]
mov eax, 0x8d
call fcn.0040aee3
push dword [ebp - 8]
lea eax, [edi + 0x1fe]
push eax
push edi
mov edi, dword [ebp - 0xc]
mov eax, esi
push eax
mov edx, 0x307
call fcn.0042bebe
add esp, 0x10
test eax, eax
jle 0x41e6b8
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.0042b479
test al, al
je 0x41e6b8
inc dword [esi + 4]
mov eax, dword [ebp - 4]
push 1
call fcn.0042c0b7
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e5ef
push dword [ebp - 8]
call fcn.0042b085
mov esi, dword [ebp - 0x10]
push esi
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41e72e
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
push ebx
push esi
push edi
push 8
push 0
lea eax, [ebp - 8]
push eax
call fcn.0042b138
lea esi, [ebp - 0xf8]
mov eax, 0xa1
call fcn.0040aee3
lea esi, [ebp - 0x68]
mov eax, 0xa2
call fcn.0040aee3
mov ebx, 0x104
push ebx
mov eax, esi
push eax
lea eax, [ebp - 0xf8]
push eax
lea edi, [ebp - 0x300]
mov eax, reloc.WS2_32.dll_accept
call fcn.00430939
cmp eax, 0xffffffff
je 0x41e7bb
test eax, eax
je 0x41e7bb
push ebx
lea eax, [ebp - 0x508]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.0041e536
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x41e8ea
lea esi, [ebp - 0x3c]
mov eax, 0xa4
call fcn.0040aee3
lea esi, [ebp - 0x94]
mov eax, 0xa5
call fcn.0040aee3
lea esi, [ebp - 0x50]
mov eax, 0xa6
call fcn.0040aee3
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x10], eax
mov eax, esi
mov dword [ebp - 0x24], 0x24
mov dword [ebp - 0x20], 0x1a
mov dword [ebp - 0x1c], 0x26
mov dword [ebp - 0x18], 0x23
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + edi*4 - 0x24]
lea eax, [ebp - 0x300]
push eax
xor eax, eax
push eax
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41e87a
cmp esi, 0x24
jne 0x41e85a
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.0041e4f2
xor eax, eax
mov word [ebp - 0x2fa], ax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 8]
push eax
push 0x41e6e5
push 2
push 3
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x300]
call fcn.004327de
inc edi
cmp edi, 4
jb 0x41e820
cmp dword [ebp - 4], 0
jne 0x41e8ee
lea esi, [ebp - 0xb0]
mov eax, 0xa1
call fcn.0040aee3
lea esi, [ebp - 0x3c]
mov eax, 0xa3
call fcn.0040aee3
push ebx
mov eax, esi
push eax
lea eax, [ebp - 0xb0]
push eax
lea edi, [ebp - 0x300]
mov eax, reloc.WS2_32.dll_accept
call fcn.00430939
cmp eax, 0xffffffff
je 0x41e8ea
test eax, eax
je 0x41e8ea
push ebx
lea eax, [ebp - 0x508]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.0041e4f2
cmp dword [ebp - 4], 0
jbe 0x41e904
mov edi, dword [ebp - 8]
push 0xcb
mov eax, 0xa7
call fcn.0041cf45
jmp 0x41e90c
push dword [ebp - 8]
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41eb7c
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
push ebx
push esi
push edi
push 8
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
call fcn.0042b138
lea esi, [ebp - 0x74]
mov eax, 0xae
call fcn.0040aee3
lea esi, [ebp - 0x28]
mov eax, 0xaf
call fcn.0040aee3
mov esi, 0x104
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
lea edi, [ebp - 0x280]
mov eax, reloc.WS2_32.dll_accept
call fcn.00430939
cmp eax, 0xffffffff
je 0x41ebf8
cmp eax, ebx
jbe 0x41ebf8
push esi
lea eax, [ebp - 0x488]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.0041e911
cmp dword [ebp - 4], ebx
jne 0x41ec65
lea esi, [ebp - 0x40]
mov eax, 0xb0
call fcn.0040aee3
mov eax, esi
mov dword [ebp - 0x18], 0x1a
mov dword [ebp - 0x14], 0x26
mov dword [ebp - 0x10], 0x23
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 0x280]
push eax
push ebx
push ebx
push dword [ebp + esi*4 - 0x18]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41ec5c
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push 0x41e94b
push 2
push 1
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x280]
call fcn.004327de
inc esi
cmp esi, 3
jb 0x41ec26
cmp dword [ebp - 4], ebx
jbe 0x41ec7b
mov edi, dword [ebp - 8]
push 0xcb
mov eax, 0xb1
call fcn.0041cf45
jmp 0x41ec83
push dword [ebp - 8]
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ef33
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
push edi
lea esi, [ebp - 0x30]
mov eax, 0xb8
call fcn.0040aee3
mov eax, esi
push 8
mov dword [ebp - 0xc], eax
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], 0x26
mov dword [ebp - 0x14], 0x1a
mov dword [ebp - 0x10], 0x23
call fcn.0042b138
xor edi, edi
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push dword [ebp + edi*4 - 0x18]
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41efab
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push 0x41ec88
push 2
push 1
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x238]
call fcn.004327de
inc edi
cmp edi, 3
jb 0x41ef75
cmp dword [ebp - 4], esi
jbe 0x41efca
mov edi, dword [ebp - 8]
push 0xcb
mov eax, 0xb9
call fcn.0041cf45
jmp 0x41efd2
push dword [ebp - 8]
call fcn.0042b085
pop edi
pop esi
leave
ret

Function at 0x41efd6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 0xff
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0042b0c1
mov cl, byte [ebp - 0xff]
xor cl, byte [ebp - 0x100]
mov dl, byte [ebp - 0xfe]
xor eax, eax
or cl, 0x50
mov byte [ebp - 2], al
cmp dl, al
je 0x41f028
push esi
lea esi, [ebp - 0xfe]
xor dl, cl
movzx edx, dl
mov word [edi + eax*2], dx
inc eax
inc esi
mov dl, byte [esi]
test dl, dl
jne 0x41f016
pop esi
xor ecx, ecx
mov word [edi + eax*2], cx
leave
ret
Function at 0x41f2bb
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov ecx, edi
call fcn.0042bc28
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp esi, 0xff
jge 0x41f36d
lea ecx, [ebp - 0x100]
mov eax, edi
call fcn.0042b917
test al, al
je 0x41f36d
xor eax, eax
test esi, esi
jle 0x41f304
xor byte [ebp + eax - 0x100], 0x5c
inc eax
cmp eax, esi
jl 0x41f2f7
mov bl, byte [ebp - 0x100]
cmp bl, 0xff
jne 0x41f31d
mov bl, byte [ebp - 0xfe]
lea eax, [ebp - 0xfd]
jmp 0x41f323
lea eax, [ebp - 0xff]
movzx ecx, byte [eax]
lea ecx, [eax + ecx + 1]
movzx eax, bl
lea edx, [eax + ecx]
lea esi, [ebp + esi - 0x100]
cmp edx, esi
ja 0x41f36d
cmp eax, dword [ebp + 8]
jl 0x41f36d
cmp byte [ebp - 0x100], 0xff
jne 0x41f34f
add ecx, dword [ebp + 8]
sub bl, byte [ebp + 8]
movzx eax, bl
xor edx, edx
test eax, eax
jle 0x41f365
movzx esi, byte [edx + ecx]
mov word [edi + edx*2], si
inc edx
cmp edx, eax
jl 0x41f358
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x41f36f
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x41f375
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
push edi
push 8
xor edi, edi
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b138
mov eax, 0xc1c
call fcn.0042b055
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41f599
add eax, 0x3fc
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x100]
mov eax, 0xc1
mov dword [ebp - 0x2c], reloc.WS2_32.dll_accept
mov dword [ebp - 0x28], reloc.WS2_32.dll_bind
call fcn.0040aee3
lea esi, [ebp - 0x54]
mov eax, 0xc2
call fcn.0040aee3
lea esi, [ebp - 0x80]
mov eax, 0xc3
call fcn.0040aee3
lea esi, [ebp - 0x40]
mov eax, 0xc4
call fcn.0040aee3
lea esi, [ebp - 0x68]
mov eax, 0xc5
call fcn.0040aee3
mov dword [ebp - 8], edi
mov ebx, 0xff
lea eax, [ebp - 4]
push eax
push 8
push edi
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f584
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x308]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41f57b
mov edi, dword [ebp - 0xc]
inc dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
call fcn.00430939
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x41f54d
test eax, eax
je 0x41f54d
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
call fcn.00430939
mov esi, eax
cmp esi, 0xffffffff
je 0x41f54d
test esi, esi
je 0x41f54d
mov edi, dword [ebp - 0x20]
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
call fcn.00430939
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x41f54d
test eax, eax
je 0x41f54d
add esi, dword [ebp - 0x24]
push esi
call fcn.0041f2bb
test eax, eax
jle 0x41f54d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 4]
call fcn.004309ef
mov edi, eax
cmp edi, 1
jb 0x41f501
cmp edi, 0xffff
jbe 0x41f504
push 0x15
pop edi
lea esi, [ebp - 0xa8]
mov eax, 0x8c
call fcn.0040aee3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
push edi
push eax
push ecx
add eax, 0x1fe
push eax
mov eax, esi
push eax
mov edx, 0x311
lea edi, [ecx + 0x1fe]
call fcn.0042bebe
add esp, 0x14
test eax, eax
jle 0x41f54d
push edi
lea ecx, [ebp - 0x1c]
call fcn.0042b479
test al, al
je 0x41f54d
inc dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41f454
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jb 0x41f406
push dword [ebp - 0xc]
call fcn.0042b085
cmp dword [ebp - 0x18], edi
jbe 0x41f5b2
mov edi, dword [ebp - 0x1c]
push 0xcb
mov eax, 0xc6
call fcn.0041cf45
jmp 0x41f5ba
push dword [ebp - 0x1c]
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f86a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push esi
push edi
lea esi, [ebp - 0x38]
mov eax, 0xcc
call fcn.0040aee3
mov eax, esi
push 8
mov dword [ebp - 0xc], eax
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], 0x26
mov dword [ebp - 0x14], 0x1a
mov dword [ebp - 0x10], 0x23
call fcn.0042b138
xor edi, edi
lea eax, [ebp - 0x240]
push eax
push esi
push esi
push dword [ebp + edi*4 - 0x18]
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41f8e2
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push 0x41f5d9
push 2
push 1
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x240]
call fcn.004327de
inc edi
cmp edi, 3
jb 0x41f8ac
cmp dword [ebp - 4], esi
jbe 0x41f901
mov edi, dword [ebp - 8]
push 0xcb
mov eax, 0xcd
call fcn.0041cf45
jmp 0x41f909
push dword [ebp - 8]
call fcn.0042b085
pop edi
pop esi
leave
ret