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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101222d5
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0xa0]
mov ecx, dword [eax + 0xc]
test ecx, ecx
mov dword [esp + 0x50], ebx
jne 0x100bc98f
xor eax, eax
jmp 0x100bc997
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 5
lea ecx, [ebx + 0x2e4]
push 1
mov dword [esp + 0x4c], ecx
call fcn.100b4ae0
mov eax, dword [ebx + 0xa0]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x100bc9b9
xor eax, eax
jmp 0x100bc9c1
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 5
lea ecx, [ebx + 0x2f4]
call fcn.10040ed0
mov edx, dword [ebx + 0x4ec]
mov esi, dword [ebx + 0xa0]
mov edi, dword [esi + 0x94]
mov ecx, edx
shr ecx, 0x18
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x14]
cmp edi, eax
mov dword [esp + 0x1c], eax
jl 0x100bca01
lea ecx, [esp + 0x1c]
mov ecx, dword [ecx]
sar ecx, 1
xor eax, eax
test ecx, ecx
jle 0x100bca19
jmp 0x100bca10
sar ecx, 1
add eax, 1
test ecx, ecx
jg 0x100bca10
shl eax, 0x18
xor eax, edx
and eax, 0x1f000000
xor eax, edx
mov dword [ebx + 0x4ec], eax
cmp dword [esi + 0x90], 0x7fffe
jle 0x100bcacb
push 0x10129600
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x158], 0
test byte [0x10154fc8], 1
jne 0x100bca7f
or dword [0x10154fc8], 1
push 0x101261b0
mov dword [0x10154fcc], 0x10129a10
call fcn.1010dee9
add esp, 4
mov eax, 0xd
mov ecx, 0x10154fcc
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call fcn.100cca50
lea ecx, [esp + 0x12c]
mov dword [esp + 0x158], 0xffffffff
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 0
mov ecx, ebx
call fcn.100cd310
jmp 0x100bd596
cmp dword [esi + 0x90], 0
jne 0x100bcb09
push 0x10129600
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 9
lea esi, [esp + 0x58]
mov dword [esp + 0x15c], 1
call fcn.10034120
lea edx, [esp + 0x12c]
push edx
mov eax, esi
push eax
jmp 0x100bca9e
push 0xf0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x158], 2
je 0x100bcbe0
add ebx, 0x1c
lea edi, [esp + 0x54]
call fcn.100d2250
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
je 0x100bcb56
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov edi, dword [esp + 0x50]
sub esp, 0x20
mov dword [esp + 0x178], 4
mov esi, esp
lea ecx, [edi + 0x460]
mov dword [esp + 0x30], 3
mov dword [esp + 0x3c], esp
call fcn.100459d0
mov ecx, dword [edi + 0x4c4]
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [edi + 0x2e0]
shr ecx, 0x1b
and ecx, 3
push ecx
lea edx, [eax + 0x3d0]
add eax, 0x330
push edx
push eax
lea ecx, [edi + 0x388]
mov edi, dword [edi + 0xa0]
test edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], edi
je 0x100bcbc8
mov eax, 1
lock xadd dword [edi], eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.100b05f0
mov ebx, dword [esp + 0x50]
jmp 0x100bcbe2
xor eax, eax
lea edi, [ebx + 0xa4]
mov dword [esp + 0x158], 6
call fcn.100b4730
mov dword [esp + 0x158], 5
test byte [esp + 0x10], 2
je 0x100bcc18
and dword [esp + 0x10], 0xfffffffd
lea eax, [esp + 0x64]
call fcn.10086b50
mov dword [esp + 0x158], 0xffffffff
test byte [esp + 0x10], 1
je 0x100bcc33
lea eax, [esp + 0x54]
call fcn.10086b50
mov eax, dword [ebx + 0x304]
test eax, eax
mov edi, dword [edi]
mov dword [ebx + 0xa8], edi
je 0x100bccc3
movzx ecx, byte [ebx + 0x4ef]
mov edi, dword [ebx + 0xa0]
mov eax, dword [edi + 0x94]
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov ecx, dword [edi + 0x88]
lea eax, [esi + eax - 1]
cdq
idiv esi
mov dword [esp + 0x14], eax
mov eax, esi
cdq
mov esi, eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x58], edx
cdq
push edx
push eax
mov eax, dword [edi + 0x8c]
push eax
push ecx
call fcn.1010e490
mov ecx, eax
mov eax, dword [esp + 0x58]
add ecx, esi
adc edx, eax
push eax
sub ecx, 1
push esi
sbb edx, 0
push edx
push ecx
call fcn.1010e550
mov edi, dword [edi + 0x90]
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [ebx + 0x304]
push eax
push edx
call fcn.1007a510
test byte [ebx + 0x50c], 0x80
je 0x100bccfe
mov eax, dword [esp + 0x48]
mov edi, dword [eax + 8]
cmp dword [eax + 4], edi
jbe 0x100bccde
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x48]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x100bccf0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub edi, esi
push edi
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
mov al, byte [ebx + 0x4d8]
test al, 4
jne 0x100bcda5
or al, 4
lea esi, [ebx + 0xac]
mov byte [ebx + 0x4d8], al
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jmp 0x100bcd34
mov esi, dword [esp + 0x14]
test esi, esi
mov edi, dword [ebx + 0xb0]
lea eax, [ebx + 0xac]
je 0x100bcd48
cmp esi, eax
je 0x100bcd4e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x18], edi
je 0x100bcda5
test esi, esi
jne 0x100bcd5e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 4]
jne 0x100bcd6d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 0xc]
lea esi, [esp + 0x14]
call fcn.10073f20
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test al, al
jne 0x100bcd30
push edi
call fcn.100681f0
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test al, al
jne 0x100bcd30
push edi
call fcn.10068430
jmp 0x100bcd30
mov esi, ebx
call fcn.100c4670
mov eax, dword [ebx + 0xa0]
mov edi, dword [eax + 0xb4]
cmp dword [eax + 0xb0], edi
lea esi, [eax + 0xac]
jbe 0x100bcdcc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
mov dword [esp + 0x14], edx
jbe 0x100bcde2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc0]
push edi
push esi
push edx
lea eax, [ebx + 0xbc]
push esi
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push eax
call fcn.100d7f80
test byte [ebx + 0x4c8], 4
je 0x100bcedc
sub esp, 8
add ebx, 0x1c
mov edi, esp
mov esi, fcn.100cbfe0
mov dword [esp + 0x1c], esp
call fcn.100d2250
xor eax, eax
push eax
lea edx, [esp + 0x30]
push esi
push edx
call fcn.100d5510
add esp, 0x14
mov edi, dword [esp + 0x50]
mov dword [esp + 0x158], 7
mov ecx, dword [edi + 0x2e0]
add ecx, 0x35c
push ecx
mov ecx, eax
call fcn.100d5620
or esi, 0xffffffff
lea eax, [esp + 0x24]
mov dword [esp + 0x158], esi
call fcn.100e1610
mov edx, dword [edi + 0x43c]
xor ebx, ebx
mov dword [edi + 0x43c], ebx
mov eax, dword [edi + 0x440]
mov dword [edi + 0x440], ebx
mov ecx, dword [edi + 0x444]
mov dword [esp + 0x158], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [edi + 0x444], ebx
call fcn.10007d20
lea ecx, [edi + 0x448]
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
call fcn.100b5e40
lea ecx, [esp + 0x24]
call fcn.1005db90
jmp 0x100bd596
push ebx
mov ecx, 7
call fcn.100d0c00
mov edx, dword [ebx + 0x458]
and edx, 0xe0000000
cmp edx, 0x20000000
jne 0x100bd0c8
lea esi, [ebx + 0x448]
push esi
mov eax, str.file_format
lea ecx, [esp + 0x28]
xor edi, edi
call fcn.1005d7a0
push str.libtorrent_resume_file
push eax
mov dword [esp + 0x160], 0xa
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x23], al
mov dword [esp + 0x158], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x23], 0
je 0x100bcf55
mov edi, 0x1c
push esi
mov eax, str.info_hash
lea ecx, [esp + 0x130]
call fcn.1005d7a0
test edi, edi
mov dword [esp + 0x158], 0xb
jne 0x100bcfb7
cmp dword [esp + 0x140], edi
jne 0x100bcf86
mov edi, 0x1d
jmp 0x100bcfb7
mov eax, dword [ebx + 0xa0]
lea ecx, [esp + 0x12c]
lea esi, [esp + 0x24]
lea edi, [eax + 0x140]
call fcn.1005e880
push eax
mov eax, edi
call fcn.10027100
test al, al
je 0x100bd0a3
mov edi, 0x1e
mov esi, dword [ebx + 0x2e0]
add esi, 0x368
call fcn.100d50d0
test al, al
je 0x100bd03b
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.100cc330
mov esi, eax
mov byte [esp + 0x158], 0xc
call fcn.1001cc10
push esi
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
call fcn.100b8e30
mov byte [esp + 0x158], 0xd
mov ecx, dword [ebx + 0x2e0]
push eax
add ecx, 0x368
call fcn.1000dc40
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x15c], 0xc
call fcn.100b7b00
lea eax, [esp + 0x54]
mov byte [esp + 0x158], 0xb
call fcn.100d2230
test edi, edi
je 0x100bd0a3
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea eax, [ebx + 0x438]
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 0xe
call fcn.10051d80
lea esi, [esp + 0x24]
mov byte [esp + 0x158], 0xb
call fcn.10007d20
lea ecx, [ebx + 0x448]
lea eax, [esp + 0x24]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
call fcn.100b5e40
lea ecx, [esp + 0x24]
call fcn.1005db90
jmp 0x100bd0b0
lea edx, [ebx + 0x448]
mov ecx, ebx
call fcn.100c7330
lea ecx, [esp + 0x12c]
mov dword [esp + 0x158], 0xffffffff
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 [ebx + 0xa0]
mov edi, dword [eax + 0xc]
add eax, 8
cmp edi, dword [eax + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
jbe 0x100bd0eb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 0xa0]
mov eax, dword [esi + 0x10]
add esi, 8
cmp dword [esi + 4], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], eax
jbe 0x100bd110
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, edi
cmp dword [esp + 0x10], esi
je 0x100bd11c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x64]
je 0x100bd397
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 8]
jb 0x100bd135
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test byte [edi + 0x18], 1
je 0x100bd36f
mov ecx, dword [esp + 0x10]
cmp edi, dword [ecx + 8]
jb 0x100bd14e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
and ecx, 0xffff
or eax, ecx
je 0x100bd36f
mov edx, dword [esp + 0x10]
cmp edi, dword [edx + 8]
jb 0x100bd171
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov esi, dword [ebx + 0x4f8]
shld edx, eax, 0x10
shl eax, 0x10
mov cl, 0x10
call fcn.1010eb00
mov edi, dword [esp + 0x1c]
add eax, esi
xor eax, esi
and eax, 0xffffff
xor eax, esi
mov dword [ebx + 0x4f8], eax
mov eax, dword [ebx + 0xa0]
mov ecx, edi
lea esi, [esp + 0xb4]
call fcn.100019e0
mov dword [esp + 0x158], 0xf
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx + 0xa0]
push eax
push 0
lea eax, [ecx + 8]
push 0
mov ecx, edi
lea esi, [esp + 0x30]
call fcn.1003fef0
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0x15c], 0xffffffff
call fcn.1003f580
movzx ecx, byte [ebx + 0x4ef]
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 0x28]
lea eax, [esi - 1]
and eax, ecx
je 0x100bd221
mov edx, eax
sub edx, esi
add dword [esp + 0x2c], edx
mov edx, esi
sub edx, eax
add ecx, edx
mov dword [esp + 0x28], ecx
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x94]
cdq
idiv esi
mov dword [esp + 0x48], eax
mov eax, ecx
cdq
idiv esi
mov ecx, dword [esp + 0x24]
and ecx, 0x7ffff
movzx edi, ax
shl edi, 0x13
or edi, ecx
cmp dword [esp + 0x2c], esi
jl 0x100bd2a0
mov edx, edi
shr edx, 0x13
cmp edx, dword [esp + 0x48]
jne 0x100bd26e
and edi, 0x7ffff
lea eax, [edi + 1]
xor eax, edi
and eax, 0x7ffff
xor edi, eax
mov eax, dword [ebx + 0x304]
push 0
push edi
call fcn.1007e580
mov eax, dword [esp + 0x2c]
mov ecx, edi
and ecx, 0xfff80000
add ecx, 0x80000
and edi, 0x7ffff
sub eax, esi
xor edi, ecx
cmp eax, esi
mov dword [esp + 0x2c], eax
jge 0x100bd251
mov edx, edi
shr edx, 0x13
cmp edx, dword [esp + 0x48]
jne 0x100bd2bd
and edi, 0x7ffff
lea eax, [edi + 1]
xor eax, edi
and eax, 0x7ffff
xor edi, eax
cmp dword [esp + 0x2c], 0
jle 0x100bd36f
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 8]
mov dword [esp + 0x4c], esi
jb 0x100bd2e3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
lea ecx, [esi + 0x20]
mov dword [esp + 0x48], ecx
je 0x100bd2fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x64]
je 0x100bd334
cmp esi, dword [eax + 8]
mov dword [esp + 0x70], esi
jb 0x100bd317
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 8]
jb 0x100bd32a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test byte [edx + 0x18], 1
jne 0x100bd361
cmp esi, dword [eax + 8]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
jb 0x100bd347
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x14]
je 0x100bd357
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x48], ecx
jne 0x100bd36f
mov eax, dword [ebx + 0x304]
push 0
push edi
call fcn.1007e580
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
cmp edi, dword [edx + 8]
jb 0x100bd382
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
add edi, 0x20
add dword [esp + 0x1c], 1
mov dword [esp + 0x60], edi
jmp 0x100bd110
test dword [ebx + 0x4f8], 0xffffff
jbe 0x100bd4f4
mov eax, dword [ebx + 0x304]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x158], 0x10
mov edi, dword [eax + 0x38]
cmp edi, dword [eax + 0x3c]
jbe 0x100bd3e0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x100bd3e0
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x3c]
cmp dword [eax + 0x38], esi
jbe 0x100bd3f6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
cmp edi, esi
je 0x100bd481
cmp edi, dword [eax + 0x3c]
jb 0x100bd409
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x304]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x100bd41a
xor eax, eax
jmp 0x100bd422
mov eax, dword [ecx + 0x2c]
sub eax, edx
sar eax, 3
mov edx, dword [edi + 4]
add edx, 1
cmp edx, eax
jne 0x100bd431
mov esi, dword [ecx + 0x58]
jmp 0x100bd434
mov esi, dword [ecx + 0x54]
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0x3c]
jb 0x100bd443
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movsx ecx, word [edi + 0xc]
cmp ecx, esi
jl 0x100bd46a
mov edx, dword [esp + 0x10]
cmp edi, dword [edx + 0x3c]
jb 0x100bd45a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ebx, [edi + 4]
lea esi, [esp + 0x24]
call fcn.10073710
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0x3c]
jb 0x100bd479
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 0x14
jmp 0x100bd3e0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jbe 0x100bd497
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
mov edi, eax
jbe 0x100bd4a9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp esi, edi
je 0x100bd4d8
cmp esi, eax
jb 0x100bd4b7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
push ecx
mov edi, ebx
call fcn.100c2660
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x100bd4d3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
add esi, 4
jmp 0x100bd497
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100bd4f4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x24], esp
sub esp, 8
mov dword [esp + 0x2c], esp
add ebx, 0x1c
mov edi, esp
mov esi, 0x100bd720
mov dword [esp + 0x2c], eax
call fcn.100d2250
movzx edx, byte [0x10155709]
xor eax, eax
push eax
movzx eax, byte [0x1015570d]
push esi
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.10046180
add esp, 0x1c
lea edi, [esp + 0x84]
call fcn.100d5660
mov eax, dword [esp + 0x50]
mov ecx, edi
mov dword [esp + 0x158], 0x11
mov esi, dword [eax + 0xa8]
push ecx
lea ebx, [eax + 0x448]
call fcn.100b0ee0
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x74]
test eax, eax
je 0x100bd596
test al, 1
jne 0x100bd596
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x100bd596
lea edx, [esp + 0x7c]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret