joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55f650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c55b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
xor edi, edi
push str.XS_FSQ_d
push ecx
mov dword [esp + 0x34], edi
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec3c0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x55f6de
cmp eax, edi
je 0x55f6d3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], edi
jmp 0x55f7c9
cmp eax, edi
jne 0x55f716
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xc], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x10], ebp
jmp 0x55f7c9
mov ecx, dword [ebx + 0x14]
cmp ebp, ecx
jg 0x55f734
cmp ebp, edx
jle 0x55f72c
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x10], ebp
jmp 0x55f7c9
mov eax, dword [ebx + 0x18]
cmp eax, edi
jne 0x55f75e
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x55f752
mov eax, 4
jmp 0x55f75e
cmp eax, 0x400
jle 0x55f75e
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x30], eax
jl 0x55f76c
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x10]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [edx + esi*4], eax
mov byte [ebx + 0x4080], 1
mov dword [ebx + 0x405c], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x562370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c5858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005302a0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x1c], eax
add eax, 0x1aa0
push 0x4c
mov dword [esp + 0x18], ebx
mov dword [esi], 0x5d7d44
mov dword [esi + 0x20], eax
mov dword [esi + 0x405c], ebx
mov dword [esi + 0x4060], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x562424
mov ecx, 0x5d752c
mov dword [eax], 0x5d7930
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x14], ebx
mov byte [eax + 0x18], bl
mov dword [eax + 0x48], ebx
mov dword [eax + 0x44], ebx
mov dword [esi + 0x4064], eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4064], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x564620
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c5b15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.005302a0
xor ebx, ebx
lea ecx, [edi + 0x405c]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x4070]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_1
lea esi, [edi + 0x407c]
mov byte [esp + 0x24], 2
mov ecx, esi
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x24], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x24], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x24], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x24], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x24], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x24], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x34]
mov byte [esp + 0x24], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x38]
mov byte [esp + 0x24], 0x10
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x24], 0x11
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x40]
mov byte [esp + 0x24], 0x12
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x44], 0x5d791c
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
lea ebp, [esi + 0x58]
mov byte [esp + 0x24], 0x14
mov ecx, ebp
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 4]
mov byte [esp + 0x24], 0x15
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x60]
mov byte [esp + 0x24], 0x16
mov ecx, ebp
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 4]
mov byte [esp + 0x24], 0x17
call sub.MFC42.DLL_CString::CString_1
add esi, 0x68
mov byte [esp + 0x24], 0x18
mov ecx, esi
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x24], 0x19
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x1c]
mov dword [edi], 0x5d7d6c
mov dword [edi + 0x4074], ebx
mov dword [edi + 0x4078], ebx
mov byte [edi + 0x40ec], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x57a470
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c7047
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov al, byte [0x63b90c]
mov edx, dword [0x60d638]
xor ecx, ecx
mov byte [esp + 0x18], al
mov eax, dword [0x60d634]
mov word [esp + 0x19], cx
mov byte [esp + 0x1b], cl
mov ecx, dword [0x60d630]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov edx, dword [0x60d628]
mov dword [esp + 0x20], eax
mov eax, dword [0x60d62c]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x60d624]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x28], edx
mov edx, dword [0x60d61c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x60d620]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x60d618]
mov dword [esp + 0x34], edx
mov edx, dword [0x60d610]
mov dword [esp + 0x38], eax
mov eax, dword [0x60d614]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x60d60c]
push esi
mov dword [esp + 0x58], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call edi
cdq
mov ecx, 0x64
idiv ecx
mov ebp, edx
lea edx, [esi + 5]
push edx
call edi
add esi, 8
mov ebx, eax
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
cmp ebp, 0x10
mov byte [esp + 0x54], 2
jl 0x57a58b
test ebx, ebx
jle 0x57a58b
cmp ebx, 0xc
jge 0x57a58b
test esi, esi
jle 0x57a58b
cmp esi, 0x20
jge 0x57a58b
lea eax, [esp + ebx*4 + 0x18]
lea ecx, [esp + 0x10]
push eax
push esi
push str._02d_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x57a8a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c7197
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x57f970
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c791f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov al, byte [0x63b90c]
mov edx, dword [0x60d638]
xor ecx, ecx
mov byte [esp + 4], al
mov eax, dword [0x60d634]
mov word [esp + 5], cx
mov byte [esp + 7], cl
mov ecx, dword [0x60d630]
mov dword [esp + 8], edx
mov edx, dword [0x60d628]
mov dword [esp + 0xc], eax
mov eax, dword [0x60d62c]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x60d624]
push ebx
mov dword [esp + 0x18], edx
mov edx, dword [0x60d61c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x60d620]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x60d618]
push ebp
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x2c], edx
mov edx, dword [0x60d610]
mov dword [esp + 0x30], eax
mov eax, dword [0x60d614]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x60d60c]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call edi
lea edx, [esi + 5]
mov ebp, eax
push edx
call edi
add esi, 8
mov ebx, eax
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x5c]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
mov edi, 1
cmp ebp, 0x7c6
mov dword [esp + 0x50], edi
jle 0x57fa8d
test ebx, ebx
jle 0x57fa8d
cmp ebx, 0xc
jg 0x57fa8d
test esi, esi
jle 0x57fa8d
cmp esi, 0x1f
jg 0x57fa8d
mov eax, ebp
mov ecx, 0x64
cdq
idiv ecx
lea eax, [esp + 0x5c]
push edx
lea edx, [esp + ebx*4 + 0x18]
push edx
push esi
push str._02d_s_02d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x58ef60
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x58ef80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ecx
ret

Function at 0x58f3b0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0x443
mov eax, dword [esi + 0xc]
mov dword [esi], 0x5d8388
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esi, 0x18
lea ecx, [esi + 8]
mov dword [esi], 0x5d5e7c
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.0059c028
pop esi
ret

Function at 0x58f3f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
jmp 0x58f400
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x58f430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
jmp 0x58f422
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x594db0
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5c97f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push 1
push str.SOFTWAREETermProxy
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::constructor_char___bool_
push str.software_version
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call sym.ETermProxy.exe_public:_char____thiscall_CRWReg::ReadString_char__
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 4]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x40]
lea ecx, [esp + 4]
push eax
push str.db_s
push ecx
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 8]
push edx
push eax
lea ecx, [esp + 8]
push str.db_bak_ver_s__s
push ecx
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [esp]
push 0
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x594e84
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call fcn.0059bb6c
lea ecx, [esp]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::destructor_void_
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x595fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esi + 0x210]
mov byte [esp + 0x30], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x2f0]
xor eax, eax
test ecx, ecx
mov dword [esp + 0xc], eax
jle 0x5960dd
push ebx
push ebp
push edi
mov ecx, dword [esi + 0x2ec]
xor ebp, ebp
mov ebx, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jle 0x5960c7
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + ebp*4]
lea edi, [eax + 0x40c]
mov eax, dword [eax + 0x40c]
cmp dword [eax - 8], 6
jne 0x5960b3
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x5960b3
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x5960a8
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.0041abd0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov byte [esp + 0x3c], 1
test eax, eax
lea ecx, [esp + 0x14]
je 0x596121
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x596067
push edi
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [ebx + 0x20]
inc ebp
cmp ebp, eax
jl 0x596028
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x2f0]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x596012
pop edi
pop ebp
pop ebx
mov edx, dword [esi + 0x208]
lea ecx, [esi + 0x208]
call dword [edx + 0x1c]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0059ba94
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
call sub.MFC42.DLL_CString::CString
jmp 0x5960b3
Function at 0x596570
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], esp
push 1
push eax
call fcn.004ee430
add esp, 8
push str.AutoUpdate.exe.new
lea ecx, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 4], 0
call sub.MFC42.DLL_operator_3
mov bl, 2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x5965e8
mov byte [ebp - 4], bl
jmp 0x59670c
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004ee430
add esp, 8
push str.Backup
lea ecx, [ebp - 0x20]
push eax
push ecx
mov byte [ebp - 4], 4
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x2c]
push 1
push edx
call fcn.004ee430
add esp, 8
push str.AutoUpdate.exe
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
push 1
push ecx
call fcn.004ee430
add esp, 8
push str.BackupAutoUpdate.exe
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
push eax
call sub.MFC42.DLL_CFile::Remove
push 0
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xc
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::GetBuffer
push 0
lea ecx, [ebp - 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::GetBuffer
push esi
push eax
call sub.MFC42.DLL_CFile::Rename
jmp 0x5966e1
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.0059bb6c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59a120
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [0x641030]
push edi
or ecx, 0xffffffff
mov edx, dword [eax + 0x44]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 2
jbe 0x59a162
mov cx, word [edx]
lea edx, [esp]
mov word [esp + 1], ax
push edx
mov word [esp + 4], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
jbe 0x59a162
cmp eax, 5
je 0x59a162
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret

Function at 0x59ab10
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x59ab7c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x59ac10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xc8
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ecx
ret
mov al, 1
pop esi
pop ecx
ret

Function at 0x59ab90
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebp
je 0x59abba
push 0x442
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
push eax
call edi
mov dword [esi + 4], ebp
mov ecx, dword [esi + 8]
push ecx
call edi
mov edx, dword [esi + 0xc]
mov dword [esi + 8], ebp
push edx
call edi
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], ebp
push eax
call edi
mov dword [esi + 0x10], ebp
mov eax, dword [esi + 0x40]
xor ebx, ebx
cmp eax, ebp
jle 0x59ac00
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx + ebx*4]
cmp edi, ebp
je 0x59abf8
mov ecx, edi
call fcn.0059b280
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esi + 0x40]
inc ebx
cmp ebx, eax
jl 0x59abde
pop edi
pop esi
pop ebp
pop ebx
ret