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

Disassembly:
mov eax, 0x6b8e8d
call fcn.006b6d3c
sub esp, 0xec
mov eax, ecx
xor edx, edx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [ebp - 4], edx
mov dword [eax], vtable.Bootstrapper::GuiController.0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
and dword [eax + 0x24], edx
mov dword [eax + 0x20], 1
push 0xf
mov byte [eax + 0x28], dl
pop ecx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ecx
mov byte [eax + 0x2c], dl
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], ecx
mov byte [eax + 0x44], dl
push ecx
mov byte [eax + 0x5c], dl
pop esi
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], esi
mov byte [eax + 0x60], dl
mov dword [eax + 0x78], edx
mov byte [eax + 0x7c], 1
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], esi
mov byte [eax + 0x80], dl
mov byte [ebp - 4], 6
lea edi, [eax + 0x9c]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov byte [eax + 0x98], 1
and dword [edi], edx
push edx
mov dword [ebp - 0x18], esi
push edx
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.00412977
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 8
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00411a69
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 0xf
mov byte [esi + 0xc0], al
mov dword [esi + 0xd8], eax
xorps xmm0, xmm0
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xe8], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xec], eax
lea eax, [esi + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xb
call fcn.00411fa7
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 0xc
call fcn.004110f1
and dword [esi + 0x174], 0
mov byte [ebp - 4], 0xe
mov byte [esi + 0x178], 0
call fcn.005280ce
push 0xa4
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], edx
call fcn.0053b6c1
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xf
lea esi, [edi + 0xc]
push dword [ebp - 0x10]
xor eax, eax
mov dword [edi], vtable.std::_Ref_count_obj_class_Bootstrapper::Bootstrap_.0
inc eax
mov ecx, esi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
call fcn.0041b772
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov esi, eax
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], edi
test ecx, ecx
je 0x40e939
call fcn.00406388
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40e94a
lock inc dword [ecx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x1c], ecx
test eax, eax
je 0x40e960
mov ecx, eax
call fcn.00406388
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], fcn.0040f26b
mov edi, 0x783384
mov dword [ebp - 0x20], eax
push eax
mov ecx, 0x80b758
mov dword [ebp - 0x44], edi
call fcn.0043f79f
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40e998
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x40e998
push 8
push eax
call fcn.0053b690
pop ecx
pop ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], edi
push eax
mov ecx, 0x80b730
mov dword [ebp - 0x40], fcn.0040f26b
mov dword [ebp - 0x20], eax
call fcn.0043f79f
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40e9cb
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x40e9cb
push 8
push eax
call fcn.0053b690
pop ecx
pop ecx
call fcn.0043c5af
mov eax, dword [esi + 0x10]
mov edx, 0x7f2758
mov ecx, 0x80b4b8
mov dword [ebp - 0x20], 0xf
push 0xc
push 0x782e64
cmp dword [eax + 0x94], 0
mov byte [ebp - 0x34], 0
cmove ecx, edx
and dword [ebp - 0x24], 0
mov eax, dword [ecx]
mov dword [esi + 0x180], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x34]
mov dword [esi + 0x184], eax
call fcn.00406551
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x80b4dc
push eax
call fcn.00409e95
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x80b4dc]
je 0x40ea6f
mov eax, dword [eax + 0x28]
mov ecx, dword [0x80b4d8]
movzx edx, word [ecx + eax*2]
add edx, ecx
mov dword [ebp - 0x48], 0xf
and dword [ebp - 0x4c], 0
mov ecx, edx
mov byte [ebp - 0x5c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ea5a
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00406551
jmp 0x40eaa4
push 0x7836b4
lea ecx, [ebp - 0xf8]
call fcn.00409294
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.00409b09
mov ecx, eax
call fcn.00409363
lea ecx, [ebp - 0xf8]
call fcn.00407f3b
lea eax, [ebp - 0x5c]
push eax
lea ecx, [esi + 0x60]
call fcn.004037b9
lea ecx, [ebp - 0x5c]
call fcn.004063c5
lea ecx, [ebp - 0x34]
call fcn.004063c5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret