Function at 0x4d6c10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e504f
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x669404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x160], eax
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 4], ebx
lea eax, [ebx + 0x10]
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead0029
push 0x27ebeef
lea ecx, [ebp - 0x54]
push ecx
call fcn.00404610
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4d6c8a
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00406010
mov eax, 4
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x150], eax
cmp eax, ebx
je 0x4d6cca
mov dword [eax], 0xabab027e
mov dword [ebp - 4], 0xffffffff
jmp 0x4d6ce2
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d6cf2
mov dword [eax], 0xcdcd027e
mov esi, 6
mov dword [ebp - 0x14c], esi
test byte [0x679728], 1
jne 0x4d6d2d
or dword [0x679728], 1
mov dword [ebp - 4], 3
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4d6e6b
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov dword [ebp - 4], 4
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], esi
lea edi, [ebp - 0x5c]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x4d6d89
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.004044f0
jmp 0x4d6d97
push str.EnterFunction
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.00403c90
mov edi, eax
mov byte [ebp - 4], 7
test byte [0x679728], 1
jne 0x4d6dd9
or dword [0x679728], 1
mov byte [ebp - 4], 8
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 7
mov ecx, 0x6796dc
mov dword [ebp - 0x140], ecx
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 9
mov ecx, dword [0x679724]
cmp ecx, ebx
je 0x4d6e20
cmp dword [edi + 0x14], 8
jb 0x4d6e06
mov eax, dword [edi]
jmp 0x4d6e08
mov eax, edi
mov edx, dword [ecx]
push 0x27e
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push eax
push esi
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 7
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c], 8
jb 0x4d6e4b
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x5c]
push eax
call fcn.00419280
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d6e7b
mov dword [eax], 0xcdcd027f
mov dword [ebp - 0x14c], esi
test byte [0x679728], 1
jne 0x4d6eb1
or dword [0x679728], 1
mov dword [ebp - 4], 0xa
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4d704e
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0xd
mov edx, dword [ebp + 0xc]
cmp byte [edx], bl
mov esi, str.True
jne 0x4d6f03
mov esi, str.False
lea edi, [ebp - 0x5c]
call fcn.004193b0
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x4d6f24
push 0x1c
push str.Enter_function._bIsTakeover
mov ecx, edi
call fcn.004044f0
jmp 0x4d6f32
push str.Enter_function._bIsTakeover
push eax
call fcn.004046b0
add esp, 8
mov edx, esi
cmp esi, ebx
jne 0x4d6f3d
mov edx, 0x6144ec
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x4d6f6a
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d6f50
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.004044f0
jmp 0x4d6f74
push edx
push eax
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00403c90
mov esi, eax
mov byte [ebp - 4], 0xe
test byte [0x679728], 1
jne 0x4d6fb6
or dword [0x679728], 1
mov byte [ebp - 4], 0xf
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x140], 0x6796dc
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov ecx, dword [0x679724]
cmp ecx, ebx
je 0x4d7003
cmp dword [esi + 0x14], 8
jb 0x4d6fe8
mov eax, dword [esi]
jmp 0x4d6fea
mov eax, esi
mov edx, dword [ecx]
push 0x27f
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xe
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1c], 8
jb 0x4d702e
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x5c]
push eax
call fcn.00419280
mov esi, dword [ebp - 0x160]
add esi, 0x64
mov dword [ebp - 0x154], esi
cmp dword [esi], ebx
jne 0x4d7079
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
call fcn.0048e780
mov dword [ebp - 4], 0x11
mov edx, eax
call fcn.00513e80
test al, al
sete byte [ebp - 0x139]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 8
jb 0x4d70b4
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
cmp byte [ebp - 0x139], bl
je 0x4d7af4
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d70e0
mov dword [eax], 0xcdcd0283
mov dword [ebp - 0x14c], 3
test byte [0x679728], 1
jne 0x4d7116
or dword [0x679728], 1
mov dword [ebp - 4], 0x12
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], edi
lea edx, [ebp - 0x14c]
push edx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4d7281
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0x15
cmp dword [esi], ebx
jne 0x4d7173
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
lea eax, [ebp - 0x94]
push eax
call fcn.0048e780
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0x16
lea edi, [ebp - 0x5c]
call fcn.004193b0
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x4d71ac
push 0x15
push str.Url_found_as_invalid
mov ecx, edi
call fcn.004044f0
jmp 0x4d71ba
push str.Url_found_as_invalid
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x4d71d4
push 0xffffffffffffffff
push ebx
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, edi
call fcn.00406070
jmp 0x4d71e4
mov edx, dword [ebp - 0x14c]
push edx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x17
push 0x283
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 3
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x1c], 8
jb 0x4d7230
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 7
mov dword [ebp - 0x1c], ebx
xor edi, edi
mov dword [ebp - 0x20], edi
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x80], 8
jb 0x4d725d
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], edi
xor ecx, ecx
mov word [ebp - 0x94], cx
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x5c]
push edx
call fcn.00419280
xor ebx, ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.004152a0
mov dword [ebp - 4], 0x18
mov edi, dword [sym.imp.MSVCR100.dll__wassert]
cmp dword [esi], ebx
jne 0x4d72b2
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
call fcn.0048e800
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x10], ebx
setne byte [ebp - 0x139]
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x1c], 8
jb 0x4d72e2
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
cmp byte [ebp - 0x139], bl
je 0x4d785e
call fcn.00403d80
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
xor edx, edx
mov word [ebp - 0x78], dx
push 6
push str.UserId
lea ecx, [ebp - 0x78]
call fcn.00406180
mov byte [ebp - 4], 0x1a
cmp dword [esi], ebx
jne 0x4d7344
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0x148], eax
cmp dword [esi], ebx
jne 0x4d7367
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov ecx, dword [esi]
lea edx, [ebp - 0xd4]
push edx
call fcn.0048e800
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x30]
push edx
mov edx, eax
lea ecx, [ebp - 0x148]
call fcn.00445950
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0xc0], 8
jb 0x4d73ab
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], ebx
xor ecx, ecx
mov word [ebp - 0xd4], cx
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x64], 8
jb 0x4d73db
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 7
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ebx
xor ecx, ecx
mov word [ebp - 0x78], cx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], ebx
xor edx, edx
mov word [ebp - 0x94], dx
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x148], 2
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x148]
call fcn.0043d220
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], ebx
xor edx, edx
mov word [ebp - 0xd4], dx
push 8
push str.UserMode
lea ecx, [ebp - 0xd4]
call fcn.00406180
mov byte [ebp - 4], 0x20
cmp dword [esi], ebx
jne 0x4d746f
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0x148], eax
cmp dword [esi], ebx
jne 0x4d7492
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov ecx, dword [ebp - 0x154]
mov ecx, dword [ecx]
lea edx, [ebp - 0x54]
push edx
call fcn.0048e800
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x78]
push edx
mov edx, eax
lea ecx, [ebp - 0x148]
call fcn.00445950
mov byte [ebp - 4], 0x22
mov edi, eax
lea esi, [ebp - 0x30]
call fcn.00406850
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x64], 8
jb 0x4d74e4
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
xor ecx, ecx
mov word [ebp - 0x78], cx
mov byte [ebp - 4], 0x20
mov edi, 8
cmp dword [ebp - 0x40], edi
jb 0x4d7510
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ebx
xor eax, eax
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0xc0], edi
jb 0x4d7538
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
xor edx, edx
mov word [ebp - 0xd4], dx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe8], ebx
xor eax, eax
mov word [ebp - 0xf8], ax
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x148], 2
lea ecx, [ebp - 0xf8]
push ecx
mov edi, dword [ebp - 0x14c]
push edi
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x148]
call fcn.0043d220
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
xor edx, edx
mov word [ebp - 0x11c], dx
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
xor eax, eax
mov word [ebp - 0x78], ax
push 4
push str.SPID
lea ecx, [ebp - 0x78]
call fcn.00406180
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x148], 2
lea ecx, [ebp - 0x11c]
push ecx
push edi
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x148]
call fcn.0043d220
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x64], 8
jb 0x4d75fb
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
xor eax, eax
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x54]
push ecx
mov esi, dword [ebp - 0x154]
call fcn.00464200
mov ecx, eax
call fcn.0048e800
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x11c]
push edx
push 0x622150
lea ecx, [ebp - 0xf8]
push ecx
push str.UM
lea edx, [ebp - 0x94]
push edx
push str.CUI
push str.SearchSource61
push eax
push str.http:__search.conduit.com__ctid
lea eax, [ebp - 0x20c]
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov dword [ebp - 4], 0x24
jmp 0x4d77a7
mov edi, 8
lea esi, [edi - 1]
mov byte [ebp - 4], 0x23
cmp dword [ebp - 0x108], edi
jb 0x4d77cb
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
xor edx, edx
mov word [ebp - 0x11c], dx
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0xe4], edi
jb 0x4d77fc
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe8], ebx
xor ecx, ecx
mov word [ebp - 0xf8], cx
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x80], edi
jb 0x4d782a
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
xor eax, eax
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x1c], edi
jb 0x4d7852
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00415350
mov byte [ebp - 4], 0x2b
cmp dword [eax + 0x10], ebx
sete byte [ebp - 0x139]
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x40], 8
jb 0x4d7893
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor eax, eax
mov word [ebp - 0x54], ax
cmp byte [ebp - 0x139], bl
je 0x4d7a72
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d78bf
mov dword [eax], 0xcdcd02a0
mov dword [ebp - 0x148], 2
lea ecx, [ebp - 0x148]
push ecx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d7986
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x2e
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edx, str.No_valid_url_to_takeover_with
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x2f
push 0x2a0
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 2
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x2e
cmp dword [ebp - 0x40], 8
jb 0x4d7963
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x38]
push edx
call fcn.00419280
xor ebx, ebx
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d7996
mov dword [eax], 0xcdcd02a1
mov dword [ebp - 0x148], 6
lea eax, [ebp - 0x148]
push eax
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d7a5b
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x32
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edx, 0x6131f8
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x33
push 0x2a1
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x32
cmp dword [ebp - 0x40], 8
jb 0x4d7a3a
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
push ecx
call fcn.00419280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00406950
jmp 0x4d896b
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00415350
mov edi, eax
mov byte [ebp - 4], 0x34
mov esi, dword [ebp - 0x160]
add esi, 0x64
mov dword [ebp - 0x154], esi
cmp dword [esi], ebx
jne 0x4d7ab3
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
push edi
call fcn.00526990
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x40], 8
jb 0x4d7ad2
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00406950
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
xor eax, eax
mov word [ebp - 0xb8], ax
mov dword [ebp - 4], 0x35
mov edi, dword [ebp - 0x160]
lea esi, [edi + 0x54]
mov dword [ebp - 0x15c], esi
sub esp, 8
mov dword [ebp - 0x140], esp
mov ecx, esp
mov dword [ebp - 0x148], ecx
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
cmp eax, ebx
je 0x4d7b4e
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x37
test byte [0x6794d4], 1
jne 0x4d7b7c
or dword [0x6794d4], 1
mov byte [ebp - 4], 0x38
call fcn.0048e880
push 0x5ea2e0
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0x37
mov byte [ebp - 4], 0x35
lea edx, [ebp - 0xb8]
mov ecx, 0x6794d8
call fcn.004949e0
mov edx, dword [ebp + 0xc]
cmp byte [edx], bl
je 0x4d811d
mov byte [ebp - 0x139], 1
cmp dword [edi + 0x5c], ebx
jne 0x4d7bbf
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x5c]
push eax
lea ecx, [ebp - 0x139]
call fcn.00521600
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp - 0x154]
cmp dword [eax], ebx
jne 0x4d7bf9
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov ecx, dword [ebp - 0x154]
mov ecx, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call fcn.0048e780
mov byte [ebp - 4], 0x39
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x78]
call fcn.0041e810
test al, al
je 0x4d80f4
push 0xc8
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x3a
cmp eax, ebx
je 0x4d7d65
push 0x610bf8
lea ecx, [ebp - 0x30]
call fcn.00406280
mov byte [ebp - 4], 0x3b
mov eax, 1
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x148], eax
mov edi, dword [sym.imp.MSVCR100.dll__wassert]
cmp dword [esi], ebx
jne 0x4d7c84
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14c], eax
cmp dword [esi], ebx
jne 0x4d7ca7
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x154]
cmp dword [edx], ebx
jne 0x4d7cd0
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
call fcn.0048e800
mov edi, eax
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0x158], 3
cmp dword [esi], ebx
jne 0x4d7d10
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
lea eax, [ebp - 0x174]
push eax
call fcn.0043c1c0
mov dword [ebp - 4], 0x3d
mov dword [ebp - 0x158], 7
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x78]
push ecx
push edi
push 1
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
lea edx, [ebp - 0xb8]
mov ecx, eax
call fcn.004e33c0
jmp 0x4d7d67
xor eax, eax
mov dword [ebp - 4], 0x40
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], ebx
mov dword [ebp - 4], 0x41
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x164]
mov edi, eax
call fcn.004659d0
add esp, 4
mov dword [ebp - 4], 0x43
test byte [ebp - 0x158], 4
je 0x4d7dbb
and dword [ebp - 0x158], 0xfffffffb
lea edx, [ebp - 0x174]
push edx
call fcn.00436050
mov byte [ebp - 4], 0x44
test byte [ebp - 0x158], 2
je 0x4d7df2
and dword [ebp - 0x158], 0xfffffffd
cmp dword [ebp - 0x40], 8
jb 0x4d7de2
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor ecx, ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 0x45
test byte [ebp - 0x158], 1
je 0x4d7e29
and dword [ebp - 0x158], 0xfffffffe
cmp dword [ebp - 0x1c], 8
jb 0x4d7e19
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
mov byte [ebp - 0x139], bl
mov byte [ebp - 0x141], 1
lea edi, [ebp - 0x139]
lea ecx, [ebp - 0x141]
push ecx
sub esp, 8
mov dword [ebp - 0x140], esp
mov eax, esp
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x168]
mov dword [eax], edx
mov ecx, dword [ebp - 0x164]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x164]
cmp eax, ebx
je 0x4d7e7b
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov byte [ebp - 4], 0x47
call fcn.00464220
push eax
mov byte [ebp - 4], 0x45
mov ecx, edi
call fcn.004e5b40
mov dword [ebp - 0x140], 3
mov eax, dword [ebp - 0x154]
mov edi, dword [sym.imp.MSVCR100.dll__wassert]
cmp dword [eax], ebx
jne 0x4d7ebe
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov ecx, dword [ebp - 0x154]
mov ecx, dword [ecx]
lea edx, [ebp - 0x54]
push edx
call fcn.0048e780
mov byte [ebp - 4], 0x48
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.004ce3f0
mov byte [ebp - 4], 0x45
cmp dword [ebp - 0x40], 8
jb 0x4d7efe
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor eax, eax
mov word [ebp - 0x54], ax
mov byte [ebp - 0x141], 1
cmp dword [esi], ebx
jne 0x4d7f2d
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], ecx
cmp eax, ebx
jne 0x4d7f50
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov dword [ebp - 0x15c], edx
lea eax, [ebp - 0x141]
push eax
cmp dword [esi], ebx
jne 0x4d7f7a
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call edi
add esp, 0xc
mov esi, dword [esi]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x148], esp
push ecx
mov ecx, esi
call fcn.0043c1c0
mov byte [ebp - 4], 0x49
call fcn.00403e60
push eax
mov byte [ebp - 4], 0x45
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x15c]
call fcn.00459e50
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d7fbe
mov dword [eax], 0xcdcd02bc
mov dword [ebp - 0x140], 6
lea edx, [ebp - 0x140]
push edx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d8085
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x4a
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x4b
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x4c
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edx, 0x6131f8
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x4d
push 0x2bc
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x4c
cmp dword [ebp - 0x40], 8
jb 0x4d8062
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov byte [ebp - 4], 0x45
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
xor ebx, ebx
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x168]
push ecx
call fcn.00436050
mov byte [ebp - 4], 0x35
mov edi, 8
cmp dword [ebp - 0x64], edi
jb 0x4d80b0
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
xor eax, eax
mov word [ebp - 0x78], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa4], edi
jb 0x4d80e0
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa4], esi
xor edx, edx
mov word [ebp - 0xb8], dx
jmp 0x4d8965
mov byte [ebp - 4], 0x35
cmp dword [ebp - 0x64], 8
jb 0x4d810b
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
xor ecx, ecx
mov word [ebp - 0x78], cx
jmp 0x4d813d
lea eax, [edi + 0xa0]
mov dword [ebp - 0x148], eax
mov eax, dword [eax]
cmp eax, 9
je 0x4d871a
cmp eax, 6
je 0x4d871a
push 0x6222a4
lea ecx, [ebp - 0x30]
call fcn.00406280
mov byte [ebp - 4], 0x58
mov edx, dword [ebp - 0x154]
cmp dword [edx], ebx
jne 0x4d8170
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
call fcn.0048e780
mov byte [ebp - 4], 0x59
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.0041e8f0
mov byte [ebp - 4], 0x58
cmp dword [ebp - 0x40], 8
jb 0x4d81a6
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor ecx, ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 0x35
cmp dword [ebp - 0x1c], 8
jb 0x4d81cd
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [edi + 4]
mov dword [ebp - 0x148], eax
push 0x430
push eax
call fcn.00511a30
cmp dword [edi + 0xa0], 1
mov eax, str.TAKEOVER
je 0x4d8204
mov eax, str.PROTECTION
push eax
lea ecx, [ebp - 0x138]
call fcn.00406280
mov byte [ebp - 4], 0x5a
mov dword [ebp - 0x140], 1
cmp dword [edi + 0x5c], ebx
jne 0x4d823b
push 0x28d
push str.D:_builds27Search_ProtectorSP_1.5.0_CISources3rdPartyBoost_boost_1_53_0_boost_smart_ptr_shared_ptr.hpp
push 0x6182c4
call dword [sym.imp.MSVCR100.dll__wassert]
add esp, 0xc
mov edi, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x154]
push ecx
push edi
lea edx, [ebp - 0x140]
mov ecx, esi
call fcn.00520a00
mov byte [ebp - 0x141], al
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d8269
mov dword [eax], 0xcdcd02d5
mov dword [ebp - 0x140], 5
lea edx, [ebp - 0x140]
push edx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d8397
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov byte [ebp - 4], 0x5b
mov dword [ebp - 0x80], ebx
mov byte [ebp - 4], 0x5c
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 0x5d
cmp byte [ebp - 0x141], bl
mov dword [ebp - 0x14c], str.True
jne 0x4d82d2
mov dword [ebp - 0x14c], str.False
mov byte [ebp - 0x141], 1
lea eax, [ebp - 0x141]
push eax
call fcn.00464200
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.00450060
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x5e
lea edi, [ebp - 0x9c]
call fcn.004193b0
mov edx, str.Take_over_asset__Asset
mov esi, eax
call fcn.00418da0
mov ecx, dword [ebp - 0x140]
mov esi, eax
call fcn.00418d70
mov edx, str._bRet
mov esi, eax
call fcn.00418da0
mov edx, dword [ebp - 0x14c]
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x5f
push 0x2d5
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 5
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x5e
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 0x5d
lea ecx, [ebp - 0x30]
call fcn.004068c0
mov byte [ebp - 4], 0x5a
mov edx, edi
push edx
call fcn.00419280
xor ebx, ebx
mov esi, dword [ebp - 0x15c]
mov eax, dword [ebp + 0xc]
cmp byte [eax], bl
je 0x4d85f5
push 0x2710
push 0x430
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.00511680
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d83c8
mov dword [eax], 0xcdcd02d9
mov dword [ebp - 0x140], 4
lea edx, [ebp - 0x140]
push edx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d850d
lea eax, [ebp - 0x100]
push eax
call fcn.00419220
mov byte [ebp - 4], 0x60
call fcn.00464200
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], ecx
call fcn.00464200
mov edx, dword [eax + 4]
mov dword [ebp - 0x15c], edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0043c020
mov esi, eax
mov byte [ebp - 4], 0x61
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00421ce0
add esp, 0x10
mov byte [ebp - 4], 0x62
push esi
push str._browser__asset_type_is
push eax
push str._ms__for
push 0x2710
lea edi, [ebp - 0x100]
call fcn.004193b0
mov edx, str.Set_TAKEOVER_TIMEOUT_TIMER_ID_for
mov esi, eax
call fcn.00418da0
mov esi, eax
call fcn.00418f50
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push eax
call fcn.004046b0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov edx, edi
push edx
call fcn.00419470
mov ecx, eax
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x63
push 0x2d9
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 4
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x62
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 0x61
lea ecx, [ebp - 0x30]
call fcn.004068c0
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x94]
call fcn.004068c0
mov byte [ebp - 4], 0x5a
mov eax, edi
push eax
call fcn.00419280
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], bl
je 0x4d85f5
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d8528
mov dword [eax], 0xcdcd02e1
mov dword [ebp - 0x140], 5
lea edx, [ebp - 0x140]
push edx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d85b9
lea eax, [ebp - 0x38]
push eax
call fcn.00419220
mov byte [ebp - 4], 0x64
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edx, str.Takeover_
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x65
push 0x2e1
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 5
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x64
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 0x5a
mov edx, edi
push edx
call fcn.00419280
xor ebx, ebx
push 0x610bf8
lea ecx, [ebp - 0x54]
call fcn.00406280
mov byte [ebp - 4], 0x66
mov dword [ebp - 0x140], 2
mov eax, dword [ebp - 0x160]
push eax
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x140]
call fcn.004ce3f0
mov byte [ebp - 4], 0x5a
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d8605
mov dword [eax], 0xcdcd02e6
mov dword [ebp - 0x140], 6
lea ecx, [ebp - 0x140]
push ecx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d86ac
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x67
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x68
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x69
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edx, 0x6131f8
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x6a
push 0x2e6
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 0x5a
mov eax, edi
push eax
call fcn.00419280
xor ebx, ebx
mov byte [ebp - 4], 0x35
mov edi, 8
cmp dword [ebp - 0x124], edi
jb 0x4d86cd
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x128], ebx
xor edx, edx
mov word [ebp - 0x138], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa4], edi
jb 0x4d8706
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa4], esi
xor ecx, ecx
mov word [ebp - 0xb8], cx
jmp 0x4d8965
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d872a
mov dword [eax], 0xcdcd02c4
mov dword [ebp - 0x140], 2
test byte [0x679728], 1
jne 0x4d875e
or dword [0x679728], 1
mov byte [ebp - 4], 0x4e
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0x35
lea edx, [ebp - 0x140]
push edx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4d887b
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov byte [ebp - 4], 0x4f
mov dword [ebp - 0x80], ebx
mov byte [ebp - 4], 0x50
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 0x51
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004ca9c0
add esp, 8
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0x52
lea edi, [ebp - 0x9c]
call fcn.004193b0
mov edx, str.Not_supposed_to_takeover_if_state_is
mov esi, eax
call fcn.00418da0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x4d87ed
push 0xffffffffffffffff
push ebx
mov edx, dword [ebp - 0x14c]
push edx
mov ecx, eax
call fcn.00406070
jmp 0x4d87fd
mov eax, dword [ebp - 0x14c]
push eax
push ecx
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x53
push 0x2c4
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 2
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x52
cmp dword [ebp - 0x40], 8
jb 0x4d8849
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x30]
call fcn.004068c0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00419280
xor ebx, ebx
mov eax, dword [ebp - 0x150]
cmp eax, ebx
je 0x4d888b
mov dword [eax], 0xcdcd02c5
mov dword [ebp - 0x140], 6
lea edx, [ebp - 0x140]
push edx
call fcn.00418640
mov edi, eax
call fcn.00418b90
test al, al
je 0x4d8932
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x54
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x55
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x56
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edx, 0x6131f8
mov esi, eax
call fcn.00418da0
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x57
push 0x2c5
push str.AssetHandler::TakeOverAsset
push str.AssetHandlersAssetHandler.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 0x35
mov ecx, edi
push ecx
call fcn.00419280
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa4], 8
jb 0x4d8952
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa4], 7
xor eax, eax
mov word [ebp - 0xb8], ax
mov dword [ebp - 0xa8], ebx
lea esp, [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00546bdc
mov esp, ebp
pop ebp
ret 8