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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528b18
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
lea edi, [ebx + 0x2f8]
mov dword [esp + 0x14], esi
mov eax, dword [edi + 4]
cmp eax, esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edi
je 0x455062
mov esi, dword [edi + 8]
sub esi, eax
mov ecx, dword [ebx + 0xa8]
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x455073
xor eax, eax
jmp 0x45507b
mov eax, dword [ecx + 0x10]
sub eax, edx
sar eax, 5
cmp esi, eax
jbe 0x455098
test edx, edx
jne 0x455087
xor eax, eax
jmp 0x45508f
mov eax, dword [ecx + 0x10]
sub eax, edx
sar eax, 5
push 0
mov ecx, edi
call fcn.0044aee0
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4550a9
xor eax, eax
jmp 0x4550b1
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 5
push 1
mov ecx, edi
call fcn.0044aee0
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4550cb
xor eax, eax
jmp 0x4550d3
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 5
lea ecx, [ebx + 0x308]
call fcn.00418440
mov edx, dword [ebx + 0x50c]
mov esi, dword [ebx + 0xa8]
mov edi, dword [esi + 0x94]
mov ecx, edx
shr ecx, 0x18
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x18]
cmp edi, eax
mov dword [esp + 0x28], eax
jl 0x455113
lea ecx, [esp + 0x28]
mov ecx, dword [ecx]
sar ecx, 1
xor eax, eax
test ecx, ecx
jle 0x455129
lea ecx, [ecx]
sar ecx, 1
add eax, 1
test ecx, ecx
jg 0x455120
shl eax, 0x18
xor eax, edx
and eax, 0x1f000000
xor eax, edx
mov dword [ebx + 0x50c], eax
cmp dword [esi + 0x90], 0x7fffe
jle 0x4551db
push 0x530358
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 [0x55daa8], 1
jne 0x45518f
or dword [0x55daa8], 1
push 0x52ce60
mov dword [0x55daac], 0x52fbdc
call fcn.005150d5
add esp, 4
mov eax, 0xd
mov ecx, 0x55daac
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00464bc0
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.00465560
jmp 0x455bf6
cmp dword [esi + 0x90], 0
jne 0x455219
push 0x530358
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 + 0x60]
mov dword [esp + 0x15c], 1
call fcn.0042e810
lea edx, [esp + 0x12c]
push edx
mov eax, esi
push eax
jmp 0x4551ae
push 0xf0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x158], 2
je 0x4552ed
add ebx, 0x1c
lea edi, [esp + 0x5c]
call fcn.004af770
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
je 0x455266
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov edi, dword [esp + 0x58]
sub esp, 0x20
mov dword [esp + 0x178], 4
mov esi, esp
lea ecx, [edi + 0x480]
mov dword [esp + 0x34], 3
mov dword [esp + 0x48], esp
call fcn.0041c2c0
mov ecx, dword [edi + 0x4e4]
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [edi + 0x2e8]
shr ecx, 0x1b
and ecx, 3
push ecx
lea edx, [eax + 0x3e8]
add eax, 0x348
push edx
push eax
lea ecx, [edi + 0x3a4]
mov edi, dword [edi + 0xa8]
test edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x5c], esp
mov dword [eax], edi
je 0x4552d8
mov eax, 1
lock xadd dword [edi], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push edx
push eax
call fcn.004462a0
mov ebx, dword [esp + 0x58]
jmp 0x4552ef
xor eax, eax
lea edi, [ebx + 0xac]
mov dword [esp + 0x158], 6
call fcn.0044a690
mov dword [esp + 0x158], 5
test byte [esp + 0x14], 2
je 0x455325
and dword [esp + 0x14], 0xfffffffd
lea eax, [esp + 0x1c]
call fcn.004e0b50
mov dword [esp + 0x158], 0xffffffff
test byte [esp + 0x14], 1
je 0x455340
lea eax, [esp + 0x5c]
call fcn.004e0b50
mov eax, dword [ebx + 0x318]
test eax, eax
mov edi, dword [edi]
mov dword [ebx + 0xb0], edi
je 0x4553d0
movzx ecx, byte [ebx + 0x50f]
mov edi, dword [ebx + 0xa8]
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 + 0x18], eax
mov eax, esi
cdq
mov esi, eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x60], edx
cdq
push edx
push eax
mov eax, dword [edi + 0x8c]
push eax
push ecx
call fcn.00515d50
mov ecx, eax
mov eax, dword [esp + 0x60]
add ecx, esi
adc edx, eax
push eax
sub ecx, 1
push esi
sbb edx, 0
push edx
push ecx
call fcn.00515a70
mov edi, dword [edi + 0x90]
mov edx, dword [esp + 0x18]
push edi
mov edi, dword [ebx + 0x318]
push eax
push edx
call fcn.004d51a0
test byte [ebx + 0x52c], 0x80
je 0x45540b
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 8]
cmp dword [eax + 4], edi
jbe 0x4553eb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x4553fd
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
push ebx
call fcn.0045d120
mov edi, dword [ebx + 0xa8]
mov esi, dword [edi + 0xb4]
add edi, 0xac
cmp dword [edi + 4], esi
jbe 0x45542e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x18], eax
jbe 0x455440
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0xc8]
push esi
push edi
push edx
lea eax, [ebx + 0xc4]
push edi
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push eax
call fcn.00473a80
test byte [ebx + 0x4e8], 4
je 0x45553e
sub esp, 8
add ebx, 0x1c
mov edi, esp
mov esi, fcn.00464150
mov dword [esp + 0x20], esp
call fcn.004af770
xor eax, eax
push eax
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0041c5a0
add esp, 0x14
mov edi, dword [esp + 0x58]
mov dword [esp + 0x158], 7
mov ecx, dword [edi + 0x2e8]
add ecx, 0x374
push ecx
mov ecx, eax
call fcn.0041cd80
or esi, 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 0x158], esi
call fcn.0045e530
mov edx, dword [edi + 0x458]
xor ebx, ebx
mov dword [edi + 0x458], ebx
mov eax, dword [edi + 0x45c]
mov dword [edi + 0x45c], ebx
mov ecx, dword [edi + 0x460]
mov dword [esp + 0x158], esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [edi + 0x460], ebx
call fcn.004051d0
lea ecx, [edi + 0x464]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
call fcn.00427600
lea ecx, [esp + 0x2c]
call fcn.0044daf0
jmp 0x455bf6
push ebx
mov ecx, 7
call fcn.00469680
mov edx, dword [ebx + 0x474]
and edx, 0xe0000000
cmp edx, 0x20000000
jne 0x45572b
lea esi, [ebx + 0x464]
push esi
mov eax, str.file_format
lea ecx, [esp + 0x30]
xor edi, edi
call fcn.0044d700
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 + 0x2c]
mov byte [esp + 0x27], 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 + 0x27], 0
je 0x4555b7
mov edi, 0x1c
push esi
mov eax, 0x532358
lea ecx, [esp + 0x130]
call fcn.0044d700
test edi, edi
mov dword [esp + 0x158], 0xb
jne 0x455619
cmp dword [esp + 0x140], edi
jne 0x4555e8
mov edi, 0x1d
jmp 0x455619
mov eax, dword [ebx + 0xa8]
lea ecx, [esp + 0x12c]
lea esi, [esp + 0x2c]
lea edi, [eax + 0x140]
call fcn.0044dcb0
push eax
mov eax, edi
call fcn.00427690
test al, al
je 0x455706
mov edi, 0x1e
mov esi, dword [ebx + 0x2e8]
add esi, 0x380
call fcn.0048bef0
test al, al
je 0x45569e
lea eax, [esp + 0x5c]
push eax
mov ecx, ebx
call fcn.004644a0
mov esi, eax
mov byte [esp + 0x158], 0xc
call fcn.004014b0
push esi
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call fcn.00451350
mov byte [esp + 0x158], 0xd
mov edx, dword [ebx + 0x2e8]
push eax
add edx, 0x380
push edx
call fcn.004cd100
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x15c], 0xc
call fcn.004500e0
lea eax, [esp + 0x5c]
mov byte [esp + 0x158], 0xb
call fcn.00482950
test edi, edi
je 0x455706
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea eax, [ebx + 0x454]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 0xe
call fcn.0046b0f0
lea esi, [esp + 0x2c]
mov byte [esp + 0x158], 0xb
call fcn.004051d0
lea ecx, [ebx + 0x464]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], edi
call fcn.00427600
lea ecx, [esp + 0x2c]
call fcn.0044daf0
jmp 0x455713
lea edx, [ebx + 0x464]
mov ecx, ebx
call fcn.0045f660
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 esi, dword [ebx + 0xa8]
mov edi, dword [esi + 0xc]
add esi, 8
cmp edi, dword [esi + 8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], esi
jbe 0x45574e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x20], edi
mov edi, dword [ebx + 0xa8]
mov eax, dword [edi + 0x10]
add edi, 8
cmp dword [edi + 4], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x68], eax
jbe 0x455771
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, edi
je 0x45577b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x68]
je 0x4559f8
cmp eax, dword [esi + 8]
jb 0x455794
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x18], 1
je 0x4559ce
mov edx, dword [esp + 0x14]
mov esi, ecx
cmp esi, dword [edx + 8]
jb 0x4557b3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
and ecx, 0xffff
or eax, ecx
je 0x4559ce
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 8]
jb 0x4557da
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov esi, dword [ebx + 0x518]
shld edx, eax, 0x10
shl eax, 0x10
mov cl, 0x10
call fcn.00515a40
mov edi, dword [esp + 0x28]
add eax, esi
xor eax, esi
and eax, 0xffffff
xor eax, esi
mov dword [ebx + 0x518], eax
mov eax, dword [ebx + 0xa8]
mov ecx, edi
lea esi, [esp + 0xb4]
call fcn.004015f0
mov edx, dword [eax + 0x28]
mov ecx, dword [ebx + 0xa8]
push edx
push 0
push 0
add ecx, 8
mov eax, edi
lea esi, [esp + 0x38]
call fcn.00417990
lea eax, [esp + 0xb4]
push eax
call fcn.00416fa0
movzx ecx, byte [ebx + 0x50f]
and ecx, 0x1f
mov edi, 1
shl edi, cl
mov ecx, dword [esp + 0x30]
lea eax, [edi - 1]
and eax, ecx
je 0x455878
mov edx, eax
sub edx, edi
add dword [esp + 0x34], edx
mov edx, edi
sub edx, eax
add ecx, edx
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x94]
cdq
idiv edi
mov dword [esp + 0x50], eax
mov eax, ecx
cdq
idiv edi
mov ecx, dword [esp + 0x2c]
and ecx, 0x7ffff
movzx esi, ax
shl esi, 0x13
or esi, ecx
cmp dword [esp + 0x34], edi
jl 0x4558ff
jmp 0x4558b0
mov edx, esi
shr edx, 0x13
cmp edx, dword [esp + 0x50]
jne 0x4558cd
and esi, 0x7ffff
lea eax, [esi + 1]
xor eax, esi
and eax, 0x7ffff
xor esi, eax
mov eax, dword [ebx + 0x318]
push 0
push esi
call fcn.004d9250
mov eax, dword [esp + 0x34]
mov ecx, esi
and ecx, 0xfff80000
add ecx, 0x80000
and esi, 0x7ffff
sub eax, edi
xor esi, ecx
cmp eax, edi
mov dword [esp + 0x34], eax
jge 0x4558b0
mov edx, esi
shr edx, 0x13
cmp edx, dword [esp + 0x50]
jne 0x45591c
and esi, 0x7ffff
lea eax, [esi + 1]
xor eax, esi
and eax, 0x7ffff
xor esi, eax
cmp dword [esp + 0x34], 0
jle 0x4559ce
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 8]
mov dword [esp + 0x54], edi
jb 0x455942
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
lea ecx, [edi + 0x20]
mov dword [esp + 0x50], ecx
je 0x455959
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x68]
je 0x455993
cmp edi, dword [eax + 8]
mov dword [esp + 0x70], edi
jb 0x455976
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax + 8]
jb 0x455989
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
test byte [edx + 0x18], 1
jne 0x4559c0
cmp edi, dword [eax + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
jb 0x4559a6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x18]
je 0x4559b6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x50], ecx
jne 0x4559ce
mov eax, dword [ebx + 0x318]
push 0
push esi
call fcn.004d9250
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, dword [edx + 8]
jb 0x4559e1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [esp + 0x20], 0x20
add dword [esp + 0x28], 1
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x455771
test dword [ebx + 0x518], 0xffffff
jbe 0x455b54
mov eax, dword [ebx + 0x318]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x158], 0xf
mov edi, dword [eax + 0x38]
cmp edi, dword [eax + 0x3c]
jbe 0x455a40
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x3c]
cmp dword [eax + 0x38], esi
jbe 0x455a56
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cmp edi, esi
je 0x455ae1
cmp edi, dword [eax + 0x3c]
jb 0x455a69
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x318]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x455a7a
xor eax, eax
jmp 0x455a82
mov eax, dword [ecx + 0x2c]
sub eax, edx
sar eax, 3
mov edx, dword [edi + 4]
add edx, 1
cmp edx, eax
jne 0x455a91
mov esi, dword [ecx + 0x58]
jmp 0x455a94
mov esi, dword [ecx + 0x54]
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 0x3c]
jb 0x455aa3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movsx ecx, word [edi + 0xc]
cmp ecx, esi
jl 0x455aca
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 0x3c]
jb 0x455aba
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ebx, [edi + 4]
lea esi, [esp + 0x2c]
call fcn.00449fd0
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 0x3c]
jb 0x455ad9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 0x14
jmp 0x455a40
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp esi, eax
jbe 0x455af7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], eax
mov edi, eax
jbe 0x455b09
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
cmp esi, edi
je 0x455b38
cmp esi, eax
jb 0x455b17
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
push ecx
mov edi, ebx
call fcn.0045ae00
mov eax, dword [esp + 0x34]
cmp esi, eax
jb 0x455b33
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
add esi, 4
jmp 0x455af7
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x455b54
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], esp
sub esp, 8
mov dword [esp + 0x30], esp
add ebx, 0x1c
mov edi, esp
mov esi, 0x455d80
mov dword [esp + 0x30], eax
call fcn.004af770
movzx edx, byte [0x55dcad]
xor eax, eax
push eax
movzx eax, byte [0x55dcb0]
push esi
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004b0530
add esp, 0x1c
lea edi, [esp + 0x84]
call fcn.00470760
mov eax, dword [esp + 0x58]
mov ecx, edi
mov dword [esp + 0x158], 0x10
mov esi, dword [eax + 0xb0]
push ecx
lea ebx, [eax + 0x464]
call fcn.00446b90
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x74]
test eax, eax
je 0x455bf6
test al, 1
jne 0x455bf6
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x455bf6
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.00515015
mov esp, ebp
pop ebp
ret