joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ac0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x4255fc
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x890]
xor edi, edi
push 0x62
lea eax, [esp + 0x1e]
push edi
push eax
mov word [esp + 0x24], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebp
lea esi, [esp + 0x1c]
call fcn.00408420
push 0x1fe
lea ecx, [esp + 0x82]
push edi
push ecx
mov bl, al
mov word [esp + 0x88], di
call sub.MSVCR80.dll_memset
push 0x3fe
lea edx, [esp + 0x48e]
push edi
push edx
mov word [esp + 0x494], di
call sub.MSVCR80.dll_memset
push 0x200
lea esi, [esp + 0x498]
call fcn.0040e7b0
push ebp
mov eax, esi
push 0x200
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0x28
test bl, bl
je 0x408b96
lea ecx, [esp + 0x7c]
push ecx
lea edi, [esp + 0x1c]
mov eax, ebp
call fcn.004084d0
xor edi, edi
jmp 0x408ba2
lea edx, [esp + 0x7c]
push edx
mov esi, ebp
call fcn.00408890
lea eax, [esp + 0x47c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x1fe
lea ecx, [esp + 0x282]
push edi
mov dword [esp + 0x890], edi
push ecx
mov word [esp + 0x288], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x7c]
push edx
lea ecx, [ebp + 0xf0]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x408c12
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and ax, 0xfc00
cmp ax, 0x800
jne 0x408c12
push str.chinese.dll
push 0x100
lea eax, [esp + 0x284]
push eax
jmp 0x408c24
lea ecx, [esp + 0x7c]
push ecx
push 0x100
lea edx, [esp + 0x284]
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea eax, [esp + 0x27c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov esi, dword [esp + 0x14]
call fcn.0040ecd0
test al, al
je 0x408c63
lea ecx, [esp + 0x27c]
push ecx
push 0x200
lea edx, [esp + 0x484]
push edx
jmp 0x408c75
lea eax, [esp + 0x7c]
push eax
push 0x200
lea ecx, [esp + 0x484]
push ecx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea esi, [esp + 0x47c]
call fcn.0040ecd0
test al, al
je 0x408cb8
mov edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
mov dword [ebp + 0x62c], esi
lea ecx, [esp + 0x14]
je 0x408cbc
mov byte [ebp + 0x628], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
jmp 0x408cd2
lea ecx, [esp + 0x14]
mov word [0x435a04], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x894]
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x868]
xor ecx, esp
call fcn.00422de8
add esp, 0x878
ret 8
Function at 0x409c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423cec
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x224], eax
push ebp
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
push 0
mov edi, ecx
push 0
lea ecx, [esp + 0x14]
call dword [sym.imp.BCGCBPRO1500u80.dll_public:_void___thiscall_CBCGPRegistry::constructor_int__int_]
push edi
lea eax, [esp + 0x34]
push 0x100
push eax
mov dword [esp + 0x248], 0
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov edi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x427a08
lea ecx, [esp + 0x40]
push 0x100
push ecx
call edi
push esi
lea edx, [esp + 0x4c]
push 0x100
push edx
call edi
add esp, 0x24
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_int___thiscall_CBCGPRegistry::CreateKey_wchar_t_const__]
test eax, eax
lea ecx, [esp + 0xc]
je 0x409d22
push ebp
push ebx
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_int___thiscall_CBCGPRegistry::Write_wchar_t_const___wchar_t_const__]
test eax, eax
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [esp + 0xc]
je 0x409d2d
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_void___thiscall_CBCGPRegistry::destructor_void_]
mov eax, 1
jmp 0x409d35
mov dword [esp + 0x23c], 0xffffffff
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_void___thiscall_CBCGPRegistry::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00422de8
add esp, 0x234
ret 4
Function at 0x40a750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x425448
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x640], eax
mov ecx, dword [0x429288]
mov edx, dword [0x42928c]
mov esi, dword [edi + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x429290]
mov dword [esp + 0x10], edx
mov edx, dword [0x429294]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [edi]
push str.GoodSecure
lea ebx, [esp + 0x438]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.0040a940
test eax, eax
lea ecx, [esp + 0x64c]
jne 0x40a905
push eax
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0
je 0x40a8fe
mov edx, dword [edi]
mov esi, dword [edi + 4]
push str.NotifyGoodSecure
lea ebx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.0040a940
test eax, eax
jne 0x40a849
lea ecx, [esp + 0x64c]
mov dword [esp + 0x640], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x40a918
lea ecx, [esp + 0x34]
mov eax, 0x4292d4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a878
test dx, dx
je 0x40a874
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a878
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a852
xor eax, eax
jmp 0x40a87d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a827
cmp byte [esp + 0x668], al
je 0x40a8fe
mov edx, dword [edi]
mov esi, dword [edi + 4]
push str.LastNotifyVersion
lea ebx, [esp + 0x238]
lea ecx, [esp + 0x10]
call fcn.0040a940
mov ecx, dword [esp + 0x648]
mov eax, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a8d6
test dx, dx
je 0x40a8d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a8d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a8b0
xor eax, eax
jmp 0x40a8db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov dword [esp + 0x640], 0xffffffff
lea ecx, [esp + 0x64c]
je 0x40a910
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x40a918
lea ecx, [esp + 0x64c]
mov dword [esp + 0x640], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.00422de8
add esp, 0x638
ret 0x24
Function at 0x40af70
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x38
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40affc
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push eax
call edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edx, [esp + 0x28]
push edx
push eax
call edi
mov ecx, dword [esi + 0x20]
lea eax, [esp + 8]
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
sub edx, eax
mov dword [esi + 0x198], eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi + 0x19c], ecx
mov dword [esi + 0x190], edx
jg 0x40afed
mov eax, dword [esp + 0x24]
mov dword [esi + 0x194], eax
mov al, 1
pop edi
add esp, 0x38
ret
sub eax, ecx
mov dword [esi + 0x194], eax
mov al, 1
pop edi
add esp, 0x38
ret
xor al, al
pop edi
add esp, 0x38
ret

Function at 0x40b1d0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x62c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x628], eax
push esi
push 0x206
lea eax, [esp + 0x222]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x10], edi
mov word [esp + 0x228], 0
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x436]
push 0
push ecx
mov word [esp + 0x43c], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
test esi, esi
je 0x40b341
test edi, edi
je 0x40b341
movzx eax, word [esi]
cmp ax, 0x41
jb 0x40b341
cmp ax, 0x5a
ja 0x40b341
cmp word [esi + 2], 0x3a
jne 0x40b341
cmp word [esi + 4], 0x5c
jne 0x40b341
push 0x104
lea edx, [esp + 0x428]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x104
lea eax, [esp + 0x234]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40b341
push 0x429418
lea ecx, [esp + 0x18]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov eax, esi
lea esi, [esp + 0x20]
call fcn.0040bba0
push 0x4295b8
mov edx, esi
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x104
push edx
call esi
push 0x4293f0
lea eax, [esp + 0x30]
push 0x104
push eax
call esi
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x3c]
push 0x104
push edx
call esi
lea eax, [esp + 0x44]
add esp, 0x30
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b303
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x40b341
lea ecx, [esp + 0x14]
lea eax, [esp + 4]
call fcn.00408f80
mov eax, 1
pop esi
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.00422de8
add esp, 0x62c
ret
mov ecx, dword [esp + 0x62c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00422de8
add esp, 0x62c
ret
Function at 0x40c350
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x40c3ba
cmp dword [esi + 0x80], 0
je 0x40c3c0
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x40c3c0
mov ecx, dword [esi + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x40c3c0
lea eax, [esp + 4]
push eax
push 4
push esi
push 0x40c930
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xa8], eax
je 0x40c3ba
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x40c3ba
mov ecx, dword [eax]
push edi
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
pop edi
jne 0x40c3ba
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret

Function at 0x40e9f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x423b98
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x808], eax
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0
lea eax, [esp + 0x14]
push eax
push 0x400
push 0
push edi
push esi
mov dword [esp + 0x834], 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
lea ecx, [esp + 8]
je 0x40ea67
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
jmp 0x40eaba
push esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00410240
add esp, 8
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x820], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [esp + 8]
jne 0x40ea5d
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00422de8
add esp, 0x818
ret
Function at 0x40ecd0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x404
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x400], eax
test esi, esi
je 0x40ed26
push 0
lea eax, [esp + 4]
push eax
push 0x200
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x40ed26
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
shr al, 4
not al
and al, 1
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00422de8
add esp, 0x404
ret
mov ecx, dword [esp + 0x400]
xor ecx, esp
xor al, al
call fcn.00422de8
add esp, 0x404
ret

Function at 0x40ed80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push 0x3fe
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call sub.MSVCR80.dll_memset
push 0x200
lea esi, [esp + 0x14]
call fcn.0040e7b0
push str.USBGuard.chm
mov ecx, esi
push 0x200
push ecx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0x1c
push 5
push 0
push 0
mov edx, esi
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x404]
cmp eax, 0x20
seta al
pop esi
xor ecx, esp
call fcn.00422de8
add esp, 0x404
ret

Function at 0x40ee10
Capabilities:
Get disk information

Disassembly:
sub esp, 0x18
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor eax, eax
push esi
push edi
xor edi, edi
mov ebx, ecx
mov word [esp + 0x10], di
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
xor esi, esi
test bl, 1
je 0x40ee96
cmp byte [esp + 0x30], 0
je 0x40ee8b
movzx eax, si
add eax, 0x41
push eax
push 0x42798c
lea edx, [esp + 0x18]
call fcn.00410200
add esp, 8
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x40ee81
cmp eax, 3
jne 0x40ee96
lea edx, [esi + 0x41]
mov word [ebp + edi*2], dx
jmp 0x40ee93
lea eax, [esi + 0x41]
mov word [ebp + edi*2], ax
add edi, 1
test ebx, ebx
je 0x40eea5
add esi, 1
shr ebx, 1
cmp si, 0x1a
jb 0x40ee48
mov ecx, dword [esp + 0x24]
mov word [ebp + edi*2], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422de8
add esp, 0x18
ret
Function at 0x40eed0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x90
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
xor esi, esi
push 0x3a
lea eax, [esp + 0x1e]
push esi
push eax
mov word [esp + 0x24], si
call sub.MSVCR80.dll_memset
push 0x3a
lea ecx, [esp + 0x66]
push esi
push ecx
mov word [esp + 0x6c], si
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0x18
cmp word [0x4358f0], si
mov word [esp + 4], si
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov word [esp + 0x16], ax
je 0x40efc8
push 0x4358f0
lea edx, [esp + 0x1c]
push 0x1e
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40ef53
sub eax, edx
sar eax, 1
push ebx
mov ebx, eax
cmp ebx, esi
jle 0x40efb2
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ebp, [esp + 0x60]
movzx eax, word [esp + esi*2 + 0x24]
push eax
push 0x42798c
lea edx, [esp + 0x18]
call fcn.00410200
add esp, 8
lea ecx, [esp + 0x10]
push ecx
call edi
cmp eax, 2
je 0x40ef9d
cmp eax, 3
jne 0x40efa9
mov dx, word [esp + esi*2 + 0x24]
mov word [ebp], dx
add ebp, 2
add esi, 1
cmp esi, ebx
jl 0x40ef75
pop edi
pop ebp
lea eax, [esp + 0x58]
push eax
push 0x1e
push 0x4358f0
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
pop ebx
mov ecx, dword [esp + 0x90]
pop esi
xor ecx, esp
call fcn.00422de8
add esp, 0x90
ret
Function at 0x4108c0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x1a04
call fcn.00423640
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x1a00], eax
push ebp
push esi
mov esi, edx
xor ebp, ebp
cmp esi, ebp
push edi
mov edi, ecx
jne 0x4108ff
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1a00]
xor ecx, esp
call fcn.00422de8
add esp, 0x1a04
ret
push ebx
push 0x7fe
lea eax, [esp + 0x216]
push ebp
push eax
mov word [esp + 0x21c], bp
call sub.MSVCR80.dll_memset
mov ebx, dword [sym.imp.MSVCR80.dll_wcscpy_s]
push esi
lea ecx, [esp + 0x220]
push 0x400
push ecx
call ebx
add esp, 0x18
push edi
lea edi, [esp + 0x214]
call fcn.00410dc0
test al, al
jne 0x41094c
mov al, 1
jmp 0x410a40
push 0x7fe
lea edx, [esp + 0x1216]
push ebp
push edx
mov word [esp + 0x121c], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x400
lea ecx, [esp + 0x1210]
call fcn.004107e0
test al, al
je 0x410a40
push 0x1fe
lea eax, [esp + 0x16]
push ebp
push eax
mov word [esp + 0x1c], bp
call sub.MSVCR80.dll_memset
push 0x7fe
lea ecx, [esp + 0xa22]
push ebp
push ecx
mov word [esp + 0xa28], bp
call sub.MSVCR80.dll_memset
lea edi, [esp + 0x28]
lea ecx, [esp + 0x228]
call fcn.0040e8d0
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x4298f8
mov edx, edi
push 0x100
push edx
call esi
lea eax, [esp + 0x1234]
push eax
lea ecx, [esp + 0xa38]
push 0x400
push ecx
call ebx
mov edx, edi
push edx
lea eax, [esp + 0xa44]
push 0x400
push eax
call esi
add esp, 0x3c
push 1
lea ecx, [esp + 0xa14]
push ecx
lea ecx, [esp + 0x218]
call fcn.004102e0
push 0x80
lea edx, [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
mov ecx, dword [esp + 0x1a10]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00422de8
add esp, 0x1a04
ret
Function at 0x410a60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xd0
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd4]
test eax, eax
push ebp
mov ebp, dword [esp + 0xdc]
je 0x410bf8
test ebp, ebp
je 0x410bf8
push ebx
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x410abf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x410b7e
push esi
push edi
push 0x62
lea eax, [esp + 0x1a]
push 0
push eax
mov dword [esp + 0x1c], 1
mov word [esp + 0x20], 0
call sub.MSVCR80.dll_memset
mov ecx, 8
mov esi, str.zbsharewarecrypt
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
push 0x42
lea ecx, [esp + 0xaa]
push 0
push ecx
movsw word es:[edi], word [esi]
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x90]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410b11
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x14]
push edx
add eax, eax
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
call edi
test eax, eax
je 0x410b73
lea edx, [esp + 0x78]
lea ecx, [esp + 0x14]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x410b6a
test ax, ax
je 0x410b66
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x410b6a
add ecx, 4
add edx, 4
test ax, ax
jne 0x410b44
xor eax, eax
jmp 0x410b6f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410b97
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00422de8
add esp, 0xd0
ret 8
xor ax, ax
mov dword [esp + 0x10], 2
mov word [esp + 0x14], ax
xor esi, esi
lea esp, [esp]
cmp ax, 0xd
je 0x410be6
push 0
lea edx, [esp + 0x14]
push edx
push 2
lea eax, [esp + 0x20]
push eax
push ebx
call edi
mov ax, word [esp + 0x14]
cmp ax, 0xd
mov ecx, dword [esp + 0x10]
je 0x410be2
test ecx, ecx
jbe 0x410be6
mov word [ebp + esi*2], ax
add esi, 1
test ecx, ecx
ja 0x410bb0
push ebx
mov word [ebp + esi*2], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x410b7c
mov ecx, dword [esp + 0xd0]
pop ebp
xor ecx, esp
xor al, al
call fcn.00422de8
add esp, 0xd0
ret 8
Function at 0x410c20
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1a04
call fcn.00423640
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x1a00], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
jne 0x410c5b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1a00]
xor ecx, esp
call fcn.00422de8
add esp, 0x1a04
ret
push 0x7fe
lea eax, [esp + 0x20e]
push ebx
push eax
mov word [esp + 0x214], bx
call sub.MSVCR80.dll_memset
push 0x7fe
lea ecx, [esp + 0x121a]
push ebx
push ecx
mov word [esp + 0x1220], bx
call sub.MSVCR80.dll_memset
push esi
lea edx, [esp + 0x224]
push 0x400
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0x24
lea eax, [esp + 0x1208]
push eax
lea ecx, [esp + 0x20c]
push ecx
call fcn.00410a60
test al, al
je 0x410c42
push ebx
lea edx, [esp + 0x20c]
push edx
lea ecx, [esp + 0x1210]
call fcn.004102e0
cmp eax, 1
jne 0x410cf2
pop esi
pop ebx
mov ecx, dword [esp + 0x1a00]
xor ecx, esp
call fcn.00422de8
add esp, 0x1a04
ret
push edi
push 0x1fe
lea eax, [esp + 0x12]
push ebx
push eax
mov word [esp + 0x18], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edi, [esp + 0xc]
lea ecx, [esp + 0x120c]
call fcn.0040e8d0
test al, al
pop edi
je 0x410c42
push 0x7fe
lea ecx, [esp + 0xa0e]
push ebx
push ecx
mov word [esp + 0xa14], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 0x10
lea edx, [esp + 0xa10]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x427a08
lea eax, [esp + 0xa0c]
push 0x400
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa18]
push 0x400
push edx
call esi
add esp, 0x18
push ebx
lea eax, [esp + 0x20c]
push eax
lea ecx, [esp + 0xa10]
call fcn.004102e0
mov ecx, dword [esp + 0x1a08]
sub eax, 1
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebx
xor ecx, esp
add eax, 2
call fcn.00422de8
add esp, 0x1a04
ret