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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x43b4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov dword [ebp - 0x81c], ecx
lea ecx, [ebp - 0x810]
push ecx
mov esi, 0x20019
push esi
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x40b642
push edi
lea eax, [ebp - 0x814]
push eax
push esi
push 0
push 0x432408
push dword [ebp - 0x810]
mov dword [ebp - 0x808], 0x400
call ebx
mov esi, dword [sym.imp.MSVCR100.dll_wcstok_s]
mov edi, 0x432404
test eax, eax
jne 0x40b58f
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push str.tWhiteList
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b583
mov ecx, dword [ebp - 0x808]
and dword [ebp - 0x80c], eax
mov word [ebp + ecx*2 - 0x804], ax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push edi
push eax
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x81c]
push eax
call fcn.0040b385
lea eax, [ebp - 0x80c]
push eax
push edi
push 0
call esi
add esp, 0xc
test eax, eax
jne 0x40b564
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push str.cAllowedFolderPaths
push dword [ebp - 0x810]
call ebx
test eax, eax
jne 0x40b635
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
xor ebx, ebx
push ebx
push ebx
push str.tWhiteList
push dword [ebp - 0x818]
mov dword [ebp - 0x808], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b629
mov ecx, dword [ebp - 0x808]
mov word [ebp + ecx*2 - 0x804], ax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push edi
push eax
mov dword [ebp - 0x80c], ebx
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x81c]
push eax
call fcn.0040b422
lea eax, [ebp - 0x80c]
push eax
push edi
push ebx
call esi
add esp, 0xc
cmp eax, ebx
jne 0x40b60b
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dc86
leave
ret 4
Function at 0x40b652
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x42fcde
call fcn.0042ddcb
push ecx
mov esi, ecx
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esp
call fcn.0040af7d
lea ecx, [esi + 0xc]
push ecx
xor edi, edi
mov dword [ebp - 0x21c], esp
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], esp
call fcn.0040af7d
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Acrobat11.0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040b385
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Reader11.0
mov ecx, esi
call fcn.0040b385
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Synchronizer11.0
mov ecx, esi
call fcn.0040b385
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_wcscat_s]
test eax, eax
je 0x40b71c
push str.AdobeAcrobat11.0
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040b422
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call edi
test eax, eax
je 0x40b753
push str.AdobeAcrobat11.0
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040b422
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call edi
test eax, eax
je 0x40b78a
push str.AdobeLinguisticsDictionaries
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040b422
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockDown
mov ecx, esi
call fcn.0040b4a1
push str.SOFTWAREPoliciesAdobeAcrobat_Reader11.0FeatureLockDown
mov ecx, esi
call fcn.0040b4a1
mov eax, esi
call fcn.0042de4e
ret

Function at 0x40b7ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp + 8]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x40b856
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40b851
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x10], 4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
call esi
push dword [ebp + 8]
call esi
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
setne al
pop ebx
leave
ret 0x10
Function at 0x42dc86
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b4b0]
jne 0x42dc90
repz ret
jmp fcn.0042e550

Function at 0x42f2a0
Capabilities:
Get disk information

