joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b354
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40b444
lea edi, [ebp - 0x400]
mov esi, 0x4c0011
mov ecx, 0x100
lea eax, [ebp - 0x400]
rep movsd dword es:[edi], dword [esi]
push 0x400
push eax
push str._LOCALAPPDATA_MozillaFirefoxProfiles
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
push 0
push 0
push 1
lea edx, [ebp - 0x400]
push edx
push ebx
call fcn.0040b120
add esp, 0x14
lea ecx, [ebp - 0x400]
push 0x400
push ecx
push str._APPDATA_MozillaFirefoxProfiles
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
push 0
push 0
push 1
lea eax, [ebp - 0x400]
push eax
push ebx
call fcn.0040b120
add esp, 0x14
lea edx, [ebp - 0x400]
push 0x400
push edx
push 0x4c6962
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call fcn.004113dc
add esp, 0x14
cmp byte [ebp - 0x400], 0
je 0x40b444
push 0x400
lea ecx, [ebp - 0x400]
push ecx
call fcn.0041203c
add esp, 8
lea eax, [ebp - 0x400]
push 0x400
push 0x4c6a3c
push eax
call fcn.004119a0
add esp, 0xc
lea edx, [ebp - 0x400]
push 0
push 0
push 1
push edx
push ebx
call fcn.0040b120
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b44c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x4c6cf8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.00490d08
test ebx, ebx
jne 0x40b477
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, edx
jmp 0x40b501
mov word [ebp - 0x14], 8
xor ecx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x14], 8
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegCreateKeyA
test eax, eax
je 0x40b4bc
lea edx, [ebp - 0x28]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call fcn.00411680
add esp, 0x14
test eax, eax
jne 0x40b4e4
push ebx
call fcn.00490908
pop ecx
push eax
push ebx
push 1
push 0
push str.Start_Page
mov ecx, dword [ebp - 0x28]
push ecx
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp - 0x28]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov word [ebp - 0x14], 0
jmp 0x40b4f7
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b508
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
mov eax, 0x4c6d3c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.00490d08
test ebx, ebx
jne 0x40b536
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov eax, edx
jmp 0x40b6a4
lea edi, [ebp - 0x430]
mov esi, 0x4c0412
mov ecx, 0x100
lea eax, [ebp - 0x430]
rep movsd dword es:[edi], dword [esi]
push 0x400
push eax
push str._LOCALAPPDATA_OperaOperaoperaprefs.ini
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x430]
lea eax, [ebp - 4]
call fcn.0049c954
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004420d4
xor edx, edx
mov dl, al
lea eax, [ebp - 4]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x14]
call fcn.0049ca98
pop ecx
test cl, cl
je 0x40b64f
push 0x400
lea eax, [ebp - 0x430]
push eax
push str._APPDATA_OperaOperaoperaprefs.ini
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x20], 0x14
lea edx, [ebp - 0x430]
lea eax, [ebp - 8]
call fcn.0049c954
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004420d4
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x14]
call fcn.0049ca98
pop ecx
test cl, cl
je 0x40b64f
push 0x400
lea eax, [ebp - 0x430]
push eax
push 0x4c6962
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call fcn.004113dc
add esp, 0x14
cmp byte [ebp - 0x430], 0
je 0x40b64f
push 0x400
lea edx, [ebp - 0x430]
push edx
call fcn.0041203c
add esp, 8
lea ecx, [ebp - 0x430]
push 0x400
push 0x4c6abc
push ecx
call fcn.004119a0
add esp, 0xc
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x430]
lea eax, [ebp - 0xc]
call fcn.0049c954
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004420d4
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0049ca98
pop ecx
test cl, cl
je 0x40b69a
lea eax, [ebp - 0x430]
push eax
push ebx
push str.Home_URL
push str.User_Prefs
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b6ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40b79d
test esi, esi
je 0x40b79d
cmp dword [ebp + 0x10], 0
je 0x40b79d
cmp dword [ebp + 0x14], 0
jb 0x40b79d
push esi
mov esi, 0x4c0813
lea edi, [ebp - 0x404]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x400
push str.SoftwareUltra_Downloads
lea eax, [ebp - 0x404]
push eax
call fcn.004119e8
add esp, 0xc
lea edx, [ebp - 0x404]
push 0x400
push 0x4c6b29
push edx
call fcn.004119a0
add esp, 0xc
lea ecx, [ebp - 0x404]
push 0x400
push ebx
push ecx
call fcn.004119a0
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 0x404]
push ecx
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegCreateKeyA
test eax, eax
je 0x40b77a
lea eax, [ebp - 4]
lea edx, [ebp - 0x404]
push eax
push 0xf003f
push 0
push edx
push reloc.OLEAUT32.DLL_SysReAllocString
call fcn.00411680
add esp, 0x14
test eax, eax
jne 0x40b79d
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
push esi
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegSetValueExA
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bed4
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40c08a
cmp esi, 1
jb 0x40c08a
push esi
lea edi, [ebp - 0x800]
mov esi, 0x4c3c95
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
lea edi, [ebp - 0xc00]
push esi
mov esi, 0x4c4496
mov ecx, 0x100
lea eax, [ebp - 0x1000]
rep movsd dword es:[edi], dword [esi]
pop esi
lea edi, [ebp - 0x1000]
push esi
mov esi, 0x4c4897
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x400
push eax
push str._LOCALAPPDATA_MozillaFirefoxProfiles
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea edx, [ebp - 0xc00]
push 0x400
push edx
lea ecx, [ebp - 0x1000]
push 2
push ecx
push 0
call fcn.0040b120
add esp, 0x14
cmp byte [ebp - 0xc00], 0
jne 0x40bfa7
push 0x400
lea eax, [ebp - 0x1000]
push eax
push str._APPDATA_MozillaFirefoxProfiles
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea edx, [ebp - 0xc00]
push 0x400
push edx
lea ecx, [ebp - 0x1000]
push 2
push ecx
push 0
call fcn.0040b120
add esp, 0x14
cmp byte [ebp - 0xc00], 0
jne 0x40c028
push 0x400
lea eax, [ebp - 0x1000]
push eax
push 0x4c6962
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call fcn.004113dc
add esp, 0x14
cmp byte [ebp - 0x1000], 0
je 0x40c028
push 0x400
lea edx, [ebp - 0x1000]
push edx
call fcn.0041203c
add esp, 8
lea ecx, [ebp - 0x1000]
push 0x400
push 0x4c6a3c
push ecx
call fcn.004119a0
add esp, 0xc
lea eax, [ebp - 0xc00]
lea edx, [ebp - 0x1000]
push 0x400
push eax
push 2
push edx
push 0
call fcn.0040b120
add esp, 0x14
cmp byte [ebp - 0xc00], 0
je 0x40c08a
push esi
push 0x4c6b2f
push ebx
call fcn.004119a0
add esp, 0xc
push esi
push 0x4c6b76
push ebx
call fcn.004119a0
add esp, 0xc
push 0x800
lea ecx, [ebp - 0x800]
push ecx
lea eax, [ebp - 0xc00]
push eax
call fcn.0040c680
add esp, 0xc
lea edx, [ebp - 0x800]
push esi
push edx
push ebx
call fcn.004119a0
add esp, 0xc
push esi
push 0x4c6b31
push ebx
call fcn.004119a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c170
Capabilities:
Persist via run registry key
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x4c6df4
call fcn.00490d08
test ebx, ebx
je 0x40c199
cmp esi, 1
jae 0x40c1aa
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov eax, edx
jmp 0x40c3b8
push esi
lea edi, [ebp - 0x830]
mov esi, 0x4c589a
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
lea edi, [ebp - 0xc30]
push esi
mov esi, 0x4c609b
mov ecx, 0x100
lea eax, [ebp - 0xc30]
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x400
push eax
push str._LOCALAPPDATA_OperaOperaoperaprefs.ini
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x20], 8
lea edx, [ebp - 0xc30]
lea eax, [ebp - 4]
call fcn.0049c954
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004420d4
xor edx, edx
mov dl, al
lea eax, [ebp - 4]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x14]
call fcn.0049ca98
pop ecx
test cl, cl
je 0x40c2d9
push 0x400
lea eax, [ebp - 0xc30]
push eax
push str._APPDATA_OperaOperaoperaprefs.ini
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x20], 0x14
lea edx, [ebp - 0xc30]
lea eax, [ebp - 8]
call fcn.0049c954
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004420d4
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x14]
call fcn.0049ca98
pop ecx
test cl, cl
je 0x40c2d9
push 0x400
lea eax, [ebp - 0xc30]
push eax
push 0x4c6962
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call fcn.004113dc
add esp, 0x14
cmp byte [ebp - 0xc30], 0
je 0x40c2d9
push 0x400
lea edx, [ebp - 0xc30]
push edx
call fcn.0041203c
add esp, 8
lea ecx, [ebp - 0xc30]
push 0x400
push 0x4c6abc
push ecx
call fcn.004119a0
add esp, 0xc
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0xc30]
lea eax, [ebp - 0xc]
call fcn.0049c954
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004420d4
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0049ca98
pop ecx
test cl, cl
je 0x40c3ae
push esi
lea edi, [ebp - 0x1030]
mov esi, 0x4c649c
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0xc30]
push eax
lea edx, [ebp - 0x1030]
push 0x400
push edx
push 0x4c689d
push str.Home_URL
push str.User_Prefs
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp byte [ebp - 0x1030], 0
je 0x40c3ae
push esi
push 0x4c6b2f
push ebx
call fcn.004119a0
add esp, 0xc
push esi
push 0x4c6b93
push ebx
call fcn.004119a0
add esp, 0xc
push 0x800
lea ecx, [ebp - 0x830]
push ecx
lea eax, [ebp - 0x1030]
push eax
call fcn.0040c680
add esp, 0xc
lea edx, [ebp - 0x830]
push esi
push edx
push ebx
call fcn.004119a0
add esp, 0xc
push esi
push 0x4c6b31
push ebx
call fcn.004119a0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c724
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
test dl, dl
push ebx
push esi
mov byte [ebp - 0x14], dl
jle 0x40c738
call fcn.0049dc2c
mov ebx, ecx
mov byte [ebp - 0x35], dl
mov dword [ebp - 4], eax
lea esi, [ebp - 0x34]
mov eax, 0x4ce034
call fcn.00490d08
mov word [esi + 0x10], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043ce60
add dword [esi + 0x1c], 2
mov eax, dword [ebp - 4]
xor edx, edx
add eax, 0x30
mov dword [eax], edx
xor edx, edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x34
mov dword [eax], edx
xor edx, edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x38
mov dword [eax], edx
lea eax, [ebp - 8]
inc dword [esi + 0x1c]
mov edx, 0x4cde4f
mov word [esi + 0x10], 0x14
call fcn.0049c954
inc dword [esi + 0x1c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0049ca98
mov word [esi + 0x10], 0x20
mov edx, 0x4cde4f
lea eax, [ebp - 0xc]
call fcn.0049c954
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0049ca98
mov word [esi + 0x10], 0x2c
mov edx, 0x4cde4f
lea eax, [ebp - 0x10]
call fcn.0049c954
inc dword [esi + 0x1c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0049ca98
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x35], 0
je 0x40c83d
call fcn.0049dc39
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410f20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea ecx, [edx + edx*4]
lea ecx, [edx + ecx*2]
add ecx, 0x67452301
mov dword [eax + 8], ecx
lea ecx, [edx + edx*8]
shl ecx, 3
sub ecx, edx
add ecx, 0xefcdab89
mov dword [eax + 0xc], ecx
lea ecx, [edx + edx*8]
lea ecx, [edx + ecx*4]
add ecx, 0x98badcfe
mov dword [eax + 0x10], ecx
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 5
add edx, ecx
add edx, 0x10325476
mov dword [eax + 0x14], edx
pop ebp
ret

Function at 0x4113dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x411409
test edx, edx
je 0x411409
cmp edi, 0x4cf970
je 0x411409
test esi, esi
je 0x411409
cmp dword [ebp + 0x18], 1
jae 0x41140d
xor eax, eax
jmp 0x411454
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov byte [esi], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push edx
push eax
call fcn.00411680
add esp, 0x14
test eax, eax
jne 0x411452
lea eax, [ebp + 0x18]
push eax
push esi
push 0
push 0
push edi
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x411449
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x41145c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x41147b
test edx, edx
je 0x41147b
cmp esi, 0x4cf970
jne 0x41147f
xor eax, eax
jmp 0x4114c2
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push edx
push eax
call fcn.00411680
add esp, 0x14
test eax, eax
jne 0x4114c0
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4114b7
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41196c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x411999
test ebx, ebx
je 0x411999
cmp byte [esi], 0
je 0x411999
cmp byte [ebx], 0
je 0x411999
push ebx
call sub.KERNEL32.DLL_DeleteFileA
push ebx
push esi
call fcn.004116d8
add esp, 8
pop esi
pop ebx
pop ebp
ret
Function at 0x412b54
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x412ca3
cmp dword [ebp + 0xc], 1
jb 0x412ca3
mov byte [ebx], 0
mov dword [ebp - 8], 0x280
mov eax, dword [ebp - 8]
push eax
call fcn.004901ec
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412bb8
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x412bb8
mov eax, dword [ebp - 4]
push eax
call fcn.004901fc
pop ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004901ec
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412c87
lea ecx, [ebp - 8]
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x412c6f
mov edi, dword [ebp - 4]
test edi, edi
je 0x412c6f
xor eax, eax
lea esi, [edi + 0x194]
mov dword [ebp - 0xc], eax
jmp 0x412c5a
push esi
push edi
mov esi, 0x4d1df0
lea edi, [ebp - 0x20]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [edi + 0x190]
dec eax
cmp eax, dword [ebp - 0xc]
jne 0x412c2d
push 0x4d1e0c
xor edx, edx
mov dl, byte [esi]
push edx
push str._.2X_s
push 0x14
lea ecx, [ebp - 0x20]
push ecx
call fcn.00493644
add esp, 0x14
jmp 0x412c45
xor eax, eax
mov al, byte [esi]
push eax
push str._.2X:
push 0x14
lea edx, [ebp - 0x20]
push edx
call fcn.00493644
add esp, 0x10
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push ecx
push eax
push ebx
call fcn.00490964
add esp, 0xc
inc dword [ebp - 0xc]
inc esi
mov edx, dword [edi + 0x190]
cmp edx, dword [ebp - 0xc]
ja 0x412bef
mov edi, dword [edi]
test edi, edi
jne 0x412be2
mov ecx, dword [ebp - 4]
push ecx
call fcn.004901fc
pop ecx
jmp 0x412c87
push ebx
call fcn.00490908
pop ecx
mov byte [ebx + eax - 1], 0
push ebx
call fcn.00490908
pop ecx
test eax, eax
jbe 0x412ca3
push ebx
call fcn.00490908
pop ecx
movzx eax, byte [ebx + eax - 1]
cmp eax, 0x3b
je 0x412c7b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412cac
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x412d78
cmp edi, 1
jb 0x412d78
xor eax, eax
mov dword [ebp - 4], eax
mov byte [esi], 0
test ebx, ebx
jne 0x412d3f
push esi
push edi
mov esi, 0x4d1e14
lea edi, [ebp - 0x404]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0x400
lea eax, [ebp - 0x404]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
cmp byte [ebp - 0x404], 0
je 0x412d65
push 0x4d2216
call fcn.00490908
pop ecx
lea edx, [ebp - 4]
mov byte [ebp + eax - 0x404], 0
push 0
push 0
push 0
push 0
push edx
push 0
lea ecx, [ebp - 0x404]
push 0
push ecx
call sub.KERNEL32.DLL_GetVolumeInformationA
jmp 0x412d65
cmp byte [ebx], 0
je 0x412d78
push ebx
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x412d78
push 0
push 0
push 0
lea eax, [ebp - 4]
push 0
push eax
push 0
push 0
push ebx
call sub.KERNEL32.DLL_GetVolumeInformationA
mov edx, dword [ebp - 4]
push edx
push str._08X
push edi
push esi
call fcn.00493644
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420384
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, eax
push 0x3d78ae
push 0x2e2b5e
push 0x1eeac6
push 0xf7c76
call fcn.0042f6bc
add esp, 0x10
lea edx, [eax + 1]
push edx
push eax
call fcn.0042f6d4
add esp, 8
mov byte [0x4d6598], 1
mov eax, dword [sym.multiinstall.exe__Form1]
call fcn.0047801c
cmp byte [ebx + 0x3c49], 0
je 0x4203f9
cmp byte [ebx + 0x371c], 0
je 0x4203df
lea ecx, [ebx + 0x371c]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
cmp byte [ebx + 0x331c], 0
je 0x4203f4
lea eax, [ebx + 0x331c]
push eax
call sub.KERNEL32.DLL_DeleteFileA
call fcn.00412b40
push str.FECHAMENTO:Botao_X
push 0x4e2334
push 0x4e246f
call fcn.00428634
add esp, 0xc
mov eax, ebx
call fcn.004202d8
pop ebx
ret
Function at 0x42ccac
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
test dl, dl
push ebx
push esi
mov byte [ebp - 0x14], dl
jle 0x42ccc0
call fcn.0049dc2c
mov ebx, ecx
mov byte [ebp - 0x35], dl
mov dword [ebp - 4], eax
lea esi, [ebp - 0x34]
mov eax, 0x4ef5d4
call fcn.00490d08
mov word [esi + 0x10], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043ce60
add dword [esi + 0x1c], 2
mov eax, dword [ebp - 4]
xor edx, edx
add eax, 0x30
mov dword [eax], edx
xor edx, edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x34
mov dword [eax], edx
xor edx, edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x38
mov dword [eax], edx
lea eax, [ebp - 8]
inc dword [esi + 0x1c]
mov edx, 0x4ef4d5
mov word [esi + 0x10], 0x14
call fcn.0049c954
inc dword [esi + 0x1c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0049ca98
mov word [esi + 0x10], 0x20
mov edx, 0x4ef4d5
lea eax, [ebp - 0xc]
call fcn.0049c954
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0049ca98
mov word [esi + 0x10], 0x2c
mov edx, 0x4ef4d5
lea eax, [ebp - 0x10]
call fcn.0049c954
inc dword [esi + 0x1c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0049ca98
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x35], 0
je 0x42cdc5
call fcn.0049dc39
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d19c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043d020
dec esi
jne 0x43d1be
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43e2e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f6b3c
cmp dword [edi], 0
jne 0x43e364
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4f6b38]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f01a4
mov ecx, 2
call fcn.00452b44
mov edx, 0x43e2c0
lea eax, [esi + 5]
call fcn.0043e2e0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043e2e0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43e339
mov dword [0x4f6b38], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43fbf0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x430640]
call fcn.00454e88
xor eax, eax
push ebp
push 0x43fd34
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f01dc], 0
jne 0x43fc43
mov ecx, dword [0x4f64dc]
mov dl, 1
mov eax, dword [0x440c64]
call fcn.00445334
call fcn.00453f18
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00453060
mov eax, ebx
call fcn.00454cf8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x43fd44
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00456208
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00454d08
test eax, eax
jle 0x43fcdb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x43fcd4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004546fc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004546e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00441b40
test eax, eax
jne 0x43fcd4
mov ebx, 0x15
jmp 0x43fce0
mov ebx, 0x10
jmp 0x43fce0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4f01dc]
call fcn.0043fb48
mov eax, dword [ebp - 8]
call fcn.0043fb48
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00456220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fd3b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004544a0
lea eax, [ebp - 0x10]
mov edx, dword [0x430640]
call fcn.00454f58
ret