Function at 0x100946c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013da6d
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x350]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x35c], esi
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__::constructor_wchar_t_const__]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
xor ecx, ecx
push ecx
lea eax, [esp + 0x38]
push eax
mov edx, eax
push esi
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, edx
push ecx
mov byte [esp + 0x370], 3
call fcn.1002f400
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
mov esi, eax
jbe 0x10094797
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
lea edi, [esp + 0x1c]
mov ebx, ecx
jbe 0x100947a7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.1002f400
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
mov esi, dword [esp + 0xd0]
push edx
push 0x1014bdb4
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
add esi, 0xffffffff
cmp eax, esi
je 0x100947f5
push 0x1014bdb4
lea ecx, [esp + 0xc0]
call dword [0x101464cc]
lea eax, [esp + 0xbc]
push eax
lea esi, [esp + 0x4c]
call fcn.10003480
xor edi, edi
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10094bc6
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10094bc6
push 0x24c
lea ecx, [esp + 0xfc]
push 0
push ecx
mov dword [esp + 0x100], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0xd8]
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__::constructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x358], 4
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__::constructor_void_]
mov byte [esp + 0x358], 5
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x100948ae
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100948b8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
add esi, ebx
push esi
lea ecx, [esp + 0xdc]
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x1014cde4
lea ecx, [esp + 0xdc]
call dword [0x101464cc]
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x100948f2
lea eax, [esp + 0xdc]
lea edx, [esp + 0xf4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
mov eax, 1
je 0x10094b8a
test eax, eax
je 0x10094b8a
mov ecx, 0x1014bda8
lea eax, [esp + 0x120]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10094956
test dx, dx
je 0x10094952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10094956
add eax, 4
add ecx, 4
test dx, dx
jne 0x10094930
xor eax, eax
jmp 0x1009495b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10094b76
mov ecx, 0x1014bdac
lea eax, [esp + 0x120]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10094996
test dx, dx
je 0x10094992
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10094996
add eax, 4
add ecx, 4
test dx, dx
jne 0x10094970
xor eax, eax
jmp 0x1009499b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10094b76
lea ecx, [esp + 0xa0]
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__::clear_void_]
test byte [esp + 0xf4], 0x10
mov esi, dword [esp + 0x4c]
je 0x10094a9a
test esi, esi
je 0x100949e3
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100949ed
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
add esi, ebx
push esi
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0xa4]
call dword [0x101464cc]
push 0x1014bdb4
lea ecx, [esp + 0xa4]
call dword [0x101464cc]
lea ecx, [esp + 0xa0]
push ecx
lea esi, [esp + 0x4c]
call fcn.10003480
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xb4]
sub edx, eax
add edx, 1
push edx
add eax, 0xffffffff
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x35c], 6
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x84]
mov byte [esp + 0x358], 5
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_]
lea ecx, [esp + 0xa0]
push ecx
jmp 0x10094b55
test esi, esi
je 0x10094abb
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10094ac5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
add esi, ebx
push esi
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0xa4]
call dword [0x101464cc]
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x38]
call fcn.10003480
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xb4]
sub ecx, eax
add ecx, 1
push ecx
add eax, 0xffffffff
push eax
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x35c], 7
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x358], 5
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_]
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x20]
call fcn.10003480
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xf4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10094915
lea edx, [esp + 0xf4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10094915
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x358], 4
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_]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x358], 3
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_]
add edi, 1
add ebx, 0x1c
jmp 0x10094810
mov ebx, dword [esp + 0x38]
xor esi, esi
xor edi, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x10094c0f
mov ecx, dword [esp + 0x3c]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x10094c0f
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + eax + 0x14]
add esi, 1
add eax, 0x1c
lea edi, [edi + ecx*2 + 2]
mov dword [esp + 0x18], eax
jmp 0x10094bd6
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], edi
xor esi, esi
xor edi, edi
jmp 0x10094c20
test ebx, ebx
je 0x10094c59
mov ecx, dword [esp + 0x24]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x10094c59
mov edx, dword [ebx + edi + 0x14]
mov eax, dword [esp + 0x30]
lea ecx, [eax + edx*2 + 2]
add esi, 1
mov dword [esp + 0x30], ecx
add edi, 0x1c
jmp 0x10094c20
mov esi, dword [esp + 0x38]
test esi, esi
mov edi, dword [esp + 0x3c]
je 0x10094c83
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10094c83
add dword [esp + 0x2c], 2
test ebx, ebx
je 0x10094ca7
mov ecx, dword [esp + 0x24]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x10094ca7
add dword [esp + 0x30], 2
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
cmp eax, dword [esp + 0x2c]
jb 0x10094fb3
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
cmp edx, dword [esp + 0x30]
jb 0x10094fb3
mov ebx, dword [esp + 0x44]
push eax
push 0
push ebx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x44], ebx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
nop
test esi, esi
je 0x10094dde
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10094dde
test esi, esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + ecx + 0x14]
mov dword [esp + 0x5c], edx
je 0x10094d50
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10094d5e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
cmp dword [esi + ecx + 0x18], 8
jb 0x10094d6b
mov esi, dword [esi + ecx + 4]
jmp 0x10094d6f
lea esi, [esi + ecx + 4]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax + 2]
push ecx
push esi
push edx
call sub.MSVCR80.dll_memcpy
mov esi, dword [esp + 0x44]
add esp, 0xc
test esi, esi
je 0x10094dad
mov edi, dword [esp + 0x3c]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10094dbb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + eax + 0x14]
mov edx, dword [esp + 0x44]
add ebx, 1
lea ecx, [edx + ecx*2 + 2]
add eax, 0x1c
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
jmp 0x10094d00
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea esp, [esp]
test ecx, ecx
je 0x10094eca
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10094eca
test ecx, ecx
mov esi, dword [esp + 0x14]
mov edx, dword [ecx + esi + 0x14]
mov dword [esp + 0x5c], edx
je 0x10094e40
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10094e4a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + esi + 0x18], 8
jb 0x10094e57
mov ecx, dword [ecx + esi + 4]
jmp 0x10094e5b
lea ecx, [ecx + esi + 4]
mov eax, dword [esp + 0x5c]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push ecx
push eax
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test ecx, ecx
je 0x10094e9d
mov edi, dword [esp + 0x24]
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
mov esi, dword [esp + 0x14]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10094eab
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + esi + 0x14]
mov eax, dword [esp + 0x18]
add ebx, 1
lea edx, [eax + edx*2 + 2]
add esi, 0x1c
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
jmp 0x10094df0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov dword [edx], eax
xor eax, eax
cmp ecx, eax
mov byte [esp + 0x358], 2
je 0x10094f10
cmp ecx, edi
mov esi, ecx
je 0x10094f05
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10094ef2
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov byte [esp + 0x358], 1
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
je 0x10094f50
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x10094f47
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10094f34
mov esi, dword [esp + 0x38]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x358], 0
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 dword [esp + 0x358], 0xffffffff
mov esi, dword [esp + 0x4c]
cmp esi, edi
je 0x10094fac
mov edi, dword [esp + 0x50]
cmp esi, edi
je 0x10094fa3
mov edi, edi
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10094f90
mov esi, dword [esp + 0x4c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1009509e
test ebx, ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [edx], eax
mov byte [esp + 0x358], 2
je 0x10095004
mov esi, dword [esp + 0x24]
cmp ebx, esi
je 0x10094ff3
jmp 0x10094fe0
mov ecx, ebx
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_]
add ebx, 0x1c
cmp ebx, esi
jne 0x10094fe0
mov ebx, dword [esp + 0x20]
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x358], 1
je 0x1009503e
cmp esi, edi
je 0x10095035
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10095022
mov esi, dword [esp + 0x38]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x358], 0
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 dword [esp + 0x358], 0xffffffff
mov esi, dword [esp + 0x4c]
cmp esi, edi
je 0x1009509c
mov edi, dword [esp + 0x50]
cmp esi, edi
je 0x10095093
lea esp, [esp]
mov ecx, esi
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_]
add esi, 0x1c
cmp esi, edi
jne 0x10095080
mov esi, dword [esp + 0x4c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x350]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 0x14