Disassembly:
push edi
mov ecx, esi
xor edi, edi
call fcn.00429890
cmp dword [esi + 4], edi
jne 0x42f2b3
xor eax, eax
pop edi
ret
mov ecx, esi
call fcn.00429890
cmp dword [esi + 4], 1
jne 0x42f2dd
push edi
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
je 0x42f2dd
xor eax, eax
inc eax
pop edi
ret
mov ecx, esi
call fcn.00429890
cmp dword [esi + 4], 3
jne 0x42f342
push edi
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call dword [sym.imp.MSVCR100.dll_iswalpha]
pop ecx
test eax, eax
je 0x42f342
push 1
mov ecx, esi
call fcn.0042a751
cmp ax, 0x3a
jne 0x42f342
push 2
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
je 0x42f342
mov ecx, esi
call fcn.00429890
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
neg eax
pop edi
ret
mov ecx, esi
call fcn.00429890
cmp dword [esi + 4], 2
jbe 0x42f478
push 0
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
je 0x42f478
push 1
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
je 0x42f478
push 2
pop edi
push edi
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
jne 0x42f2af
mov ecx, esi
inc edi
call fcn.00429890
cmp edi, dword [esi + 4]
jae 0x42f3d1
push edi
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
je 0x42f3ac
mov ecx, esi
call fcn.00429890
cmp dword [esi + 4], edi
je 0x42f2af
mov ecx, esi
inc edi
call fcn.00429890
cmp dword [esi + 4], edi
je 0x42f2af
push edi
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
jne 0x42f2af
mov ecx, esi
inc edi
call fcn.00429890
cmp edi, dword [esi + 4]
jae 0x42f433
push edi
mov ecx, esi
call fcn.0042a751
movzx eax, ax
push eax
call fcn.0042f286
add esp, 4
test al, al
je 0x42f40e
mov ecx, esi
call fcn.00429890
lea eax, [edi + 1]
cmp dword [esi + 4], eax
ja 0x42f2af
mov ecx, esi
call fcn.00429890
cmp dword [esi + 4], edi
jne 0x42f461
movzx eax, word [0x43b4d0]
push eax
mov ecx, esi
call fcn.00429c26
mov ecx, esi
call fcn.00429890
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb edi, edi
neg edi
mov eax, edi
pop edi
ret
Function at 0x42f4cb
Capabilities:
Check if file exists

Disassembly:
push 0x49c
mov eax, 0x430575
call fcn.0042ddcb
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00429890
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x42f4f8
mov eax, 0xffffe89d
jmp 0x42f723
push ebx
push 0xffffffffffffffff
push 0x433130
lea ecx, [ebp - 0x488]
call fcn.0042a04e
push ebx
lea eax, [ebp - 0x488]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0042a7f7
cmp eax, 0xffffffff
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.004068cd
lea ecx, [ebp - 0x480]
call fcn.004068cd
test bl, bl
je 0x42f54b
mov eax, 0xffffe8c2
jmp 0x42f723
mov ecx, esi
call fcn.00429890
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x46c]
push ecx
push eax
call ebx
mov dword [ebp - 0x470], eax
cmp eax, 0xffffffff
jne 0x42f683
mov ecx, esi
call fcn.00429890
lea ecx, [ebp - 0x48c]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
mov esi, 0x105
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 0x470], eax
test eax, eax
jne 0x42f5a3
inc eax
jmp 0x42f723
cmp eax, esi
jbe 0x42f5b1
mov eax, 0xffffe8c1
jmp 0x42f723
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x488]
call fcn.00429b6a
lea esi, [ebp - 0x488]
mov dword [ebp - 4], 1
call fcn.0042f2a0
test eax, eax
je 0x42f610
xor eax, eax
mov dword [edi], 2
mov dword [edi + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
xor esi, esi
lea ecx, [ebp - 0x478]
call fcn.004068cd
lea ecx, [ebp - 0x480]
call fcn.004068cd
mov eax, esi
jmp 0x42f723
mov ecx, dword [ebp - 0x470]
lea ecx, [ebp + ecx*2 - 0x21e]
movzx eax, word [ecx]
push eax
call fcn.0042f286
add esp, 4
test al, al
jne 0x42f649
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42f642
cmp eax, 3
je 0x42f642
xor esi, esi
inc esi
jmp 0x42f5f3
mov esi, 0xffffe8c2
jmp 0x42f5f3
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call ebx
mov dword [ebp - 0x470], eax
cmp eax, 0xffffffff
je 0x42f62d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.004068cd
lea ecx, [ebp - 0x480]
call fcn.004068cd
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x46c], 0x10
push 0
pop eax
setne al
xor ebx, ebx
inc eax
mov dword [edi], eax
cmp dword [ebp - 0x450], ebx
je 0x42f6d7
push ebx
push 0xffffffffffffffff
push str.file_size_larger_than_4GB_encountered
lea ecx, [ebp - 0x4a4]
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.0042a04e
push 0x43464c
lea eax, [ebp - 0x4a8]
push eax
call sub.MSVCR100.dll__CxxThrowException
mov eax, dword [ebp - 0x44c]
mov dword [edi + 4], eax
lea esi, [edi + 0x10]
lea eax, [ebp - 0x458]
push esi
push eax
call fcn.0042f47c
pop ecx
pop ecx
cmp dword [ebp - 0x468], ebx
jne 0x42f70f
cmp dword [ebp - 0x464], ebx
jne 0x42f70f
mov eax, dword [esi]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
jmp 0x42f721
add edi, 8
lea eax, [ebp - 0x468]
push edi
push eax
call fcn.0042f47c
pop ecx
pop ecx
xor eax, eax
call fcn.0042de4e
ret
Function at 0x401260
Capabilities:
Print debug messages

