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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 4], ecx
lea ebx, [ebp + 8]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esi + 0x88], eax
call fcn.10044565
test eax, eax
js 0x10045f59
xor ecx, ecx
lea eax, [esi + 0x78]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov ebx, dword [ebx]
push dword [ebx]
push eax
call fcn.1002c7d4
add esp, 8
test eax, eax
js 0x10045fb8
lea edi, [esi + 0x74]
push edi
call fcn.1007000a
add esp, 4
mov eax, dword [edi]
mov edx, dword [esi + 4]
mov edi, dword [edx + 0x34]
mov dword [edx + 0x34], eax
lea ecx, [esi + 0x40]
mov dword [ecx], edi
call fcn.1003fa20
xor eax, eax
dec eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
movzx eax, byte [ebx + 0xf]
test al, al
jns 0x10046016
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 4]
jmp 0x10046019
mov edi, eax
mov eax, dword [ebx]
mov dword [eax + 0x5c], edi
mov eax, dword [ebx]
mov dword [eax + 0x64], 0xe
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx], ecx
lea edx, [esi + 0x78]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea ebx, [esi + 0x40]
mov dword [ebx], eax
xor ebx, ebx
mov dword [ecx], ebx
push edx
mov ebx, edx
push eax
call dword [eax + 4]
add esp, 8
lea ecx, [esi + 0x40]
call fcn.10145de0
mov eax, ebx
mov ebx, dword [ebx]
xor ecx, ecx
mov dword [eax], ecx
test ebx, ebx
je 0x10045fb0
mov ecx, ebx
call fcn.1004486e
push ebx
call fcn.10205096
add esp, 4
lea ebx, [ebp + 8]
jmp 0x100463cc
mov edi, eax
mov dword [ebx + 0x5c], eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov dword [eax + 0x64], 0xb
mov eax, dword [ecx]
xor edx, edx
mov dword [ecx], edx
lea ebx, [esi + 0x68]
mov dword [ebx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
lea ecx, [esi + 0x40]
mov dword [ecx], eax
xor ecx, ecx
mov dword [edx], ecx
push ebx
push eax
call dword [eax + 4]
add esp, 8
lea ecx, [esi + 0x40]
call fcn.10145de0
mov eax, ebx
mov ebx, dword [ebx]
xor ecx, ecx
mov dword [eax], ecx
test ebx, ebx
je 0x1004600e
mov ecx, ebx
call fcn.1004486e
push ebx
call fcn.10205096
add esp, 4
lea ebx, [ebp + 8]
jmp 0x100463b8
add ebx, 4
lea edi, [esi + 0x68]
mov ecx, edi
push eax
push ebx
call fcn.1014be70
push edi
call fcn.1002d790
add esp, 4
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0xc]
lea eax, [esi + 0x64]
push edi
push eax
mov edi, eax
call fcn.100713a6
mov eax, dword [edi]
mov edi, dword [ebx + 0x38]
mov dword [ebx + 0x38], eax
test edi, edi
je 0x1004606b
lock dec dword [edi + 4]
jne 0x1004606b
add edi, 4
add edi, 0xfffffffc
mov ecx, edi
call fcn.100716c8
push edi
call fcn.10205096
add esp, 4
lea eax, [esi + 0x5c]
xor edi, edi
dec edi
mov dword [eax], edi
mov dword [eax + 4], edi
lea ecx, [ebx + 0x58]
xor edx, edx
push edx
push eax
call fcn.1005709e
lea eax, [esi + 0x50]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [ebx + 0x3c]
mov dword [esi], ecx
xor edx, edx
push edx
push eax
call fcn.10057234
lea ecx, [ebx + 0x13c]
mov dword [esi + 0x18], ecx
call fcn.10040e0a
mov edi, eax
mov eax, dword [ebx + 0x54]
test eax, eax
lea ebx, [ebp + 8]
jne 0x100460c2
mov ecx, dword [esi]
call fcn.10057370
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x50]
mov ebx, dword [ebx]
mov ecx, edi
push eax
push dword [ebx + 0x2c]
push dword [ebx]
call fcn.1005f95a
test eax, eax
js 0x10046255
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x100460ed
mov ecx, dword [esi]
call fcn.10057370
mov eax, dword [edi + 0x50]
mov dword [edi + 0x80], eax
lea ecx, [edi + 0x294]
lea eax, [ebp + 8]
mov dword [eax], 0
push ebx
call fcn.10042b66
lea ecx, [edi + 0x298]
push dword [ebp + 0xc]
call fcn.10145d70
mov dword [esi + 0x14], esp
mov eax, dword [edi + 0x34]
mov dword [esi + 0x10], eax
sub esp, 8
mov dword [esi + 0xc], esp
mov ecx, dword [esi + 0x18]
call fcn.10040e0a
mov ecx, eax
call fcn.100627a0
mov dword [esi + 8], eax
test edi, edi
mov ebx, edi
je 0x10046143
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push 0x38
call fcn.1020d865
add esp, 4
mov edi, eax
mov ecx, eax
push 0x100574b0
push 0x100573f0
call fcn.10145d00
mov dword [edi + 0x10], 0x100463f0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], ebx
lea ecx, [edi + 0x1c]
lea eax, [esi + 0x50]
push eax
call fcn.10189cb0
lea ecx, [edi + 0x28]
lea eax, [esi + 0x5c]
push eax
call fcn.10189d70
mov eax, dword [esi + 8]
mov dword [edi + 0x30], eax
mov ebx, dword [esi + 0xc]
mov dword [ebx + 4], edi
push 0x1c9
push str..._.._edge_embedded_browser_client_win_current_embedded_browser_webview_impl.cc
push str.RuntimeClassInitialize
lea edi, [esi + 0x40]
push edi
call fcn.1014e3e0
add esp, 0x10
mov dword [ebx], edi
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
call fcn.10071264
mov esp, dword [esi + 0x14]
mov eax, dword [ebx + 0x54]
test eax, eax
jne 0x100461d1
mov ecx, dword [esi]
call fcn.10057370
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], esp
push eax
push eax
mov dword [esi], esp
test ebx, ebx
je 0x100461e5
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push 0x20
call fcn.1020d865
add esp, 4
mov edi, eax
mov ecx, eax
push 0x10057580
push 0x100574f0
call fcn.10145d00
mov dword [edi + 0x10], 0x100464e0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], ebx
mov eax, dword [esi]
mov dword [eax + 4], edi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, eax
mov eax, dword [ebx + 0x294]
mov ecx, dword [eax + 0x68]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x18]
call fcn.10040e0a
mov edx, dword [ebx + 0x294]
movzx ecx, byte [edx + 0x47]
test cl, cl
mov dword [esi + 0x20], edx
jns 0x100462b3
mov ecx, edx
mov edx, dword [edx + 0x3c]
mov ecx, dword [ecx + 0x40]
jmp 0x100462b6
mov edi, eax
mov dword [ebx + 0x5c], eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov dword [eax + 0x64], 0xe
mov eax, dword [ecx]
xor edx, edx
mov dword [ecx], edx
lea ebx, [esi + 0x34]
mov dword [ebx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
lea ecx, [esi + 0x40]
mov dword [ecx], eax
xor ecx, ecx
mov dword [edx], ecx
push ebx
push eax
call dword [eax + 4]
add esp, 8
lea ecx, [esi + 0x40]
call fcn.10145de0
mov eax, ebx
mov ebx, dword [ebx]
xor ecx, ecx
mov dword [eax], ecx
test ebx, ebx
je 0x100462ab
mov ecx, ebx
call fcn.1004486e
push ebx
call fcn.10205096
add esp, 4
lea ebx, [ebp + 8]
jmp 0x100463a0
add edx, 0x3c
mov eax, dword [eax + 0x140]
mov dword [esi + 0x1c], eax
push ecx
push edx
lea eax, [esi + 0x40]
push eax
call fcn.1015edd0
add esp, 0xc
mov eax, dword [ebx + 0x294]
movzx ecx, byte [eax + 0x3b]
test cl, cl
mov dword [esi + 0xc], edi
jns 0x100462e6
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
jmp 0x100462e9
add eax, 0x30
lea edx, [esi + 0x34]
push ecx
push eax
push edx
call fcn.1015edd0
add esp, 0xc
mov ecx, dword [esi + 0x18]
call fcn.10040e0a
mov eax, dword [eax + 0x100]
dec eax
xor ebx, ebx
cmp eax, 2
setb bl
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x294]
lea ecx, [esi + 0x28]
push dword [eax + 0x50]
push dword [eax + 0x4c]
push ecx
call fcn.10172240
add esp, 0xc
push 0x50
call fcn.1020d865
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x20]
movzx eax, byte [eax + 0x48]
mov ecx, edi
push dword [esi + 0xc]
push dword [esi + 0x24]
push dword [esi + 8]
push 7
push dword [esi + 0x1c]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x34]
push eax
push ebx
lea eax, [esi + 0x28]
push dword [eax + 4]
push dword [eax]
lea eax, [esi + 0x78]
push eax
call fcn.1007f58c
mov eax, dword [esi]
mov dword [eax], edi
mov ecx, dword [esi + 0x14]
call fcn.1007f8b0
mov esp, dword [esi + 0x10]
lea eax, [esi + 0x34]
cmp byte [eax + 0xb], 0
jns 0x1004638a
push dword [esi + 0x34]
call fcn.10205096
add esp, 4
cmp byte [esi + 0x4b], 0
lea ebx, [ebp + 8]
jns 0x1004639e
push dword [esi + 0x40]
call fcn.10205096
add esp, 4
xor edi, edi
lea ecx, [esi + 0x50]
call fcn.10189ce0
lea ecx, [esi + 0x5c]
call fcn.10189d90
lea ecx, [esi + 0x68]
call fcn.1014bf30
cmp byte [esi + 0x83], 0
jns 0x100463cc
push dword [esi + 0x78]
call fcn.10205096
add esp, 4
mov ecx, ebx
push 0
call fcn.10042b66
mov ecx, dword [esi + 0x88]
xor ecx, ebp
call fcn.10205d16
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8