Function at 0x4559d7
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52d724
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0xa0]
xor eax, eax
mov esi, dword [esp + 0xa4]
push 0xf
pop ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
mov dword [esp + 0x98], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call fcn.0045b6f6
mov dword [esp + 0x54], eax
push esi
lea edx, [edi + 4]
mov dword [esp + 0x9c], 1
lea ecx, [esp + 0x78]
call fcn.0045bc4b
and dword [esp + 0x70], 0
pop ecx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], ebx
mov byte [esp + 0x60], 0
call fcn.0044e668
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0044ea87
and dword [esp + 0x30], 0
mov dword [esp + 0x34], ebx
mov byte [esp + 0x20], 0
mov byte [esp + 0x98], 3
lea eax, [esp + 0x5c]
xor ebx, ebx
cmp dword [esp + 0x70], 0x10
cmovae eax, dword [esp + 0x5c]
push eax
push 0x2712
push dword [edi]
call fcn.00404bc0
push 0x455e0d
push 0x4e2b
push dword [edi]
call fcn.00404bc0
lea eax, [esp + 0x50]
push eax
push 0x2711
push dword [edi]
call fcn.00404bc0
push 0x455e2c
push 0x4e6f
push dword [edi]
call fcn.00404bc0
lea eax, [esp + 0x68]
push eax
push 0x272d
push dword [edi]
call fcn.00404bc0
mov eax, dword [edi + 0x1c]
add esp, 0x3c
mov esi, dword [eax]
mov dword [esp + 0x14], esi
cmp esi, eax
je 0x455b7d
lea eax, [esi + 0x10]
lea ecx, [esp + 0x20]
cmp ecx, eax
je 0x455b27
push 0xffffffffffffffff
push 0
push eax
call fcn.0044e7b7
push 0x5639a4
call fcn.0044ea41
pop ecx
push eax
push 0x5639a4
lea ecx, [esp + 0x28]
call fcn.0044e558
push 0xffffffffffffffff
push 0
add esi, 0x28
lea ecx, [esp + 0x28]
push esi
call fcn.0044e4b8
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push ebx
call fcn.00404c30
pop ecx
pop ecx
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0044ddff
mov esi, dword [esp + 0x14]
cmp esi, dword [edi + 0x1c]
jne 0x455b12
push ebx
push 0x2727
push dword [edi]
call fcn.00404bc0
push str.SensorsAnalytics_CPP_SDK_0.8
push 0x2722
push dword [edi]
call fcn.00404bc0
push 0
push 0x51
push dword [edi]
call fcn.00404bc0
push 0
push 0x40
push dword [edi]
call fcn.00404bc0
add esp, 0x30
cmp dword [edi + 0x24], 0
je 0x455bd4
push dword [edi + 0x24]
push 0xd
push dword [edi]
call fcn.00404bc0
push 1
push 0x63
push dword [edi]
call fcn.00404bc0
add esp, 0x18
cmp byte [edi + 0x28], 0
je 0x455bf7
push 1
push 0x34
push dword [edi]
call fcn.00404bc0
mov eax, dword [edi + 0x2c]
cdq
push edx
push eax
push 0x44
push dword [edi]
call fcn.00404bc0
add esp, 0x1c
cmp byte [edi + 0x30], 0
je 0x455c0b
push 1
push 0x63
push dword [edi]
call fcn.00404bc0
add esp, 0xc
push dword [edi]
call fcn.00401220
pop ecx
test eax, eax
je 0x455c39
push eax
call fcn.00404cf0
mov esi, eax
push esi
call fcn.0044ea41
pop ecx
pop ecx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.0044e9c9
or dword [esp + 0x38], 0xffffffff
jmp 0x455c5e
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
push 0x200002
push dword [edi]
movlpd qword [esp + 0x20], xmm0
call fcn.00401260
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x38], eax
lea eax, [edi + 0x38]
push eax
push 0x300003
push dword [edi]
call fcn.00401260
lea eax, [edi + 0x40]
push eax
push 0x300004
push dword [edi]
call fcn.00401260
lea eax, [edi + 0x48]
push eax
push 0x300005
push dword [edi]
call fcn.00401260
lea eax, [edi + 0x50]
push eax
push 0x300021
push dword [edi]
call fcn.00401260
lea eax, [edi + 0x58]
push eax
push 0x300006
push dword [edi]
call fcn.00401260
lea eax, [edi + 0x60]
push eax
push 0x300011
push dword [edi]
call fcn.00401260
add esp, 0x48
lea eax, [edi + 0x68]
push eax
push 0x300013
push dword [edi]
call fcn.00401260
lea eax, [edi + 0x70]
push eax
push 0x200014
push dword [edi]
call fcn.00401260
push ebx
call fcn.00404cb0
push dword [edi]
call fcn.00401280
add esp, 0x20
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
call fcn.00455d6e
xor ebx, ebx
lea ecx, [esp + 0x20]
push ebx
push 1
call fcn.0044ea87
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.0044ea87
lea ecx, [esp + 0x54]
call fcn.00458b1e
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.0044ea87
mov eax, ebp
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005026fe
add esp, 0x88
ret 8