Disassembly:
mov al, byte [0x409f88]
sub esp, 0xc14
test al, al
push esi
jne 0x40127d
mov al, byte [0x409f89]
test al, al
je 0x401396
mov eax, dword [esp + 0xc1c]
push ebx
push edi
lea ecx, [esp + 0x420]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0xc28]
lea eax, [esp + 0x420]
push edx
lea ecx, [esp + 0x824]
push eax
push ecx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x1a]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x14]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x1e]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x3c]
push str._02i__02i__02i__02i:_02i:_02i:_03i
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x844]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x409f88]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
test al, al
je 0x401361
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, byte [0x409f89]
test al, al
je 0x401396
push 0x409098
push str.KxAdmSvc.log
call fcn.00402a8e
mov esi, eax
add esp, 8
test esi, esi
je 0x401396
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00402a2b
push esi
call fcn.004029d5
add esp, 0xc
pop esi
add esp, 0xc14
ret

Function at 0x4014e0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
push ebp
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x401564
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
jle 0x401554
push edi
call fcn.00402aea
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401554
lea ecx, [esp + 0x14]
push ebx
push ecx
push edi
push esi
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x18]
push edx
push esi
call fcn.00402ee7
add esp, 8
test eax, eax
je 0x40154b
mov bl, 1
push esi
call fcn.00402adf
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret 8
mov al, bl
pop ebp
pop ebx
ret 8
Function at 0x401a30
Capabilities:
Copy file
Set file attributes

Disassembly:
sub esp, 0x218
push ebx
mov ebx, dword [esp + 0x224]
push ebp
push esi
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x230]
mov ebp, dword [esp + 0x228]
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
jne 0x401b82
push edi
mov edi, ebp
or ecx, 0xffffffff
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyFile_error__ld_n_____s__n_____s__n
call fcn.00401260
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
lea edx, [esp + 0x18]
mov byte [esp + ecx + 0x17], 0x5f
lea ecx, [esp + 0x11c]
push ecx
push edx
call sub.LZ32.dll_LZOpenFileA
mov esi, eax
lea eax, [esp + 0x1a0]
push 0x1001
push eax
push ebx
call sub.LZ32.dll_LZOpenFileA
mov edi, eax
push edi
push esi
call sub.LZ32.dll_LZCopy
test eax, eax
jge 0x401b69
add eax, 6
cmp eax, 5
ja case.0x401af9.4
jmp dword [eax*4 + 0x401b9c]
lea ecx, [esp + 0x14]
push ebx
push ecx
push str.LZCopy_LZERROR_BADINHANDLE_error_n_____s_____s__n
call fcn.00401260
add esp, 0xc
jmp case.0x401af9.4
lea edx, [esp + 0x14]
push ebx
push edx
push str.LZCopy_LZERROR_BADOUTHANDLE_error_n_____s_____s__n
call fcn.00401260
add esp, 0xc
jmp case.0x401af9.4
lea eax, [esp + 0x14]
push ebx
push eax
push str.LZCopy_LZERROR_GLOBALLOC_error_n_____s_____s__n
call fcn.00401260
add esp, 0xc
jmp case.0x401af9.4
lea ecx, [esp + 0x14]
push ebx
push ecx
push str.LZCopy_LZERROR_GLOBLOCK_error_n_____s_____s__n
call fcn.00401260
add esp, 0xc
jmp case.0x401af9.4
lea edx, [esp + 0x14]
push ebx
push edx
push str.LZCopy_LZERROR_READ_error_n_____s_____s__n
call fcn.00401260
add esp, 0xc
jmp case.0x401af9.4
mov dword [esp + 0x10], 1
push esi
call sub.LZ32.dll_LZClose
push edi
call sub.LZ32.dll_LZClose
mov esi, dword [esp + 0x10]
pop edi
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0xc
Function at 0x401bc0
Capabilities:
Create directory

