Function at 0x50c9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522e21
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x154]
mov edi, ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], ebp
call fcn.004e0b30
xor ebx, ebx
mov dword [esp + 0x148], ebx
cmp dword [esp + 0x38], ebx
jne 0x50ca72
mov dword [esp + 0x148], 0xffffffff
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x50d662
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50d662
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50d662
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x50d662
push str.interval
mov eax, ebp
call fcn.0044d820
cmp eax, ebx
je 0x50caa2
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x50caa2
mov edx, eax
call fcn.0044d450
mov esi, eax
mov dword [esp + 0x30], edx
jmp 0x50caa8
xor esi, esi
mov dword [esp + 0x30], ebx
push str.min_interval
mov eax, ebp
mov dword [esp + 0x24], esi
call fcn.0044d820
cmp eax, ebx
je 0x50cade
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x50cade
mov edx, eax
call fcn.0044d450
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
jmp 0x50caea
mov dword [esp + 0x44], 0x1e
mov dword [esp + 0x48], ebx
push str.pure_bt_speed
mov eax, ebp
call fcn.0044d820
cmp eax, ebx
je 0x50cb22
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x50cb22
mov edx, eax
call fcn.0044d450
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
jmp 0x50cb34
mov dword [esp + 0x8c], 0xc8
mov dword [esp + 0x90], ebx
push str.seed_speed_policy
mov eax, ebp
call fcn.0044d820
cmp eax, ebx
je 0x50cb6c
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x50cb6c
mov edx, eax
call fcn.0044d450
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
jmp 0x50cb7a
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
cmp esi, ebx
jne 0x50cb86
mov dword [esp + 0x20], 0x708
lea ecx, [esp + 0x120]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push str.tracker_id
mov eax, ebp
mov byte [esp + 0x14c], 1
call fcn.0044d820
cmp eax, ebx
je 0x50cbee
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
jne 0x50cbee
lea esi, [esp + 0x104]
call fcn.004275e0
push eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x14c], 2
call dword [0x52e398]
mov ecx, esi
mov byte [esp + 0x148], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str.failure_reason
mov eax, ebp
call fcn.0044d820
cmp eax, ebx
je 0x50cccb
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
jne 0x50cccb
lea esi, [esp + 0x104]
call fcn.004275e0
mov byte [esp + 0x148], 3
cmp dword [eax + 0x18], 0x10
jb 0x50cc36
mov eax, dword [eax + 4]
jmp 0x50cc39
add eax, 4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x15c]
push eax
push 0xad
lea esi, [esp + 0x40]
call fcn.0042e810
push eax
mov ecx, edi
call fcn.004e0b90
lea ecx, [esp + 0x104]
mov byte [esp + 0x148], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x120]
mov byte [esp + 0x148], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x148], 0xffffffff
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x50d662
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50d662
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x50d657
push str.warning_message
mov eax, ebp
call fcn.0044d820
cmp eax, ebx
je 0x50cd23
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
jne 0x50cd23
lea esi, [esp + 0x104]
call fcn.004275e0
mov byte [esp + 0x148], 4
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
lea eax, [edi + 0x80]
push eax
call edx
mov ecx, esi
mov byte [esp + 0x148], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea eax, [edi + 0x80]
mov byte [esp + 0x148], 5
cmp dword [eax], 1
mov dword [esp + 0x80], eax
jne 0x50cea2
lea eax, [edi + 0x84]
lea esi, [esp + 0x104]
call fcn.004014e0
push str.files
mov eax, ebp
mov byte [esp + 0x14c], 6
call fcn.0044d820
cmp eax, ebx
je 0x50cd88
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x20000000
je 0x50ce03
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x530358
push 0xffffffffffffffff
push 0xae
lea esi, [esp + 0x40]
call fcn.0042e810
push eax
mov ecx, edi
call fcn.004e0b90
lea ecx, [esp + 0x104]
mov byte [esp + 0x148], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ebx, [esp + 0x4c]
mov byte [esp + 0x148], 1
call fcn.0050d800
lea ecx, [esp + 0x120]
mov byte [esp + 0x148], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x38]
mov dword [esp + 0x148], 0xffffffff
call fcn.004e0b50
jmp 0x50d662
cmp dword [esp + 0x11c], 0x10
mov ecx, dword [esp + 0x108]
jae 0x50ce1b
lea ecx, [esp + 0x108]
push eax
mov eax, ecx
call fcn.0044d7c0
mov esi, eax
cmp esi, ebx
jne 0x50ce44
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x530358
push 0xffffffffffffffff
push 0xaf
jmp 0x50cd9e
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
mov eax, str.complete
call fcn.0044d780
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edi, eax
push esi
mov eax, str.incomplete
call fcn.0044d780
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ebp, eax
push esi
mov eax, str.downloaded
call fcn.0044d780
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ebx, eax
push esi
mov eax, str.downloaders
call fcn.0044d780
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x84]
push ebx
push ebp
push edi
push eax
call edx
jmp 0x50cdaf
push str.peers
mov eax, ebp
call fcn.0044d820
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x7c], ecx
je 0x50d0ca
mov eax, dword [ecx + 0x10]
shr eax, 0x1d
cmp eax, 3
jne 0x50d01b
mov ebp, dword [ecx + 0xc]
mov eax, dword [ecx]
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x1c], eax
jle 0x50d0ce
mov dword [esp + 0x18], ebp
mov bl, 7
cmp dword [esp + 0x18], 6
jl 0x50d0ce
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov byte [esp + 0x148], bl
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x24], eax
call fcn.005147f0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x98]
call fcn.004f6810
lea ecx, [esp + 0x24]
lea edx, [esp + 0x104]
call fcn.00438fe0
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x14c], 8
call dword [0x52e398]
lea ecx, [esp + 0x104]
mov byte [esp + 0x148], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [eax + 2]
jmp 0x50cfb0
xor edx, edx
mov dh, al
add esi, 1
sub ecx, 1
mov dl, byte [esi - 1]
movzx eax, dx
jne 0x50cfb0
mov ecx, dword [esp + 0x24]
neg ecx
movzx eax, ax
sbb ecx, ecx
test ecx, fcn.004b2590
mov dword [esp + 0x1c], esi
mov dword [esp + 0xd0], eax
jne 0x50cff1
lea edx, [esp + 0xb4]
push edx
lea esi, [esp + 0x50]
call fcn.0050d6b0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x148], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub dword [esp + 0x18], 6
add edi, 6
cmp edi, ebp
jl 0x50cee4
jmp 0x50d0ce
cmp eax, 2
jne 0x50d0ca
mov eax, dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
jle 0x50d0ce
mov ebx, dword [esp + 0x40]
xor ebp, ebp
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x148], 9
mov eax, dword [eax]
add eax, ebp
push eax
lea edi, [esp + 0xb8]
call fcn.0050c7d0
test al, al
mov ecx, edi
je 0x50cdb6
push ecx
lea esi, [esp + 0x50]
call fcn.0050d6b0
mov ecx, edi
mov byte [esp + 0x148], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x18]
add eax, 1
add ebp, 0x14
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x50d03d
jmp 0x50d0ce
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x5c]
push str.peers6
call fcn.0044d820
xor ebp, ebp
cmp eax, ebp
je 0x50d24d
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
jne 0x50d24d
mov ecx, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
cmp eax, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x74], eax
jle 0x50d251
mov edx, eax
mov dword [esp + 0x1c], edx
mov bl, 0xa
cmp dword [esp + 0x1c], 0x12
jl 0x50d251
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov byte [esp + 0x148], bl
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x2c], eax
call fcn.005147f0
lea esi, [esp + 0x18]
lea edi, [esp + 0x98]
mov dword [esp + 0x30], eax
call fcn.00473c70
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x104]
call fcn.00438fe0
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x14c], 0xb
call dword [0x52e398]
lea ecx, [esp + 0x104]
mov byte [esp + 0x148], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x18]
xor eax, eax
lea ecx, [eax + 2]
xor edx, edx
mov dh, al
add esi, 1
sub ecx, 1
mov dl, byte [esi - 1]
movzx eax, dx
jne 0x50d1e3
mov ecx, dword [esp + 0x2c]
neg ecx
movzx eax, ax
sbb ecx, ecx
test ecx, fcn.004b2590
mov dword [esp + 0x18], esi
mov dword [esp + 0xd0], eax
jne 0x50d224
lea edx, [esp + 0xb4]
push edx
lea esi, [esp + 0x50]
call fcn.0050d6b0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x148], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub dword [esp + 0x1c], 0x12
add ebp, 0x12
cmp ebp, dword [esp + 0x74]
jl 0x50d11c
jmp 0x50d251
mov dword [esp + 0x24], ebp
xor ebp, ebp
cmp dword [esp + 0x7c], ebp
jne 0x50d298
cmp dword [esp + 0x24], ebp
jne 0x50d298
mov edi, dword [esp + 0x40]
cmp dword [edi + 0xdc], 3
je 0x50d298
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push 0x530358
push 0xffffffffffffffff
push 0xb0
lea esi, [esp + 0x40]
call fcn.0042e810
push eax
mov ecx, edi
call fcn.004e0b90
jmp 0x50cdc4
mov edi, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
push str.external_ip
mov eax, edi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], ebp
mov dword [esp + 0x104], ebp
call fcn.0044d820
cmp eax, ebp
je 0x50d3bd
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
jne 0x50d3bd
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, 4
mov dword [esp + 0x24], ecx
jne 0x50d35d
lea eax, [esp + 0x24]
lea esi, [esp + 0x98]
call fcn.004f6810
mov edx, dword [eax]
mov dword [esp + 0xe8], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xec], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xf0], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xf4], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0xf8], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xfc], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x100], edx
jmp 0x50d3bd
cmp eax, 0x10
jne 0x50d3bd
lea esi, [esp + 0x24]
lea edi, [esp + 0x98]
call fcn.00473c70
mov ecx, dword [eax]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xe8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xec], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xf0], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xf4], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xf8], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0xfc], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x100], eax
xor ebp, ebp
push str.complete
mov eax, edi
call fcn.0044d820
or ebx, 0xffffffff
cmp eax, ebp
je 0x50d3f2
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x50d3f2
mov edx, eax
call fcn.0044d450
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
jmp 0x50d3fa
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push str.incomplete
mov eax, edi
call fcn.0044d820
cmp eax, ebp
je 0x50d42c
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x50d42c
mov edx, eax
call fcn.0044d450
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
jmp 0x50d434
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.004eef20
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x40]
mov byte [esp + 0x148], 0xc
cmp dword [eax + 0x18c], ebp
je 0x50d525
xor ebp, ebp
mov dword [esp + 0x2c], ebp
call fcn.005147f0
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x18c]
lea ecx, [eax + 0x38]
lea eax, [esp + 0x2c]
lea esi, [esp + 0x98]
call fcn.004d1ad0
push eax
lea esi, [esp + 0x108]
call fcn.00439710
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ecx
push eax
call fcn.0050dc00
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.004af980
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ebx, dword [ebx + 0x18c]
mov eax, dword [ebx + 0x358]
mov edi, dword [eax]
mov dword [esp + 0x24], eax
cmp edi, eax
je 0x50d529
cmp edi, dword [ebx + 0x358]
jne 0x50d4d9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea edx, [edi + 8]
push edx
lea esi, [esp + 0x108]
call fcn.00439710
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
push ecx
push eax
call fcn.0050dc00
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.004af980
mov dword [ebp], esi
mov edx, dword [esi + 4]
mov dword [edx], esi
cmp edi, dword [ebx + 0x358]
jne 0x50d51b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
mov eax, dword [esp + 0x24]
xor ebp, ebp
jmp 0x50d4c7
xor ebp, ebp
jmp 0x50d52c
or ebx, 0xffffffff
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x90]
push edx
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
lea edx, [esp + 0x128]
push edx
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xf4]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x68]
add edx, 0x198
push edx
mov edx, dword [esp + 0xac]
push edx
call eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
mov dword [esp + 0x70], ebp
je 0x50d5c5
lea esp, [esp]
mov esi, dword [eax]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x70]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x50d5b0
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov byte [esp + 0x14c], 1
mov esi, dword [esp + 0x54]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x6c], ebp
je 0x50d60c
mov edi, dword [esp + 0x54]
cmp esi, edi
je 0x50d603
lea ebx, [ebx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x34
cmp esi, edi
jne 0x50d5f0
mov esi, dword [esp + 0x50]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x120]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x148], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x148], ebx
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x50d662
lea ecx, [esi + 4]
mov edx, ebx
lock xadd dword [ecx], edx
jne 0x50d662
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], ebx
jne 0x50d662
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00515015
add esp, 0x138
ret 8