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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ccb6
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x441008]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xf4], edi
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x4148c3
test dword [eax + 0x1c], 0x20000
je 0x4148c3
cmp byte [eax + 0x19], 4
jae 0x42553c
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xe8], 0
lea eax, [ebx + 0x88]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
test edi, edi
je 0x425553
cmp dword [ebx + 0x84], 0
jne 0x42555d
mov ecx, esi
call fcn.00419a8e
mov edi, eax
test edi, edi
js 0x414da8
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
jl 0x41492c
jg 0x425567
cmp eax, 0x989680
ja 0x425567
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0xac], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0xb0], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0xc4], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0xc8], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xcc], eax
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0xd0], eax
lea eax, [ebp - 0xe8]
push eax
push 0x402510
push 0x17
push 0
push 0x402500
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x414da8
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 4]
fild dword [ecx + 4]
test eax, eax
js 0x414dfe
fstp dword [ebp - 0xc0]
movzx eax, word [ecx + 2]
lea ecx, [ebx + 0xc0]
push ecx
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0xd4]
mov esi, dword [eax]
push dword [ecx + 0x24]
mov esi, dword [esi + 0xc]
mov ecx, esi
push eax
call dword [0x442374]
call esi
mov edi, eax
test edi, edi
js 0x414da8
lea esi, [ebx + 0x48]
push esi
push 0x402894
push 0x17
push 0
push 0x402864
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x414da8
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414a3e
test dword [eax + 0x1c], 0x20000
je 0x414a3e
cmp byte [eax + 0x19], 4
jae 0x425571
cmp dword [ebx + 0x44], 0
jne 0x425589
xor edx, edx
mov ecx, dword [esi]
push dword [ebx + 0xc0]
push edx
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x442374]
call esi
mov edi, eax
test edi, edi
js 0x414da8
lea esi, [ebx + 0x4c]
push esi
push 0x4028a4
push 0x17
push 0
push 0x402884
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x4256b9
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414aae
test dword [eax + 0x1c], 0x20000
je 0x414aae
cmp byte [eax + 0x19], 4
jae 0x425593
mov esi, dword [ebp - 0xd4]
lea eax, [ebp - 0xcc]
mov edx, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0x48]
push eax
push esi
call fcn.00410250
mov edi, eax
test edi, edi
js 0x4256a7
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414af3
test dword [eax + 0x1c], 0x20000
je 0x414af3
cmp byte [eax + 0x19], 4
jae 0x4255ab
mov edi, dword [ebp - 0xcc]
mov ecx, edi
call fcn.0040d340
mov edi, eax
test edi, edi
js 0x4256a7
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414b29
test dword [eax + 0x1c], 0x20000
je 0x414b29
cmp byte [eax + 0x19], 4
jae 0x4255c8
push dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xcc]
call fcn.0040ca32
mov edi, eax
test edi, edi
js 0x4256a7
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414b63
test dword [eax + 0x1c], 0x20000
je 0x414b63
cmp byte [eax + 0x19], 4
jae 0x4255e4
mov ecx, dword [ebp - 0xcc]
call fcn.0040caa0
mov edi, eax
test edi, edi
js 0x4256a7
mov eax, dword [0x4410a0]
mov edi, dword [ebp - 0xcc]
cmp eax, 0x4410a0
je 0x414b9d
test dword [eax + 0x1c], 0x20000
je 0x414b9d
cmp byte [eax + 0x19], 4
jae 0x425600
test dword [ebp + 0x14], 0x400000
jne 0x425617
mov byte [ebp - 0xd4], 0
push dword [ebp - 0xd4]
mov ecx, ebx
push edi
call fcn.004150f6
mov edi, eax
test edi, edi
js 0x4256a7
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414be8
test dword [eax + 0x1c], 0x20000
je 0x414be8
cmp byte [eax + 0x19], 4
jae 0x425623
lea eax, [ebx + 0x6c]
mov byte [ebp - 0xe0], 0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], eax
call fcn.004153c0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0x54]
xor edi, edi
call fcn.004154aa
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
cmp byte [ebp - 0xe0], 0
je 0x414c38
push dword [ebp - 0xe4]
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x84], 1
mov dword [ebx + 0x2c], 0
cmp dword [0x441158], 5
jbe 0x414da0
push 0x4000
push 0
mov ecx, 0x441158
call fcn.00405f07
test al, al
je 0x414da0
fild qword [ebx + 0x38]
lea eax, [ebx + 0xc4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x8c], 0
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
fdiv qword [0x402c30]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x58], eax
lea eax, [esi + 0x44]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x54]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 0
fstp qword [ebp - 0xd8]
call fcn.00419a4b
lea eax, [ebp - 0xb8]
mov edx, 0x403466
push eax
push 0xa
sub esp, 8
mov ecx, 0x441158
call fcn.00405e7a
test edi, edi
js 0x4256a7
lea eax, [ebx + 0x88]
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
test edi, edi
js 0x4256ce
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x414dde
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x442374]
call esi
mov eax, edi
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.0041a3d0
mov esp, ebp
pop ebp
ret 0x10
fadd dword [0x405538]
jmp 0x4149b6
push edi
push ebx
push dword [eax + 0x14]
mov ecx, 0xc
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x4148c3
mov edi, 0x80004003
jmp 0x414da8
mov edi, 0x887c0010
jmp 0x414da8
mov edi, 0x80070057
jmp 0x414da8
push dword [esi]
mov ecx, 0xd
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414a3e
mov edx, 1
jmp 0x414a4a
push dword [esi]
mov ecx, 0xe
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414aae
mov edi, dword [ebp - 0xcc]
mov ecx, 0xf
push edi
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414af9
push dword [ebp - 0xcc]
mov ecx, 0x10
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414b29
push dword [ebp - 0xcc]
mov ecx, 0x11
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414b63
push edi
push ebx
push dword [eax + 0x14]
mov ecx, 0x12
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414b9d
mov byte [ebp - 0xd4], 1
jmp 0x414bb1
push dword [ebp - 0xcc]
mov ecx, 0x13
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00431a2c
jmp 0x414be8
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x4256b9
push ecx
mov ecx, eax
call fcn.004273d5
lea ecx, [ebx + 0x48]
call fcn.00407326
lea ecx, [ebx + 0x4c]
call fcn.00407326
jmp 0x414da8
mov eax, dword [0x4410a0]
cmp eax, 0x4410a0
je 0x414dbd
test dword [eax + 0x1c], 0x20000
je 0x414dbd
cmp byte [eax + 0x19], 2
jb 0x414dbd
push edi
push dword [eax + 0x14]
mov edx, 0x4028c4
mov ecx, 0x14
push dword [eax + 0x10]
call fcn.00419c0e
jmp 0x414dbd