Disassembly:
sub esp, 0x554
lea edx, [esp + 0x248]
push ebx
push esi
push edi
mov edi, dword [esp + 0x574]
test edi, edi
mov ebx, ecx
jne 0x401be2
mov edi, 0x409258
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x564]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x45c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x254]
push ecx
push edx
push str._s_s
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x45c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x401d46
mov edi, dword [esp + 0x570]
push ebp
mov ebp, dword [esp + 0x570]
mov ecx, dword [esp + 0x568]
lea eax, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x364]
push str._s_s
push edx
call esi
mov ecx, dword [esp + 0x57c]
lea eax, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x16c]
push str._s_s
push edx
call esi
mov al, byte [esp + 0x34]
add esp, 0x20
test al, 0x10
je 0x401cfc
test edi, edi
je 0x401d14
lea eax, [esp + 0x40]
push 0x40924c
push eax
call fcn.0040294e
add esp, 8
test eax, eax
je 0x401d14
lea ecx, [esp + 0x40]
push 0x409248
push ecx
call fcn.0040294e
add esp, 8
test eax, eax
je 0x401d14
lea edx, [esp + 0x154]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x578]
lea ecx, [esp + 0x154]
push eax
push edi
push ebp
lea edx, [esp + 0x368]
push ecx
push edx
mov ecx, ebx
call fcn.00401bc0
jmp 0x401d14
lea eax, [esp + 0x154]
push ebp
lea ecx, [esp + 0x360]
push eax
push ecx
mov ecx, ebx
call fcn.00401a30
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401c56
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x554
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x554
ret 0x14

Function at 0x401d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push esi
mov esi, dword [esp + 0x10]
push ecx
push 0x20019
push 0
push esi
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401dda
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push 0
push esi
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401dc6
push esi
push eax
push str.GetRegValueLong___Get_value_error____ld_for__s_n
call fcn.00401260
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [esp + 0x14]
pop ecx
ret 0x10
push esi
push eax
push str.GetRegValueLong___Open_registry_error____ld_for__s_n
call fcn.00401260
mov eax, dword [esp + 0x24]
add esp, 0xc
pop esi
pop ecx
ret 0x10
Function at 0x401e00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x114]
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x11c]
push eax
push 0x20019
push 0
push esi
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401ee4
mov esi, dword [esp + 0x120]
lea edx, [esp + 4]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401ea3
mov ecx, dword [esp + 0x124]
push esi
push eax
push str.GetRegValueString___Get_value_error____ld_for__s_n
mov byte [ecx], 0
mov dword [esp + 0x10], 0
call fcn.00401260
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [esp]
add esp, 0x110
ret 0x10
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0xc]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [esp]
add esp, 0x110
ret 0x10
push esi
push eax
push str.GetRegValueString___Open_registry_error____ld_for__s_n
mov dword [esp + 0x10], 0
call fcn.00401260
mov eax, dword [esp + 0x10]
add esp, 0xc
pop esi
add esp, 0x110
ret 0x10
Function at 0x4049b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [edi]
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13

Function at 0x404a52
Capabilities:
Contain obfuscated stackstrings

Disassembly:
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc

Function at 0x404d24
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x404d77
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x404d72
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x404d5c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x404d64
cmp edx, ebx
jne 0x404eb2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x404d33
add eax, dword [eax + 4]
jmp 0x404d20
mov dword [ebp + 0xc], ebx
jmp 0x404d82

Function at 0x404d35
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x404d77
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x404d72
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x404d5c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x404d64
cmp edx, ebx
jne 0x404eb2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x404d33
add eax, dword [eax + 4]
jmp 0x404d20
mov dword [ebp + 0xc], ebx
jmp 0x404d82
Function at 0x404df9
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x404d9a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x404db8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x404e16
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x404dfd
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x404e06
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x404e10
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x404df2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x404d7c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x404e63
dec eax
je 0x404e5a
sub eax, 3
je 0x404e51
mov dword [ebp - 4], 0x40
jmp 0x404e80
mov dword [ebp - 4], 4
jmp 0x404e66
mov dword [ebp - 4], 0x20
jmp 0x404e66
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x404eb2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x404e32
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004046c3
fmul dword [edx + 0x65]
int3
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret