joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e2b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496c57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [0x4bdc98]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
push 0x4c0288
add ecx, 0x10
mov dword [esp + 0xf0], eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
call fcn.00402180
push 0x4a1130
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x114], 1
call fcn.00402280
push 0x4c02a4
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x120], 2
call fcn.00402180
add esp, 0x24
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 4
call dword [sym.imp.MSVCP71.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 word [esp + 0x68], 0
mov ecx, 0x1f
lea edi, [esp + 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x42e382
lea eax, [esp + 0x50]
push eax
push 0x40
lea eax, [esp + 0x70]
push eax
push 0x4a5168
push str.Mutex1
push str.ExternalMutex
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc], 1
mov byte [esp + 0xfc], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xec]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00491e29
mov esp, ebp
pop ebp
ret 4
Function at 0x42e810
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x496c04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [0x4bdc98]
xor eax, esp
push esi
mov esi, dword [esp + 0x88]
push esi
mov dword [esp + 0x78], eax
call fcn.0042e110
test eax, eax
je 0x42e875
push 0x1ed
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.ClearOldUpdateExe_function_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
or eax, 0xffffffff
jmp 0x42e978
push 0x4a1130
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00402280
push 0x4c02dc
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x98], 0
call fcn.00402180
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x4a1130
lea edx, [esp + 8]
push esi
push edx
call fcn.00402280
push 0x4c0368
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x98], 3
call fcn.00402180
add esp, 0x18
lea ecx, [esp + 4]
mov byte [esp + 0x80], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x70]
mov eax, 8
cmp ecx, eax
mov ecx, dword [esp + 0x5c]
jae 0x42e907
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
jae 0x42e915
lea eax, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__wrename]
add esp, 8
push 0x1f6
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
mov esi, eax
call fcn.00441240
push esi
push str.Return_code_of__wrename_function_is:_d
push 2
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
neg esi
lea ecx, [esp + 0x58]
sbb esi, esi
mov byte [esp + 0x80], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x74]
pop esi
xor ecx, esp
call fcn.00491e29
add esp, 0x80
ret 4
Function at 0x432180
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x74
mov eax, dword [0x4bdc98]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
cmp dword [eax + 0x18], 0x10
push ebp
push esi
mov esi, dword [esp + 0x80]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
jb 0x4321b2
mov eax, dword [eax + 4]
jmp 0x4321b5
add eax, 4
push 0x4a515c
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4321ea
push 0x4a3558
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00491e29
add esp, 0x74
ret
push ebx
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00435e10
push 0xc800
call sub.MFC71U.DLL_SerializeElements
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
push ebp
mov esi, eax
push 0xc800
xor eax, eax
push 1
mov ecx, 0x3200
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call ebx
add esp, 0x18
test eax, eax
jle 0x43224e
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00436890
push ebp
push 0xc800
xor eax, eax
push 1
mov ecx, 0x3200
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call ebx
add esp, 0x1c
test eax, eax
jg 0x432225
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
xor edx, edx
mov dword [esp + 0x75], edx
mov dword [esp + 0x79], edx
lea eax, [esp + 0x74]
mov dword [esp + 0x7d], edx
push eax
lea ecx, [esp + 0x20]
mov word [esp + 0x85], dx
push ecx
mov byte [esp + 0x7c], 0
mov byte [esp + 0x8b], dl
call fcn.00436950
push esi
call sub.MFC71U.DLL_operator_new
mov esi, dword [esp + 0x20]
add esp, 0x10
push 0x10
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov ecx, dword [esp + 0x80]
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.00491e29
add esp, 0x74
ret
Function at 0x4322c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497283
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x14]
push edi
lea edi, [eax + 0xa]
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], ebx
call sub.MFC71U.DLL_SerializeElements
mov ecx, dword [esi + 0x18]
add esp, 4
cmp ecx, 0x10
mov ebp, eax
mov eax, dword [esi + 0x14]
jb 0x43231f
mov esi, dword [esi + 4]
jmp 0x432322
add esi, 4
push edi
push ebp
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
test esi, esi
mov edi, 1
mov dword [esp + 0x40], edi
jle 0x432358
push esi
push ebp
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_]
push ebp
call sub.MFC71U.DLL_operator_new
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x34
ret
Function at 0x4323b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4972b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x14]
push edi
lea edi, [eax*4 + 0xa]
push edi
mov dword [esp + 0x18], ebx
call sub.MFC71U.DLL_SerializeElements
mov ecx, dword [esi + 0x18]
add esp, 4
cmp ecx, 8
mov ebp, eax
mov eax, dword [esi + 0x14]
jb 0x432410
mov esi, dword [esi + 4]
jmp 0x432413
add esi, 4
push 0
push 0
push edi
push ebp
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test esi, esi
mov edi, 1
mov dword [esp + 0x40], edi
jle 0x43244d
push esi
push ebp
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push ebp
call sub.MFC71U.DLL_operator_new
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x34
ret
Function at 0x4324a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49721c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4bdc98]
xor eax, esp
push ebp
mov ebp, dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x60]
push edi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0
call fcn.004322c0
mov esi, dword [esi + 0x14]
lea esi, [esi + esi + 0xa]
push esi
mov dword [esp + 0x64], 1
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, 8
mov eax, dword [esp + 0x18]
jae 0x432510
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x28]
push 0
push 0
push esi
push edi
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x30]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test esi, esi
mov byte [esp + 0x58], 2
jle 0x432547
push esi
push edi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push edi
call sub.MFC71U.DLL_operator_new
add esp, 4
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
mov byte [esp + 0x58], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00491e29
add esp, 0x50
ret
Function at 0x4325b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497253
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x14]
push edi
lea edi, [eax + eax + 0xa]
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], ebx
call sub.MFC71U.DLL_SerializeElements
mov ecx, dword [esi + 0x18]
add esp, 4
cmp ecx, 0x10
mov ebp, eax
mov eax, dword [esi + 0x14]
jb 0x432610
mov esi, dword [esi + 4]
jmp 0x432613
add esi, 4
push edi
push ebp
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
test esi, esi
mov edi, 1
mov dword [esp + 0x40], edi
jle 0x432646
push esi
push ebp
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_]
push ebp
call sub.MFC71U.DLL_operator_new
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.004323b0
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x34
ret
Function at 0x432690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497283
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x14]
push edi
lea edi, [eax + 0xa]
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], ebx
call sub.MFC71U.DLL_SerializeElements
mov ecx, dword [esi + 0x18]
add esp, 4
cmp ecx, 0x10
mov ebp, eax
mov eax, dword [esi + 0x14]
jb 0x4326ef
mov esi, dword [esi + 4]
jmp 0x4326f2
add esi, 4
push edi
push ebp
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
test esi, esi
mov edi, 1
mov dword [esp + 0x40], edi
jle 0x432725
push esi
push ebp
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_]
push ebp
call sub.MFC71U.DLL_operator_new
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x34
ret
Function at 0x432770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4972b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x14]
push edi
lea edi, [eax*4 + 0xa]
push edi
mov dword [esp + 0x18], ebx
call sub.MFC71U.DLL_SerializeElements
mov ecx, dword [esi + 0x18]
add esp, 4
cmp ecx, 8
mov ebp, eax
mov eax, dword [esi + 0x14]
jb 0x4327d0
mov esi, dword [esi + 4]
jmp 0x4327d3
add esi, 4
push 0
push 0
push edi
push ebp
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test esi, esi
mov edi, 1
mov dword [esp + 0x40], edi
jle 0x43280a
push esi
push ebp
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push ebp
call sub.MFC71U.DLL_operator_new
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x34
ret
Function at 0x432bb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0xffffffffffffffff
push 0x497343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 0x38], eax
mov al, byte [0x4c0410]
test al, al
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [esp + 0x20], ebx
jne 0x432c11
lea eax, [esp + 0x10]
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR71.dll_srand]
add esp, 4
mov byte [0x4c0410], 1
mov esi, dword [esp + 0x58]
test esi, esi
jge 0x432c1d
xor esi, esi
jmp 0x432c2a
cmp esi, 0x80
jle 0x432c2a
mov esi, 0x80
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::reserve_unsigned_int_]
lea edx, [esp + 0x18]
push edx
call edi
test esi, esi
mov edi, dword [esp + 0x18]
jle 0x432c81
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_rand]
lea ecx, [ecx]
call ebp
add eax, edi
and eax, 0x800000ff
jns 0x432c72
dec eax
or eax, 0xffffff00
inc eax
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
dec esi
jne 0x432c60
pop ebp
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], 1
mov byte [esp + 0x4c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x44
ret